EmbeddedRelated.com

CH340G

WCH
USB to UART converter, USB 2.0, 2 Mbaud, SOP-16. Ultra-low-cost alternative to FTDI.
Active

Overview

The CH340G is a low-cost USB-to-UART bridge IC from WCH. It provides a USB 2.0 interface and converts between USB and TTL-level serial, with support up to 2 Mbaud. The device comes in a small SOP-16 package and is widely used as an inexpensive alternative to FTDI USB-serial chips.

Why Choose This Part

Very low unit cost and widespread use make the CH340G attractive for budget products and hobbyist boards. Drivers are readily available and many operating systems already include or support CH34x drivers, so devices typically enumerate as a standard COM/ttyUSB port. The SOP-16 package is easy to place on PCBs or include on small breakout boards.

Applications

USB-to-serial adapters
Build inexpensive USB-to-TTL serial cables and dongles for connecting legacy UART devices to a PC.
Microcontroller programming and debugging
Provide a serial console and bootloader/programming interface for Arduino-compatible and other MCU boards.
PC-based serial logging and data capture
Capture debug logs or sensor output from embedded systems to a host computer using a simple USB connection.
Module flashing and testing
Flash firmware and run factory test rigs for modules that expose UART boot or debug ports.

Getting Started

Commonly found on inexpensive Arduino-compatible boards and USB-serial adapters; to use, install the WCH drivers if your OS does not already recognize the chip, then connect TX, RX and GND to the target and open a serial terminal (PuTTY, minicom, screen) at the target baud rate. Verify voltage levels on the target before connecting (many breakouts offer either 3.3V or 5V operation).

Also Consider

CP2102N SiLSilicon Labs - Widely used alternative with modern silicon and good OS driver support.
MCP2221A MCHPMicrochip - USB-to-UART bridge from a major MCU vendor, useful where Microchip ecosystem support is desired.