Schnittstelle

UART-Pins: TX, RX, RTS und CTS

Die seriellen Schnittstellen von Boards, Mikrocontrollern, USB-UART-Wandlern und RS-232-Steckern.

UART (Universal Asynchronous Receiver Transmitter) ist die klassische serielle Schnittstelle. Sie braucht keinen Takt: Sender und Empfänger einigen sich auf eine Baudrate, etwa 9600 oder 115200 Baud, und übertragen die Daten über TX (senden) und RX (empfangen). Optional regeln RTS und CTS die Flusskontrolle. Über UART laufen Bootloader, Debug-Ausgaben, GPS-Module, Funkmodule und die Programmierung vieler Mikrocontroller.

Die wichtigste Regel beim Verdrahten: TX gehört an RX und RX an TX, die Leitungen werden also gekreuzt. Dazu kommt eine gemeinsame Masse. Achte auf die Pegel: Mikrocontroller arbeiten mit 3,3 V oder 5 V (TTL), RS-232 an DB9- und DB25-Steckern dagegen mit bis zu ±15 V. Für diesen Übergang gibt es Pegelwandler wie den MAX232 oder MAX3232, für USB die USB-UART-Wandler CH340, CP2102 und FT232.

Die Tabelle zeigt für jedes Bauteil die Pins für TX, RX und, falls vorhanden, RTS und CTS. Bei Boards mit mehreren UARTs stehen die ersten Möglichkeiten in der Tabelle. Ein Klick auf ein Bauteil öffnet das vollständige Pinout.

UART-Pins je Bauteil

BauteilTXRXRTSCTS
Arduino Uno R3Arduino16 · D115 · D0––
Arduino Nano V3Arduino1 · D1/TX2 · D0/RX––
Arduino Mega 2560 R3Arduino41 · ~D1 / TX043 · D14 / TX345 · D16 / TX2+142 · ~D0 / RX044 · D15 / RX346 · D17 / RX2+1––
Arduino Pro Mini (ATmega328P)SparkFun / Arduino1 · TX030 · TXD2 · RX131 · RXD––
ESP32 DevKit V1 (38-Pin)Espressif Systems23 · TX30 · IO1724 · RX31 · IO16––
ESP32-S3 DevKitC-1 (44-Pin)Espressif Systems10 · 1724 · TX11 · 1825 · RX8 · 1542 · 199 · 1641 · 20
NodeMCU V2 (ESP8266 / ESP-12E)Espressif Systems28 · TX25 · D727 · RX––
ESP8266 ESP-01 / ESP-01S Wi-Fi ModuleEspressif Systems / Ai-Thinker2 · TXD3 · GPIO27 · RXD––
Seeed Studio XIAO ESP32-C3 Development BoardSeeed Studio / Espressif14 · D67 · D7––
Raspberry Pi Pico (RP2040)Raspberry Pi Ltd1 · GP06 · GP411 · GP8+42 · GP17 · GP512 · GP9+3––
Raspberry Pi Pico W (Wi-Fi & Bluetooth)Raspberry Pi Ltd1 · GP06 · GP411 · GP8+32 · GP17 · GP512 · GP9+2––
Raspberry Pi 4 Model BRaspberry Pi Ltd7 · GPIO48 · GPIO1432 · GPIO1210 · GPIO1529 · GPIO533 · GPIO135 · GPIO311 · GPIO173 · GPIO231 · GPIO636 · GPIO16
Raspberry Pi 5Raspberry Pi Ltd7 · GPIO48 · GPIO1432 · GPIO12+110 · GPIO1529 · GPIO533 · GPIO13+15 · GPIO311 · GPIO173 · GPIO231 · GPIO636 · GPIO16
STM32F103C8T6 'Blue Pill' BoardSTMicroelectronics / Generic6 · PA99 · PA1214 · PB6+37 · PA108 · PA1115 · PB7+335 · PA136 · PA0
PJRC Teensy 4.0 (ARM Cortex-M7)PJRC3 · 110 · 821 · 14+52 · 09 · 722 · 15+5––
ATmega328P 8-Bit AVR Microcontroller (DIP-28)Microchip / Atmel3 · PD12 · PD0––
ATmega328P 8-Bit AVR MicrocontrollerMicrochip / Atmel31 · PD130 · PD0––
ATmega32U4 8-Bit Microcontroller with USB (TQFP-44)Microchip / Atmel21 · PD320 · PD212 · PB722 · PD5
PIC16F628A 8-Bit Flash Microcontroller (DIP-18)Microchip Technology8 · RB27 · RB1––
PIC16F886 28-Pin Flash Microcontroller with nanoWatt (DIP-28)Microchip Technology17 · RC618 · RC7––
CH340G USB to Serial UART Bridge ControllerWCH (Jiangsu Qinheng)2 · TXD3 · RXD14 · RTS9 · CTS
CP2102N USB to UART Bridge ControllerSilicon Labs12 · RS485/GPIO.221 · TXD20 · RXD19 · RTS18 · CTS
FT232RL USB to Serial UART Interface ICFTDI Chip1 · TXD5 · RXD3 · RTS11 · CTS
RS-232 Serial Port DB9 (DE-9)EIA / TIA (Electronic Industries Alliance)3 · TXD2 · RXD7 · RTS8 · CTS

