What Is the CH340? USB-to-Serial (UART) Converter and Uses
The CH340 is a cost-effective USB-to-serial converter IC that turns USB into a serial port (UART). On Arduino Nano/clone boards and modules it enables code upload and serial communication with a computer. Some operating systems need a driver install; the CH340G uses an external crystal, the CH340C/E an internal oscillator. It is a cheap alternative to the CP2102/FT232RL.
The CH340 is a cost-effective USB-to-serial converter IC that turns USB into a serial port (UART). On Arduino Nano/clone boards and modules it enables communication with a computer. For the concept, see what is UART.
What is the CH340 used for?
Connecting a microcontroller/board to a computer over USB: uploading code, serial monitor, debugging. Thanks to its low cost it is used instead of the CP2102/FT232RL on many clone Arduinos and dev boards.
Specifications
| Parameter | Value |
|---|---|
| Type | USB-to-serial (UART) converter |
| Interface | USB ↔ TX/RX (UART) + control lines |
| Versions | CH340G (crystal), CH340C/E (internal oscillator) |
| Supply | 3.3 V / 5 V logic |
Watch out
Some operating systems need a driver install (especially older Windows/macOS). The CH340G needs an external crystal; the CH340C/E has an internal oscillator (fewer parts). The logic level (3.3 V or 5 V) depends on the board design; it must match the connected MCU.
Equivalents
- CP2102: a Silicon Labs USB-UART.
- FT232RL: an FTDI USB-UART (premium).
- PL2303: a common alternative USB-serial.
Find it in our catalog
Use the CH340 search.