Boards / All-in-one boards

Waveshare ESP32-C6-Touch-LCD-1.28

1.28" 240x240 IPS LCD (GC9A01A, SPI), CST816S touch, TF card, QMI8658, PCF85063ATL.

The Waveshare ESP32-C6-Touch-LCD-1.28 board
Photograph: Waveshare (product photo for the ESP32-C6-Touch-LCD-1.28) · 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. All four 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
ESP-IDF (C)Espressif's own framework: esp_lcd, the component registry and idf.py, with nothing of Arduino in it. Start a project

At a glance

PartDetail
MakerWaveshare
MCUESP32-C6
RISC-V @ 160 MHz, 512 KB SRAM (no PSRAM)
DisplayGalaxycore GC9A01 / GC9A01A, 240 x 240 px, SPI (4-wire serial), 16-bit colour
TouchHynitron CST816S (capacitive, I2C)
BacklightGPIO 7, dimmable (PWM)
Memory16 MB flash, no PSRAM (N16)
Graphics libraryGFX Library for Arduino

Display pins

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

SignalPin
SCK / CLKGPIO 11
MOSI / SDAGPIO 21
MISO / SDOGPIO 22
CSGPIO 10
DC / RSGPIO 19
RESETGPIO 20
BacklightGPIO 7

Touch pins

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

SignalPin
SDAGPIO 18
SCLGPIO 8
INT / IRQGPIO 4
RESETGPIO 23

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://github.com/waveshareteam/ESP32-C6-Touch-LCD-1.28/tree/main/examples). LCD MISO: BSP names GPIO22 (shared with SD MISO); Arduino_GFX demo passes -1.

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-C6. No PSRAM. SPI displays only in practice.

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-C6-LCD-1.281.28" 240x240 IPS LCD (GC9A01A, SPI), TF card, QMI8658, PCF85063ATL.ESP32-C6 · GC9A01 / GC9A01A 240 x 240 · no touchPurchase this board
Waveshare ESP32-C6-Touch-LCD-1.471.47" 172x320 IPS LCD (JD9853, SPI), AXS5106L touch, TF card, QMI8658A, battery sense.ESP32-C6 · JD9853 172 x 320 · AXS5106L touchPurchase this board
Waveshare ESP32-C6-Touch-LCD-1.691.69" 240x280 IPS LCD (ST7789V2, SPI), CST816T touch, ES8311 audio, QMI8658, PCF85063ATL.ESP32-C6 · ST7789 240 x 280 · CST816S touchPurchase this board
Waveshare ESP32-C6-Touch-LCD-1.831.83" 240x284 IPS LCD (ST7789P, SPI), CST816D touch, ES8311 audio, TF card, QMI8658, PCF85063, AXP2101.ESP32-C6 · ST7789 240 x 284 · CST816S touchPurchase this board
Waveshare ESP32-C6-Touch-LCD-2.82.8" 240x320 IPS LCD (ST7789, SPI), CST3530 touch, ES8311 speaker and microphone, TF card, QMI8658, PCF85063A.ESP32-C6 · ST7789 240 x 320 · CST3530 touchPurchase this board
Waveshare ESP32-C6-LCD-2.732.73" 320x320 IPS LCD (ILI9488, SPI), TF card, QMI8658, PCF85063.ESP32-C6 · ILI9488 320 x 320 · no touchPurchase this board

Next