LilyGO · ESP32-C5 · 1.9" · 170×320
LilyGO T-Display-C5 specifications
This page collects the pinout, free GPIOs and hardware details of the LilyGO T-Display-C5. The board isn't in the LCD Ultra Pro™ editor yet, so there's no driver for it there.
5 GHz Wi-Fi on an ESP32 with a screen. The T-Display-C5 is built around the ESP32-C5, Espressif's first chip with dual-band Wi-Fi 6, and it keeps the familiar T-Display shape: a 1.9-inch 170×320 ST7789 on SPI.
LilyGO's pin table is complete and short. The LCD uses SCK 7, MOSI 9, DC 8, CS 26, reset 23 and a PWM backlight on GPIO 25. I2C sits on GPIO 2 (SDA) and 3 (SCL), shared by the optional CST816S touch (interrupt 27, reset 24) and an AXP2602 battery gauge with its interrupt on GPIO 10. GPIO 0 is a user button and GPIO 28 the BOOT button.
Memory is 16 MB of flash and 8 MB of quad PSRAM. You'll need ESP-IDF 5.3 or later, or an Arduino core built on it, since older versions don't know the C5. For deep sleep, only GPIO 0 to 6 can wake the chip.

- Screen
- 1.9" · 170×320
- Chip
- ESP32-C5
- Memory
- 16 MB flash, 8 MB PSRAM (QSPI)
- Input
- capacitive touch
Key features
- 1.9-inch, 170×320, ST7789 (SPI)
- ESP32-C5: dual-band (2.4 / 5 GHz) Wi-Fi 6
- 16 MB flash, 8 MB PSRAM
- Optional CST816S touch
- AXP2602 battery gauge
- USB-C (USB-Serial-JTAG)
Specifications
| Manufacturer | LilyGO |
|---|---|
| Screen size | 1.9" |
| Resolution | 170×320 px |
| Colour depth | 16-bit |
| Display controller | ST7789 (SPI) |
| Display interface | SPI |
| Touch | CST816S (capacitive, I2C, optional) |
| Microcontroller | ESP32-C5 |
| Module | ESP32-C5-WROOM-1 |
| CPU clock | 240 MHz |
| Internal SRAM | 384 KB |
| PSRAM | 8 MB (QSPI) |
| Flash | 16 MB |
| Wi-Fi | Yes |
| Bluetooth | Yes |
| Hardware variant | ESP32-C5 with dual-band (2.4 / 5 GHz) Wi-Fi 6. AXP2602 battery gauge, optional CST816S touch, USB-C (USB-Serial-JTAG). Needs ESP-IDF 5.3 or later. |
| Display | 170×320, ST7789: SCK 7, MOSI 9, DC 8, CS 26, RST 23, backlight 25 |
| Touch | CST816S (optional), INT 27, RST 24 |
| I2C | SDA 2, SCL 3 |
| Buttons | User GPIO 0, BOOT GPIO 28 |
| Software | ESP-IDF 5.3 or later |
GPIO pinout
The GPIOs the board itself uses for the display, touch and on-board peripherals, as published in the manufacturer’s documentation.
| GPIO | Function |
|---|---|
| GPIO 0 | User button |
| GPIO 2 | I2C SDA (touch, AXP2602) |
| GPIO 3 | I2C SCL (touch, AXP2602) |
| GPIO 4 | Header GPIO |
| GPIO 5 | Header GPIO |
| GPIO 6 | Header GPIO |
| GPIO 7 | LCD SCK |
| GPIO 8 | LCD DC |
| GPIO 9 | LCD MOSI |
| GPIO 10 | AXP2602 interrupt |
| GPIO 23 | LCD reset |
| GPIO 24 | Touch reset |
| GPIO 25 | Backlight (PWM) |
| GPIO 26 | LCD CS |
| GPIO 27 | Touch interrupt |
| GPIO 28 | BOOT button |
Source: github.com, github.com, github.com. Always check against your board revision before wiring.
Free GPIOs and connectors
These GPIOs are not used by the display, touch or on-board peripherals, so you can wire your own sensors, buttons or relays to them.
| Pin | Capabilities | Note |
|---|---|---|
| GPIO 4 | GPIO, PWM, ADC | On the expansion header |
| GPIO 5 | GPIO, PWM, ADC | On the expansion header |
| GPIO 6 | GPIO, PWM, ADC | On the expansion header |
- Expansion header — GPIO 4, 5, 6, 10, 23 · pin header
Also UART TX0 / RX0 and 3.3 V; GPIO 10 (AXP2602 interrupt) and 23 (LCD reset) are in use
- I2C / UART connector — GPIO 2, 3 (SDA, SCL) · 4-pin connector
Also TX0 / RX0; I2C is the bus shared with touch and the AXP2602
Good to know before you start
- Not in the LCD Ultra Pro editor yet.
- Needs ESP-IDF 5.3+ for ESP32-C5 support.
- Touch is optional; check which version you ordered.
What it is good for
- •5 GHz Wi-Fi tools and monitors
- •Battery-powered status displays
- •Trying out the ESP32-C5
LVGL support in LCD Ultra Pro™
This board is documented in the wiki, but it is not in the LCD Ultra Pro™ editor yet, so you can’t pick it there or export a project for it. The specs, pins and connectors on this page come from the manufacturer’s own material and are there to help you wire and configure it. See the board list for boards the editor supports today.
Arduino IDE settings
From the manufacturer's documentation (not tested by us yet)
| Board | ESP32C5 (the manufacturer writes “ESP32C5 (or Generic ESP32C5)”) |
|---|---|
| Flash Size | 16MB |
| PSRAM | Enabled (Quad QIO) |
Board package: esp32 by Espressif Systems 3.x
Menu items the manufacturer doesn't mention are left at their defaults. We haven't compiled a driver for this board ourselves yet. Manufacturer's source
Frequently asked questions
What is special about the ESP32-C5?
It supports dual-band Wi-Fi 6 on 2.4 and 5 GHz, which earlier ESP32 chips do not.
Does the T-Display-C5 have touch?
Optionally: a CST816S capacitive touch version is available.
Which pin controls the backlight?
GPIO 25, with PWM.
Sources
Specifications cross-checked against the manufacturer’s documentation (last checked 2026-11-04):
More in the LilyGO T-Display family
Tools for this board
Connect sensors and parts
- 28BYJ-48 stepper
- A4988 stepper driver
- ACS712 current sensor
- ADS1115 ADC
- ADXL345 accelerometer
- AHT20
- AS5600 magnetic encoder
- BH1750
- BME280
- BME680
- BMP280
- BTS7960 motor driver
- CAN bus (SN65HVD230)
- Capacitive soil moisture
- DFPlayer Mini
- DHT22 / AM2302
- DS18B20
- DS3231 RTC
- EC11 rotary encoder
- ENS160
- HC-SR04
- HC-SR501 PIR
- HX711 load cell
- INA219
- INA226
- INMP441 microphone
- IRLZ44N MOSFET
- KY-023 joystick
- 4x4 matrix keypad
- LD2410 radar
- LDR photoresistor
- MAX31855 thermocouple
- MAX7219 LED matrix
- MAX98357A I2S amp
- MCP23017 GPIO expander
- microSD card
- MLX90614 IR thermometer
- MPU6050
- MQ-2 gas sensor
- NEO-6M GPS
- NTC thermistor 10k
- PCA9685 PWM driver
- Piezo buzzer
- Push button
- PZEM-004T
- RC522 RFID
- 5 V relay module
- RS-485 (MAX3485)
- SCD40
- SG90 servo
- SHT31 / SHT3x
- SIM800L GSM
- SSD1306 OLED
- SSR-40DA relay
- LoRa SX1276
- TB6612FNG motor driver
- TCS34725 colour sensor
- TP4056 battery charger
- TTP223 touch button
- VL53L0X
- WS2812B LED strip
- YF-S201 flow sensor
Last updated:
Adding I2C sensors to this board?See which addresses its own chips already use, and what would clash.Open the checkerSomething wrong on this page?
Tell me what you found. I check every report and fix the page.