LilyGo T-Display-S3 Touch

Similar to the T-Display-S3 but with a touch-enabled 1.9-inch display, enhancing interactivity for user interfaces.

USB-C Native USB
LilyGo T-Display-S3 Touch board
60.8 × 25.5 mm
ESP32-S3
MCU
240MHz
clock
16MB
flash
512KB
SRAM
31· 11 ADC
GPIO
BLE 5.4+ WiFi
radio
On this page

LilyGo T-Display-S3 Touch Pinout

42 pins · 2.54 mm pitch
LilyGo T-Display-S3 Touch pinout diagram
PinGPIOLabelsStatusCapabilitiesNotes
1-3V3V3power-P2 header pin 12; 3.3V output from the AP2112K LDO (LilyGO: keep the load under 100mA)
21IO1TOUCH1ADC1_CH0safeadc · touch · pwmP2 header pin 11; ADC1_CH0, capacitive touch
32IO2TOUCH2ADC1_CH1safeadc · touch · pwmP2 header pin 10; ADC1_CH1, capacitive touch
43IO3TOUCH3ADC1_CH2strappingadc · touch · pwmP2 header pin 9; ADC1_CH2, capacitive touch; ESP32-S3 strapping pin (JTAG source)
510IO10SPI_CSTOUCH10ADC1_CH9strappingadc · touch · pwm · spiP2 header pin 8; FSPI CS, ADC1_CH9, capacitive touch
611IO11SPI_DTOUCH11ADC2_CH0strappingadc · touch · pwm · spiP2 header pin 7; FSPI MOSI, ADC2_CH0, capacitive touch (SD CLK on the optional SD shield)
712IO12SPI_CLKTOUCH12ADC2_CH1strappingadc · touch · pwm · spiP2 header pin 6; FSPI CLK, ADC2_CH1, capacitive touch (SD D0 on the optional SD shield)
813IO13SPI_QTOUCH13ADC2_CH2strappingadc · touch · pwm · spiP2 header pin 5; FSPI MISO, ADC2_CH2, capacitive touch (SD CMD on the optional SD shield)
9-NC-P2 header pin 4; printed NC - the pad is not connected
10-NC-P2 header pin 3; printed NC - the pad is not connected
11-GNDground-P2 header pin 2; ground
12-5Vpower-P2 header pin 1; +5V, the USB-C VBUS rail (input or output)
13-GNDground-P1 header pin 12; ground
14-GNDground-P1 header pin 11; ground
1543IO43U0TXDCLK_OUT1uartuart · i2c · pwmP1 header pin 10; default UART0 TX; also on the 4-pin JST-SH (G 3V 43 44), the STEMMA QT / Qwiic SDA position
1644IO44U0RXDCLK_OUT2uartuart · i2c · pwmP1 header pin 9; default UART0 RX; also on the 4-pin JST-SH (G 3V 43 44), the STEMMA QT / Qwiic SCL position
1718IO18SDAU1RXDADC2_CH7uartadc · i2c · uart · pwmP1 header pin 8; I2C SDA to the CST816 through the display FPC, 10K pull-up on the board - other I2C devices can share the bus, but not another use of the pin
1817IO17SCLU1TXDADC2_CH6uartadc · i2c · uart · pwmP1 header pin 7; I2C SCL to the CST816 through the display FPC, 10K pull-up on the board - other I2C devices can share the bus, but not another use of the pin
1921IO21TP_RSTsafepwmP1 header pin 6; CST816 reset (ESP_TP_RESET on the schematic)
2016IO16TP_INTADC2_CH5safeadc · pwmP1 header pin 5; CST816 interrupt (ESP_TP_INT), 100K pull-up on the board; ADC2_CH5
21-NC-P1 header pin 4; printed NC - the pad is not connected
22-GNDground-P1 header pin 3; ground
23-GNDground-P1 header pin 2; ground
24-3V3V3power-P1 header pin 1; 3.3V output
250IO0BOOTstrappingpwmthe BOOT button beside the USB-C; strapping pin; reaches no header
2614IO14KEYstrappingpwmthe IO14 user button on the other side of the USB-C (KEY on the schematic, 100K pull-up); reaches no header
274IO4BAT_ADCADC1_CH3safeadcbattery voltage through a 100K / 100K divider (read x2); LilyGO: reads only while USB is unplugged
2815IO15PWR_ONsafe-LCD / peripheral power enable: drive HIGH on battery or 5V-header power or the panel stays dark
2938IO38LCD_BLsafepwmbacklight enable into the AW9364 LED driver
305IO5LCD_RESsafe-LCD reset
316IO6LCD_CSsafe-LCD chip select (8080 parallel bus)
327IO7LCD_DCsafe-LCD data / command
338IO8LCD_WRsafe-LCD write strobe
349IO9LCD_RDstrapping-LCD read strobe
3539IO39LCD_D0strapping-LCD data 0
3640IO40LCD_D1strapping-LCD data 1
3741IO41LCD_D2strapping-LCD data 2
3842IO42LCD_D3strapping-LCD data 3
3945IO45LCD_D4strapping-LCD data 4; strapping pin (VDD_SPI voltage)
4046IO46LCD_D5strapping-LCD data 5; strapping pin
4147IO47LCD_D6strapping-LCD data 6
4248IO48LCD_D7strapping-LCD data 7
31 GPIOs broken out 2 free · 15 need care · 14 to avoid

