Boards / All-in-one boards

Waveshare ESP32-S3-Touch-LCD-1.28-B

1.28" 240x240 IPS LCD (GC9A01A, SPI), CST816S touch, QMI8658A.

The Waveshare ESP32-S3-Touch-LCD-1.28-B board
Photograph: Waveshare (product photo for the ESP32-S3-Touch-LCD-1.28-B) · vendor product photo, no licence stated

Building for it

A project is made for one toolchain, picked when you start it. All three can drive this board:

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

At a glance

PartDetail
MakerWaveshare
MCUESP32-S3
Xtensa LX7 dual-core @ 240 MHz, 512 KB SRAM (+ 2-16 MB PSRAM on most modules)
DisplayGalaxycore GC9A01 / GC9A01A, 240 x 240 px, SPI (4-wire serial), 16-bit colour
TouchHynitron CST816S (capacitive, I2C)
BacklightGPIO 2, dimmable (PWM)
Memory16 MB flash, 2 MB quad PSRAM (N16R2)
Graphics libraryGFX Library for Arduino

Display pins

GC9A01 / GC9A01A on SPI (4-wire serial): SPI clock 80 MHz, host SPI2_HOST, BGR colour order, inversion on.

SignalPin
SCK / CLKGPIO 10
MOSI / SDAGPIO 11
MISO / SDOGPIO 12
CSGPIO 9
DC / RSGPIO 8
RESETGPIO 14
BacklightGPIO 2

Touch pins

CST816S: I2C address 0x15, 400 kHz, shares the display bus.

SignalPin
SDAGPIO 6
SCLGPIO 7
INT / IRQGPIO 5
RESETGPIO 13

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-1.28/ESP32-S3-Touch-LCD-1.28-Demo.zip). The -B is the same PCB as ESP32-S3-Touch-LCD-1.28 (SKU 25098) in a CNC metal case (SKU 26959); both share one docs page and demo.

Designing for it in LCD Wizard

The parts

GC9A01 / GC9A01A. 1.28" round panel used for watch and gauge UIs.

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.

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

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.

Next