MAX3232 RS232 to TTL module (DB9) with ESP32

Supply 3.3-5 V Bus GPIO
VCCTXDRXDGND

Pins and ESP32 wiring

PinRoleESP32 pinNotes
VCCPower3V33.0 to 5.5 V
TXDInput (the ESP32 drives it)D25TTL input: connect to an ESP32 TX pin. Labels differ between sellers: if no data, swap TXD and RXD
RXDOutput (the part drives it)D26TTL output: connect to an ESP32 RX pin
GNDGroundGND

Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.

Sources

Try it in 3D in BoardPilot

BoardPilot Part data (JSON)

Related parts

Part data: CC BY 4.0, free to reuse with credit to BoardPilot.