ESP32-S3 Pinout: Board Pin Maps, Boot Pins and Gotchas

What does an ESP32-S3 pinout actually cover?
When people search for an ESP32-S3 pinout they usually want one picture that tells them which physical pin does what. In practice there are three layers to keep apart:
| Layer | What it defines | Where it changes |
|---|---|---|
| Chip (ESP32-S3) | GPIO numbers and the peripherals each one can carry | Never, for a given chip |
| Module | Which chip pins are brought out to the castellated pads | Per module |
| Dev board | What those pads are connected to: display, SD slot, amplifier, battery circuit, buttons | Per board |
The sources for this guide are strongest on the third layer. Two real-world boards, the Panlee SC01 Plus and the LILYGO ESP32-S3 1.9" T-Display, show how much the "pinout" changes from one product to another even though the chip is the same. For the chip-level, pin-by-pin table, the esp-labs-web project offers a browsable datasheet built around the ESP32-S3 DevKitC-1, which we cover further down.
The practical rule: never copy pin numbers from a diagram of a different board. GPIO 15 is a display data line on the SC01 Plus and a power-enable line on the T-Display S3. Same number, completely different job.
\2Pinout diagram of an ESP32-S3 Super Mini board, showing how a compact board brings out a subset of the chip's GPIOs. Image: espboards.dev, CC0, via Wikimedia Commons
Panlee SC01 Plus: full ESP32-S3 pin map for display, touch, SD and audio
The SC01 Plus is an ESP32-S3 board with 16 MB flash, 2 MB PSRAM, an IPS touch screen, a built-in 2 W amplifier, Wi-Fi and Bluetooth. Because the screen, touch controller, SD slot and amplifier are all soldered on, most of the usable GPIOs are already spoken for. The table below is taken from a working LovyanGFX and Audio configuration for this board.
Display (ST7796, 8-bit parallel bus)
| Signal | GPIO |
|---|---|
| WR | 47 |
| RD | not connected (-1) |
| RS (D/C) | 0 |
| D0 | 9 |
| D1 | 46 |
| D2 | 3 |
| D3 | 8 |
| D4 | 18 |
| D5 | 17 |
| D6 | 16 |
| D7 | 15 |
| CS | not connected (-1) |
| RST | 4 |
| Backlight (PWM) | 45 |
Panel settings in the same config: 320 x 480 memory and panel size, invert = true, 40 MHz write clock on bus port 0, rotation offset 1.
Touch (FT5x06 over I2C)
| Signal | GPIO / value |
|---|---|
| SDA | 6 |
| SCL | 5 |
| INT | 7 |
| I2C port | 0 |
| I2C address | 0x38 |
| I2C clock | 400 kHz |
SD card (SPI)
| Signal | GPIO |
|---|---|
| CS | 41 |
| MOSI | 40 |
| MISO | 38 |
| SCK | 39 |
I2S audio (to the on-board amplifier)
| Signal | GPIO |
|---|---|
| DOUT | 37 |
| BCLK | 36 |
| LRC | 35 |
If you want this board to do something other than display plus audio plus SD, the pins left over for your own sensors are the ones not listed above. Check the vendor diagram for which of those actually reach a header.
LILYGO T-Display S3 1.9": the boot pin that stops it running without USB
The LILYGO ESP32-S3 1.9" T-Display is a common source of pinout confusion, not because of what is wired to the GPIOs, but because one GPIO is part of the board's power path.
| Pin | Role on this board | Notes |
|---|---|---|
| GPIO15 | Power / boot enable | Must be driven HIGH in firmware, otherwise the board only runs when USB-C is connected |
| GPIO38 | LCD backlight brightness | Can be set from code to adjust screen brightness (per LILYGO) |
| USB-C | Primary power and programming | The board measures 5 V on its rail when powered this way |
| 5 V rail / Li-Po connector | Alternative power | Only boots if GPIO15 is HIGH |
The symptom, as reported on Electronics Stack Exchange: code uploads and runs fine over USB-C, but the board refuses to start from a 5 V supply or from a battery on the Li-Po connector, and the reset button appears to do nothing unless USB is attached. The fix that LILYGO themselves recommended is two lines at the top of setup():
void setup()
{
pinMode(15, OUTPUT); // to boot with battery...
digitalWrite(15, 1); // and/or power from 5v rail instead of USB
...
}
With GPIO15 held HIGH, the board starts from either the battery or the 5 V pin. This is a good example of a "pinout" fact you will not find on the chip datasheet, because it is a board design decision.
ESP32-S3 Arduino pinout: how pin numbers work in sketches
If you are coming from classic Arduino boards you might expect a translation table between "D" labels and chip pins. On the ESP32-S3 boards in these sources there is no such table: Arduino sketches address pins by their GPIO number directly.
Both examples make this clear:
- The T-Display fix calls
pinMode(15, OUTPUT)anddigitalWrite(15, 1), and the answer simply refers to "pin 15", meaning GPIO15. - The SC01 Plus sketch includes
<Arduino.h>and defines the SD and I2S pins as plain numbers, for example#define SD_CS 41,#define SPI_MOSI 40,#define I2S_DOUT 37, then hands those to the libraries.
So for an ESP32-S3 Arduino pinout, the workflow is:
- Find the GPIO number on your board's diagram or silkscreen.
- Use that number as-is in
pinMode,digitalWrite, library configs and#defines. - Check that the number is not already consumed by an on-board peripheral (display, SD, amplifier, power control).
That last step is where most "my sensor does not work" problems on display boards come from. On the SC01 Plus, GPIOs 0, 3, 4, 5, 6, 7, 8, 9, 15, 16, 17, 18, 35, 36, 37, 38, 39, 40, 41, 45, 46 and 47 are all in use by the display, touch, SD and I2S blocks before you add a single wire of your own.
Where can I find a complete per-pin ESP32-S3 reference?
The sources do not contain a full chip-level pin table, and this guide will not invent one. What they do point to is the esp-labs-web project, an interactive guide to the ESP32-S3 built around the DevKitC-1 board.
What it offers for pinout work:
| Feature | What you get |
|---|---|
| Live pinout per lab | Each of the 32 labs shows the pins it uses on a live pinout, plus wiring and the flash command |
| Datasheet > Explore | "Every pin and its jobs", a pin page (the demo picks GPIO0), an atlas of all 32 peripheral blocks, memory, clocks and power modes |
| Citations | Each fact cites the section of Espressif's reference and opens it in a side reader |
| Datasheet > Read | Board guide, module datasheet, chip datasheet and technical reference merged into one readable book |
| "Things that bite" | Called-out gotchas alongside the facts |
| Meet the board | A 3D DevKitC-1 with six callouts showing which labs use each part |
It is open source (MIT), runs in the browser, works on a phone, and is available in 12 languages (Arabic and Persian right to left) using a ?lang= parameter. The firmware the labs flash lives in a companion repo, esp-labs, and the reader shows it line by line. If the Espressif reference file is not present in a deployment, citations fall back to links to Espressif's official PDFs, which remain the authoritative source for pin functions, strapping behaviour and electrical limits.
Gotchas and safe usage notes for ESP32-S3 pins
These are the pin-related problems that actually appear in the sources, plus the safe habits that follow from them.
1. A pin can be part of the power circuit. On the T-Display S3, GPIO15 gates whether the board runs at all when USB is absent. If a board boots only on USB-C, suspect a board-specific enable pin before suspecting your supply. Read the vendor diagram for anything labelled as power or enable before assuming a GPIO is free.
2. Shared peripherals can collide. On the SC01 Plus, an Arduino project using LovyanGFX plus LVGL for the display and the Audio library for I2S playback had the screen go permanently black as soon as the audio library's pin setup was called in setup(), while the audio kept playing. Running LVGL and audio on different cores did not help, and the pin assignments were double-checked. The question is unresolved in the source, so treat it as a warning rather than a solved recipe: when a board bundles a parallel display bus, an SD card on SPI and an I2S amplifier, verify that two libraries are not claiming the same peripheral or pin, and test the display and audio separately before combining them.
3. Pin numbers are not portable between boards. GPIO15 is display data line D7 on one board and the power enable on another. GPIO38 is SD MISO on the SC01 Plus and the backlight control on the T-Display S3. Never reuse a pin list from a different product.
4. Count what the board already uses. On a display-and-audio board, more than twenty GPIOs are consumed before you start. Make a list like the SC01 Plus tables above for your own board so you know your real spare pins.
5. Use a cited reference for electrical limits. None of the sources state voltage tolerances, drive strength or ADC ranges, so this guide does not either. Use the Espressif datasheet (or the esp-labs-web Datasheet pages, which cite it section by section) for those numbers before connecting anything that could exceed them.
Quick checklist before you wire an ESP32-S3 board
- Get the pinout diagram for your exact board, not just "ESP32-S3".
- Mark every GPIO already used by on-board hardware: display bus, touch I2C, SD SPI, I2S, backlight.
- Look for board-specific power or enable pins (GPIO15 on the T-Display S3) and handle them in
setup()if you plan to run from battery or the 5 V rail. - In Arduino, reference pins by GPIO number and keep them in
#defines at the top of the sketch, as the SC01 Plus example does. - Bring up one peripheral at a time, especially when a display and audio share the board.
- Keep a cited reference open for anything electrical; the interactive datasheet in esp-labs-web is a convenient way to jump straight to the relevant Espressif section.
Frequently asked questions
Which pin do I set so the LILYGO T-Display S3 boots on battery or 5 V?
GPIO15 must be driven HIGH in setup() (pinMode(15, OUTPUT); digitalWrite(15, 1)). Without it the board only runs when USB-C is connected.
What are the SD card pins on the Panlee SC01 Plus?
CS on GPIO41, MOSI on GPIO40, MISO on GPIO38 and SCK on GPIO39, as used in a working Arduino sketch for that board.
How do Arduino sketches refer to ESP32-S3 pins?
By the raw GPIO number. The sources use pinMode(15, ...) for GPIO15 and plain #defines such as SD_CS 41 and I2S_DOUT 37.
Where is a full ESP32-S3 pin-by-pin reference?
The esp-labs-web Datasheet section lists every pin and its jobs for the DevKitC-1, with citations to Espressif's reference; the official Espressif PDFs remain the authoritative source.
Why does the SC01 Plus screen go black when audio starts?
A user reported the display freezing when the Audio library's pin setup was called, even with LVGL and audio on separate cores. No fix is given in the source, so verify that the display and audio libraries do not conflict and test them separately.
The ESP32-S3 pinout you need is almost always a board pinout, not a chip pinout, and the two boards covered here show why: the same GPIO number can be a display data line on one and a power-enable on another. Build your own table of consumed pins, handle any board-specific boot pin in setup(), and use a cited datasheet (such as the esp-labs-web reader) for electrical limits rather than a random diagram.
Sources
stackoverflow.comWhy esp32 cannot sync lcd while playing audio?electronics.stackexchange.comHow to power LILYGO ESP32-S3 1.9" T-Display without USB?github.comagharsallah/esp-labs-web (GitHub README)This guide summarises the public sources listed above in our own words. Check the original documentation before relying on exact figures.


