USB-UART-Wandler: Pinouts von CH340, CP2102 und FT232
Die Chips, die Arduino-Klone, ESP-Boards und Programmieradapter mit dem Computer verbinden.
Ein USB-UART-Wandler übersetzt zwischen der USB-Schnittstelle eines Computers und der seriellen Schnittstelle eines Mikrocontrollers. Er sitzt auf fast jedem Entwicklungsboard: Der CH340 auf günstigen Arduino-Nano-Klonen und NodeMCU-Boards, der CP2102 auf vielen ESP32-Boards, der FT232RL auf FTDI-Adaptern und älteren Arduinos. Für den Computer erscheint der Chip als virtueller COM-Port.
Alle Wandler haben dieselben Grundsignale: D+ und D− zum USB-Anschluss, TXD und RXD zum Mikrocontroller und meist RTS, CTS, DTR und DSR für die Flusskontrolle. DTR spielt eine besondere Rolle, denn es löst über einen Kondensator den Reset des Arduino aus, damit der Bootloader neue Firmware annimmt. ESP-Boards nutzen DTR und RTS zusätzlich, um den Chip in den Download-Modus zu schalten.
Unterschiede gibt es bei der Versorgung: Der CH340G braucht einen externen 12-MHz-Quarz, CH340C, CP2102N und FT232RL haben den Takt eingebaut. Einige Typen stellen an einem Pin 3,3 V für die Schaltung bereit. Die Tabelle zeigt Gehäuse, Versorgungspins und Schnittstellen aller Wandler.
Übersicht aus den Pinout-Daten
| Bauteil | Hersteller | Gehäuse | Pins | Versorgung | Schnittstellen |
|---|---|---|---|---|---|
| CH340G USB to Serial UART Bridge Controller | WCH (Jiangsu Qinheng) | 16-Pin DIP / SOIC | 16 | VCC 4, 16GND 1 | UARTUSB |
| CH340C USB to serial UART bridge | WCH | 16-Pin DIP / SOIC | 16 | VCC 4, 16GND 1 | – |
| CH9102F USB-to-UART Bridge | WCH | QFP / QFN | 25 | VCC 6, 7GND 0, 2 | – |
| CP2102N USB-to-UART Bridge Controller | Silicon Labs | QFP / QFN | 29 | VCC 6GND 3, EP | – |
| CP2102N USB to UART Bridge Controller | Silicon Labs | QFP / QFN | 25 | VCC 6GND 2, 25 | UARTUSB |
| CP2104-F03-GMR USB to UART Bridge Controller | Silicon Labs | QFP / QFN | 24 | VCC 6GND 2 | – |
| FT232RL USB to Serial UART Interface IC | FTDI Chip | 26-Pin DIP / SOIC | 26 | VCC 20GND 7, 18, 21 | UARTUSB |
| FT230XS-R USB to Basic UART IC | FTDI | 16-Pin DIP / SOIC | 16 | VCC 12GND 5, 13 | – |
| FT2232HL Dual High Speed USB to Multipurpose UART/FIFO | FTDI | QFP / QFN | 64 | GND 1, 5, 10 | – |
| MCP2221A USB-to-UART/I2C Converter | Microchip | 14-Pin DIP / SOIC | 14 | VCC 1, 11GND 14 | – |
Alle Bauteile (10)
CH340G USB to Serial UART Bridge Controller
USB serial converter, UART, SOIC-16
CH340C USB to serial UART bridge
USB to UART bridge with MODEM control signals (RTS#, DTR#, DSR#, DCD#, RI#, CTS#), built-in oscillator interface, 3.3V/5V supply options, SOP-16 package.
CH9102F USB-to-UART Bridge
USB 2.0 full-speed to UART bridge with modem control signals and GPIOs. QFN-24 4x4mm package, 0.5mm pitch, backplane pad listed as pin 0.
CP2102N USB-to-UART Bridge Controller
Silicon Labs USB-to-UART bridge with USB 2.0 full-speed interface, UART flow control, GPIO, USB charger control and suspend outputs. QFN28 pinout.
CP2102N USB to UART Bridge Controller
USB to UART master bridge, QFN-24
CP2104-F03-GMR USB to UART Bridge Controller
USB to UART bridge controller with integrated 5 V regulator, VBUS sense, 4 GPIO, and full RS-232 style modem control signals (RTS/CTS/DTR/DSR/DCD/RI). QFN-24 package.
FT232RL USB to Serial UART Interface IC
USB to Serial Interface, SSOP-28
FT230XS-R USB to Basic UART IC
USB to basic UART bridge IC in 16-pin SSOP. VCC 5V or 3V3, VCCIO 1V8-3V3 for IO, 3V3 output at 50mA, reset and configurable CBUS I/O pins.
FT2232HL Dual High Speed USB to Multipurpose UART/FIFO
Dual-channel high speed USB to multipurpose UART/FIFO IC with RS232 UART, FT245 FIFO, bit-bang, MPSSE and CPU-style FIFO modes. 64-pin LQFP package.
MCP2221A USB-to-UART/I2C Converter
USB-to-UART serial converter with I2C master, four multifunction GP pins (GPIO, ADC, DAC, clock, LED), integrated USB termination and oscillator. Supply 3.3V USB.