Pin-Nummer · Pin-Name. „+n“ = weitere Pins mit derselben Funktion.

Alle Bauteile (24)

Board
Arduino

Arduino Uno R3

The flagship microcontroller board based on the ATmega328P featuring 14 digital I/O pins (6 PWM), 6 analog inputs, 16 MHz quartz crystal, USB connection, power jack, and ICSP header.

Board
Arduino

Arduino Nano V3

Compact, breadboard-friendly 8-bit AVR development board based on the ATmega328P with 30-pin dual-inline layout, mini-USB / USB-C, 8 analog inputs, and onboard 5V regulator.

Board
Arduino

Arduino Mega 2560 R3

Microcontroller board based on the ATmega2560 featuring 54 digital input/output pins (of which 15 can be used as PWM outputs), 16 analog inputs, 4 hardware UART serial ports, a 16 MHz crystal oscillator, USB connection, a power jack, an ICSP header, and a reset button.

Board
SparkFun / Arduino

Arduino Pro Mini (ATmega328P)

Minimalist 8-bit AVR microcontroller board based on the ATmega328P running at 16 MHz (5V) or 8 MHz (3.3V) with no onboard USB, optimized for permanent installation and low power.

Board
Espressif Systems

ESP32 DevKit V1 (38-Pin)

Widely used 2.4 GHz Wi-Fi and Bluetooth development board powered by the dual-core Tensilica Xtensa 32-bit LX6 microprocessor with 38 total pins.

Board
Espressif Systems

ESP32-S3 DevKitC-1 (44-Pin)

Next-generation 2.4 GHz Wi-Fi and Bluetooth 5 (LE) development board powered by the dual-core Xtensa 32-bit LX7 microprocessor with AI vector instructions and USB-OTG.

Board
Espressif Systems

NodeMCU V2 (ESP8266 / ESP-12E)

Popular Wi-Fi development board powered by the ESP8266 32-bit Tensilica L106 microcontroller running at 80/160 MHz, with integrated USB-UART, 4MB Flash, and 30 breadboard-friendly pins.

Module
Espressif Systems / Ai-Thinker

ESP8266 ESP-01 / ESP-01S Wi-Fi Module

Ultra-compact 2.4 GHz Wi-Fi module with integrated TCP/IP stack, 32-bit Tensilica MCU, and 2x4 (8-pin) 2.54mm pitch header.

Board
Seeed Studio / Espressif

Seeed Studio XIAO ESP32-C3 Development Board

