gps-modules
Installation
SKILL.md
gps-modules
Goal: Interface GPS/GNSS receivers (NEO-6M, NEO-M8N, ATGM336H) with microcontrollers to parse location, speed, and precision timing.
1. Hardware Connection
- Interface: UART / Serial.
- Default Baud Rates: Usually 9600 bps (NEO-6M) or 38400 bps (NEO-M8N).
- Wiring:
TX (GPS) -> RX (MCU),RX (GPS) -> TX (MCU). - PPS Pin: Pulse Per Second. Rises exactly on the UTC second boundary. Essential for NTP stratum-1 servers.
2. NMEA Parsing (Arduino/C++)
GPS modules constantly stream ASCII NMEA sentences over UART.
$GPRMC: Minimum Recommended Specific GPS/Transit data (Time, Lat, Lon, Speed).$GPGSV: Satellites in view.
Library: Use TinyGPSPlus for easy C++ parsing.