tinyGPS shows only Chars RX (increasing)

Hi. After trying to to another way to get the coordinates from my GPS, I decided to make the tinyGPS work.

Well. The GPS shield is communicating with arduino, because if I do a simple “.read” ir returns its information… with latitude, longitude atc.

BUT, when I use tinyGPS it shows a lot of ***** but no location at all.

I have changed the SoftwareSerial from “SoftwareSerial nss(3,4);” to “SoftwareSerial nss(4,3)” and it seems to be communicating with arduino, if not the “CHAR RX” woudn’t be receiving the infos.

Does anyone have any idea to solve this?

Here is an example of what I get:

**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   1095  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   1159  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   1224  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   1354  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   1418  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   1482  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   1547  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   1612  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   1677  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   1741  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   1870  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   1935  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   2000  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   2065  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   2130  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   2195  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   2260  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   2389  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   2453  0         0        
**** **** *******  *******   **** *******    *******    **** ******* ****** ***** ***   0        0.00   ***   2518  0         0

Here’s my code:

THe only changes from original library file was the “BAUD RATE” for my GPS that is 38400 and also the SoftwareSerial ports.

I will apreciate ANY help.

Tks

Here's my code:

1) I think you forgot something. 2) Have you tried the example that comes with the TinyGPS library?

ops. Sorry.I think I didnt paste the content.

well.. The code I have downloades from their website and Just changed the baud rate... Nothing else,

Does anyone have any idea about my problem?

Does anyone have any idea about my problem?

Why won't you run the example?

I ran the test code with a GPS and got the all stars output you get when my unit couldn't see the sky. Once moved to a location where it could pick up satellites, that code produces reasonable results. Which doesn't help you much; it's time to debug. PaulS' suggestion will get you a view into what's being sent to tinygps. I'd get rid of the majority of the printing and concentrate on lat or long until you can get that working.

I'd also be inclined to send some constant data to tiny gps and see if you can persuade it to parse it.

Hi,Folks.

I'm sorry for the missing code yesterday. PaulS.

Well. I will try to supply you withh al information so, maybe you can help me.

I am on this for more than a week with no sucess and I have been seen a lot of topics where you prove you really know about GPS communication and Arduino .

Well..

I am using Itead Studio 1.1 Shield.

