Components / Integrated circuits / CH340G USB to serial IC

CH340G USB to serial IC

USB-UART chip used on clone Arduinos.

FunctionUSB to UART
Supply voltage3.3 or 5 V
PackageSOP-16
Watch out forNeeds a 12 MHz crystal (the CH340C doesn't)
Integrated CircuitsReviewedMPN CH340GUsed in 1 project
CH340G
In short

What is the CH340G USB to serial IC and what is it used for?

USB-UART chip used on clone Arduinos. Makers use it for custom USB serial boards.

How it works

A USB device that appears as a COM port and converts to UART.

Key specifications

Integrated circuit specValue
FunctionUSB to UART
Supply voltage3.3 or 5 V
PackageSOP-16
Watch out forNeeds a 12 MHz crystal (the CH340C doesn't)

Pinout

1GND
2TXD
3RXD
4V3, 100 nF to GND (or to VCC at 3.3 V)
5and 6UD+ and UD− USB data
7and 8XI and XO, 12 MHz crystal
9to 15Modem lines CTS, DSR, RI, DCD, DTR, RTS
16VCC

How to use it

The DTR or RTS pin through a 100 nF capacitor resets an Arduino for uploads. Install the WCH driver on Windows if it does not appear. Needs a 12 MHz crystal (the CH340C has one inside).

Applications

Alternatives

Common questions

What is the CH340G USB to serial IC used for?

In maker projects: custom USB serial boards.

How does the CH340G USB to serial IC work?

A USB device that appears as a COM port and converts to UART.

What voltage does the CH340G USB to serial IC need?

3.3 or 5 V.

What can I use instead of the CH340G USB to serial IC?

CP2102 USB to UART IC and FT232RL USB to UART IC.