Boards / All-in-one boards

Waveshare ESP32-C6-LCD-1.28

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

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

Building for it

A project is made for one toolchain, picked when you start it. For this board you can use 2 of them:

Toolchain
Arduino (C++)Every board, every widget and every peripheral here. The most control, and the most to set up. Start a project
MicroPythonlvgl_micropython has no build for this chip.
ESPHomeNo compiler to install, and the panel can join Home Assistant as real entities. 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
TouchNone
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

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-LCD-1.28). The repo's BSP and 07_LVGL_Demo are copied from the ESP32-C6-Touch-LCD-1.28 and declare a CST816S touch (RST GPIO23, INT GPIO4); this board has no touch panel - the schematic has no touch connector, HARDWARE_REFERENCE.md says GPIO23 is BC_State (charge status) and GPIO4 is QMI8658 INT2.

Designing for it in LCD Wizard

The parts

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

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

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