Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:39 13 Apr 2026 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 : NEO 6 GPS UNITS NOT OUTPUTTING NMEA

Author Message
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 1046
Posted: 12:22am 11 Apr 2026
Copy link to clipboard 
Print this post

I purchased some GPS modules from AE and have found that they don't output NMEA. From my research it is possible they are outputting UBX. Are these units usable at all with MMBASIC ?

OA47
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3127
Posted: 12:55am 11 Apr 2026
Copy link to clipboard 
Print this post

It depends on how the module configures the NEO-6 chip.
  Quote  1.15Configuration
1.15.1 Boot-time configuration
NEO-6 modules provide configuration pins for boot-time configuration. These become effective immediately
after start-up. Once the module has started, the configuration settings can be modified with UBX configuration
messages. The modified settings remain effective until power-down or reset. If these settings have been stored
in battery-backup RAM, then the modified configuration will be retained, as long as the backup battery supply is
not interrupted.
NEO-6 modules include both CFG_COM0 and CFG_COM1 pins and can be configured as seen in Table 6.
Default settings in bold.
Table 6: Supported COM settings
CFG_COM1 CFG_COM0 Protocol Messages UARTBaud rate USB power
1 1 NMEA GSV, RMC, GSA, GGA, GLL, VTG, TXT 9600 BUS Powered
1 0 NMEA GSV, RMC, GSA, GGA, GLL, VTG, TXT 38400 Self Powered
0 1 NMEA GSV14, RMC, GSA, GGA, VTG, TXT 4800 BUS Powered
0 0 UBX NAV-SOL, NAV-STATUS, NAV-SVINFO, NAV-CLOCK, INF, MON-EXCEPT, AID-ALPSERV 57600 BUS Powered

Elsewhere in the data sheet it says the COM pins can be configured for SPI instead of TTL serial.

Try to get some data about the module configuration or circuit from the seller or manufacturer.

Armed with that it may be possible to modify the module to output NMEA on TTL serial.
I don't think MMBasic built-in functions can use anything else.

Edit.
I notice all the GPS() functions that have been removed from the MMBasic manual have not been added to the GPS and Astronomical Commands Reference PDF.
Edited 2026-04-11 11:44 by phil99
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11166
Posted: 07:57am 11 Apr 2026
Copy link to clipboard 
Print this post

  Quote  I notice all the GPS() functions that have been removed from the MMBasic manual have not been added to the GPS and Astronomical Commands Reference PDF.

They are in the Option_GPS_User_Manual
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3127
Posted: 08:33am 11 Apr 2026
Copy link to clipboard 
Print this post

Thank you, my mistake.
Looked down the file list to "G" and stopped.
 
Sasquatch

Guru

Joined: 08/05/2020
Location: United States
Posts: 385
Posted: 06:17pm 11 Apr 2026
Copy link to clipboard 
Print this post

  OA47 said  I purchased some GPS modules from AE and have found that they don't output NMEA. From my research it is possible they are outputting UBX. Are these units usable at all with MMBASIC ?


It sounds like you may have purchased some used modules that may have a custom configuration stored in flash memory.  Note that there are also fake modules coming out of China that may not be fully compatible with a genuine u-Blox module.  Some of the fakes are so good that you may never know or care.

The easiest way to configure your NEO-6 module is by using the free u-Blox u-center software.  The first thing I would do is to restore the module to factory default state.  This will give you a known starting point and should give you NMEA messages at 9600 baud.  You should also be able to update the module to the latest firmware version.

Then you can use u-center to change the baud rate, NMEA messages, and other configuration to suit your needs.  If you store your configuration changes in flash memory, they will be restored each time the module starts up.  These GPS modules have lots of configuration settings (probably over 100) and some of them are inter-dependent. The u-center software will also display the byte sequence for each configuration change in hex format.  Otherwise you would need to hand-code each message using the documentation and calculate the checksum.

Note that MM-Basic only uses the $GNGGA (or $GPGGA)  and $GNRMC (or $GPRMC) NMEA messages, disabling the other NMEA messages will reduce the serial traffic and parsing overhead.
-Carl
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 1046
Posted: 05:00am 12 Apr 2026
Copy link to clipboard 
Print this post

  Quote  It sounds like you may have purchased some used modules that may have a custom configuration stored in flash memory.


It was unexpected as the solder pins seemed to be unused, but playing around last night I found 2 units responded at 115K with a mass of $GP strings that I had not seen before, so it seems you are right.

Thankyou
OA47
 
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 2026