{"id":6262,"date":"2026-06-12T10:29:36","date_gmt":"2026-06-12T10:29:36","guid":{"rendered":"https:\/\/materialparts.com\/ch340g\/"},"modified":"2026-06-12T10:29:36","modified_gmt":"2026-06-12T10:29:36","slug":"ch340g","status":"publish","type":"post","link":"https:\/\/materialparts.com\/zh\/ch340g\/","title":{"rendered":"CH340G"},"content":{"rendered":"<h2>\u4ea7\u54c1\u6982\u89c8<\/h2>\n<p>The CH340G from WCH (Nanjing Qinheng Microelectronics) is a USB-to-UART serial converter chip providing a virtual COM port over USB 2.0. It supports baud rates from 50bps to 2Mbps with full hardware flow control signals in a SOP-16 package.<\/p>\n<h2>\u4e3b\u8981\u89c4\u683c<\/h2>\n<table>\n<tr>\n<td>USB Interface<\/td>\n<td>USB 2.0 Full-Speed (12Mbps)<\/td>\n<\/tr>\n<tr>\n<td>Baud Rate Range<\/td>\n<td>50 bps to 2 Mbps<\/td>\n<\/tr>\n<tr>\n<td>\u7535\u6e90\u7535\u538b<\/td>\n<td>5V or 3.3V<\/td>\n<\/tr>\n<tr>\n<td>Operating Current<\/td>\n<td>12 mA (typical)<\/td>\n<\/tr>\n<tr>\n<td>Flow Control<\/td>\n<td>RTS, CTS, DTR, DSR, DCD, RI<\/td>\n<\/tr>\n<tr>\n<td>Crystal Required<\/td>\n<td>12 MHz external crystal<\/td>\n<\/tr>\n<tr>\n<td>\u5de5\u4f5c\u6e29\u5ea6<\/td>\n<td>-20 to 70 C<\/td>\n<\/tr>\n<tr>\n<td>\u5305\u88c5<\/td>\n<td>SOP-16<\/td>\n<\/tr>\n<\/table>\n<h2>\u7279\u70b9<\/h2>\n<ul>\n<li>Hardware full-duplex UART with internal FIFO buffer<\/li>\n<li>Supports all standard MODEM handshake signals<\/li>\n<li>Software compatible with CH341 VCP driver<\/li>\n<li>Supports Windows, macOS, Linux, and Android<\/li>\n<li>Requires only crystal and 4 capacitors for minimum operation<\/li>\n<\/ul>\n<h2>\u5e94\u7528<\/h2>\n<ul>\n<li>Arduino clone USB-to-serial interfaces<\/li>\n<li>ESP8266\/ESP32 programming adapters<\/li>\n<li>USB-to-RS232\/RS485\/RS422 converters<\/li>\n<li>Embedded system debug UART interfaces<\/li>\n<li>USB peripheral device development<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Product Overview The CH340G from WCH (Nanjing Qinheng Microelectronics) is a USB-to-UART serial converter chip providing a virtual COM port over USB 2.0. It supports baud rates from 50bps to 2Mbps with full hardware flow control signals in a SOP-16 package. Key Specifications USB Interface USB 2.0 Full-Speed (12Mbps) Baud Rate Range 50 bps to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13,20],"tags":[],"chip_brand":[283],"class_list":["post-6262","post","type-post","status-publish","format-standard","hentry","category-integrated-circuits-ics","category-interface-ics","chip_brand-wch"],"acf":{"brief_explanation":"USB 2.0 to UART serial converter, 50bps-2Mbps, full MODEM signals, SOP-16","date_code":"","package_case":"SOP-16 (9.9 x 3.9 x 1.5mm)","in_stock":4020,"datasheet":"https:\/\/www.wch.cn\/downloads\/CH340DS1_PDF.html","price":"$0.35 @ 1ku","product_introduction":"The CH340G from WCH is a cost-effective USB-to-UART serial converter chip that creates a virtual COM port on the host computer via USB 2.0. It supports full-duplex asynchronous serial communication with baud rates from 50bps to 2Mbps, and provides standard MODEM handshake signals (RTS, CTS, DTR, DSR, DCD, RI). The device requires only an external 12MHz crystal and a few bypass capacitors for operation. It is widely used in Arduino clones, ESP8266\/ESP32 programming boards, and USB-to-serial adapter cables.","working_principle":"The CH340G converts USB protocol to asynchronous UART serial communication. **USB Interface**: The USB 2.0 full-speed transceiver connects directly to the USB bus (UD+\/UD- pins) with built-in pull-up resistors and signal termination. The USB endpoint handles enumeration and data transfer under the CH341 VCP (Virtual COM Port) driver. **UART Subsystem**: The internal FIFO buffer manages data flow between USB and UART domains. The UART supports configurable data formats (5-8 data bits, 1-2 stop bits, parity) and baud rates from 50bps to 2Mbps with transmitter error less than 0.3%. **MODEM Signals**: Hardware flow control pins (RTS\/CTS, DTR\/DSR, DCD, RI) are software-controlled and can be used for auto-reset circuits on Arduino boards. **Clock Subsystem**: A 12MHz external crystal connected between XI and XO pins provides the timing reference. Internal PLLs generate the required USB and UART clock frequencies. **Power**: In 5V mode, VCC=5V and V3 pin is decoupled with a 4.7-20nF capacitor. In 3.3V mode, V3 is tied to VCC at 3.3V.","pin_description":"<table><tr><th>Pin<\/th><th>Name<\/th><th>Description<\/th><\/tr><tr><td>1<\/td><td>GND<\/td><td>Ground<\/td><\/tr><tr><td>2<\/td><td>TXD<\/td><td>UART transmit output<\/td><\/tr><tr><td>3<\/td><td>RXD<\/td><td>UART receive input<\/td><\/tr><tr><td>4<\/td><td>V3<\/td><td>Internal 3.3V reference (decouple or tie to VCC)<\/td><\/tr><tr><td>5<\/td><td>UD+<\/td><td>USB D+ signal<\/td><\/tr><tr><td>6<\/td><td>UD-<\/td><td>USB D- signal<\/td><\/tr><tr><td>7<\/td><td>XI<\/td><td>Crystal oscillator input (12MHz)<\/td><\/tr><tr><td>8<\/td><td>XO<\/td><td>Crystal oscillator output (12MHz)<\/td><\/tr><tr><td>9<\/td><td>CTS#<\/td><td>Clear to Send (input)<\/td><\/tr><tr><td>10<\/td><td>DSR#<\/td><td>Data Set Ready (input)<\/td><\/tr><tr><td>11<\/td><td>RI#<\/td><td>Ring Indicator (input)<\/td><\/tr><tr><td>12<\/td><td>DCD#<\/td><td>Data Carrier Detect (input)<\/td><\/tr><tr><td>13<\/td><td>DTR#<\/td><td>Data Terminal Ready (output)<\/td><\/tr><tr><td>14<\/td><td>RTS#<\/td><td>Request to Send (output)<\/td><\/tr><tr><td>15<\/td><td>R232<\/td><td>RS232 mode select (latched at POR)<\/td><\/tr><tr><td>16<\/td><td>VCC<\/td><td>Power supply (5V or 3.3V)<\/td><\/tr><\/table>","application_scenarios":"<ul><li>Arduino Clones: USB programming interface on low-cost Arduino UNO and Nano compatible boards<\/li><li>ESP32 Programming: USB-to-UART bridge for flashing firmware on ESP8266 and ESP32 modules<\/li><li>USB-RS232 Adapters: Converting USB to RS232 via external level shifters like MAX213<\/li><li>Debug Interfaces: UART console access for embedded Linux and RTOS systems<\/li><li>Industrial Adapters: USB-to-RS485 converters for Modbus and industrial protocol bridges<\/li><\/ul>","alternative_models":"<table><tr><th>Model<\/th><th>Manufacturer<\/th><th>Key Difference<\/th><\/tr><tr><td>CH340C<\/td><td>WCH<\/td><td>Internal clock, no crystal needed, SOP-16<\/td><\/tr><tr><td>CP2102N-A02-GQFN24<\/td><td>Silicon Labs<\/td><td>USB 2.0, QFN-24, more expensive<\/td><\/tr><tr><td>FT232RL<\/td><td>FTDI<\/td><td>USB 2.0, SSOP-28, premium cost<\/td><\/tr><tr><td>CH340N<\/td><td>WCH<\/td><td>SOP-8, minimal pins, internal clock<\/td><\/tr><tr><td>PL2303TA<\/td><td>Prolific<\/td><td>USB to UART, SSOP-28<\/td><\/tr><\/table>"},"_links":{"self":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/6262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/comments?post=6262"}],"version-history":[{"count":0,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/6262\/revisions"}],"wp:attachment":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/media?parent=6262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/categories?post=6262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/tags?post=6262"},{"taxonomy":"chip_brand","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/chip_brand?post=6262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}