esp32 uart gives garbled output at 115200
ESP32 connected to a GPS module (NEO-6M) over UART2 at 9600 baud, and separately USB serial at 115200 for debugging. The GPS output on the Serial2 monitor is garbled - random symbols instead of NMEA sentences. I'm sure the wiring is right (TX to RX, RX to TX, common ground). The USB debug serial is fine at 115200. Could the NEO-6M be set to a different baud than 9600? I thought GPS modules default to 9600. Is there a way to auto-detect the baud rate? Also do I need level shifting between ESP32 (3.3V) and the GPS?
4 replies