Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:34 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Pico GPS for Matherp

Author Message
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 07:52am 26 Aug 2022
Copy link to clipboard 
Print this post

With the Picomite OPEN comspec$ AS GPS [,timezone_offset] [,monitor]
it interprets the  GPRMC, GNRMC, GPCGA and GNCGA sentences
Do you know if this is ONLY for GPS, or does it decode them from Galileo, Beidou and Glonass as well?
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 08:47am 26 Aug 2022
Copy link to clipboard 
Print this post

Obviously I'm not Peter, but I've looked at the code and there is no sign that it distinguishes between satellite constellations.

I would *imagine* that the GPS package (which presumably includes its own micro-controller) is responsible for ironing out any differences in protocols between the different constellations (if there even are any) and presenting a uniform interface via the serial comms which is then handled by the 'mite GPS code.

Best wishes,

Tom
Edited 2022-08-26 18:48 by thwill
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Sasquatch

Guru

Joined: 08/05/2020
Location: United States
Posts: 377
Posted: 02:04pm 26 Aug 2022
Copy link to clipboard 
Print this post

The $GPRMC and $GPGGA messages are GPS specific messages.  The $GNRMC and $GNGGA messages are more general GNSS (Global Navigation Satellite System) navigation messages.

To answer your question, the current PicoMite firmware will NOT handle messages specific to the Galileo, Beidou and Glonass GNSS systems.  However, most of the modern receivers will output the GNxxx messages when tracking multiple GNSS systems.  So if your "GPS" receiver is enabled to track satellites from the above listed systems chances are it will output the $GNxxx messages or can be configured to do so.

I have tested the PicoMite with the Adafruit "Ultimate GPS" module as well as the ublox NEO-M8 and NEO-M9 receivers and they all work with the current firmware.  The default configuration for the ublox receivers is to track multiple GNSS systems and output the $GNxxx messages.  I suspect that this is also true of other modern receivers.  I have some older receivers that I will test as well.

As of PicoMite firmware version V5.07.05b17, Peter made some changes to the GPS code to use double precision variables enabling higher resolution position information from newer GNSS receivers. After having a closer look at the code, I now realize there are other limitations.  The current GPS parsing code is in some respects treating the comma delimited messages as a fixed number of digits.  It is also using some fixed point math likely originally intended for older 8-Bit micro-controllers.  I am currently doing some research and will submit some updated GNSS parsing code after testing.
Edited 2022-08-27 00:06 by Sasquatch
-Carl
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025