Component guide · Intermediate · 4 min read
USB to TTL Serial Adapters
CP2102, CH340 and FT232RL
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
A USB to TTL adapter turns a computer USB port into a 3.3 V or 5 V serial port, so you can program boards without USB (Pro Mini, ESP-01, ESP32-CAM) or read a debug console. Connect adapter TX to device RX, RX to TX and GND to GND, and set the voltage jumper to match the device. CP2102, CH340 and FT232RL chips all work; they differ mainly in drivers.
Key specs at a glance
- Signals
- TX, RX, GND, plus DTR or RTS on most boards
- Logic level
- 3.3 V or 5 V, set by a jumper or switch
- CP2102
- Up to about 1 Mbaud, good drivers
- CH340
- Cheap, widely used on clone Arduinos; older Windows and macOS need a driver
- FT232RL
- Up to 3 Mbaud, well supported; counterfeits exist
- Power out
- 3.3 V pin is usually 100 mA or less: not enough for an ESP
How to wire a USB to TTL adapter
| Adapter pin | Connect to device | Notes |
|---|---|---|
| TXD | RXD / RX | Cross over: transmit goes to receive |
| RXD | TXD / TX | Cross over |
| GND | GND | Always required |
| DTR (or RTS) | RESET via 100 nF capacitor | Auto-reset for Arduino Pro Mini uploads |
| VCC 5V / 3V3 | Device power, only for small loads | Power ESP boards from a separate 3.3 V regulator |
- TXD
- Connect to device:
- RXD / RX
- Notes:
- Cross over: transmit goes to receive
- RXD
- Connect to device:
- TXD / TX
- Notes:
- Cross over
- GND
- Connect to device:
- GND
- Notes:
- Always required
- DTR (or RTS)
- Connect to device:
- RESET via 100 nF capacitor
- Notes:
- Auto-reset for Arduino Pro Mini uploads
- VCC 5V / 3V3
- Connect to device:
- Device power, only for small loads
- Notes:
- Power ESP boards from a separate 3.3 V regulator
CP2102 vs CH340 vs FT232RL
| Chip | Maker | Drivers | Notes |
|---|---|---|---|
| CP2102 / CP2104 | Silicon Labs | Built into Linux, recent macOS and Windows Update | Reliable, common on ESP32 DevKits |
| CH340G / CH340C / CH9102 | WCH | Built into Linux and Windows 10/11; older systems need the WCH driver | Cheapest, on most clone Unos and Nanos |
| FT232RL | FTDI | Built in on most systems | Fast and stable; fake chips can be blocked by FTDI drivers |
| PL2303 | Prolific | Old clones may not work on current Windows | Avoid for new purchases |
- CP2102 / CP2104
- Maker:
- Silicon Labs
- Drivers:
- Built into Linux, recent macOS and Windows Update
- Notes:
- Reliable, common on ESP32 DevKits
- CH340G / CH340C / CH9102
- Maker:
- WCH
- Drivers:
- Built into Linux and Windows 10/11; older systems need the WCH driver
- Notes:
- Cheapest, on most clone Unos and Nanos
- FT232RL
- Maker:
- FTDI
- Drivers:
- Built in on most systems
- Notes:
- Fast and stable; fake chips can be blocked by FTDI drivers
- PL2303
- Maker:
- Prolific
- Drivers:
- Old clones may not work on current Windows
- Notes:
- Avoid for new purchases
What you can do with one
Arduino Pro Mini (select the board, wire DTR for auto-reset), ESP-01 and ESP32-CAM (hold GPIO 0 low at reset to enter flash mode).
routers, Raspberry Pi (GPIO 14 TX, GPIO 15 RX, 3.3 V, 115200 baud), 3D printer boards and GPS modules.
send AT commands to an HC-05, SIM800L or ESP-01 from a serial terminal.
watch the traffic between a microcontroller and a module.
On Windows the adapter appears as a COM port; on Linux as /dev/ttyUSB0; on macOS as /dev/cu.usbserial-... or /dev/cu.wchusbserial....
Getting the voltage right
Set the jumper to 3.3 V for ESP8266, ESP32, Raspberry Pi and most modern modules; set it to 5 V for a 5 V Arduino Pro Mini or ATmega328P. A 5 V adapter's TX pin can damage a 3.3 V chip's RX pin over time. Do not power an ESP8266 or ESP32 from the adapter's 3.3 V pin: Wi-Fi peaks of 300 mA or more cause brownouts and failed uploads. Use a separate 3.3 V regulator such as an AMS1117 and share ground. See UART basics and logic level shifting.
Troubleshooting
charge-only USB cable, missing driver, or a counterfeit chip. Try another cable first.
baud rate mismatch; set the terminal to the device's baud rate.
DTR not wired through a 100 nF capacitor; press reset just as the upload starts.
GPIO 0 not held low at reset, weak power supply, or TX and RX not crossed.
grounds not connected.
Try it: Voltage divider calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Connecting TX to TX and RX to RX.
- Leaving the jumper on 5 V when talking to a 3.3 V board.
- Powering an ESP module from the adapter's 3.3 V pin.
- Forgetting the common ground.
- Using a charge-only USB cable and blaming the driver.
Frequently asked questions
Which is better, CP2102 or CH340?
Both work well for hobby use. CP2102 boards have very reliable drivers; CH340 boards are cheaper and need a driver only on older Windows and macOS versions.
How do I connect a USB to TTL adapter?
Adapter TX to device RX, adapter RX to device TX, and GND to GND. Match the voltage jumper to the device: 3.3 V for ESP and Raspberry Pi, 5 V for a 5 V Arduino.
Can I program an ESP32-CAM with a USB to TTL adapter?
Yes. Wire 5 V and GND, cross TX and RX, connect GPIO 0 to GND, press reset, then upload. Remove the GPIO 0 link and reset to run.
Why does my CH340 not show up in Windows?
Try a data USB cable, then install the WCH CH340 driver. Windows 10 and 11 normally install it automatically.
What is DTR used for?
DTR toggles when the computer opens the port. Through a 100 nF capacitor to RESET, it resets an Arduino automatically at the start of an upload.
Parts for this guide
Calculators
Terms in this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




