Home GPS & Tracking Devices u-blox NEO-M8N GPS Module
GPS & Tracking Devices

u-blox NEO-M8N GPS Module

$15-25

Specifications

Channels72-channel
Accuracy2.5m CEP
Update Rate10Hz max
ProtocolsNMEA, UBX
InterfaceUART, I2C, SPI
Voltage2.7-3.6V
Current25mA tracking

Use cases

Vehicle trackingAsset monitoringDrones

Integration code

Example code
# ESP32 Integration
import machine
from micropython import const

GPS_TX = 17
GPS_RX = 16

uart = machine.UART(2, baudrate=9600, tx=GPS_TX, rx=GPS_RX)

def read_gps():
    if uart.any():
        line = uart.readline()
        if line and b'$GPGGA' in line:
            return parse_nmea(line.decode())
    return None

Notes and tips

Best bang for buck. Use ceramic antenna for compact builds, active antenna for better reception.