Skip to the content
12345678910111213141516

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

GND1TXD2RXD3V34UD+5UD-6XI7XO8CTS9DSR10RI11DCD12DTR13RTS14R23215VCC16
Interface_USB:CH340GFrom KiCad's library

Footprint

12345678910111213141516
Package_SO:SOIC-16_3.9x9.9mm_P1.27mmFrom KiCad's library

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
ParameterConditionsAs printedPage
工作时的环境温度 TACH340G/T/Rmin -40 · max 85 ℃5
储存时的环境温度 TSmin -55 · max 125 ℃5
电源电压 VCCVCC 接电源,GND 接地min -0.5 · max 6 V5
输入或者输出引脚上的电压 VIOmin -0.5 V5
电源电压 VCCTA=25℃,VCC=5V,不包括连接 USB 总线的引脚;V3 引脚仅外接电容,不连 VCCmin 4 · typ 5 · max 5.3 V5
工作时总电源电流 ICCCH340G/C/N/K/E/X/T/R;TA=25℃,VCC=5V,不包括连接 USB 总线的引脚typ 7 · max 20 mA5
USB 挂起时的总电源电流 ISLPCH340G/K/T/R/B;TA=25℃,VCC=5V,不包括连接 USB 总线的引脚typ 0.09 · max 0.2 mA5
低电平输入电压 VILTA=25℃,VCC=5V,不包括连接 USB 总线的引脚min 0 · max 0.9 V5
高电平输入电压 VIHTA=25℃,VCC=5V,不包括连接 USB 总线的引脚min 2.3 V5
低电平输出电压 VOL6mA 吸入电流;TA=25℃,VCC=5V,不包括连接 USB 总线的引脚max 0.5 V5
内置上拉电阻的输入端的输入电流 IUPTA=25℃,VCC=5V,不包括连接 USB 总线的引脚min 3 · typ 150 · max 300 uA5
内置下拉电阻的输入端的输入电流 IDNTA=25℃,VCC=5V,不包括连接 USB 总线的引脚min -40 · typ -100 · max -300 uA5
电源上电复位的电压门限 VRTA=25℃,VCC=5V,不包括连接 USB 总线的引脚min 2.4 · typ 2.6 · max 2.8 V5
电源电压 VCCCH340G/T/R;V3 引脚连接 VCC 引脚;TA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚min 2.9 · typ 3.3 · max 3.6 V5
工作时总电源电流 ICCCH340G/C/N/K/E/X/T/R;TA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚typ 4 · max 12 mA5
USB 挂起时的总电源电流 ISLPCH340G/K/T/R/B;TA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚typ 0.08 · max 0.2 mA5
低电平输入电压 VILTA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚min 0 · max 0.8 V5
高电平输入电压 VIHTA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚min 1.9 V5
低电平输出电压 VOL4mA 吸入电流;TA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚max 0.5 V5
内置上拉电阻的输入端的输入电流 IUPTA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚min 3 · typ 70 · max 200 uA5
内置下拉电阻的输入端的输入电流 IDNTA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚min -30 · typ -70 · max -200 uA5
电源上电复位的电压门限 VRTA=25℃,VCC=V3=3.3V,不包括连接 USB 总线的引脚min 2.4 · typ 2.6 · max 2.8 V5
XI 引脚的输入时钟信号的频率 FCLKTA=25℃,VCC=5V 或 3.3Vmin 11.98 · typ 12 · max 12.02 MHz6
电源上电的复位时间 TPRTA=25℃,VCC=5V 或 3.3Vmin 20 · typ 35 · max 50 mS6

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

Open-source boards using it

315See all 315
  • 2 layers50.5 × 128.5 mmOpenThereminV45, the printed circuit board in 3D

    OpenThereminV45

    GaudiLabs/OpenThereminV4

    Open Source Theremin Instrument

    107 parts249GPL-3.0
  • 2 layers138.4 × 91.4 mmSTM32 MegaBlaster, the printed circuit board in 3D

    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 mmESP32-Devkit Type C, the printed circuit board in 3D

    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 mmBaseboard, the printed circuit board in 3D

    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 mmYM2151 STM32 VGM, the printed circuit board in 3D

    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 mmSocket, the printed circuit board in 3D

    Socket

    eddyem/STM8_samples

    Some code samples and ready projects based on STM8 (deprecated)

    89 parts80
  • 4 layers83 × 109 mmD4 small pcb panel, the printed circuit board in 3D

    D4 small pcb panel

    unsurv/unsurv-offline

    Offline portable GNSS device based on the ESP32

    522 parts72
  • 2 layers60 × 50 mmVx8 gps prototype v2.0, the printed circuit board in 3D

    Vx8 gps prototype v2.0

    4x1md/vx8_gps

    DIY GPS module for Yaesu VX-8DR/VX-8DE handheld transceiver.

    56 parts66MIT

Parts like it

8

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.