LilyGo T-Display-S3 image

LilyGo T-Display-S3

Development Board

Code name: LILYGO_T_DISPLAY_S3

LilyGo T-Display-S3 is a development board based on the ESP32S3 microcontroller using XTENSA architecture.

This board features a maximum CPU frequency of 240 MHz and 16MB flash memory.

About LilyGo T-Display-S3

πŸš€ The LilyGo T-Display-S3 is a powerful development board featuring an ESP32-S3 chip with integrated WiFi and Bluetooth 5 capabilities. Equipped with a 1.9-inch LCD (270x320) driven by an ST7789V controller, it provides a vibrant display for embedded applications. ⚑

πŸ“‘ 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 LilyGo T-Display-S3

Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

Technical Specifications

Complete technical specification details for LilyGo T-Display-S3

Display

Type LCD
Size 1.9"
Resolution 170x320
Driver ST7789V

Connectivity

WiFi 802.11 b/g/n (2.4 GHz)
Bluetooth 5.0
BLE 5.0

Microcontroller

Model esp32s3
Clock Speed 240 MHz
Flash Size 16MB
PSRAM 8MB
Architecture xtensa

✨ Features & Pins

Digital IO 48
Analog Input 20
PWM 27
Interrupts 46

Quick Setup

Copy-paste configs for LilyGo T-Display-S3 - auto‑generated from this board's exact hardware specs.

ESP32S3 240 MHz 16MB DIO Xtensa

In Arduino IDE 2 select Lilygo T Display S3 from the esp32 by Espressif package. In PlatformIO use board = esp32-s3-devkitm-1. ESP32S3 · 240 MHz · 16MB · DIO.

Tools menu settings
Board (select in Arduino IDE) Lilygo T Display S3
CPU Frequency 240 MHz
Flash Size 16MB
Flash Mode DIO
Upload Speed 921600
Architecture Xtensa

In Arduino IDE 2, open Boards Manager, search "esp32" by Espressif and install it. Then go to Tools β†’ Board and select "Lilygo T Display S3" for the LilyGo T-Display-S3.

LilyGo T-Display-S3 Pinout Diagram

Complete pin reference for LilyGo T-Display-S3

LilyGo T-Display-S3 pinout diagram

The LilyGo T-Display-S3 pinout provides various digital and analog pins, along with a dedicated display interface. Key pins include:

5V and 3.3V power rails for stable operation.

SDA and SCL for I2C, MISO, MOSI, SCK, and SS for SPI communication.

Additionally, dedicated LCD pins ensure efficient display control.

Safe Pins to Use

These pins are safe for general GPIO usage without boot or system conflicts

IO1
IO2
IO16
IO17
IO18
IO21
IO5
IO6
IO7
IO8
IO15
IO4

Why Are These Pins Safe?

βœ“ No boot sequence involvement
βœ“ No flash/PSRAM connections
βœ“ No USB or JTAG conflicts
βœ“ Freely assignable without issues

Pins to Avoid or Use with Caution

Reserved for critical functions. Misuse may cause boot failures, programming issues, or system conflicts.

Strapping Pins

Boot behavior & flash voltage

JTAG Debugging

Low-level debugging interface

USB Pins

USB Serial/JTAG communication

Flash/SPI Pins

Memory & PSRAM connections

UART Serial

Debugging & firmware uploads

PINLabelWhy AvoidType
IO3GPIO3Sampled at reset to select JTAG interface (USB Serial/JTAG controller vs. external pins). Improper use can disable external JTAG or alter debug interface.πŸ› οΈ Strapping
IO10FSPICS0Used to select the external flash chip. It is required for flash access and cannot be repurposed without losing flash connectivity⚑ Flash
IO11FSPIDUsed as a data line for flash (and in-package PSRAM). It should not be used as GPIO when the flash/PSRAM is in use.⚑ Flash
IO12FSPICLKDrives the flash (and PSRAM) clock. This critical signal must be reserved for memory and not used as general GPIO.⚑ Flash
IO13FSPIQUsed as a data line for flash/PSRAM transfers. Not available for other uses when flash/PSRAM is connected.⚑ Flash

Useful Links

