UART Pins: TX, RX, RTS and CTS
The serial ports of boards, microcontrollers, USB-to-UART bridges and RS-232 connectors.
UART (Universal Asynchronous Receiver Transmitter) is the classic serial interface. It needs no clock: transmitter and receiver agree on a baud rate such as 9600 or 115200 baud and exchange data over TX (transmit) and RX (receive). RTS and CTS optionally handle flow control. Bootloaders, debug output, GPS modules, radio modules and the programming of many microcontrollers all run over UART.
The key wiring rule: TX goes to RX and RX goes to TX, so the lines cross over. Add a common ground. Mind the voltage levels: microcontrollers use 3.3 V or 5 V (TTL), while RS-232 on DB9 and DB25 connectors uses up to ±15 V. Level shifters such as the MAX232 or MAX3232 bridge that gap, and USB-to-UART bridges such as the CH340, CP2102 and FT232 connect to a computer.
The table lists the TX, RX and, where available, RTS and CTS pins of each part. Boards with several UARTs show the first options. Click any part to open the full pinout.
UART pins by part
| Part | TX | RX | RTS | CTS |
|---|---|---|---|---|
| Arduino Uno R3Arduino | 16 · D1 | 15 · D0 | – | – |
| Arduino Nano V3Arduino | 1 · D1/TX | 2 · D0/RX | – | – |
| Arduino Mega 2560 R3Arduino | 41 · ~D1 / TX043 · D14 / TX345 · D16 / TX2+1 | 42 · ~D0 / RX044 · D15 / RX346 · D17 / RX2+1 | – | – |
| Arduino Pro Mini (ATmega328P)SparkFun / Arduino | 1 · TX030 · TXD | 2 · RX131 · RXD | – | – |
| ESP32 DevKit V1 (38-Pin)Espressif Systems | 23 · TX30 · IO17 | 24 · RX31 · IO16 | – | – |
| ESP32-S3 DevKitC-1 (44-Pin)Espressif Systems | 10 · 1724 · TX | 11 · 1825 · RX | 8 · 1542 · 19 | 9 · 1641 · 20 |
| NodeMCU V2 (ESP8266 / ESP-12E)Espressif Systems | 28 · TX | 25 · D727 · RX | – | – |
| ESP8266 ESP-01 / ESP-01S Wi-Fi ModuleEspressif Systems / Ai-Thinker | 2 · TXD3 · GPIO2 | 7 · RXD | – | – |
| Seeed Studio XIAO ESP32-C3 Development BoardSeeed Studio / Espressif | 14 · D6 | 7 · D7 | – | – |
| Raspberry Pi Pico (RP2040)Raspberry Pi Ltd | 1 · GP06 · GP411 · GP8+4 | 2 · GP17 · GP512 · GP9+3 | – | – |
| Raspberry Pi Pico W (Wi-Fi & Bluetooth)Raspberry Pi Ltd | 1 · GP06 · GP411 · GP8+3 | 2 · GP17 · GP512 · GP9+2 | – | – |
| Raspberry Pi 4 Model BRaspberry Pi Ltd | 7 · GPIO48 · GPIO1432 · GPIO12 | 10 · GPIO1529 · GPIO533 · GPIO13 | 5 · GPIO311 · GPIO17 | 3 · GPIO231 · GPIO636 · GPIO16 |
| Raspberry Pi 5Raspberry Pi Ltd | 7 · GPIO48 · GPIO1432 · GPIO12+1 | 10 · GPIO1529 · GPIO533 · GPIO13+1 | 5 · GPIO311 · GPIO17 | 3 · GPIO231 · GPIO636 · GPIO16 |
| STM32F103C8T6 'Blue Pill' BoardSTMicroelectronics / Generic | 6 · PA99 · PA1214 · PB6+3 | 7 · PA108 · PA1115 · PB7+3 | 35 · PA1 | 36 · PA0 |
| PJRC Teensy 4.0 (ARM Cortex-M7)PJRC | 3 · 110 · 821 · 14+5 | 2 · 09 · 722 · 15+5 | – | – |
| ATmega328P 8-Bit AVR Microcontroller (DIP-28)Microchip / Atmel | 3 · PD1 | 2 · PD0 | – | – |
| ATmega328P 8-Bit AVR MicrocontrollerMicrochip / Atmel | 31 · PD1 | 30 · PD0 | – | – |
| ATmega32U4 8-Bit Microcontroller with USB (TQFP-44)Microchip / Atmel | 21 · PD3 | 20 · PD2 | 12 · PB7 | 22 · PD5 |
| PIC16F628A 8-Bit Flash Microcontroller (DIP-18)Microchip Technology | 8 · RB2 | 7 · RB1 | – | – |
| PIC16F886 28-Pin Flash Microcontroller with nanoWatt (DIP-28)Microchip Technology | 17 · RC6 | 18 · RC7 | – | – |
| CH340G USB to Serial UART Bridge ControllerWCH (Jiangsu Qinheng) | 2 · TXD | 3 · RXD | 14 · RTS | 9 · CTS |
| CP2102N USB to UART Bridge ControllerSilicon Labs | 12 · RS485/GPIO.221 · TXD | 20 · RXD | 19 · RTS | 18 · CTS |
| FT232RL USB to Serial UART Interface ICFTDI Chip | 1 · TXD | 5 · RXD | 3 · RTS | 11 · CTS |
| RS-232 Serial Port DB9 (DE-9)EIA / TIA (Electronic Industries Alliance) | 3 · TXD | 2 · RXD | 7 · RTS | 8 · CTS |
Pin number · pin name. "+n" = further pins with the same function.
All parts (24)
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
ATmega328P 8-Bit AVR Microcontroller (DIP-28)
20MHz, 32kB Flash, 2kB SRAM, 1kB EEPROM, DIP-28
ATmega328P 8-Bit AVR Microcontroller
High performance, low power 8-bit AVR RISC-based microcontroller with 32KB flash, standard on Arduino Nano and Uno.
ATmega32U4 8-Bit Microcontroller with USB (TQFP-44)
16MHz, 32kB Flash, 2.5kB SRAM, 1kB EEPROM, USB 2.0, TQFP-44
PIC16F628A 8-Bit Flash Microcontroller (DIP-18)
2048W Flash, 224B SRAM, 128B EEPROM, DIP18
PIC16F886 28-Pin Flash Microcontroller with nanoWatt (DIP-28)
8K Flash, 256B SRAM, 256B EEPROM, XLP, DIP28
CH340G USB to Serial UART Bridge Controller
USB serial converter, UART, SOIC-16
CP2102N USB to UART Bridge Controller
USB to UART master bridge, QFN-24
FT232RL USB to Serial UART Interface IC
USB to Serial Interface, SSOP-28
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.