0

I have a Raspberry Pi 3 with Adafruit's Ultimate GPS Pi Hat. I was able to successfully install gpsd and chrony. I am now getting NMEA and PPS thumbs up But I have a weird issue.

The Ultimate GPS module is spitting out more NMEA messages that I want: I want only GPGGA and GPRMC....but it is also replying with GPGSA, GPGSV, and GPZDA.

So Adafruit has some Python code/libraries that allows you to interface with the GPS module and 'talk' to it. (https://github.com/adafruit/Adafruit_GPS). Using this code I was able to send the following packet using the PMTK command packet (https://cdn-shop.adafruit.com/datasheets/PMTK_A11.pdf)

$PMTK314,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28

I then opened up Putty and using a 9600 serial connection to /dev/ttyAMA0 I see indeed that only GPGGA and GPRMC are being processed out:

enter image description here BUT...as soon as I reopen gpsmon/gpsd, all the NMEA message streams are reactivated'...what the heck ??

If I don't open gpsd/gpsmon...indeed only GPGGA and GPRMC are active.

Has anyone come across this issue before ?

[enter image description here

  • Well, you don't need to use puTTY to read the longwinded, difficult to ciper, text messages. You may like to read my answer to the following question for tips to selectively read only the data you want. (raspberrypi.stackexchange.com/questions/98840/… ). Instead of using puTTY, you can use python to extract the data. – tlfong01 Jul 1 '19 at 1:37
  • Please don't post pictures of text. Instead paste the text direct into the question. – Ingo Jul 1 '19 at 9:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.