Wiring
ESP32S | GPS6MV2 |
---|---|
GND | GND |
GPIO16(RX2) | TX |
GPIO17(TX2) | RX |
3V3 | VCC |
This code is based on https://iotdesignpro.com/projects/nodemcu-esp8266-gps-module-interfacing-to-display-latitude-and-longitude
Refer to there for details. Deference is wiring and ESP32S hardware serial port insted of software serial port connected to GPS module GPS6MV2.