Boards / All-in-one boards

Waveshare ESP32-S3-Touch-LCD-2.8

2.8" 240x320 IPS LCD (ST7789T3, SPI), CST328 touch, PCM5101A speaker, TF card, QMI8658C, PCF85063ATL, battery sense.

The Waveshare ESP32-S3-Touch-LCD-2.8 board
Photograph: Waveshare (product photo for the ESP32-S3-Touch-LCD-2.8) · vendor product photo, no licence stated
Design a UI for this boardTest my boardPurchase this boardRead the quick start

Affiliate link: LCD Wizard may earn a commission if you buy through it.

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
MakerWaveshare
MCUESP32-S3
Xtensa LX7 dual-core @ 240 MHz, 512 KB SRAM (+ 2-16 MB PSRAM on most modules)
DisplaySitronix ST7789, 240 x 320 px, SPI (4-wire serial), 16-bit colour
TouchHynitron CST328 (capacitive, I2C)
BacklightGPIO 5, dimmable (PWM)
Memory16 MB flash, 8 MB octal PSRAM (N16R8)
Graphics libraryGFX Library for Arduino

Display pins

ST7789 on SPI (4-wire serial): SPI clock 80 MHz, host SPI3_HOST, RGB colour order, inversion on.

SignalPin
SCK / CLKGPIO 40
MOSI / SDAGPIO 45
MISO / SDOGPIO 46
CSGPIO 42
DC / RSGPIO 41
RESETGPIO 39
BacklightGPIO 5

Touch pins

CST328: I2C address 0x1A, 400 kHz.

SignalPin
SDAGPIO 1
SCLGPIO 3
INT / IRQGPIO 4
RESETGPIO 2

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. Pins from Waveshare's demo code and schematic (https://files.waveshare.com/wiki/ESP32-S3-Touch-LCD-2.8/ESP32-S3-Touch-LCD-2.8-Demo.zip). Colour order: Arduino writes MADCTL 0x00 (RGB); ESP-IDF builds the panel with LCD_RGB_ENDIAN_BGR and mirror(true,false). The touch panel has I2C pins 1/3 to itself; the IMU and the clock are on 11/10. Its TF card (SDMMC, 1-bit, on 14/17/16 as Waveshare's demo has it), its speaker (the PCM5101A on I2S 48/38/47, arriving switched off: Hardware > Audio), and its battery input (GPIO 8, read x3) were added 2026-10-22 from the record, the preset having been made before the importer carried them; compiled, not run on a board. This is the V1 revision (CST328 touch at 0x1A), which Waveshare says was discontinued, boards shipped from 5 June 2026 being V2 (CST3530 at 0x58, same pins and panel) - check the label on the back; an Arduino export from either record reads whichever touch chip answers.

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.

From the people who made it

The board’s own documentation. Pinouts on vendor pages do sometimes disagree with the hardware in front of you - where this page and that one differ, trust your board and tell us.

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.

Waveshare ESP32-S3-Touch-LCD-22" 240x320 IPS LCD (ST7789T3, SPI), CST816D touch, TF card, QMI8658C.ESP32-S3 · ST7789 240 x 320 · CST816S touchPurchase this board
Waveshare ESP32-S3-Touch-LCD-2.8 V22.8" 240x320 IPS LCD (ST7789T3, SPI), CST3530 touch, PCM5101A speaker, TF card, QMI8658C, PCF85063ATL, battery sense.ESP32-S3 · ST7789 240 x 320 · CST3530 touchPurchase this board
Waveshare ESP32-S3-Touch-LCD-1.831.83" 240x284 IPS LCD (ST7789P, SPI), CST816D touch, ES8311 audio, TF card, QMI8658, PCF85063, AXP2101.ESP32-S3 · ST7789 240 x 284 · CST816S touchPurchase this board
Waveshare ESP32-S3-Touch-LCD-1.691.69" 240x280 IPS LCD (ST7789V2, SPI), CST816T touch, QMI8658C, PCF85063ATL.ESP32-S3 · ST7789 240 x 280 · CST816S touchPurchase this board
Waveshare ESP32-S3-LCD-22" 240x320 IPS LCD (ST7789T3, SPI), TF card, QMI8658C.ESP32-S3 · ST7789 240 x 320 · no touchPurchase this board
Waveshare ESP32-S3-LCD-1.91.9" 170x320 IPS LCD (ST7789V2, SPI), TF card, QMI8658.ESP32-S3 · ST7789 170 x 320 · no touchPurchase this board

Next