Start with these

2 pins with no boot or system involvement
IO1IO2

Freely assignable - no strapping, flash, USB or JTAG duties. Ideal first picks for buttons, sensors and LEDs.

Fine - with a little care

15 pins · 10 things to know
IO3 Bootstrapping pin (controls JTAG signal source) Strapping

Selects the JTAG interface (USB Serial/JTAG controller vs. external pins), but only once the EFUSE_STRAP_JTAG_SEL eFuse is burnt; until then it is ignored. No internal pull, floating by default.

IO10IO11IO12IO13IO14 General-purpose SPI2 (FSPI) IO MUX pins Other

IO MUX pin of the general-purpose SPI2 (FSPI) bus, not of the in-package flash - that sits on GPIO26-32. The datasheet lists it as a priority-2 pin ("can be freely used without restrictions"), so it is only taken if your board wires flash, an SD card or a display to FSPI.

  • IO10General-purpose SPI2 (FSPI) IO MUX pin - chip select (FSPICS0)
  • IO11General-purpose SPI2 (FSPI) IO MUX pin - data in (FSPID)
  • IO12General-purpose SPI2 (FSPI) IO MUX pin - clock (FSPICLK)
  • IO13General-purpose SPI2 (FSPI) IO MUX pin - data out (FSPIQ)
  • IO14General-purpose SPI2 (FSPI) IO MUX pin - write-protect/data line (FSPIWP)
IO43 UART0 transmit pin (U0TXD), default serial console TX UART

Used for bootloader output and UART console logs. If repurposed, you will lose the default serial output (and programming via UART0).

IO44 UART0 receive pin (U0RXD), default serial console RX UART

Used for bootloader input (download mode via serial). If repurposed, you cannot use the default UART0 download mode for programming the chip.

IO18IO17 Used by the CST816 touch controller (I2C) onboard hardware

Wired to the CST816 touch controller (I2C) on this board. The pin is yours if you give that up, but nothing else can share it.

  • IO18P1 header pin 8; I2C SDA to the CST816 through the display FPC, 10K pull-up on the board - other I2C devices can share the bus, but not another use of the pin
  • IO17P1 header pin 7; I2C SCL to the CST816 through the display FPC, 10K pull-up on the board - other I2C devices can share the bus, but not another use of the pin
IO21 P1 header pin 6; CST816 reset (ESP_TP_RESET on the schematic) onboard hardware

Wired to the CST816 touch controller (reset) on this board. The pin is yours if you give that up, but nothing else can share it.

IO16 P1 header pin 5; CST816 interrupt (ESP_TP_INT), 100K pull-up on the board; ADC2_CH5 onboard hardware

