LilyGO T-Display-S3
1.9" 170x320 ST7789 on an 8-bit parallel bus, CST816S touch on the touch model.
At a glance
| Maker | LilyGO |
| MCU | ESP32-S3 Xtensa LX7 dual-core @ 240 MHz, 512 KB SRAM (+ up to 8 MB PSRAM) |
| Display | Sitronix ST7789, 170 x 320 px, 8-bit parallel (i80 / 8080), 16-bit colour |
| Touch | Hynitron CST816S (capacitive, I2C) |
| Backlight | GPIO 38, dimmable (PWM) |
| PSRAM | Yes |
| Graphics library | GFX Library for Arduino |
Display pins
ST7789 on 8-bit parallel (i80 / 8080): PAR8 clock 20 MHz, RGB colour order, inversion on.
| Signal | Pin |
|---|---|
| WR | GPIO 8 |
| RD | GPIO 9 |
| DC / RS | GPIO 7 |
| CS | GPIO 6 |
| RESET | GPIO 5 |
| D0 - D7 | GPIO 39, 40, 41, 42, 45, 46, 47, 48 |
| Backlight | GPIO 38 |
Touch pins
CST816S: I2C address 0x15, 400 kHz.
| Signal | Pin |
|---|---|
| SDA | GPIO 18 |
| SCL | GPIO 17 |
| INT / IRQ | GPIO 16 |
| RESET | GPIO 21 |
Also on the board
- GPIO 15 is set high at boot - LCD power enable
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.
Designing for it in LCD Wizard
- Choose LilyGO T-Display-S3 on the Hardware tab (or use the button above) and every pin on this page is filled in. The export writes the sketch,
lcd_pins.h, the GFX Library for Arduino configuration,lv_conf.handplatformio.ini- a project that builds for this board as it comes. - The CST816S is capacitive and needs no calibration. The firmware resets it and checks it answers on every boot.
- The backlight is dimmable: give a slider or a button a Set backlight action.
- With PSRAM the LVGL memory pool can live there, leaving internal RAM for everything else.
- Screens are designed for 170 x 320 px in either orientation, with LVGL 9 or LVGL 8.
The parts
ST7789. Excellent colour and tolerates 80 MHz SPI. Many modules have no CS pin - tie it low and set CS to -1.
CST816S. Single touch plus gestures. Standard on 1.28" round GC9A01 modules. Needs RST wired.
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.
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.
Similar boards
Next
- Quick start - from an empty screen to firmware on the board
- Boards and displays - presets, controllers, pins and touch in the designer
- Flashing and configuration - PlatformIO, the Arduino IDE and first-boot checks
- Troubleshooting - a white screen, mirrored image or touch that misses