ATGM336H GPS/BeiDou module with ESP32
Supply 3.3-5 V
Bus GPIO
Measures position, time
Pins and ESP32 wiring
| Pin | Role | ESP32 pin | Notes |
|---|---|---|---|
| VCC | Power | 3V3 | |
| GND | Ground | GND | |
| TXD | Output (the part drives it) | D25 | UART: the part sends data here. Connect to an ESP32 RX pin (9600 baud) |
| RXD | Input (the ESP32 drives it) | D26 | UART: the part receives data here. Connect to an ESP32 TX pin |
| PPS | Not wired to the ESP32 | — | One pulse per second after a fix, optional |
Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.
Sources
- Zhongke Microelectronics ATGM336H-5N datasheet, UART default 9600 baud, NMEA; GPS + BDS. Breakout pin order varies: check the silkscreen
Try it in 3D in BoardPilot
Related parts
A02YYUW waterproof ultrasonic distance (UART)A3144 hall effect switchAM312 mini PIR motion sensorBeitian BN-220 GPS moduleBenewake TF-Luna LiDAR (UART mode)Benewake TFmini-S LiDAR (UART)
Part data: CC BY 4.0, free to reuse with credit to BoardPilot.