Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Boards & Microcontrollers
  4. ›USB to TTL Serial Adapters
Step 5 of 14 in Raspberry Pi and PicoPart of a learning path.
Next

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
Short answerHow to wire a USB to TTL adapterCP2102 vs CH340 vs FT232RLWhat you can do with oneGetting the voltage rightTroubleshootingTry itCommon mistakesFAQsParts and next steps
Short answer

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
01

How to wire a USB to TTL adapter

Adapter pinConnect to deviceNotes
TXDRXD / RXCross over: transmit goes to receive
RXDTXD / TXCross over
GNDGNDAlways required
DTR (or RTS)RESET via 100 nF capacitorAuto-reset for Arduino Pro Mini uploads
VCC 5V / 3V3Device power, only for small loadsPower 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
02

CP2102 vs CH340 vs FT232RL

ChipMakerDriversNotes
CP2102 / CP2104Silicon LabsBuilt into Linux, recent macOS and Windows UpdateReliable, common on ESP32 DevKits
CH340G / CH340C / CH9102WCHBuilt into Linux and Windows 10/11; older systems need the WCH driverCheapest, on most clone Unos and Nanos
FT232RLFTDIBuilt in on most systemsFast and stable; fake chips can be blocked by FTDI drivers
PL2303ProlificOld clones may not work on current WindowsAvoid 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
03

What you can do with one

Program boards without USB

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).

Read a serial console

routers, Raspberry Pi (GPIO 14 TX, GPIO 15 RX, 3.3 V, 115200 baud), 3D printer boards and GPS modules.

Talk to modules directly

send AT commands to an HC-05, SIM800L or ESP-01 from a serial terminal.

Debug two-board projects

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....

04

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.

05

Troubleshooting

No COM port appears

charge-only USB cable, missing driver, or a counterfeit chip. Try another cable first.

Garbage text

baud rate mismatch; set the terminal to the device's baud rate.

Upload times out on Pro Mini

DTR not wired through a 100 nF capacitor; press reset just as the upload starts.

ESP flashing fails

GPIO 0 not held low at reset, weak power supply, or TX and RX not crossed.

Nothing received

grounds not connected.

06

Try it: Voltage divider calculator

Change the values and the diagram and results update as you type.

07

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.
08

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

  • XBee USB Adapter (CP2102) for ZigBee Modules
    ₹471View
  • XBee USB Adapter FT232RL for Arduino with Micro USB Cable
    ₹248View
  • Waveshare USB to UART Debugger Module for Raspberry Pi 5
    ₹439View
  • AMS1117 LDO Regulator
    ₹20View
Shop Programmers & Adapters

Calculators

Voltage divider calculator

Terms in this guide

UARTUniversal asynchronous receiver-transmitter: two-wire serial (TX and RX) used by GPS, Bluetooth modules and debug output.Baud rateThe speed of a serial link in bits per second. Both ends must use the same value; 9600 and 115200 are the usual defaults.Logic levelThe voltage that represents a digital high: 5 V on classic Arduinos, 3.3 V on ESP32, Pico and Raspberry Pi.BootloaderA small program stored on a microcontroller that lets you upload new code over USB or serial without a dedicated programmer.

Keep learning

Concept explainerBeginnerUART and Serial CommunicationA UART sends data one bit at a time over one wire with no shared clock, so both ends must agree on the speed, called the baud rate (9600 and 115200 are common).4 min read · Electronics FundamentalsHow-toIntermediateESP32-CAMThe ESP32-CAM is a low-cost ESP32 board with an OV2640 2 MP camera and microSD slot but no USB port.3 min read · Boards & MicrocontrollersHow-toIntermediate3.3 V vs 5 V LogicYou need level shifting when a 5 V device sends signals to a 3.3 V board such as an ESP32 or Raspberry Pi Pico, because 5 V on their pins can damage them.4 min read · Prototyping & WiringComponent guideBeginnerArduino NanoThe Arduino Nano is a breadboard-friendly version of the Uno: the same ATmega328P, 5 V logic and 14 digital pins, in a 45 x 18 mm board with a mini USB port.4 min read · Boards & Microcontrollers

Sources

  • Silicon Labs CP2102 datasheet
  • WCH CH340 datasheet
  • FTDI FT232R datasheet

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerHow to wire a USB to TTL adapterCP2102 vs CH340 vs FT232RLWhat you can do with oneGetting the voltage rightTroubleshootingTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide4 items · ₹1,178

XBee USB Adapter (CP2102) for ZigBee Modules · XBee USB Adapter FT232RL for Arduino with Micro USB Cable · Waveshare USB to UART Debugger Module for Raspberry Pi 5 · AMS1117 LDO Regulator

Ask the Community

Ask a question