CP2102 USB to UART adapter with ESP32
Supply 3.3 V
Bus GPIO
Pins and ESP32 wiring
| Pin | Role | ESP32 pin | Notes |
|---|---|---|---|
| DTR | Output (the part drives it) | D25 | Control line for auto-reset, optional |
| RXD | Input (the ESP32 drives it) | D26 | The adapter receives here. Connect to an ESP32 TX pin |
| TXD | Output (the part drives it) | D27 | The adapter sends here. Connect to an ESP32 RX pin |
| 5V | Not wired to the ESP32 | — | 5 V output from USB. Do not connect when the ESP32 is on USB too |
| GND | Ground | GND | |
| 3V3 | Not wired to the ESP32 | — | 3.3 V output from the CP2102 regulator (about 100 mA max) |
Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.
Sources
- Silicon Labs CP2102/9 datasheet, UART signals at 3.3 V; internal 3.3 V regulator, 100 mA
- Common CP2102 adapter boards, Pin order and labels vary (some add RST or CTS): check the silkscreen
Try it in 3D in BoardPilot
Related parts
18650 Li-ion cell in holder28BYJ-48 stepper + ULN2003 driver433 MHz transmitter (FS1000A)74HC595 shift registerA4988 stepper driverActive buzzer
Part data: CC BY 4.0, free to reuse with credit to BoardPilot.