SparkFun DataLogger IoT - 9D - Setting up DataLogger with GNSS

This article will describe how to setup the SparkFun DataLogger IoT - 9DoF

image

initially described here and here in these two previous articles with a SPARKFUN GNSS RECEIVER BREAKOUT

image

This Sparkfun MAX-M10S GNSS receiver board can receive signals from the GPS, GLONASS, BeiDou, and Galileo constellations of satellites. The board is also equipped with an on-board rechargeable battery that provides backup power to the module’s Real Time Clock (RTC). This reduces the time-to-first fix from a cold start (~24s) to a hot start (~1s). The battery will maintain RTC and GNSS orbit data without being connected to power for up to five hours. This increases precision and decreases lock time in battery operated devices without compromising GNSS performance. This Sparkfun u-blox GNSS receiver supports I2C which makes it perfect for Qwiic compatibility. Here is summary of the specifications:

  • Concurrent reception of GPS, GLONASS, Galileo and BeiDou
  • 1.5m Horizontal Accuracy
  • 10Hz Max Update Rate
  • Time-To-First-Fix:
  • Cold: 24s
  • Hot: 1s
  • Max Altitude: 80,000m
  • Max G: ≤4
  • Max Velocity: 500m/s
  • Velocity Accuracy: 0.05m/s
  • Heading Accuracy: 0.3 degrees
  • Time Pulse Accuracy: 30ns
  • 3.3V VCC and I/O
  • Current Consumption: ~6mA to ~25mA (varies with constellations and tracking state)
  • Software Configurable
  • Pulse Per Second
  • Odometer
  • Spoofing Detection
  • External Interrupt
  • Many others!
  • Supports NMEA and UBX protocols over I2C or UART interfaces
  • Dimensions (with SMA connector): 1.74" x 1.20"
  • 2x Qwiic Connectors

This demo will show how to connect the Sparkfun MAX-M10S GNSS receiver board via the Qwiic I2C interface using one of these useful Qwiic cables,

image

available from DigiKey. Also using the following active muliti-band GNSS antenna (L1/L5/E5a/B2a/NavIC) RHCP single-feed stacked-patch antenna element, with a built-in LNA with SAW pre-filtering, and a 3-meter antenna cable with an SMA connector,

image

available from DigiKey. This antenna is connected via the RF SMA connector to the SPARKFUN GNSS RECEIVER BREAKOUT. In order to connect the Sparkfun MAX-M10S GNSS receiver board with the SparkFun DataLogger IoT - 9DoF, connect both using one of these useful Qwiic cables.

Here is a picture of the complete setup of the demo showing the I2C Qwiic cable, the antenna connection and the USB cable to the host,

In order to setup the SparkFun DataLogger IoT - 9DoF open a minicom terminal as follows,

digikey_coffee_cup # minicom -D /dev/ttyUSB0 -b 115200

After pressing the reset button in the SparkFun DataLogger IoT - 9DoF board select the following options illustrated below to configure the GNSS - u-blox GNSS receiver

SparkFun DataLogger IoT - 9DoF   (c) 2023-2024 SparkFun Electronics
Version: 01.02.00 Version 1.2 - build 00013e

Device ID: SFD1B805D422C930
Time: 2025-11-21T14:13:48
Uptime: 0 days, 00:06:11.791



Settings for: /SparkFun DataLogger IoT - 9DoF

         1)  Settings - System settings and operations
         2)  Devices Settings - Settings for connected devices

         x)  Exit

Select Option: 2


Settings for: /SparkFun DataLogger IoT - 9DoF/Devices Settings

         1)  MAX17048 - MAX17048 LiPo Battery Fuel Gauge
         2)  GNSS - u-blox GNSS
         3)  ISM330 - ISM330 Inertial Measurement Unit
         4)  MMC5983 - MMC5983 Magnetometer

         b)  Back

Select Option: 2


Settings for: /SparkFun DataLogger IoT - 9DoF/Devices Settings/GNSS

    Settings
         1)  Measurement Rate (ms) - Set the measurement interval in milliseconds  : 1000

    Outputs
         2)  Year                 - Year                                      
         3)  Month                - Month                                     
         4)  Day                  - Day Of Month                              
         5)  Hour                 - Hour                                      
         6)  Minute               - Minute                                    
         7)  Second               - Second                                    
         8)  Latitude (deg)       - Latitude in degrees                       
         9)  Longitude (deg)      - Longitude in degrees                      
        10)  Altitude (m)         - Altitude above geoid in meters            
        11)  Altitude MSL (m)     - Altitude above Mean Sea Level in meters   
        12)  SIV                  - Satellites In View                        
        13)  Fix Type             - Fix Type                                  
        14)  Carrier Solution     - Carrier Solution                          
        15)  Ground Speed (m/s)   - Ground speed in meters per second         
        16)  Heading (deg)        - Heading / course in degrees               
        17)  PDOP                 - Position Dilution Of Precision            
        18)  Horizontal Accuracy Estimate (m) - Horizontal Position Accuracy Estimate     
        19)  Vertical Accuracy Estimate (m) - Vertical Position Accuracy Estimate       
        20)  TOW (ms)             - Time Of Week in milliseconds              
        21)  ISO8601              - Date and time in ISO 8601 format          
        22)  YYYYMMDD             - Year/Month/Date                           
        23)  YYYYDDMM             - Year/Date/Month                           
        24)  DDMMYYYY             - Date/Month/Year                           
        25)  HHMMSS               - Hour:Minute:Second                        
        26)  Fix Type (String)    - Fix type in string format                 
        27)  Carrier Solution (String) - Carrier solution in string format         

    Functions
        28)  Disable All Parameters - Disables all output parameters            
        29)  Enable All Parameters - Enable all output parameters              
        30)  Restore Factory Defaults - Restore Factory Defaults - takes 5 seconds  

         b)  Back

