Getting Started with U-Center a learn.sparkfun.com tutorial
Available online at: http://sfe.io/t815
Introduction
U-center from ublox is a free software tool for configuring ublox GPS receivers under Windows. The software can be obtained here. To follow along with this tutorial please download and install u-center. Once completed open it.
U-center is a dense program with many interface elements. It can be overwhelming at first but over time it will become easier to use. For all its GUI weaknesses it is very powerful for configuring the ublox line of modules include the NEO-M8P-2.
For this tutorial we’ll assume you have the SparkFun GPS-RTK but u-center can be used with any ublox based product. Start by attaching a microB cable to the GPS-RTK board.
Now open Windows Device Manager. The NEO-M8 series has an annoying feature where the module comes up as a Windows Sensor rather than a serial device. If your ublox receiver does not appear under COM ports then right click on the u-blox GNSS Location Sensor and then Update Driver.
Next click on Browse my computer for driver software.
Then “Let me pick”…
Select the first USB serial device.
The SparkFun GPS-RTK board should now enumerate as a USB serial com port. In the above list the GPS-RTK board is COM12.
Return to u-center and drop down the port list. Select the COM port that is your RTK board. Congrats! You can now use u-center.
Let’s go over a few windows you’ll likely use:
Text Console
Text console will show you the raw NMEA sentences. This is handy for quickly inspecting the visible ASCII coming from the module over USB.
Configure
The configuration button opens the most powerful window. From this window you can inspect and configure new settings. It’s not obvious but when you click on a setting such as ‘MSG’ u-center will poll the module for its current state. The ‘10s’ in the corner indicates how old the displayed information is. In this case it’s been 10 seconds since this setting was last queried. Click on the ‘Poll’ button to update the information. Go ahead and select the F0-00 NMEA GxGGA
message. As you click the dropdown the software will poll the current settings. It’s a bit disorienting at first but gets better over time.
The MSG configuration is very powerful. It allows you to enable or disable various NMEA sentences as well as binary protocols such as NAV-PVT (checkout the full protocol datasheet)). Once a sentence is selected, such as GxGGA, the check boxes will be populated. If you want to disable the GxGGA sentence for the SPI interface uncheck the SPI checkbox then click ‘Send’. Congrats! The GxGGA sentence is no longer presented on the SPI interface. This raises an important fact:
Note: The NEO-M8 series has 4 interfaces: USB(serial), I2C, SPI, and UART. All interfaces can access information simultaneously. This means you can inspect configuration settings over the USB serial port while your Arduino makes setting changes over the I2C port. You can read NMEA sentences over the I2C port or send RTCM data into the module over SPI. It’s all highly configurable.
What is the USB port on the NEO-M8P? It’s like any other USB to serial device. It will enumerate on your computer as a COM port and acts as such. It is independent and separate from the UART port that is a dedicated TTL serial port.
If something is not accessible through u-center it probably means that feature or setting is not compatible with the currently attached device. For example, in the image above the UART2 box is grayed out. The NEO-M8P does not have a second UART so you can’t address it.
Ports
The Ports (PRT) sub-menu under Configuration is very helpful. You can do things like change the baud rate, I2C address, and protocols. Depending on your application you may want to enable or disable entire interface protocols. For example, if you want to enable NMEA sentences for the SPI interface you would do it here. Fortunately the factory default for the NEO-M8P is good for I2C and UART1 for RTK purposes (input of RTCM3 is enabled for both ports).
This is also the menu that allows you to change the I2C address of your GPS-RTK. Because we are big fans of Qwiic we’ll be using the GPS-RTK on the I2C bus. If we had another device on the bus that uses address 0x42 this menu will allow us to change the address of the GPS-RTK.
Poke around the various config menus. If you get your module into an unknown state you can unplug and replug to reset the settings.
Messages
The messages window will allow you to view the various sentences reported by the module. It’s not obvious but if you double click on ‘NMEA’ the tree of messages will fold away. Similarly, if you double click on ‘UBX’ it will expand showing the various UBX sentences. By default many of these are not enabled but we’ll get to that.
Resources and Going Further
Once you’ve mastered U-Center you’re ready to begin configuring your Ublox module!
Building an Autonomous Vehicle: The Batmobile
GPS-RTK Hookup Guide
learn.sparkfun.com | CC BY-SA 3.0 | SparkFun Electronics | Niwot, Colorado