CH340G chip pinout

CH340G chip (SOP-16), USB-UART bridge with a crystal, CH340G, 5 V logic, 20.32×9.6 mm, 16 pins

verified20.10.2026

Top view, notch (dot) at the bottom left: pins 1–8 along the bottom left to right, 9–16 along the top right to left (16 above 1), rotated 90° on the diagram.

Download PNG
Chip
CH340G
Logic
5 V
Power
VCC (pin 16) 2.9-5.3 V

Important

  • The CH340G needs a 12 MHz crystal between XI (7) and XO (8) with 22 pF capacitors to ground. Without the crystal the computer does not see the device.
  • 5 V supply: VCC (16) to USB 5 V, V3 (4) through 0.1 µF to ground, TXD and RXD at 5 V level. 3.3 V supply: VCC and V3 together to 3.3 V, 3.3 V levels.
  • TXD (2) goes to the microcontroller's RX, RXD (3) to its TX: the lines cross.
  • Arduino auto-reset: DTR# (13) through 0.1 µF to RESET. ESP32 and ESP8266 need a two-transistor circuit to EN and GPIO0, driven by DTR# and RTS#.
  • Driver: on Windows 10 and 11 it usually installs itself; if there is no port, get the CH341SER driver from the WCH site. A charge-only cable won't give a port at all.
  • Runs from 5 V (5 V logic) or from 3.3 V (3.3 V logic): the level of TXD, RXD and the modem signals equals the supply.
  • Operating current 7 mA typ., up to 20 mA; in USB suspend 0.05–0.2 mA.

Revisions and clones

  • CH340C: same package and pin order, no crystal, pin 7 not connected, 8 is OUT#.
  • CH340B (SOP-16): no crystal, pin 7 is RST#, pin 8 is not connected, has an EEPROM for the serial number.
  • CH340N (SOP-8), CH340E and CH340X (MSOP-10), CH340K (ESSOP-10): different pin order, see the WCH datasheet.

All pins

LabelNumberFunctionsLimitsCheck
GNDpin 1Groundverified
TXDpin 2UART TXD: output, to the microcontroller's RXverified
RXDpin 3UART RXD: input, from the microcontroller's TXverified
V3pin 43.3 Vpower inputpower outputverified
UD+pin 5USB D+USB lineverified
UD−pin 6USB D−USB lineverified
XIpin 7XI: 12 MHz crystal inputverified
XOpin 8XO: 12 MHz crystal outputverified
CTS#pin 9CTS#: modem input, active lowverified
DSR#pin 10DSR#: modem input, active lowverified
RI#pin 11RI#: modem input, active lowverified
DCD#pin 12DCD#: modem input, active lowverified
DTR#pin 13DTR#: modem output, active low; Arduino auto-reset through 0.1 µF to RESETverified
RTS#pin 14RTS#: modem output, active lowverified
R232pin 15R232: HIGH inverts RXD for RS232, built-in pull-downverified
VCCpin 165 Vpower inputverified

Sources

Every pin is verified against the manufacturer's documents.

  • WCH CH340 Datasheet (I), version 3B (SparkFun copy)datasheet, checked 20.10.2026SOP-16 on CH340G, CH340C, CH340B: 1 GND, 2 TXD, 3 RXD, 4 V3, 5 UD+, 6 UD−, 7 XI (G) or NC (C), 8 XO (G) or OUT# (C), 9 CTS#, 10 DSR#, 11 RI#, 12 DCD#, 13 DTR#, 14 RTS#, 15 R232, 16 VCC; at 5 V, V3 through 0.1 µF to ground, at 3.3 V connect V3 to VCC; VCC 4.0–5.3 V (5 V) or 2.9–3.6 V (CH340G, 3.3 V), 3.1–3.6 V (CH340C); current up to 20 mA; VIH 2.3 V at 5 V; input up to VCC + 0.5 V; the CH340G needs a 12 MHz crystal, the CH340C has a built-in oscillator; UD+ and UD− without series resistors
  • SparkFun: How to Install CH340 Driversthird-party source, checked 20.10.2026CH340 driver for Windows, macOS, Linux; usually installs itself on Windows 10 and 11

Size: drawn twice as large: the real SOP-16 is 10×3.9 mm, 1.27 mm pitch, 6 mm wide including leads (approximate).

You might also need

Similar boards