
CH340G
WCH (Nanjing Qinheng Microelectronics)Extended
-40℃~+85℃ 2Mbps 3.3V、5V USB 2.0 USB to UART SOP-16 USB Converters ROHS
- Part id
- wch/CH340G
- Category
- USB Converters
- Package
- SOP-16
- Pins
- 16
- In stock
- 50,132 at JLCPCB (C14267)
- Used on
- 315 open-source boards
Overview
The CH340G is a USB Converter made by WCH (Nanjing Qinheng Microelectronics) in a SOP-16 package with 16 pins. -40℃~+85℃ 2Mbps 3.3V、5V USB 2.0 USB to UART SOP-16 USB Converters ROHS.
PCBKit's library has its KiCad symbol (Interface_USB:CH340G, from KiCad's library) and its footprint (Package_SO:SOIC-16_3.9x9.9mm_P1.27mm, from KiCad's library), ready for a KiCad board. 50,132 are in stock at JLCPCB (part C14267). 315 open-source boards in 238 repositories on GitHub use it.
Symbol
Footprint
From the datasheet
13- Supply, least
- 4 V · VCC, recommended operating min, 5V mode; V3 capacitor only · p. 5
- Supply, most
- 5.3 V · VCC, recommended operating max, 5V mode; V3 capacitor only · p. 5
- Supply, least
- 2.9 V · VCC, recommended operating min, 3.3V mode; V3 connected to VCC · p. 5
- Supply, most
- 3.6 V · VCC, recommended operating max, 3.3V mode; V3 connected to VCC · p. 5
- Supply, absolute maximum
- 6 V · VCC, absolute max · p. 5
- Works from
- -40 °C · Operating ambient min, CH340G/T/R · p. 5
- Works up to
- 85 °C · Operating ambient max, CH340G/T/R · p. 5
- Takes working
- 7 mA · Typical total operating current, VCC=5V, TA=25℃ · p. 5
- Takes working
- 4 mA · Typical total operating current, VCC=V3=3.3V, TA=25℃ · p. 5
- Takes at most
- 20 mA · Max total operating current, VCC=5V, TA=25℃ · p. 5
- Takes asleep
- 90 µA · Typical USB suspend total current, VCC=5V, TA=25℃ · p. 5
- Takes asleep
- 80 µA · Typical USB suspend total current, VCC=V3=3.3V, TA=25℃ · p. 5
- Data rate, most
- 2 Mbit/s · Max UART baud rate · p. 1
What it is and has
7- USB
- Full-speed device interface, USB V2.0 compatible · p. 1
- UART
- Hardware full duplex, internal transmit and receive buffers, 50bps~2Mbps · p. 1
- MODEM signals
- RTS, DTR, DCD, RI, DSR, CTS · p. 1
- External interface conversion
- RS232, RS485, RS422 using external level converters · p. 1
- Firmware and driver
- Built-in firmware; CH341 software and VCP driver compatible · p. 1
- Supply options
- 5V or 3.3V · p. 1
- Package
- SOP-16, 3.9mm body width, 1.27mm pin pitch · p. 2
Around it
8- cap 0.1uF
- between VCC and GND; Supply decoupling; place close to the connected chip pin. · p. 2
- cap 0.1uF
- between V3 and GND; Required in 5V supply mode; place close to V3. In 3.3V mode connect V3 to VCC. · p. 3
- crystal 12MHz
- between XI and XO; External quartz crystal required for CH340G; keep oscillator traces short. · p. 6
- cap 33pF
- between XI and GND; C6 oscillator capacitor, monolithic or high-frequency ceramic; halve C6 for crystals that are difficult to start. · p. 6
- cap 47pF
- between XI and GND; Typical C6 for a ceramic crystal; use the crystal manufacturer's recommended capacitance. · p. 6
- res 4.7KΩ
- between DTR# and GND; Optional pull-down to request greater USB supply current during enumeration. · p. 3
- res 1Ω
- between USB 5V and USB product 5V standby supply; Suggested when using both USB power and an external standby supply; connect grounds directly. · p. 6
- res 2KΩ~22KΩ
- between MCU RXD and MCU VDD; For the separately powered MCU circuit, add this pull-up if the MCU RXD has no internal pull-up. · p. 9
Specifications
24| Parameter | Conditions | As printed | Page |
|---|---|---|---|
| 工作时的环境温度 TA | CH340G/T/R | min -40 · max 85 ℃ | 5 |
| 储存时的环境温度 TS | min -55 · max 125 ℃ | 5 | |
| 电源电压 VCC | VCC 接电源,GND 接地 | min -0.5 · max 6 V | 5 |
| 输入或者输出引脚上的电压 VIO | min -0.5 V | 5 | |
| 电源电压 VCC | TA=25℃,VCC=5V,不包括连接 USB 总线的引脚;V3 引脚仅外接电容,不连 VCC | min 4 · typ 5 · max 5.3 V | 5 |
| 工作时总电源电流 ICC | CH340G/C/N/K/E/X/T/R;TA=25℃,VCC=5V,不包括连接 USB 总线的引脚 | typ 7 · max 20 mA | 5 |
| USB 挂起时的总电源电流 ISLP | CH340G/K/T/R/B;TA=25℃,VCC=5V,不包括连接 USB 总线的引脚 | typ 0.09 · max 0.2 mA | 5 |
| 低电平输入电压 VIL | TA=25℃,VCC=5V,不包括连接 USB 总线的引脚 | min 0 · max 0.9 V | 5 |
| 高电平输入电压 VIH | TA=25℃,VCC=5V,不包括连接 USB 总线的引脚 | min 2.3 V | 5 |
| 低电平输出电压 VOL | 6mA 吸入电流;TA=25℃,VCC=5V,不包括连接 USB 总线的引脚 | max 0.5 V | 5 |
| 内置上拉电阻的输入端的输入电流 IUP | TA=25℃,VCC=5V,不包括连接 USB 总线的引脚 | min 3 · typ 150 · max 300 uA | 5 |
| 内置下拉电阻的输入端的输入电流 IDN | TA=25℃,VCC=5V,不包括连接 USB 总线的引脚 | min -40 · typ -100 · max -300 uA | 5 |
| 电源上电复位的电压门限 VR | TA=25℃,VCC=5V,不包括连接 USB 总线的引脚 | min 2.4 · typ 2.6 · max 2.8 V | 5 |
| 电源电压 VCC | CH340G/T/R;V3 引脚连接 VCC 引脚;TA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚 | min 2.9 · typ 3.3 · max 3.6 V | 5 |
| 工作时总电源电流 ICC | CH340G/C/N/K/E/X/T/R;TA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚 | typ 4 · max 12 mA | 5 |
| USB 挂起时的总电源电流 ISLP | CH340G/K/T/R/B;TA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚 | typ 0.08 · max 0.2 mA | 5 |
| 低电平输入电压 VIL | TA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚 | min 0 · max 0.8 V | 5 |
| 高电平输入电压 VIH | TA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚 | min 1.9 V | 5 |
| 低电平输出电压 VOL | 4mA 吸入电流;TA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚 | max 0.5 V | 5 |
| 内置上拉电阻的输入端的输入电流 IUP | TA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚 | min 3 · typ 70 · max 200 uA | 5 |
| 内置下拉电阻的输入端的输入电流 IDN | TA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚 | min -30 · typ -70 · max -200 uA | 5 |
| 电源上电复位的电压门限 VR | TA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚 | min 2.4 · typ 2.6 · max 2.8 V | 5 |
| XI 引脚的输入时钟信号的频率 FCLK | TA=25℃,VCC=5V 或 3.3V | min 11.98 · typ 12 · max 12.02 MHz | 6 |
| 电源上电的复位时间 TPR | TA=25℃,VCC=5V 或 3.3V | min 20 · typ 35 · max 50 mS | 6 |
Pins, by the datasheet
16- 1 GND
- 公共接地端,直接连到 USB 总线的地线。 · p. 2
- 2 TXD
- 串行数据输出。 · p. 2
- 3 RXD
- 串行数据输入,内置可控的上拉和下拉电阻。 · p. 2
- 4 V3
- 3.3V 供电时连接 VCC 输入外部电源;5V 供电时外接 0.1uF 退耦电容。 · p. 2
- 5 UD+
- 直接连接 USB D+ 数据线,不要串联电阻。 · p. 2
- 6 UD-
- 直接连接 USB D- 数据线,不要串联电阻。 · p. 2
- 7 XI
- 晶体振荡输入端,需外接 12MHz 晶体及振荡电容。 · p. 2
- 8 XO
- 晶体振荡输出端,需外接 12MHz 晶体及振荡电容。 · p. 2
- 9 CTS#
- MODEM 清除发送输入,低电平有效。 · p. 2
- 10 DSR#
- MODEM 数据装置就绪输入,低电平有效。 · p. 2
- 11 RI#
- MODEM 振铃指示输入,低电平有效。 · p. 2
- 12 DCD#
- MODEM 载波检测输入,低电平有效。 · p. 2
- 13 DTR#
- MODEM 数据终端就绪输出,低电平有效。 · p. 3
- 14 RTS#
- MODEM 请求发送输出,低电平有效。 · p. 3
- 15 R232
- 辅助 RS232 使能,高电平有效,内置下拉。 · p. 3
- 16 VCC
- 正电源输入端,需要外接 0.1uF 电源退耦电容。 · p. 2
Ordering codes, by the datasheet
1- CH340G
- SOP-16 · 16-pin surface-mount package; requires an external 12MHz clock or crystal. · p. 2
- 2 layers50.5 × 128.5 mm

- 2 layers138.4 × 91.4 mm

STM32 MegaBlaster
AidanHockey5/STM32_VGM_Player_YM2612_SN76489
A Sega Genesis music player based off of the STM32 BluePill board and real YM2612+SN76489 sound chips.
96 parts117AGPL-3.0 - 2 layers25.3 × 48.2 mm

ESP32-Devkit Type C
TobleMiner/ESP32-Devkit-Type-C
Breadboard friendly, USB Type C enabled, ESP32 Devkit compatible, JLCPCB assembly ready ESP32 devboard
57 parts92MIT - 4 layers80 × 100 mm

Baseboard
NVIDIA-AI-IOT/my-jetson-nano-baseboard
An open source Jetson Nano baseboard and tools to design your own.
240 parts91 - 2 layers156.8 × 67.3 mm

YM2151 STM32 VGM
AidanHockey5/YM2151_VGM_STM32
A hardware arcade video game music player based on the STM32 platform driving a YM2151
52 parts81AGPL-3.0 - 2 layers87 × 71 mm

- 4 layers83 × 109 mm

- 2 layers60 × 50 mm

Vx8 gps prototype v2.0
4x1md/vx8_gps
DIY GPS module for Yaesu VX-8DR/VX-8DE handheld transceiver.
56 parts66MIT
Parts like it
8CH340C
SOP-16-20℃~+70℃ 2Mbps 3.3V、5V 50uA 7mA Transceiver USB 2.0 SOP-16 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersSL2.1A
SOP-160℃~+70℃ 120mA 2.5mA 4 4V~5.25V USB 2.0 USB Hub SOP-16 USB HUB Controllers ROHSCoreChipsUSB ConvertersCH340B
SOP-1615mA 200uA 2Mbps 3.3V、5V Transceiver USB 2.0 SOP-16 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersCH343G
SOP-16-40℃~+85℃ 15mA 160uA 3.3V、5V 6Mbps USB 2.0 USB to UART SOP-16 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersCH9329
SOP-16-40℃~+85℃ 11mA 12Mbps 3.3V、5V USB 2.0 USB to HID SOP-16 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersCH9343G
SOP-1612Mbps 3.3V、5V USB 2.0 SOP-16 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersCY7C63310-SXC
SOIC-16SOIC-16-300mil USB Converters ROHSInfineon TechnologiesUSB ConvertersCY7C63801-SXC
SOIC-160℃~+70℃ 4V~5.5V Controller SOIC-16 USB Converters ROHSInfineon TechnologiesUSB Converters
Questions
Is there a KiCad symbol and footprint for the CH340G?
Yes. The symbol is Interface_USB:CH340G and the footprint Package_SO:SOIC-16_3.9x9.9mm_P1.27mm, both drawn on this page. PCBKit places them on a board for you when you design with it.
What package is the CH340G?
SOP-16, with 16 pins. Its footprint is drawn on this page.
Where is the CH340G datasheet?
WCH (Nanjing Qinheng Microelectronics) publishes it: the Datasheet link on this page opens it.
Where can I order the CH340G?
JLCPCB lists it as part C14267, with 50,132 in stock; the sellers' links on this page open their listings.
What can replace the CH340G?
Parts like it in the library: the CH340C by WCH (Nanjing Qinheng Microelectronics), the SL2.1A by CoreChips, the CH340B by WCH (Nanjing Qinheng Microelectronics) and the CH343G by WCH (Nanjing Qinheng Microelectronics). Check their datasheets: a part that fits the footprint may still differ in its ratings.
Which open-source boards use the CH340G?
315 boards in 238 repositories on GitHub; the most starred are listed on this page, with their KiCad files.