Go Down

Topic: Arduino GPS Shield by iteadstudio.com (Read 42130 times) previous topic - next topic

Frédéric_Plante

I see that you seem to have an antenna hooked on, that is a good thing. ;)

Yeah give us new.
As we fight our way northward into the great unknown, only that one thing remains certain...

frankhu01

Nope, no good.
Still ***** (using TinyGPS example)
at both 4800/9600 baud rate and waited for an hour

I am beginning to think that I might have burned the GPS when I first installed it. Since I didn't catch that 5V switch the first time I plugged it into the Mega.

Frédéric_Plante

=(

That is unfortunate. Those are costy.
As we fight our way northward into the great unknown, only that one thing remains certain...

frankhu01

Would you know if that could be the case?
Like if the GPS was burned would Mega be receiving any kind of data (invalid or not)?

Thanks for your input. I will need to get another one if you think that could be the case.


Frédéric_Plante

Well it is possible that some parts of the gps circuit are dead and other are still alive. So it theorically could be possible that the radio died, radio are very sensitive, and the UART could still be alive.

The fact that you are receiving NMEA code tel me that you connection is OK, AND the selected speed is good. So basically, the UART work, the gps microcontroler also work, but it react like when it has not lock on satelites so, I would suspect the radio.

Next time read and check 2 time before.powering on.  ;)
As we fight our way northward into the great unknown, only that one thing remains certain...

Frédéric_Plante

Shield are expensive, get your self an empty proto shield and a stick on gps module. You will save a bundle this way
As we fight our way northward into the great unknown, only that one thing remains certain...

frankhu01

All right,
Thank you very much!!  :)

Frédéric_Plante

#172
Jul 28, 2014, 07:05 am Last Edit: Jul 28, 2014, 07:27 am by Frédéric_Plante Reason: 1
That switch should not be on an Arduino UNO base designed shield, since by default This design has access to 5v. It's a feature for them not for you. They probably count on this to sell more shield, it's a money making feature. They know very well that beginner are those who buy shield for their simplicity. And even if they say that it's to be compatible with Mapple design, it' /$%"%?

Any way's here what I would suggest you. Usually I always suggest the real Arduino product but for some reason, Arduino did not make MEGA proto shield so I will have to go for third party:

http://www.aliexpress.com/item/Free-Shipping-High-Quality-MEGA-Proto-Shield-for-Arduino-with-mini-breadboard/1385086850.html

the breadboard is not mounted on the protoshield, I suggest you don't  stick it on since you want to make a permanent device.

8.50$

+
http://www.aliexpress.com/item/Free-Shipping-1pc-GPS-module-SiRF3-MMCX-external-antenna-port-HX-87-EB713-GR-87/1565289221.html
There is a sticker at the bottom of the module, just peal it and stick the module where you want it on the protoshield.


8.30$

+

http://www.aliexpress.com/store/product/Free-Shipping-1pcs-GPS-antenna-12X12MM-welded-E-Aerospace-Line-Road-Navigation-Antenna-navigators-maintenance/342106_1226395481.html

6.90$

There is also a sticker at the base of the antenna, do the same as for the GPS.

along with a 3.3volt voltage regulator and a 5volt <> 3.3 volt signal conversion unit.

So maybe 25.00$, If you take the time to search you can probably cut the cost to 18$ for the whole thing.

SIRF3 GPS work at 4800 bps. They are reliable, and fast to "warm up" I use those.

This way, you will have every this hook where you want it and no wire coming out of the shield.
As we fight our way northward into the great unknown, only that one thing remains certain...


frankhu01

Hello Frederic,

So now I think I am getting the right NMEA data (see below), but TinyGPS still shows *****. Does this mean TinyGPS is like... out of date with current Arduino IDE (I am using Arduino 1.05 r2)or something? Or is the NMEA data actually wrong?

NMEA data I got from your code
Quote

$GPRMC,021954.00,A,3752.32203,N,12217.22313,W,0.070,,050814,,,A*63
$GPVTG,,T,,M,0.070,N,0.129,K,A*2E
$GPGGA,021954.00,3752.32203,N,12217.22313,W,1,06,1.51,40.9,M,-29.5,M,,*5D
$GPGSA,A,3,16,29,18,21,26,15,,,,,,,2.72,1.51,2.26*00
$GPGSV,3,1,09,05,15,044,,15,32,116,26,16,20,315,23,18,49,213,29*78
$GPGSV,3,2,09,21,58,302,31,22,11,220,25,25,14,185,,26,24,077,33*77
$GPGSV,3,3,09,29,68,117,34*45
$GPGLL,3752.32203,N,12217.22313,W,021954.00,A,A*75
$GPRMC,021955.00,A,3752.32206,N,12217.22312,W,0.072,,050814,,,A*64
$GPVTG,,T,,M,0.072,N,0.133,K,A*27
$GPGGA,021955.00,3752.32206,N,12217.22312,W,1,06,1.51,40.7,M,-29.5,M,,*56
$GPGSA,A,3,16,29,18,21,26,15,,,,,,,2.72,1.51,2.26*00
$GPGSV,3,1,09,05,15,044,,15,32,116,27,16,20,315,23,18,49,213,29*79
$GPGSV,3,2,09,21,58,302,32,22,11,220,26,25,14,185,,26,24,077,33*77
$GPGSV,3,3,09,29,68,117,33*42
$GPGLL,3752.32206,N,12217.22312,W,021955.00,A,A*70

