soldr.ai

Docs  /  Components

CH340G USB to serial IC: specs and pinout

The WCH CH340G, a USB to serial UART bridge chip in a 16-pin SOP/SOIC package. It needs an external 12 MHz crystal and capacitors. Sold here as a bare chip, so board-level facts (USB connector, regulator) do not apply.

Every value cites its sourceChip-level pinout

Buy on Compoden

Specs

SpecValueSource
InterfaceUSB 2.0 full-speed device to asynchronous serial; 50 bps to 2 Mbps; hardware full duplexsource
Section 2 Features
Supply, 5 V modeVCC 4.0 V to 5.3 V (V3 pin only to a capacitor, not to VCC); typ 5 Vsource
Section 6.2 5V Electrical Parameters
Supply, 3.3 V modeVCC 2.9 V to 3.6 V for CH340G, with V3 connected to VCC; typ 3.3 Vsource
Section 6.3 3.3V Electrical Parameters
Operating current, 5 V7 mA typ, 20 mA max (CH340G/C/N/K/E/X/T/R)source
Section 6.2
Operating current, 3.3 V4 mA typ, 12 mA maxsource
Section 6.3
USB suspend current0.09 mA typ, 0.2 mA max at 5 V; 0.08 mA typ, 0.2 mA max at 3.3 V (CH340G)source
Sections 6.2 and 6.3
Input levels, 5 V supplyVIL 0 to 0.9 V; VIH 2.3 V to VCCsource
Section 6.2
Input levels, 3.3 V supplyVIL 0 to 0.8 V; VIH 1.9 V to VCCsource
Section 6.3
Output levels, 5 V supplyVOL max 0.5 V at 6 mA sink; VOH min VCC-0.6 V at 2 mAsource
Section 6.2
Absolute maximum supply and temperatureVCC -0.5 V to 6.0 V; pin voltage -0.5 V to VCC+0.5 V; operating -40 C to 85 C (CH340G/T/R)source
Section 6.1
Crystal12 MHz crystal and oscillation capacitors required for CH340G (the C/N/K/E/X/B variants have a built-in clock)source
Sections 3 and 4

Power

ValueSource
SupplyVCC 4.0 to 5.3 V (5 V mode) or 2.9 to 3.6 V (3.3 V mode, V3 tied to VCC)source
Sections 6.2, 6.3
Current7 mA typ at 5 V; 4 mA typ at 3.3 V (chip only)source
Sections 6.2, 6.3

Chip pins

These are the pins of the chip on the module, from the chip datasheet. The module's own header may label or expose them differently.

This is a bare chip; pin numbers are the SOP-16 column of the maker's pin table. No module or board is covered.

PinFunctionVoltageNotesSource
16 VCCPositive power input; 0.1 uF decoupling; with 3.3 V supply connect V3 to VCCsource
Section 4 Pin table, SOP16 column
1 GNDCommon ground, to USB ground0 Vsource
Section 4 Pin table, SOP16 column
4 V3With 3.3 V supply connect to VCC; with 5 V supply connect a 0.1 uF decoupling capacitorsource
Section 4 Pin table, SOP16 column
7 XICH340G: crystal oscillator input, needs external 12 MHz crystal and capacitorssource
Section 4 Pin table, SOP16 column
8 XOCH340G: crystal oscillator outputsource
Section 4 Pin table, SOP16 column
5 UD+Connect directly to the D+ line of USB, no series resistorsource
Section 4 Pin table, SOP16 column
6 UD-Connect directly to the D- line of USB, no series resistorsource
Section 4 Pin table, SOP16 column
2 TXDSerial data outputsource
Section 4 Pin table, SOP16 column
3 RXDSerial data input, built-in controllable pull-up and pull-downsource
Section 4 Pin table, SOP16 column
9 CTS#MODEM input, active lowsource
Section 4 Pin table, SOP16 column
10 DSR#MODEM input, active lowsource
Section 4 Pin table, SOP16 column
11 RI#MODEM input, active lowsource
Section 4 Pin table, SOP16 column
12 DCD#MODEM input, active lowsource
Section 4 Pin table, SOP16 column
13 DTR#MODEM output, active lowsource
Section 4 Pin table, SOP16 column
14 RTS#MODEM output, active lowsource
Section 4 Pin table, SOP16 column
15 R232Auxiliary RS232 enable, active high, built-in pull-downsource
Section 4 Pin table, SOP16 column

Build with it

Project ideas for the CH340G USB to serial IC. Each link opens Soldr with the prompt filled in; Soldr assigns the pins, checks power and shows how to wire every part.

Common mistakes

Not covered by the official source

Sources