Select Option: 29


Settings for: /SparkFun DataLogger IoT - 9DoF/Devices Settings/GNSS/Enable All Parameters

        Call `Enable All Parameters`() [Y/n]? 

        [`Enable All Parameters` was called]



Settings for: /SparkFun DataLogger IoT - 9DoF/Devices Settings/GNSS

    Settings
         1)  Measurement Rate (ms) - Set the measurement interval in milliseconds  : 1000

    Outputs
         2)  Year                 - Year                                      
         3)  Month                - Month                                     
         4)  Day                  - Day Of Month                              
         5)  Hour                 - Hour                                      
         6)  Minute               - Minute                                    
         7)  Second               - Second                                    
         8)  Latitude (deg)       - Latitude in degrees                       
         9)  Longitude (deg)      - Longitude in degrees                      
        10)  Altitude (m)         - Altitude above geoid in meters            
        11)  Altitude MSL (m)     - Altitude above Mean Sea Level in meters   
        12)  SIV                  - Satellites In View                        
        13)  Fix Type             - Fix Type                                  
        14)  Carrier Solution     - Carrier Solution                          
        15)  Ground Speed (m/s)   - Ground speed in meters per second         
        16)  Heading (deg)        - Heading / course in degrees               
        17)  PDOP                 - Position Dilution Of Precision            
        18)  Horizontal Accuracy Estimate (m) - Horizontal Position Accuracy Estimate     
        19)  Vertical Accuracy Estimate (m) - Vertical Position Accuracy Estimate       
        20)  TOW (ms)             - Time Of Week in milliseconds              
        21)  ISO8601              - Date and time in ISO 8601 format          
        22)  YYYYMMDD             - Year/Month/Date                           
        23)  YYYYDDMM             - Year/Date/Month                           
        24)  DDMMYYYY             - Date/Month/Year                           
        25)  HHMMSS               - Hour:Minute:Second                        
        26)  Fix Type (String)    - Fix type in string format                 
        27)  Carrier Solution (String) - Carrier solution in string format         

    Functions
        28)  Disable All Parameters - Disables all output parameters            
        29)  Enable All Parameters - Enable all output parameters              
        30)  Restore Factory Defaults - Restore Factory Defaults - takes 5 seconds  

         b)  Back

Select Option: Back


Settings for: /SparkFun DataLogger IoT - 9DoF/Devices Settings

         1)  MAX17048 - MAX17048 LiPo Battery Fuel Gauge
         2)  GNSS - u-blox GNSS
         3)  ISM330 - ISM330 Inertial Measurement Unit
         4)  MMC5983 - MMC5983 Magnetometer

         b)  Back

Select Option: Back



Settings for: /SparkFun DataLogger IoT - 9DoF

         1)  Settings - System settings and operations
         2)  Devices Settings - Settings for connected devices

         x)  Exit

Select Option: x

to enable all parameters from the GNSS - u-blox GNSS receiver receiver to be read by the SparkFun DataLogger IoT - 9DoF board. These GNSS receiver values are stored in the SD card and also if configured properly using the previous article setup description IoT HTTP WiFi server, these can be sent via the internet to another cellphone or computer using JavaScript Object Notation (JSON) format as needed.

After the x is pressed in the setup

Since all parameters were enabled, many of them are shown in the minicom terminal, like the classical lattitude, longitude, etc.. All of these parameters can be customized, that is if some are not needed repeat the previous configuration and select the only ones needed for the application.

This article gives an overview of how easy is to setup the SparkFun DataLogger IoT - 9DoF with the Sparkfun MAX-M10S GNSS receiver board that can receive signals from the GPS, GLONASS, BeiDou, and Galileo constellations of satellites using the active muliti-band GNSS antenna (L1/L5/E5a/B2a/NavIC) RHCP single-feed stacked-patch active antenna element for applications where location information is needed. All of these items are available at DigiKey. Have a nice day!

This article is available in spanish here.

Este articulo esta disponible en espanol aqui.

1 Like