CH340G USB-to-UART bridge connection guide
CH340G USB-to-UART bridge (SOP-16) connection guide. Wire USB power and the 12 MHz crystal. Test the UART in loopback.
SOP-16
16 contacts Current packageWire USB power and the 12 MHz crystal
RequiredThis setup uses USB VBUS to supply VCC and a separate V3 bypass capacitor. Leave unused handshake pins open. Choose a 12 MHz crystal for the board and match its load capacitors to the crystal specification. WCH shows 33 pF per side in its example.
- USB supply
- USB VBUS
- Ground
- USB ground
- USB D+
- USB connector D+
- ↔
- USB D−
- USB connector D−
- ↔
- Internal regulator
- Crystal input
- →
- Crystal output
- →
Bench checks
- With power disconnected, verify V3 is isolated from VCC in this mode.
- Verify that the host enumerates a USB serial device. If it does not, check VCC, V3, USB data polarity and crystal layout.
WCH CH340DS1, version 3B, §§5.1 and 7.2.
Connection scenarios
SOP-16 wiring map
1 · GND
Connect to the circuit ground plane.
- Ground
- USB ground
- Via 100 nF to USB supply · USB VBUS, VCC (16)
- Via 100 nF to Internal regulator · V3 (4)
- Via 33 pF in WCH example to Crystal input · XI (7)
- Via 33 pF in WCH example to Crystal output · XO (8)
Models and documents
The interactive map covers the CH340G SOP-16. See CH340DS1 §3 for CH340C, CH340B and the smaller CH340 packages. Some variants use an internal clock and assign pins 7 and 8 differently.
- CH340G
- 3.9 mm body width · 1.27 mm lead pitch
- WCH CH340DS1 download· Original manufacturer document page.
- WCH CH340DS1 version 3B· Manufacturer’s document hosted by SparkFun. Pinout, power modes and application circuits.
