Skip to the content
PCBKitNew board
CH340N, in 3D

CH340N

WCH (Nanjing Qinheng Microelectronics)

-20℃~+70℃ 1 2Mbps 3.3V、5V USB 2.0 USB to serial SOP-8 USB Converters ROHS

Extended
Category
USB Converters
Package
SOP-8
Pins
8

Overview

The CH340N is a USB Converter made by WCH (Nanjing Qinheng Microelectronics) in a SOP-8 package with 8 pins. -20℃~+70℃ 1 2Mbps 3.3V、5V USB 2.0 USB to serial SOP-8 USB Converters ROHS.

PCBKit's library has its KiCad symbol (Interface_USB:CH340N, from KiCad's library) and its footprint (Package_SO:JEITA_SOIC-8_3.9x4.9mm_P1.27mm, from KiCad's library), ready for a KiCad board. 49,036 are in stock at JLCPCB (part C2977777). 132 open-source boards in 97 repositories on GitHub use it.

Symbol

UD+1UD-2GND3RTS4VCC5TXD6RXD7V38
Interface_USB:CH340NFrom KiCad's library

Footprint

12345678
Package_SO:JEITA_SOIC-8_3.9x4.9mm_P1.27mmFrom KiCad's library

From the datasheet

14
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
3.1 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
-20 °C · Operating ambient min, CH340N · p. 5
Works up to
70 °C · Operating ambient max, CH340N · p. 5
Takes working
7 mA · VCC operating current typical, 5V, TA=25℃ · p. 5
Takes working
4 mA · VCC operating current typical, VCC=V3=3.3V, TA=25℃ · p. 5
Takes at most
20 mA · VCC operating current max, 5V, TA=25℃ · p. 5
Takes at most
12 mA · VCC operating current max, VCC=V3=3.3V, TA=25℃ · p. 5
Takes asleep
50 µA · USB suspend current typical, 5V, TA=25℃ · p. 5
Takes asleep
40 µA · USB suspend current typical, VCC=V3=3.3V, TA=25℃ · p. 5
Data rate, most
2 Mbit/s · UART baud rate max · 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
Clock
Internal clock; no external crystal or capacitors required · p. 3
Supply options
5V or 3.3V · p. 1
Firmware and driver
Built-in firmware, CH341 software compatible, CH341 VCP driver supported · p. 1
Package
SOP-8 · p. 2
I/O protection
CH340N with batch number starting with 4: 5V tolerant, prevents inward current backflow · p. 3

Around it

4
cap 0.1uF
between VCC and GND; Supply decoupling; place close to the connected pin. · p. 2
cap 0.1μF
between V3 and GND; C8, internal 3.3V node decoupling in 5V supply mode; place close to the connected pin. · p. 6
res 2KΩ~22KΩ
between MCU RXD and MCU VDD; Separate-supply application: add a pull-up if the MCU RXD has no internal pull-up. · p. 9
res 约为 1Ω
between USB 5V and USB product 5V permanent supply; When using USB power together with the product's permanent supply; connect their grounds directly. · p. 6

Specifications

25
ParameterConditionsAs printedPage
工作时的环境温度 TACH340N (CH340C/N/K/E/X/B)min -20 · max 70 ℃5
储存时的环境温度 TSmin -55 · max 125 ℃5
电源电压(VCC 接电源,GND 接地) VCCmin -0.5 · max 6 V5
输入或者输出引脚上的电压 VIOMaximum is VCC+0.5min -0.5 V5
电源电压 VCCTA=25℃; V3 引脚仅外接电容,不连 VCCmin 4 · typ 5 · max 5.3 V5
工作时总电源电流 ICCCH340N; TA=25℃, VCC=5Vtyp 7 · max 20 mA5
USB 挂起时的总电源电流 ISLPCH340N; TA=25℃, VCC=5Vtyp 0.05 · max 0.15 mA5
低电平输入电压 VILTA=25℃, VCC=5V; 不包括连接 USB 总线的引脚min 0 · max 0.9 V5
高电平输入电压 VIHTA=25℃, VCC=5V; 不包括连接 USB 总线的引脚; maximum is VCCmin 2.3 V5
低电平输出电压(6mA 吸入电流) VOLTA=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=5Vmin 2.4 · typ 2.6 · max 2.8 V5
电源电压 VCCCH340N; TA=25℃; V3 引脚连接 VCC 引脚min 3.1 · typ 3.3 · max 3.6 V5
工作时总电源电流 ICCCH340N; TA=25℃, VCC=V3=3.3Vtyp 4 · max 12 mA5
USB 挂起时的总电源电流 ISLPCH340N; TA=25℃, VCC=V3=3.3Vtyp 0.04 · max 0.15 mA5
低电平输入电压 VILTA=25℃, VCC=V3=3.3V; 不包括连接 USB 总线的引脚min 0 · max 0.8 V5
高电平输入电压 VIHTA=25℃, VCC=V3=3.3V; 不包括连接 USB 总线的引脚; maximum is VCCmin 1.9 V5
低电平输出电压(4mA 吸入电流) VOLTA=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.3Vmin 2.4 · typ 2.6 · max 2.8 V5
内部时钟的误差(同比影响波特率) FDCH340N; TA=-5℃~55℃, VCC=5V 或 3.3V; typical is ±0.8%min -1.2 · max 1.2 %6
内部时钟的误差(同比影响波特率) FDCH340N; TA=-25℃~75℃, VCC=5V 或 3.3V; typical is ±1.0%min -1.8 · max 1.8 %6
电源上电的复位时间 TPRTA=25℃, VCC=5V 或 3.3Vmin 20 · typ 35 · max 50 mS6

Pins, by the datasheet

8
1 UD+
直接连到 USB 总线的 D+数据线,不要串联电阻。 · p. 2
2 UD-
直接连到 USB 总线的 D-数据线,不要串联电阻。 · p. 2
3 GND
公共接地端,直接连到 USB 总线的地线。 · p. 2
4 RTS#
MODEM 联络输出信号,请求发送,低电平有效。 · p. 3
5 VCC
正电源输入端,需要外接 0.1uF 电源退耦电容。 · p. 2
6 TXD
串行数据输出。 · p. 2
7 RXD
串行数据输入,内置可控的上拉和下拉电阻。 · p. 2
8 V3
3.3V 供电时连接 VCC 输入外部电源;5V 供电时外接 0.1uF 退耦电容。 · p. 2

Ordering codes, by the datasheet

1
CH340N
SOP-8 · Standard 8-pin surface-mount package; internal clock · p. 2

Parameters

11
Applications Function
USB to serial
Current - Supply
7mA
Current - Supply(Max)
20mA
Data Rate
2Mbps
Features
Programmable baud rate;Built-in clock generator;Power-on reset
Number of Channels
1
Operating Temperature
-20℃~+70℃
Standby Current
50uA
USB Protocol
USB 2.0
Voltage - Supply
3.1V~5.3V
Voltage - Supply(Absolute Max)
6V

Order codes

2

Pinout

8
The pins of the CH340N
PinNameType
1UD+Input/output
2UD-Input/output
3GNDPower in
4RTSOutput
5VCCPower in
6TXDOutput
7RXDInput
8V3Passive

Open-source boards using it

All 132
  • 2 layers50.5 × 94.7 mmSwordOfSecretsUSBProd, the printed circuit board in 3D

    SwordOfSecretsUSBProd

    gili-yankovitch/SwordOfSecrets

    To solve the challenge you will need to discover a series of flags, hidden inside the sword. Each one will help you unlock the next step in the challenge, to finally reveal the ultimate secret the sword holds.

    16 parts47MIT
  • 2 layers76 × 72 mmPanel, the printed circuit board in 3D

    Panel

    NandXor96/USBWLEDC

    USB WLED Controller

    184 parts40
  • 2 layers96 × 26 mmHack clock, the printed circuit board in 3D

    Hack clock

    hack-apollo/hack_clock

    A matrix LED WiFi clock.

    28 parts23GPL-3.0
  • 4 layers115.5 × 96.2 mmClosed deck x4, the printed circuit board in 3D

    Closed deck x4

    OpenLogicEFI/Hardware

    Hardware is based off an open source project called Speeduino by Josh Stewart.

    245 parts19
  • 6 layers129.8 × 57.4 mmIIsiA7 Mini, the printed circuit board in 3D

    IIsiA7 Mini

    MelkhiorVintageComputing/IIsiFPGA

    Stuff to put a FPGA in a Macintosh IIsi

    219 parts18
  • 4 layers60 × 95 mmDevboard, the printed circuit board in 3D

    Devboard

    tjclement/ecsc23-badge

    This repo contains the hardware designs and firmware developed for the ECSC23 hardware challenge by Curious Supplies.

    147 parts10
  • 4 layers48 × 96 mmMain Control Board, the printed circuit board in 3D

    Main Control Board

    baoqi-zhong/Awesome-SMT-Machine

    A single head 🔥SMT Machine🔥 based on FOC stepper motors. Pure self-developed and fully open-sourced.

    188 parts9
  • 2 layers75.3 × 33.8 mm24-ch relay driver kicad, the printed circuit board in 3D

    24-ch relay driver kicad

    dilshan/24ch-usb-high-voltage-driver

    24-Channel USB high voltage driver.

    35 parts5MIT

Show this part on your page

A live frame, for any web page
<iframe src="https://pcbkit.io/embed/parts/wch/CH340N" title="CH340N in PCBKit" width="100%" height="480" style="border:0;border-radius:12px" allow="fullscreen" loading="lazy"></iframe>
A picture
<img src="https://pcbkit.io/embed/parts/wch/CH340N.jpg" alt="CH340N" width="1200" height="900">
A picture that opens the part, for a README
[![CH340N](https://pcbkit.io/embed/parts/wch/CH340N.jpg?size=s)](https://pcbkit.io/parts/wch/CH340N)

Questions

Is there a KiCad symbol and footprint for the CH340N?

Yes. The symbol is Interface_USB:CH340N and the footprint Package_SO:JEITA_SOIC-8_3.9x4.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 CH340N?

SOP-8, with 8 pins. Its footprint is drawn on this page.

Where is the CH340N datasheet?

WCH (Nanjing Qinheng Microelectronics) publishes it: the Datasheet link on this page opens it.

Where can I order the CH340N?

JLCPCB lists it as part C2977777, with 49,036 in stock; the sellers' links on this page open their listings.

Which open-source boards use the CH340N?

132 boards in 97 repositories on GitHub; the most starred are listed on this page, with their KiCad files.