U-Blox M8 GPS (I2C)

From Visuino
Revision as of 13:11, 15 September 2025 by Visuino (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduino UBlox M8 GPS I2C.png

Summary

This component interfaces with a U-Blox M8 GPS module over the I2C communication protocol. It processes satellite data to provide location, time, speed, and other navigation information.

Description

The U-Blox M8 GPS (I2C) component allows for easy integration of a high-precision GPS module. It communicates using the I2C bus, minimizing the number of required pins. The component decodes messages from the GPS to output structured data like latitude, longitude, altitude, speed, course, and satellite information.


Diagram:

Properties

  • Enabled – Enables or disables the component.
  • Base Year – Sets the base year (e.g., 2000) for correct date interpretation.
  • Address (I²C) – Defines the I²C address of the GPS module.

Pins

Input Pins

  • Reset (clock) – A clock signal on this pin resets the component.

Output Pins

Course

  • Speed – Current ground speed (analog).
  • Course – Current heading or direction of travel (analog).

Location

  • Latitude – Latitude in degrees (analog).
  • Longitude – Longitude in degrees (analog).
  • Altitude – Altitude above sea level (analog).
  • Height Above WGS84 Ellipsoid – Height relative to WGS84 ellipsoid (analog).
  • Magnetic Variation – Magnetic variation in degrees (analog).

Satellites

  • Count – Number of satellites in view (unsigned).
  • Start Scan – Clock input to initiate satellite scanning.
  • Satellite Number (PRN) – Satellite ID (unsigned).
  • Elevation – Elevation angle of the satellite (analog).
  • Azimuth – Azimuth angle of the satellite (analog).
  • Signal Strength (dB) – Signal-to-noise ratio of satellite (analog).
  • Satellite Found – Digital signal indicating satellite presence.

General Outputs

  • Date/Time – UTC date and time.
  • Invalid – High if the received data is invalid (digital).
  • Message Error – High if a parsing error occurs (digital).
  • Reset – Indicates a reset operation (clock).
  • Mode – Current fix mode (unsigned).
  • Navigation Status – Textual navigation status.
  • Horizontal Precision – Horizontal dilution of precision (HDOP, analog).

Interfaces

  • Interface (I²C) – I²C bus connection to the GPS module.
  • Serial – Serial text output with raw NMEA/UBX data.

Categories