Boards / All-in-one boards

LilyGO T-Display-S3 (CST328 touch)

1.9" 170x320 ST7789 on an 8-bit parallel bus, the early touch model with a CST328.

LilyGO T-Display-S3: a 170 by 320 panel, drawn from the preset
Drawn from the preset - no vendor photograph of this board was published.

Building for it

A project is made for one toolchain, picked when you start it. For this board you can use three of the four:

Toolchain
Arduino (C++)Every board, every widget and every peripheral here. The most control, and the most to set up. Start a project
MicroPythonChange a screen by editing a file on the board. No compiler once it is flashed. Start a project
ESPHomeNo compiler to install, and the panel can join Home Assistant as real entities. Start a project
ESP-IDF (C)The ESP-IDF export has no read for this touch controller yet. The Arduino export reads it.

At a glance

PartDetail
MakerLilyGO
MCUESP32-S3
Xtensa LX7 dual-core @ 240 MHz, 512 KB SRAM (+ 2-16 MB PSRAM on most modules)
DisplaySitronix ST7789, 170 x 320 px, 8-bit parallel (i80 / 8080), 16-bit colour
TouchHynitron CST328 (capacitive, I2C)
BacklightGPIO 38, dimmable (PWM)
Memory16 MB flash, 8 MB octal PSRAM (N16R8)
Graphics libraryGFX Library for Arduino

Display pins

ST7789 on 8-bit parallel (i80 / 8080): PAR8 clock 20 MHz, RGB colour order, inversion on.

SignalPin
WRGPIO 8
RDGPIO 9
DC / RSGPIO 7
CSGPIO 6
RESETGPIO 5
D0 - D7GPIO 39, 40, 41, 42, 45, 46, 47, 48
BacklightGPIO 38

Touch pins

CST328: I2C address 0x1A, 400 kHz, Y inverted.

SignalPin
SDAGPIO 18
SCLGPIO 17
INT / IRQGPIO 16
RESETGPIO 21

Also on the board

The preset adds these to the Hardware tab with the board, so a sensor can go straight onto the connector.

Check your revision. GPIO15 must be driven HIGH to enable the LCD power rail before init. The generated sketch does this for you. The battery reading is scaled from typical ADC figures - check it against a meter.

Designing for it in LCD Wizard

The parts

ST7789. Excellent colour and tolerates 80 MHz SPI. Many modules have no CS pin - tie it low and set CS to -1.

CST328. Waveshare ESP32-S3 Touch LCD 2.8"/4" boards.

ESP32-S3. The only common Arduino target with a hardware RGB565 LCD peripheral. PSRAM is effectively required for RGB panels.

GFX Library for Arduino. Moshi Liu's library. Best QSPI/AMOLED and RGB coverage. Configured in code.

The pinout on one page

Every pin above, laid out to print and keep beside the bench. Generated from this preset, so it says exactly what the designer writes into lcd_pins.h.

Download the pinout (PNG)Open it as SVG

The same pins as data - board.json and pins.csv - are in the open pinout dataset on GitHub, free to reuse under CC BY 4.0.

Designs for this board

Nobody has published a design for this board yet. Publish yours from the designer and it appears here and in the gallery.

LilyGO T-Display-S31.9" 170x320 ST7789 on an 8-bit parallel bus, CST816S touch on the touch model.ESP32-S3 · ST7789 170 x 320 · CST816S touch
LilyGO T-Display-S3 AMOLED1.91" 240x536 RM67162 AMOLED over QSPI with CST816 touch.ESP32-S3 · RM67162 240 x 536 · CST816S touchPurchase this board
Waveshare ESP32-S3-Pico + 2" Capacitive Touch LCD + PCM5102A DACWaveshare's ESP32-S3-Pico wired to their 2" 240x320 ST7789T3 touch screen (CST816D) and a PCM5102A I2S DAC: a small HiFi player. Screen pins as Waveshare's own ESP32-S3 table.ESP32-S3 · ST7789 240 x 320 · CST816S touch
Waveshare ESP32-S3-GEEK1.14" 135x240 IPS LCD (ST7789, SPI), TF card.ESP32-S3 · ST7789 135 x 240 · no touchPurchase this board
Waveshare ESP32-S3-LCD-1.31.3" 240x240 IPS LCD (ST7789VW, SPI), TF card, QMI8658.ESP32-S3 · ST7789 240 x 240 · no touchPurchase this board
Waveshare ESP32-S3-LCD-1.471.47" 172x320 IPS LCD (ST7789 (ST7789T per the IDF driver name), SPI), TF card.ESP32-S3 · ST7789 172 x 320 · no touchPurchase this board

Next