Thumb-sized (21 x 17.5 mm) IoT development board powered by the Espressif ESP32-C3 32-bit RISC-V single-core processor at up to 160 MHz. Features 2.4GHz Wi-Fi 4, Bluetooth 5.0 (BLE), integrated battery charging management, USB-C, and 14 breadboard-friendly GPIO pins.

Board
Raspberry Pi Ltd

Raspberry Pi Pico (RP2040)

High-performance microcontroller board built around the Raspberry Pi RP2040 dual-core ARM Cortex-M0+ processor at 133 MHz with 2MB QSPI flash, 26 multifunction GPIOs, 3 ADCs, and Programmable I/O (PIO).

Board
Raspberry Pi Ltd

Raspberry Pi Pico W (Wi-Fi & Bluetooth)

High-performance wireless microcontroller board built around the RP2040 dual-core ARM Cortex-M0+ processor and an Infineon CYW43439 wireless chip supporting 2.4GHz 802.11n Wi-Fi 4 and Bluetooth 5.2 (BLE). Features 26 multifunction GPIOs, 3 ADC channels, 2MB onboard flash, and 8 Programmable I/O (PIO) state machines.

Board
Raspberry Pi Ltd

Raspberry Pi 4 Model B

Popular single-board computer featuring a 1.5 GHz 64-bit quad-core ARM Cortex-A72 processor (Broadcom BCM2711), dual 4K micro-HDMI, Gigabit Ethernet, USB 3.0, and 40-pin GPIO header.

Board
Raspberry Pi Ltd

Raspberry Pi 5

Latest single-board computer featuring a 2.4 GHz 64-bit quad-core ARM Cortex-A76 processor (Broadcom BCM2712), dual micro-HDMI, Gigabit Ethernet, USB 3.0, PCIe 2.0 x1, and 40-pin GPIO header.

Board
STMicroelectronics / Generic

STM32F103C8T6 'Blue Pill' Board

Popular low-cost 32-bit ARM Cortex-M3 development board featuring 72 MHz clock, 64KB Flash, 20KB SRAM, USB 2.0 Full Speed, and 40 breadboard-friendly pins.

Board
PJRC

PJRC Teensy 4.0 (ARM Cortex-M7)

Ultra high-performance development board featuring an ARM Cortex-M7 processor at 600 MHz (NXP i.MX RT1062), 2048K Flash, 1024K RAM, 40 total I/O pins, and hardware floating-point support.

Chip
Microchip / Atmel

ATmega328P 8-Bit AVR Microcontroller (DIP-28)

20MHz, 32kB Flash, 2kB SRAM, 1kB EEPROM, DIP-28

Chip
Microchip / Atmel

ATmega328P 8-Bit AVR Microcontroller

High performance, low power 8-bit AVR RISC-based microcontroller with 32KB flash, standard on Arduino Nano and Uno.

Chip
Microchip / Atmel

ATmega32U4 8-Bit Microcontroller with USB (TQFP-44)

16MHz, 32kB Flash, 2.5kB SRAM, 1kB EEPROM, USB 2.0, TQFP-44

Chip
Microchip Technology

PIC16F628A 8-Bit Flash Microcontroller (DIP-18)

2048W Flash, 224B SRAM, 128B EEPROM, DIP18

Chip
Microchip Technology

PIC16F886 28-Pin Flash Microcontroller with nanoWatt (DIP-28)

8K Flash, 256B SRAM, 256B EEPROM, XLP, DIP28

Chip
WCH (Jiangsu Qinheng)

CH340G USB to Serial UART Bridge Controller

USB serial converter, UART, SOIC-16

Chip
Silicon Labs

CP2102N USB to UART Bridge Controller

USB to UART master bridge, QFN-24

Chip
FTDI Chip

FT232RL USB to Serial UART Interface IC

USB to Serial Interface, SSOP-28

Connector
EIA / TIA (Electronic Industries Alliance)

RS-232 Serial Port DB9 (DE-9)

Standard 9-pin D-Sub connector for asynchronous serial data communication (RS-232 / EIA-232) and industrial CAN bus interfaces.