Datasheets and resources for LilyGo T-Display-S3

LilyGo T-Display-S3 Custom Pin Mapping

Pin configuration and GPIO mapping for LilyGo T-Display-S3

48
Digital I/O Pins
46
Interrupt Pins
20
Analog Inputs
27
PWM Pins
PinFunctionESP PinI/O TypeDescription
13V33.3VPOWER OUTPUT3.3V power output
2GNDGNDPOWER GROUNDGround connection
35V5VPOWER INPUT5V power input for the board
5IO1IO1BIDIRECTIONALGPIO, Touch, ADC
6IO2IO2BIDIRECTIONALGPIO, Touch, ADC
7IO3IO3BIDIRECTIONALGPIO, Touch, ADC
8IO10SPI_CSBIDIRECTIONALGPIO, SPI Chip Select
9IO11SPI_DBIDIRECTIONALGPIO, SPI Data
10IO12SPI_CLKBIDIRECTIONALGPIO, SPI Clock
11IO13SPI_QBIDIRECTIONALGPIO, SPI Q
12IO16ADC2_CH5BIDIRECTIONALGPIO, ADC
13IO17U1_TXDBIDIRECTIONALGPIO, UART TX
14IO18U1_RXDBIDIRECTIONALGPIO, UART RX
15IO21IO21BIDIRECTIONALGPIO
16IO43CLK_OUT1OUTPUTGPIO, Clock Output 1
17IO44CLK_OUT2OUTPUTGPIO, Clock Output 2
18IO38LCD_BLOUTPUTGPIO, LCD BL
19IO39LCD_D0OUTPUTGPIO, LCD Data 0
20IO40LCD_D1OUTPUTGPIO, LCD Data 1
21IO41LCD_D2OUTPUTGPIO, LCD Data 2
22IO42LCD_D3OUTPUTGPIO, LCD Data 3
23IO45LCD_D4OUTPUTGPIO, LCD Data 4
24IO46LCD_D5OUTPUTGPIO, LCD Data 5
25IO47LCD_D6OUTPUTGPIO, LCD Data 6
26IO48LCD_D7OUTPUTGPIO, LCD Data 7
27IO5LCD_RESOUTPUTGPIO, LCD Reset
28IO6LCD_CSOUTPUTGPIO, LCD Chip Select
29IO7LCD_DCOUTPUTGPIO, LCD Data/Command
30IO8LCD_WROUTPUTGPIO, LCD Write
31IO9LCD_RDOUTPUTGPIO, LCD Read
32IO15LCD_POWER_ONOUTPUTGPIO, LCD Power Enable
33IO4LCD_BAT_VOLTINPUTGPIO, Battery Voltage Sense
34IO14BUTTONINPUTButton
Legend
Function Pin role
GPIO ESP32 pin
I/O Direction
# Pin number

Pin Mappings

Complete pinout and GPIO mapping for LilyGo T-Display-S3

48
Digital I/O Pins
46
Interrupt Pins
20
Analog Inputs
27
PWM Pins
PinAnalogTouchPWMOther
0BUTTON_1
1A0T1PWM
2A1T2PWM
3A2T3PWM
4PWMBAT_VOLT
10A9T10PWMSS
11A10T11PWMMOSI
12A11T12PWMSCK
13A12T13PWMMISO
17A16PWMSCL
18A17PWMSDA
43PWMTX
44PWMRX
Legend
A0 Analog input
T0 Touch sensor
PWM PWM capable
RX/TX Serial pins
LED Built-in LED
# Pin number

Default Tools & Configuration

Build and upload settings for LilyGo T-Display-S3

SettingValue
Bootloader toolesptool_py
Uploader toolesptool_py
Network uploader toolesp_ota
Bootloader address0x0
Flash modedio
Boot modeqio
PSRAM typeopi
Maximum upload size
3072 KB (3145728 bytes)
Maximum data size
320 KB (327680 bytes)
Configuration Summary

The LilyGo T-Display-S3 uses esptool_py for uploads , esp_ota for OTA updates, and esptool_py bootloader at 0x0.

Flash mode: dio | Boot mode: qio | PSRAM: opi

Max sketch size: 3072 KB | Max data size: 320 KB