🇺🇸Adafruit will not be shipping orders on Independence Day Monday 7/4/2022. Please allow extra time for your order to ship and plan accordingly.🇺🇸
0

Ultimate GPS
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Ultimate GPS

by RickyBobby on Fri May 27, 2022 10:49 am

I am not a customer so sorry if this is the wrong customer service option but my question is technical so I wasn't sure what to do. I'm looking at buying the ultimate GPS and for my application I need $GPRMC and $GPGGA messages and 115200 with 10hz updates. I have wore google out trying to find how to do this. Before I order I would like to see if someone could lead me on the direction for doing this. I will be using it with a pi4. Thanks for any help

RickyBobby
 
Posts: 2
Joined: Fri May 27, 2022 10:35 am

Re: Ultimate GPS

by mikeysklar on Fri May 27, 2022 1:49 pm

Is your question if it is possible to get both message types $GPRMC and $GPGG while parsing at a 10 Hz frequency?

There will be some overhead with the parsing and baudrate so in the end it will be less than 10 Hz, but you should be able to get updates @ 10 Hz. I'd use the USB-C module with a Pi for hookup.

https://www.adafruit.com/product/4279

; 10 Hz update rate
Code: Select all | TOGGLE FULL SIZE
gps.send_command(b"PMTK220,10000")


; force 115200 baudrate with a message like this:
Code: Select all | TOGGLE FULL SIZE
gps.send_command(b"PMTK251,115200")

mikeysklar
 
Posts: 7817
Joined: Mon Aug 01, 2016 8:10 pm

Re: Ultimate GPS

by RickyBobby on Fri May 27, 2022 2:24 pm

Thank you!. Yes I was looking at the USB c module to use. How do I go about changing to $GPRMC and $GPGGA messages? This is all for my car so I can get speed on my dash. I have a Arduino based ECU that runs my engine. And my dash is a digital dash using a pi. The program that runs all of my readouts can use GPS for speed but requires those messages.

RickyBobby
 
Posts: 2
Joined: Fri May 27, 2022 10:35 am

Re: Ultimate GPS

by mikeysklar on Tue May 31, 2022 4:03 pm

To configure the GPS for specific data like RMC and GGA sentences use this example code:

Code: Select all | TOGGLE FULL SIZE
# Ask for specific data to be sent.
#                          A B C D E F G H                   I
gps.send_command(b'PMTK314,1,1,5,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0')

#   A - send GLL sentences
#   B - send RMC sentences
#   C - send VTG sentences
#   D - send GGA sentences
#   E - send GSA sentences
#   F - send GSV sentences
#   G - send GRS sentences
#   H - send GST sentences
#   I - send ZDA sentences

# The number is how often to send the sentence compared to the update frequency.
# If the update frequency is 500ms and the number is 5, it will send that message
# every 2.5 seconds.


https://docs.circuitpython.org/projects ... tails.html

mikeysklar
 
Posts: 7817
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.