
LilyGo T4-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 T4-S3
🚀 The LilyGo T4-S3 is an ESP32-S3-based development board designed for high-performance IoT applications. Featuring a large 4.2-inch e-paper display and low-power consumption, it is ideal for smart display projects. ⚡
📡 With WiFi 802.11 b/g/n and Bluetooth 5 (LE), it supports seamless wireless communication, making it perfect for remote monitoring and embedded systems.
💾 The T4-S3 comes with 8MB PSRAM and 16MB Flash, providing ample memory for complex applications.
Technical Specifications
Complete technical specification details for LilyGo T4-S3
Display
Connectivity
Microcontroller
✨ Features & Pins
Quick Setup
Copy-paste configs for LilyGo T4-S3 - auto‑generated from this board's exact hardware specs.
In Arduino IDE 2 select Lilygo T4 S3 from the esp32 by Espressif package. In PlatformIO use board = esp32-s3-devkitm-1. ESP32S3 · 240 MHz · 16MB · DIO.
In Arduino IDE 2, open Boards Manager, search "esp32" by Espressif and install it. Then go to Tools → Board and select "Lilygo T4 S3" for the LilyGo T4-S3.
[env:lilygo_t4_s3]
platform = espressif32
board = esp32-s3-devkitm-1
framework = arduino
; Exact hardware config for LilyGo T4-S3
board_build.mcu = esp32s3
board_build.f_cpu = 240000000L
board_build.flash_size = 16MB
board_build.flash_mode = dio
board_upload.flash_size = 16MBThe board value is a close generic match - check PlatformIO board registry for an exact fit.
esp32:
board: esp32-s3-devkitc-1
framework:
type: arduino # or "esp-idf"
# LilyGo T4-S3 - 240 MHz ESP32S3
# Flash: 16MB | USB: N/APaste into your device's .yaml. See ESPHome ESP32 docs for full options.
esptool.py \
--chip esp32s3 \
--baud 921600 \
write_flash \
--flash_mode dio \
--flash_size 16MB \
0x0 bootloader.bin \
0x8000 partitions.bin \
0xe000 boot_app0.bin \
0x10000 firmware.binInstall: pip install esptool - replace firmware.bin with your binary - bootloader at 0x0
LilyGo T4-S3 Pinout Diagram
Complete pin reference for LilyGo T4-S3
Safe Pins to Use
These pins are safe for general GPIO usage without boot or system conflicts
Why Are These Pins Safe?
Pins to Avoid or Use with Caution
Reserved for critical functions. Misuse may cause boot failures, programming issues, or system conflicts.
Boot behavior & flash voltage
Low-level debugging interface
USB Serial/JTAG communication
Memory & PSRAM connections
Debugging & firmware uploads
| PIN | Label | Why Avoid | Type |
|---|---|---|---|
| IO3 | GPIO3 | Sampled at reset to select JTAG interface (USB Serial/JTAG controller vs. external pins). Improper use can disable external JTAG or alter debug interface. | 🛠️ Strapping |
| IO19 | USB_D- | By default connected to the on-chip USB Serial/JTAG controller. Using it as general GPIO without reconfiguring IO MUX will interfere with USB functionality. | 🔌 USB |
Useful Links
Datasheets and resources for LilyGo T4-S3
LilyGo T4-S3 Custom Pin Mapping
Pin configuration and GPIO mapping for LilyGo T4-S3
| Pin | Function | ESP Pin | I/O Type | Description |
|---|---|---|---|---|
| 1 | 3V3 | 3.3V | POWER OUTPUT | 3.3V power output |
| 2 | GND | GND | POWER GROUND | Ground connection |
| 3 | 5V | 5V | POWER INPUT | 5V power input |
| 4 | IO1 | GPIO1 | BIDIRECTIONAL | GPIO, ADC, I2C |
| 5 | IO2 | GPIO2 | BIDIRECTIONAL | GPIO, ADC |
| 6 | IO3 | GPIO3 | BIDIRECTIONAL | GPIO, ADC |
| 7 | IO16 | SPI_CS | BIDIRECTIONAL | GPIO, SPI Chip Select |
| 8 | IO17 | SPI_D | BIDIRECTIONAL | GPIO, SPI Data |
| 9 | IO18 | SPI_CLK | BIDIRECTIONAL | GPIO, SPI Clock |
| 10 | IO19 | SPI_Q | BIDIRECTIONAL | GPIO, SPI Q |
| 11 | IO21 | EPD_DC | OUTPUT | GPIO, E-Paper Data/Command |
| 12 | IO22 | EPD_RST | OUTPUT | GPIO, E-Paper Reset |
| 13 | IO23 | EPD_BUSY | INPUT | GPIO, E-Paper Busy Signal |
Default Tools & Configuration
Build and upload settings for LilyGo T4-S3
| Setting | Value |
|---|---|
| Bootloader tool | esptool_py |
| Uploader tool | esptool_py |
| Network uploader tool | esp_ota |
| Bootloader address | 0x0 |
| Flash mode | dio |
| Boot mode | qio |
| PSRAM type | opi |
| Maximum upload size | 3072 KB (3145728 bytes) |
| Maximum data size | 320 KB (327680 bytes) |
The LilyGo T4-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
Similar Boards
Other development boards with ESP32S3 microcontroller

LilyGo T-Display-S3 AMOLED
LilyGo T-Display-S3 AMOLED development board is based on esp32s3 microcontroller and uses xtensa architecture.

LilyGo T-Dongle S3
LilyGo T-Dongle S3 development board is based on esp32s3 microcontroller and uses xtensa architecture.

LilyGo T-Beam Supreme
LilyGo T-Beam Supreme development board is based on esp32s3 microcontroller and uses xtensa architecture.
