Components / Interface and audio modules / USB to TTL serial adapter (CP2102)

USB to TTL serial adapter (CP2102)

USB-UART adapter to program ESP-01, Pro Mini and debug serial.

FunctionUSB to UART
Supply voltageUSB 5 V, provides 3.3 V and 5 V
InterfaceTX, RX, DTR on some
Rating3.3 V output is limited (about 100 mA)
InterfacesReviewedMPN CP2102 moduleUsed in 5 projects
CP2102
In short

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.

How it works

A CP2102 converts USB to a UART with full modem control lines.

Key specifications

Interface module specValue
FunctionUSB to UART
Supply voltageUSB 5 V, provides 3.3 V and 5 V
InterfaceTX, RX, DTR on some
Rating3.3 V output is limited (about 100 mA)
Logic level3.3 V TTL

Pinout

3V33.3 V out (about 100 mA)
5VUSB 5 V
TXDTo the target's RX
RXDFrom the target's TX
GNDGround
DTRAuto-reset (some boards)

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

Alternatives

Buy at

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.