Thats my code(downloaded and changed only the Ports.. (3 and 4) and Baud Rate of my GPS(38400) here. When I Run the from excamples.. Like SIMPLE_TEST, it returns a lot of information.. so it proves the GPS is communicating with arduino(right?) .

See what I get on SIMPLE_TEST.

Simple TinyGPS library v. 13
by Mikal Hart

 CHARS=81 SENTENCES=0 CSUM ERR=0
 CHARS=241 SENTENCES=0 CSUM ERR=0
 CHARS=322 SENTENCES=0 CSUM ERR=0
 CHARS=401 SENTENCES=0 CSUM ERR=0
 CHARS=480 SENTENCES=0 CSUM ERR=0
 CHARS=560 SENTENCES=0 CSUM ERR=0
 CHARS=640 SENTENCES=0 CSUM ERR=0
 CHARS=802 SENTENCES=0 CSUM ERR=0
 CHARS=882 SENTENCES=0 CSUM ERR=0
 CHARS=962 SENTENCES=0 CSUM ERR=0
 CHARS=1042 SENTENCES=0 CSUM ERR=0
 CHARS=1122 SENTENCES=0 CSUM ERR=0
 CHARS=1202 SENTENCES=0 CSUM ERR=0
 CHARS=1282 SENTENCES=0 CSUM ERR=0
 CHARS=1443 SENTENCES=0 CSUM ERR=0
 CHARS=1524 SENTENCES=0 CSUM ERR=0
 CHARS=1605 SENTENCES=0 CSUM ERR=0
 CHARS=1685 SENTENCES=0 CSUM ERR=0
 CHARS=1765 SENTENCES=0 CSUM ERR=0
 CHARS=1845 SENTENCES=0 CSUM ERR=0
 CHARS=1998 SENTENCES=0 CSUM ERR=0
 CHARS=2077 SENTENCES=0 CSUM ERR=0

ok.. Now I will run the THEST_WITH_GPS_DEVICE (AGAIN JUST CHANGED THE TX-RX PORT in ny case 3 and 4 and my Baud rate that is 38400) (that worked on SIMPLE_TEST)

Testing TinyGPS library v. 13
by Mikal Hart

Sats HDOP Latitude  Longitude  Fix  Date       Time     Date Alt    Course Speed Card  Distance Course Card  Chars Sentences Checksum
          (deg)     (deg)      Age                      Age  (m)    --- from GPS ----  ---- to London  ----  RX    RX        Fail
-------------------------------------------------------------------------------------------------------------------------------------
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   68    0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   147   0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   226   0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   305   0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   384   0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   463   0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   615   0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   694   0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   773   0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   852   0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   931   0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   1010  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   1089  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   1247  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   1326  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   1405  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   1484  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   1563  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   1642  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   1800  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   1880  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   1959  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   2038  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   2117  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   2196  0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   2354  0         1        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   2434  0         1        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   2514  0         1        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   2593  0         1        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   2670  0         1        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   2748  0         1        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   2902  0         1        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   2979  0         1

Well.. TO be sure the GPS is communicating with Arduino, I have made a test just by opening an arduino example to check if the GPS infos are being received in arudino and here is the result:

Goodnight moon!
$GPRMC,151718.00,A,2308.71354,S,04633.03141,W,0.009,,261013,,,D,$GPRMC,151719.00,A,2308.71352,S,04633.03142,W,0.011,,261013,,,DV5$GPRMC,151720.00,A,2308.71350,S,04633.03142,W,0.017,,261013,,,D,$GPRMC,151721.00,A,2308.71347,S,04633.03142,W,0.022,,261013,,,D51$GPRMC,151722.00,A,2308.71344,S,04633.03143,W,0.016,,261013,,,D,$GPRMC,151723.00,A,2308.71341,S,04633.03143,W,0.005,,261013,,,D6$GPRMC,151724.00,A,2308.71338,S,04633.03143,W,0.017,,261013,,,D99$GPRMC,151725.00,A,2308.71334,S,04633.03142,W,0.024,,261013,,,D,,$GPRMC,151726.00,A,2308.71332,S,04633.03142,W,0.008,,261013,,,D4$GPRMC,151727.00,A,2308.71329,S,04633.03142,W,0.002,,261013,,,D,$GPRMC,151728.00,A,2308.71326,S,04633.03141,W,0.013,,261013,,,D
5$GPRMC,151729.00,A,2308.71323,S,04633.03140,W,0.022,,261013,,,D1S$GPRMC,151730.00,A,2308.71319,S,04633.03139,W,0.014,,261013,,,D$,$GPRMC,151731.00,A,2308.71316,S,04633.03138,W,0.009,,261013,,,D,,$GPRMC,151732.00,A,2308.71312,S,04633.03137,W,0.015,,261013,,,D,$GPRMC,151733.00,A,2308.71308,S,04633.03136,W,0.009,,261013,,,D1S$GPRMC,151734.00,A,2308.71304,S,04633.03135,W,0.014,,261013,,,D0$GPRMC,151735.00,A,2308.71299,S,04633.03134,W,0.018,,261013,,,D,$GPRMC,151736.00,A,2308.71293,S,04633.03133,W,0.007,,261013,,,DB4$GPRMC,151737.00,A,2308.71288,S,04633.03132,W,0.018,,261013,,,D,

So.. I think the problem is in something about WHY THE TEST_WITH_GPS is not decoding the info from GPS shield.

Could you guys please help me? :)

Thank you so much... :)

Looks like your device isn't reporting the checksum the way TinyGPS expects. There should be an asterix prefix on the checksum; your example data doesn't have any at all.

cabecinhas:
Well. The GPS shield is communicating with arduino, because if I do a simple “.read” ir returns its information… with latitude, longitude atc.

BUT, when I use tinyGPS it shows a lot of ***** but no location at all.

I don’t understand what you mean here. Unlike other sensors, you don’t do a “read” to get information from a GPS, it sends out its information all the time, it doesn’t wait for you to “read” from it.

A common problem with GPS’s, is they don’t work indoors. Or they do, but they take a very long to start up. Mine does work indoors, but it takes 30 minutes to start if I don’t stick it out the window first

Hi.. First of all, thank you for your answer..

Wel.. When I mean.. READ I meant, just to be sure. I Ran a Serial Read in another example just to be sure if the GPS was working.

And I got the satelites infos.. Like coordinates. etc.. but unformated.

tks