Skip to content

Sparkfun UBX GNSS Receiver monitor utility for ESP32 and VSCode / PlatformIO

License

Notifications You must be signed in to change notification settings

semuconsulting/esp32-ubx-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

u-blox UBX Receiver example

https://learn.sparkfun.com/tutorials/gnss-receiver-breakout---max-m10s-qwiic-hookup-guide

This example shows how to query a u-blox module for its position, velocity and time (PVT) data. We also turn off the NMEA output on the I2C port. This decreases the amount of I2C traffic dramatically.

Instructions

  1. Install the PlatformIO extension for VSCode if you haven't already.

  2. Download and unzip this repo, or clone it:

    git clone https://github.com/semuconsulting/esp32-ubx-monitor.git
  3. Connect your ESP32 device to the u-blox Receiver via I2C ports (SDA/SCL), or use the QWIIC connector as per the tutorial above.

  4. Connect your ESP32 device to your workstation via its USB port.

  5. Open the project folder in VSCode.

  6. Open the PlatformIO Project Tasks tab and select 'Upload and Monitor'. The code should automatically build and upload (on some ESP32 devices you may have to press the RESET button momentarily first).

  7. For further details and troubleshooting, refer to the Sparkfun tutorial at the link above.

Sample output:

Lat: 51.250643, Lon: -2.610237, Alt: 35.250 m, Fix: 3D, SIV: 11, Hacc: 5.208 m, Vacc: 7.299 m
Lat: 51.250643, Lon: -2.610235, Alt: 35.060 m, Fix: 3D, SIV: 11, Hacc: 5.219 m, Vacc: 7.314 m
Lat: 51.250643, Lon: -2.610235, Alt: 35.093 m, Fix: 3D, SIV: 11, Hacc: 5.232 m, Vacc: 7.331 m
Lat: 51.250643, Lon: -2.610235, Alt: 35.041 m, Fix: 3D, SIV: 11, Hacc: 5.243 m, Vacc: 7.346 m

License

Author: SparkFun Electronics / Paul Clark, enhanced and adapted for VSCode / PlatformIO by semuadmin

Date: March 7th, 2022

License: MIT. See license file for more information but you can basically do whatever you want with this code.

About

Sparkfun UBX GNSS Receiver monitor utility for ESP32 and VSCode / PlatformIO

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published