Question about the Ultimate GPS Breakout:
Does this module send the GPZDA NMEA sentence? I know that the GPRMC sentence contains the time, but GPS time is currently different from UTC by 19s (blame leap seconds). The GPZDA sentence is corrected for that.
Might I need to do anything (like messing with the inputs or changing the baud rate) to receive the GPZDA sentence?
Thanks
Does the Adafruit Ultimate GPS Board output NMEA ZDA?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 5
- Joined: Sat Jun 18, 2011 9:20 pm
- wethaguy
- Posts: 54
- Joined: Sun May 06, 2012 9:00 pm
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
It's not officially supported in the GPS docs, but the GPS will output a ZDA sentence when you give it the MTK command. This is valid on the ultimate GPS MTK3339, the C version I believe, from about a year ago.
-
- Posts: 5
- Joined: Sat Jun 18, 2011 9:20 pm
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
Hmmm, yeah, I'm looking through the datasheet on the GPS module included in the Ultimate GPS Board (MTK3339 based), and there's nothing on sending commands to the module or receiving the ZDA sentence. The datasheet has a link to contact the manufacturer to generate specific proprietary sentences, but if this is a solved problem I'd rather not pretend to be a company when I'm just a hobbyist.
Can you provide more information on the method you used?
Thanks!
Can you provide more information on the method you used?
Thanks!
-
- Posts: 5
- Joined: Sat Jun 18, 2011 9:20 pm
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
EDIT: (sorry for double-post, I can't find the edit button on this particular forum. Is there one?)
Looks like I can set the module to output ZDA using the MiniGPS tool from the manufacturer. To connect to a COM port, would that mean plugging the GPS module directly into the TX and RX pins of the arduino and bypassing the ATmega in the same way as in the Direct Computer Wiring tutorial?
Looks like I can set the module to output ZDA using the MiniGPS tool from the manufacturer. To connect to a COM port, would that mean plugging the GPS module directly into the TX and RX pins of the arduino and bypassing the ATmega in the same way as in the Direct Computer Wiring tutorial?
- adafruit_support_mike
- Posts: 67882
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
It should be on the row of buttons at the upper-right-hand corner of each post.Zeroignite wrote:EDIT: (sorry for double-post, I can't find the edit button on this particular forum. Is there one?)
-
- Posts: 5
- Joined: Sat Jun 18, 2011 9:20 pm
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
Weird... I was digging around in the user control panel seeing if I could change the board theme... for some reason, now I see the button after changing the time zone of all things. Before, all I saw was the report button.[email protected] wrote:It should be on the row of buttons at the upper-right-hand corner of each post.Zeroignite wrote:EDIT: (sorry for double-post, I can't find the edit button on this particular forum. Is there one?)
-
- Posts: 5
- Joined: Sat Jun 18, 2011 9:20 pm
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
This is kind of problematic. I contacted GlobalTop support asking if they can help me get the ZDA sentence:
Their reply:I am using the PA6H GPS module as packaged with Adafruit's Ultimate GPS Breakout for a long-term accurate real-time-clock. However, the GPRMC NMEA sentence currently provided by the module provides the GPS timestamp, which currently differs from UTC by 19 seconds (a difference which will only increase due to additional leap seconds). Therefore, I would like a way to make the gps module output the GPZDA sentence (no other information is required, and the send rate is noncritical). Ideally I'd like to do this through a PMTK command, but the provided datasheet includes nothing on the GPZDA sentence.
Any idea how I should proceed?In this situation we will refer you back to Adafruit. As you are purchasing a comets unit that Alpha Micro does not support. I suggest you speak to one of there very competent engineers.
- wethaguy
- Posts: 54
- Joined: Sun May 06, 2012 9:00 pm
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
GT does not officially support the ZDA sentence output. However, $PMTK314,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0*29 will set the NMEA output to the ZDA sentence (or blow up your GPS, cause your feet to fall off and turn your dog against you). Use at your own risk.
Here's a link to a great source of information on MTK commands for NMEA sentence output: http://lmgtfy.com/?q=NMEA+sentence+MTK+command
Here's a link to a great source of information on MTK commands for NMEA sentence output: http://lmgtfy.com/?q=NMEA+sentence+MTK+command
- LeonardoB
- Posts: 7
- Joined: Sat Jun 09, 2018 10:20 am
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
There is no need to afraid.
Use the sentence for good if you need the ZDA NMEA info.
I did test it and it works fine.
I use PIC BASIC PRO and PIC18F46K22. Test code below, using on the fly change baudrate and Frequency at 10hz.
Use the sentence for good if you need the ZDA NMEA info.
I did test it and it works fine.
I use PIC BASIC PRO and PIC18F46K22. Test code below, using on the fly change baudrate and Frequency at 10hz.
Code: Select all
'*-----------------------------------------------------------------------------|
'* | --------------------- | |
'*----------------------- | EUART 1 Configuration | --------------------------|
'* | --------------------- | |
'*-----------------------------------------------------------------------------|
RCSTA = $90 ' Enable serial port & continuous receive
TXSTA = $24 ' Enable transmit, BRGH = 1
'CLROERR = 1 ' Clear overflow automatically
SPBRG = 160 ' 38400 Baud @ 64MHz, -0,08%
SPBRGH = 1
BAUDCON.3 = 1 ' Enable 16 bit baudrate generator
'*-----------------------------------------------------------------------------|
'* | --------------------- | |
'*----------------------- | EUART 2 Configuration | --------------------------|
'* | --------------------- | |
'*-----------------------------------------------------------------------------|
RCSTA2 = $90 ' Enable serial port & continuous receive
TXSTA2 = $24 ' Enable transmit, BRGH = 1
'CLROERR2 1 ' Clear overflow automatically
SPBRG2 = 130 ' 9600 Baud @ 64MHz, -0,02%
SPBRGH2 = 6
BAUDCON2.3 = 1 ' Enable 16 bit baudrate generator
'------------------------------------------------------------------------------|
'-----------sent a sentence to gps, this is not working at the moment----------|
'------------------------------------------------------------------------------|
' When the GPS Module is POWERED ON, then the following sentenses are received.
' $PMTK011,MTKGPS*08
' $PMTK010,001*2E
' $PMTK010,002*2D
pause 800
HSEROUT2 ["$PMTK251,38400*27",13,10] ' 38400 boundrate, check MTK manual configuration
pause 800
SPBRG2 = 160 ' 38400 Baud @ 64MHz, -0,08%
SPBRGH2 = 1
Pause 500
HSEROUT2 ["$PMTK220,100*2F",13,10] ' 100(millisecond)=0.1(sec)-->1/0.1= 10Hz
pause 100
Please be positive and constructive with your questions and comments.