Wired to the CST816 touch controller (interrupt) on this board. The pin is yours if you give that up, but nothing else can share it.

IO0 Bootstrapping pin (Chip boot mode selection) Strapping

Must be pulled high (default) or low (to enter UART download mode) at reset. Using it for other functions can interfere with boot mode configuration.

IO4 battery voltage through a 100K / 100K divider (read x2); LilyGO: reads only while USB is unplugged onboard hardware

Wired to the battery-voltage divider on this board. The pin is yours if you give that up, but nothing else can share it.

IO38 backlight enable into the AW9364 LED driver onboard hardware

Wired to the display backlight on this board. The pin is yours if you give that up, but nothing else can share it.

Only if you know the tricks

14 pins · 2 things to know
IO15 LCD / peripheral power enable: drive HIGH on battery or 5V-header power or the panel stays dark onboard hardware

Wired to the peripheral power switch on this board, which is soldered down. Driving it from your own code breaks that function.

IO5IO6IO7IO8IO9IO39IO40IO41IO42IO45IO46IO47IO48 Used by Display (ST7789) onboard hardware

Wired to Display (ST7789) on this board, which is soldered down. Driving it from your own code breaks that function.

  • IO5LCD reset
  • IO6LCD chip select (8080 parallel bus)
  • IO7LCD data / command
  • IO8LCD write strobe
  • IO9LCD read strobe
  • IO39LCD data 0
  • IO40LCD data 1
  • IO41LCD data 2
  • IO42LCD data 3
  • IO45LCD data 4; strapping pin (VDD_SPI voltage)
  • IO46LCD data 5; strapping pin
  • IO47LCD data 6
  • IO48LCD data 7
These are recommendations, not hard rules - with the right pull-ups, timing and boot-state awareness most pins can be made to work. When in doubt, start green.

The LilyGo T-Display-S3 Touch breaks out 42 pins in total: 31 GPIO for your project, with 3V, GND and 5V handling power.

Peripheral wiring is straightforward: I²C is mapped to SDA on GPIO18 and SCL on GPIO17.

Beyond plain digital I/O you get 11 ADC-capable pins for sensors and battery monitoring, PWM on 16 pins and 7 capacitive-touch inputs.

15 of the exposed pins carry boot-time or system duties on the ESP32-S3 (IO3, IO10, IO11 and 12 more) - check the guidance above before wiring anything to them. IO1 and IO2 are free of any such role - the safest first picks.

Getting started

flash your first firmware in ~2 minutes
Tool:
1
Connect over USB
Native USB - shows up as a port right away, no driver needed. Not detected? Hold BOOT while plugging in.
2
Match & flash
Set the Tools options shown, then click Upload.
3
Verify it runs
GPIO1 toggles - wire an LED and resistor to it, or change the pin to your board's own LED.
Set these in Tools · leave everything else at default
Arduino IDE 2.x - Tools Copy
Board: "ESP32S3 Dev Module"▸
USB CDC On Boot: "Enabled"▸
Flash Size: "16MB (128Mb)"▸
Flash Mode: "DIO"▸
PSRAM: "OPI PSRAM"▸
Partition Scheme: "16M Flash (3MB APP/9.9MB FATFS)" (default)▸
Upload Speed: "921600"▸
▸ every other Tools option - leave at default
Board: ESP32S3 Dev Module
USB CDC On Boot: Enabled
Flash Size: 16MB (128Mb)
Flash Mode: DIO
PSRAM: OPI PSRAM
Partition Scheme: 16M Flash (3MB APP/9.9MB FATFS)
Upload Speed: 921600
Find it: Tools ▸ Board ▸ ESP32 Arduino ▸ ESP32S3 Dev Module
blink.ino Copy
// toggle GPIO1 - wire an LED and resistor to it
void setup() {
  pinMode(1, OUTPUT);
}
void loop() {
  digitalWrite(1, HIGH); delay(500);
  digitalWrite(1, LOW);  delay(500);
}
board to selectesp32-s3-devkitc-1⧉ copy
platformio.ini Copy
[env:lilygo_t_display_s3_touch]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
board_build.arduino.memory_type = qio_opi
build_flags = -DBOARD_HAS_PSRAM
Find it: PlatformIO Home ▸ Boards, search esp32-s3-devkitc-1 - or type it after board =.
board to selectesp32-s3-devkitc-1⧉ copy
device.yaml Copy
esp32:
  board: esp32-s3-devkitc-1
  variant: esp32s3
  framework:
    type: esp-idf
