Does the Adafruit Ultimate GPS Board output NMEA ZDA?
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
Zeroignite wrote:EDIT: (sorry for double-post, I can't find the edit button on this particular forum. Is there one?)
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.mstone@yawp.com wrote:Zeroignite wrote:EDIT: (sorry for double-post, I can't find the edit button on this particular forum. Is there one?)
It should be on the row of buttons at the upper-right-hand corner of each post.
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
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.
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.
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
Re: Does the Adafruit Ultimate GPS Board output NMEA ZDA?
'*-----------------------------------------------------------------------------|
'* | --------------------- | |
'*----------------------- | 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