Esp32 gnss
From wikiluntti
Introduction
Global Navinagation Network Systems
- GPS (USA),
- GLONASS (Russia)
- BDS (Beidou) (China)
- Galileo (Europe)
GPS based:
- Japan's Quasi-Zenith Satellite System (QZSS)
- India's GAGAN
- European EGNOS
NMEA 0183 standard
See https://aprs.gids.nl/nmea/
Comma-delimited text format consists of rows of data.
Examples
- $GPBOD – Bearing, origin to destination
- $GPBWC – Bearing and distance to waypoint, great circle
- $GPGGA – Global Positioning System Fix Data
- $GPGLL – Geographic position, latitude / longitude
- $GPGSA – GPS DOP and active satellites
- $GPGSV – GPS Satellites in view
- $GPHDT – Heading, True
- $GPR00 – List of waypoints in currently active route
- $GPRMA – Recommended minimum specific Loran-C data
- $GPRMB – Recommended minimum navigation info
- $GPRMC – Recommended minimum specific GPS/Transit data
- $GPRTE – Routes
- $GPTRF – Transit Fix Data
- $GPSTN – Multiple Data ID
- $GPVBW – Dual Ground / Water Speed
- $GPVTG – Track made good and ground speed
- $GPWPL – Waypoint location
- $GPXTE – Cross-track error, Measured
- $GPZDA – Date & Time
GPS Libraries
SoftwareSerial because the Serial port is used by USB.
TinyGPS
TinyGPS++
Basic GPS Module Operation – Beitian 180 & 220 with Arduino
Beitian 180 & 220
Beitian
Specs
Beitian BN-180 GPS includes
- GPS antenna,
- GNSS antenna,
- RTK antenna,
- Beisan RDSS antenna,
- GPS module,
- GNSS module, board,
- GNSS receiver,
- Beidou module.
Size 18*18*6.2mm
Pins (from left to right)
- GND (black)
- TX output (white) -> Connect to Serial RX pin ESP32 (eg GPIO 16)
- RX input (yellow) -> Connect to Serial TX pin ESP32 (eg GPIO 17)
- VCC 3.6 V - 5.5 V (red)
LEDs
- TX LED: blue. The data output, TX LED flashing
- PPS LED: red. PPS LED not bright when GPS not fixed, flashing when fixed.