ESP32-S3 DevKitC-1 pinout
The ESP32-S3 DevKitC-1 (ESP32-S3) pinout: what each pin does, from GPIO, analog inputs and PWM to UART, I2C and SPI, with the notes that catch people out.
The board
- Processor: 32-bit Xtensa LX7, 2 cores, 240 MHz
- SRAM: 512 KB
- Flash: 4 MB as simulated (real modules carry 4–32 MB)
- Logic level: 3.3 V; the pins are not 5 V tolerant
- Radio: Wi-Fi 4 (2.4 GHz), Bluetooth LE 5
- GPIO: 45 (GPIO0–21, 26–48); GPIO26–32 run the flash and PSRAM
- Analog inputs: 12-bit, 20 channels: ADC1 on GPIO1–10, ADC2 on GPIO11–20
- Touch: 14 channels, GPIO1–14
- USB: USB OTG and USB Serial/JTAG on GPIO19 (D-) and GPIO20 (D+)
- Serial (UART0): TX GPIO43, RX GPIO44
- I2C (Wire): SDA GPIO8, SCL GPIO9
- SPI: SCK GPIO12, MISO GPIO13, MOSI GPIO11, SS GPIO10
- On-board LED: Addressable RGB LED on GPIO48
Pins
| Pin | Functions | Notes |
|---|---|---|
| IO0 | GPIO0, BOOT | Strapping pin (the BOOT button): Selects the boot mode: low at reset enters download mode. |
| IO1 | GPIO1, A0, ADC1_CH0, T1 | Analog input: analogRead(A0) reads ADC1_CH0. Capacitive touch: touchRead(T1). |
| IO2 | GPIO2, A1, ADC1_CH1, T2 | Analog input: analogRead(A1) reads ADC1_CH1. Capacitive touch: touchRead(T2). |
| IO3 | GPIO3, A2, ADC1_CH2, T3, STRAP | Analog input: analogRead(A2) reads ADC1_CH2. Capacitive touch: touchRead(T3). Strapping pin: Selects where JTAG comes from at boot. Floating by default. |
| IO4 | GPIO4, A3, ADC1_CH3, T4 | Analog input: analogRead(A3) reads ADC1_CH3. Capacitive touch: touchRead(T4). |
| IO5 | GPIO5, A4, ADC1_CH4, T5 | Analog input: analogRead(A4) reads ADC1_CH4. Capacitive touch: touchRead(T5). |
| IO6 | GPIO6, A5, ADC1_CH5, T6 | Analog input: analogRead(A5) reads ADC1_CH5. Capacitive touch: touchRead(T6). |
| IO7 | GPIO7, A6, ADC1_CH6, T7 | Analog input: analogRead(A6) reads ADC1_CH6. Capacitive touch: touchRead(T7). |
| IO8 | GPIO8, A7, ADC1_CH7, T8, SDA | Analog input: analogRead(A7) reads ADC1_CH7. Capacitive touch: touchRead(T8). Default I2C SDA for Wire. |
| IO9 | GPIO9, A8, ADC1_CH8, T9, SCL | Analog input: analogRead(A8) reads ADC1_CH8. Capacitive touch: touchRead(T9). Default I2C SCL for Wire. |
| IO10 | GPIO10, A9, ADC1_CH9, T10, SS | Analog input: analogRead(A9) reads ADC1_CH9. Capacitive touch: touchRead(T10). Default SPI SS for the SPI library. |
| IO11 | GPIO11, A10, ADC2_CH0, T11, MOSI | Analog input: analogRead(A10) reads ADC2_CH0. Capacitive touch: touchRead(T11). Default SPI MOSI for the SPI library. |
| IO12 | GPIO12, A11, ADC2_CH1, T12, SCK | Analog input: analogRead(A11) reads ADC2_CH1. Capacitive touch: touchRead(T12). Default SPI SCK for the SPI library. |
| IO13 | GPIO13, A12, ADC2_CH2, T13, MISO | Analog input: analogRead(A12) reads ADC2_CH2. Capacitive touch: touchRead(T13). Default SPI MISO for the SPI library. |
| IO14 | GPIO14, A13, ADC2_CH3, T14 | Analog input: analogRead(A13) reads ADC2_CH3. Capacitive touch: touchRead(T14). |
| IO15 | GPIO15, A14, ADC2_CH4, XTAL_32K_P | Analog input: analogRead(A14) reads ADC2_CH4. Can take one end of a 32.768 kHz crystal for the low-power clock. |
| IO16 | GPIO16, A15, ADC2_CH5, XTAL_32K_N | Analog input: analogRead(A15) reads ADC2_CH5. Can take one end of a 32.768 kHz crystal for the low-power clock. |
| IO17 | GPIO17, A16, ADC2_CH6 | Analog input: analogRead(A16) reads ADC2_CH6. |
| IO18 | GPIO18, A17, ADC2_CH7 | Analog input: analogRead(A17) reads ADC2_CH7. |
| IO19 | GPIO19, A18, ADC2_CH8, USB D- | Analog input: analogRead(A18) reads ADC2_CH8. USB Serial/JTAG D-. Using it as a GPIO turns off the chip's own USB port. |
| IO20 | GPIO20, A19, ADC2_CH9, USB D+ | Analog input: analogRead(A19) reads ADC2_CH9. USB Serial/JTAG D+. Using it as a GPIO turns off the chip's own USB port. |
| IO21 | GPIO21 | |
| IO35 | GPIO35 | Used by octal PSRAM or flash on modules that have it (R8 and Octal variants); leave it free there. |
| IO36 | GPIO36 | Used by octal PSRAM or flash on modules that have it (R8 and Octal variants); leave it free there. |
| IO37 | GPIO37 | Used by octal PSRAM or flash on modules that have it (R8 and Octal variants); leave it free there. |
| IO38 | GPIO38 | |
| IO39 | GPIO39, MTCK | JTAG MTCK when JTAG is taken from the pins instead of USB. |
| IO40 | GPIO40, MTDO | JTAG MTDO when JTAG is taken from the pins instead of USB. |
| IO41 | GPIO41, MTDI | JTAG MTDI when JTAG is taken from the pins instead of USB. |
| IO42 | GPIO42, MTMS | JTAG MTMS when JTAG is taken from the pins instead of USB. |
| IO43 | GPIO43, TX | UART0 transmit: Serial output and the boot messages. |
| IO44 | GPIO44, RX | UART0 receive: Serial input. |
| IO45 | GPIO45, STRAP | Strapping pin: Selects the flash voltage (VDD_SPI). Keep it low at reset on 3.3 V flash modules. |
| IO46 | GPIO46, STRAP | Strapping pin: Sampled at reset for the boot mode and ROM messages. Keep it low or floating at power-up. |
| IO47 | GPIO47 | |
| IO48 | GPIO48, RGB LED | Drives the on-board addressable RGB LED: rgbLedWrite(48, r, g, b). |
| 3V3 | 3V3 | 3.3 V supply from the on-board regulator. Keep the load small. |
| 3V3 | 3V3 | 3.3 V supply from the on-board regulator. Keep the load small. |
| 5V | 5V | 5 V supply: from USB, or from the regulator when the board is powered through VIN. |
| GND | GND | Ground (0 V). |
| GND | GND | Ground (0 V). |
| GND | GND | Ground (0 V). |
| GND | GND | Ground (0 V). |
Good to know
- Pin numbers in code are GPIO numbers: digitalWrite(8, HIGH) drives GPIO8.
- The pins run at 3.3 V and are not 5 V tolerant. Each drives about 20 mA by default (40 mA at most).
- Any GPIO can do PWM (analogWrite() or ledcAttach()) and raise an interrupt (attachInterrupt()), and the GPIO matrix can route UART, I2C and SPI to almost any pin. The bus pins shown are the Arduino defaults.
- Strapping pins are read at reset to choose how the chip boots. The BOOT button pulls GPIO0 low; keep strapping pins free of loads that change their level at power-up.
- ADC2 is shared with Wi-Fi: analogRead() on GPIO11–20 can fail while Wi-Fi is running.
- In the simulator, RST and NC connect to nothing.
- Arduino Uno pinout
- Arduino Nano pinout
- Arduino Mega pinout
- ATtiny85 pinout
- ESP32-C3 DevKitM-1 pinout
- ESP32-C5 DevKitC-1 pinout
- ESP32-C6 DevKitC-1 pinout
- ESP32-H2 DevKitM-1 pinout
- ESP32-P4 Function-EV pinout
- Blue Pill (STM32F103C8) pinout
- Nucleo-F030R8 pinout
- Nucleo-G071RB pinout
- Nucleo-F401RE pinout
- Nucleo-F446RE pinout
- Nucleo-F767ZI pinout
- Nucleo-H743ZI2 pinout
- Nucleo-WBA55CG pinout
- Nucleo-L552ZE-Q pinout
- Black Pill (STM32F411CE) pinout
- Raspberry Pi Pico pinout
- Raspberry Pi Pico W pinout
- Raspberry Pi Pico 2 pinout
- Raspberry Pi Pico 2 W pinout