psram:
  mode: octal
  speed: 80MHz

# blink - GPIO1
output:
  - platform: gpio
    pin: 1
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
Find it: search ESPHome's board list for esp32-s3-devkitc-1 (same ids as PlatformIO).
esptool doesn't pick board settings - a prebuilt .bin already has them baked in. This is just the raw flash command.
terminal Copy
esptool.py --chip esp32s3 --port /dev/ttyACM0 \
  --baud 921600 write_flash 0x0 firmware.bin
--port = your /dev/tty* (macOS/Linux) or COMx (Windows).
Build details: sketch space 3145728 B · data 327680 B · DIO

Specifications

ESP32-S3 · 60.8 × 25.5 mm · vs other ESP32 chips →
Compute
MCU
ESP32-S3
Clock
240 MHz
SRAM · Flash
512 KB · 16MB · 8MB (OPI) PSRAM
Radio
Wi-Fi
802.11 b/g/n
Bluetooth
5.4 LE
Antenna
PCB
I/O
GPIO · ADC
31 · 11
UART · I²C · SPI
3 · 2 · 2
PWM
8 channels
Power
USB
USB-C
Serial
Native (CDC)
Boot address
0x0
Electrical
Input
5V USB · 3.7V LiPo
Consumption
-
Regulator
-
Display
Screen
LCD · 1.9" · 170x320
Driver
ST7789V
Touch
CST816
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · QIO
Sketch · Data
3 MB · 320 KB

Dimensions

25.5 mm60.8 mm
60.8 × 25.5 mm · pin pitch 2.54 mm
The LilyGo T-Display-S3 Touch uses esptool_py for firmware uploads, esp_ota for over-the-air (OTA) updates. Flash mode is DIO with QIO boot mode. The maximum sketch size is 3 MB with 320 KB available for data.

About this board

Inside sits the ESP32-S3 - a dual-core Xtensa with vector extensions suited to AI workloads.

At $35.00 it's on the expensive side for an ESP32-S3 board - most land around $29.

With 31 GPIO broken out, you get more pins to play with than most ESP32-S3 boards offer.

Around the module: 8MB (OPI) PSRAM, an LCD 1.9" 170x320 display with touch, a Qwiic connector, battery charging (TP4065) via JST-GH 1.25mm and Reset/Boot buttons.

It flashes over native USB - no serial-converter driver needed, which isn't a given among ESP32-S3 boards.


The LilyGo T-Display-S3 Touch is the touch version of the T-Display-S3: the same ESP32-S3 board and 1.9-inch LCD (170x320, ST7789V), with a CST816 capacitive touch panel on top. The touch glass is 32 mm wide, so it overhangs the 25.5 mm board by about 3 mm on each side.

The touch controller uses I2C on GPIO18 (SDA) and GPIO17 (SCL), with reset on GPIO21 and interrupt on GPIO16. These pins also stay on the header, so avoid them for other jobs if you use touch.

With WiFi 802.11 b/g/n and Bluetooth 5 (LE), it offers seamless wireless connectivity for IoT projects. Its 8MB PSRAM and 16MB Flash memory ensure ample storage and performance.

Designed with multiple GPIOs, PWM, ADC, I2C, and SPI support, it is suitable for various applications, including sensor interfacing, graphical user interfaces, and wireless communication.

Where to buy

prices are typical street prices
LilyGo T-Display-S3 Touch
LilyGo T-Display-S3 Touch
$35.00per unit, typical
As an Amazon Associate, ESPboards earns from qualifying purchases.

Resources

Similar boards