Frédéric_Plante

#175
Aug 05, 2014, 04:27 am Last Edit: Aug 05, 2014, 04:29 am by Frédéric_Plante Reason: 1
Hey, glad to see you on the right path.

I havent use tiny gps for a while, since i use my owne routine to extract the data I need.

I wont be home tonight, but I will get back to you as soon that I can put my hand on my arduino.

How ever, I know that those stars problem thing is a recurent problem that many people face, maybe. You can check if you serial port speed is set right in the tinygps code.

This being sayed, I can tel you that your kit is properlly set since you are getting full and good NMEA sentence.


Get back to you asap
As we fight our way northward into the great unknown, only that one thing remains certain...

Frédéric_Plante

So your gps is surely working and I can tel you that your position is. 3752.32206,North ,12217.22312,West and The time was 02:19:55
As we fight our way northward into the great unknown, only that one thing remains certain...

frankhu01

Hey Frederic,

Thank you for replying so fast!!
I think I got it to work when I changed the baud rate of both Serial and Serial1 to run at 38400 (as in your code) and it give me valid data! When I changed it back to 4800 it gave me ****.

Oh btw, does the "course" data value mean the heading? Because I will be using heading of the GPS in my project.

Thank you for all your help! You really saved me a lot of trouble!!

Below is the results if you want to take a look
Quote

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
-------------------------------------------------------------------------------------------------------------------------------------
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   0     0         0        
7    171  37.871986 -122.287109686  08/05/2014 02:35:16 691  31.20  0.00   0.17  N     8603     32.68  NNE   464   2         0        
7    171  37.871986 -122.287109706  08/05/2014 02:35:17 711  31.10  0.00   0.19  N     8603     32.68  NNE   928   4         0        
6    205  37.871986 -122.287109726  08/05/2014 02:35:18 731  31.10  0.00   0.09  N     8603     32.68  NNE   1388  6         0        
6    205  37.871986 -122.287109744  08/05/2014 02:35:19 750  30.80  0.00   0.91  N     8603     32.68  NNE   1848  8         0        
7    206  37.871982 -122.287109761  08/05/2014 02:35:20 766  30.70  0.00   0.07  N     8603     32.68  NNE   2312  10        0        
6    217  37.871986 -122.287109784  08/05/2014 02:35:21 789  30.80  0.00   0.19  N     8603     32.68  NNE   2772  12        0        
6    217  37.871986 -122.287109805  08/05/2014 02:35:22 810  30.80  0.00   0.56  N     8603     32.68  NNE   3232  14        0        
6    217  37.871986 -122.287109823  08/05/2014 02:35:23 828  31.10  0.00   0.11  N     8603     32.68  NNE   3692  16        0        
7    179  37.871982 -122.287109837  08/05/2014 02:35:24 842  31.40  0.00   0.48  N     8603     32.68  NNE   4156  18        0        
7    171  37.871982 -122.287109857  08/05/2014 02:35:25 862  31.60  0.00   0.04  N     8603     32.68  NNE   4620  20        0        
7    171  37.871982 -122.287109874  08/05/2014 02:35:26 879  31.30  0.00   0.96  N     8603     32.68  NNE   5086  22        0        
6    206  37.871982 -122.287109894  08/05/2014 02:35:27 899  30.90  0.00   1.15  N     8603     32.68  NNE   5548  24        0        

Frédéric_Plante

It was a pleasure friend, how ever i'm not totally sure what the coarse result is, it might be the vector you are pointing, maybe you could copy paste the equation that lead to that result and I will tel you what it is.
As we fight our way northward into the great unknown, only that one thing remains certain...

frankhu01

Hey,

Well, the TinyGPS example only shows gps.f_course() to get that data, I believe.

Anyways, I have another problem now that the GPS is working, the SD.open("File") function fails.
When I switch back to 9600, the SD card opens fine, but not with a baud rate of 38400.
How can I solve this problem?


Go Up