Boards / All-in-one boards

Waveshare ESP32-C6-Touch-LCD-2.8

2.8" 240x320 IPS LCD (ST7789 (per the BSP's esp_lcd_new_panel_st7789; docs do not name the controller), SPI), CST3530 (Hynitron; waveshare__esp_lcd_touch_cst3530 component) touch, ES8311 audio, TF card, QMI8658, PCF85063A.

The Waveshare ESP32-C6-Touch-LCD-2.8 board
Photograph: Waveshare (product photo for the ESP32-C6-Touch-LCD-2.8) · 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 one 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.
ESPHomeESPHome has no driver for this touch controller.

At a glance

PartDetail
MakerWaveshare
MCUESP32-C6
RISC-V @ 160 MHz, 512 KB SRAM (no PSRAM)
DisplaySitronix ST7789, 240 x 320 px, SPI (4-wire serial), 16-bit colour
TouchHynitron CST3530 (capacitive, I2C)
BacklightIOExtension pin 8, dimmable (PWM)
Memory16 MB flash, no PSRAM (N16)
Graphics libraryGFX Library for Arduino

Display pins

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

SignalPin
SCK / CLKGPIO 0
MOSI / SDAGPIO 1
CSGPIO 11
DC / RSGPIO 10
RESETIOExtension pin 1
BacklightIOExtension pin 8

Touch pins

CST3530: I2C address 0x58, 400 kHz, shares the display bus.

SignalPin
SDAGPIO 6
SCLGPIO 7
INT / IRQGPIO 18
RESETIOExtension pin 0

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-2.8 (commit c2a1cf84d6213597d47720a51b3e60cc7f1d5257)). Flash: docs say 16 MB and the 02_2048/04_sd_music sdkconfigs use 16 MB, but the schematic's module symbol reads ESP32-C6-WROOM-1-N8 (8 MB).

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.

CST3530. Waveshare's 2.8" ESP32-C5 and C6 touch boards.

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