USB to TTL serial adapter (CP2102)
USB-UART adapter to program ESP-01, Pro Mini and debug serial.
What is the USB to TTL serial adapter (CP2102) and what is it used for?
USB-UART adapter to program ESP-01, Pro Mini and debug serial. Makers use it for programming boards without USB.
A CP2102 converts USB to a UART with full modem control lines.
Key specifications
| Interface module spec | Value |
|---|---|
| Function | USB to UART |
| Supply voltage | USB 5 V, provides 3.3 V and 5 V |
| Interface | TX, RX, DTR on some |
| Rating | 3.3 V output is limited (about 100 mA) |
| Logic level | 3.3 V TTL |
Pinout
How to use it
Cross TX to RX and RX to TX and connect GND. Logic is 3.3 V, which suits ESP boards. Windows needs the Silicon Labs driver if it does not appear as a COM port.
Applications
Builds that use it
Alternatives
- USB to TTL adapter (CH340G)Cheaper, 5 V option
- FTDI FT232RL USB to TTL adapterFTDI chip
Common questions
What is the USB to TTL serial adapter (CP2102) used for?
In maker projects: programming boards without USB.
How does the USB to TTL serial adapter (CP2102) work?
A CP2102 converts USB to a UART with full modem control lines.
What voltage does the USB to TTL serial adapter (CP2102) need?
USB 5 V, provides 3.3 V and 5 V.
How do I connect the USB to TTL serial adapter (CP2102) to an Arduino or ESP32?
TX, RX, DTR on some. Pins: 3V3 (3.3 V out (about 100 mA)), 5V (USB 5 V), TXD (To the target's RX), RXD (From the target's TX), GND (Ground), DTR (Auto-reset (some boards)).
What can I use instead of the USB to TTL serial adapter (CP2102)?
USB to TTL adapter (CH340G) and FTDI FT232RL USB to TTL adapter.
