The ESP32-C5-Touch-LCD-2.8 is a microcontroller development board designed by Waveshare. It features an onboard 2.8inch LCD, a six‑axis sensor, a temperature and humidity sensor, a TF card slot, and more, providing a hardware foundation for display, sensing, voice, and multimedia storage applications. Leveraging these hardware capabilities, the board supports interactive mini‑games and voice wake‑up, and can connect to online large‑model AI platforms for intelligent voice interaction and function expansion. It comes pre‑loaded with AI chat, a music player, a gravity ball app, a 2048 game, a weather app, and more, allowing users to experience the onboard applications directly or use them for secondary development.
Quick Links:
- AI‑Assisted Development: Share this page link with an AI tool to help it understand the board hardware, example structure, and secondary development considerations, enabling generation of code that matches the hardware configuration.
- Developing with ESP-IDF: See Working with ESP-IDF.
- Download Schematics, Mechanical Drawings, Datasheets, and Example Code: See Resources and Documents.
- Factory Firmware Usage: See Factory Firmware Usage Guide.
- Troubleshooting: See FAQ or contact Technical Support.
| SKU | Product |
|---|
| 34957 | ESP32-C5-Touch-LCD-2.8 |
| 34958 | ESP32-C5-Touch-LCD-2.8-EN |
Features
- Utilizes the ESP32-C5-WROOM-1 series module, equipped with a RISC-V 32-bit processor running at up to 240MHz.
- Integrated 384KB SRAM, 320KB ROM, 8MB PSRAM, and 32MB Flash, balancing program execution, GUI rendering, and data storage requirements.
- Integrated 2.4 GHz and 5 GHz dual‑band Wi‑Fi, Bluetooth 5 (LE), and IEEE 802.15.4 (supporting Zigbee 3.0 and Thread) wireless connectivity.
- Onboard battery charging management module, with a reserved 3.7V MX1.25 lithium battery interface for external battery power supply.
- Type‑C interface for power, programming, and debugging, supporting reversible insertion.
- Onboard 2.8inch LCD with 240 × 320 resolution, 262K colors.
- Supports I2C capacitive touch control with interrupt support.
- Exposes UART, I2C, and some I/O interfaces; integrated full‑speed USB serial port.
- Onboard QMI8658 six‑axis sensor, RTC clock sensor, SHTC3 temperature and humidity sensor, and TF card slot.
- Supports flexible clock, multiple power modes, and other precise controls to enable low‑power operation in various scenarios.
- Onboard ES8311 audio codec chip, NS4150B power amplifier chip, microphone, and speaker for voice interaction and audio playback.
- Supports ESP‑IDF / Arduino development environments for quick prototyping and secondary development.
Onboard Resources
Interface Introduction
LCD Interface: Connects to the 2.8inch LCD (click to expand)
| ESP32-C5 / CH32 | LCD | Description |
|---|
| GPIO6 | LCD_SCK | SPI clock signal |
| GPIO7 | LCD_MOSI | SPI data output signal |
| GPIO9 | LCD_DC | Data/command select signal |
| GPIO10 | LCD_CS | Chip select, active low |
| CH32 EXIO1 | LCD_RST | LCD reset signal |
| CH32 PWM | LCD_BL | LCD backlight PWM control |
Touch Interface: Connects to the capacitive touchscreen (click to expand)
| ESP32-C5 / CH32 | Touch | Description |
|---|
| GPIO0 | TP_SDA | Touch I2C data signal |
| GPIO1 | TP_SCL | Touch I2C clock signal |
| GPIO5 | TP_INT | Touch interrupt signal |
| CH32 EXIO0 | TP_RST | Touch reset signal |
TF Card Interface: Connects to a TF card (click to expand)
| ESP32-C5 | TF Card | Description |
|---|
| GPIO7 | MOSI | SPI data input to TF card |
| GPIO6 | CLK | SPI clock to TF card |
| GPIO8 | MISO | SPI data output from TF card |
| GPIO23 | CS | TF card chip select, active low |
I2C Bus: Connects to onboard I2C peripherals (click to expand)
| ESP32-C5 | I2C | Description |
|---|
| GPIO0 | SDA | I2C data signal |
| GPIO1 | SCL | I2C clock signal |
QMI8658 Six‑axis Sensor Interface (click to expand)
| ESP32-C5 | QMI8658 | Description |
|---|
| GPIO0 | SDA | I2C data signal |
| GPIO1 | SCL | I2C clock signal |
| GPIO4 | INT1 | Sensor interrupt signal |
RTC Interface: Onboard PCF85063A real‑time clock (click to expand)
| ESP32-C5 / CH32 | RTC | Description |
|---|
| GPIO0 | SDA | I2C data signal |
| GPIO1 | SCL | I2C clock signal |
| CH32 EXIO2 | RTC_INT | RTC interrupt signal |
SHTC3 Temperature and Humidity Sensor Interface (click to expand)
| ESP32-C5 | SHTC3 | Description |
|---|
| GPIO0 | SDA | I2C data signal |
| GPIO1 | SCL | I2C clock signal |
Audio Interface: Onboard ES8311 audio codec, amplifier, and microphone (click to expand)
| ESP32-C5 / CH32 | Audio | Description |
|---|
| GPIO0 | ES8311 SDA | I2C data signal for audio codec |
| GPIO1 | ES8311 SCL | I2C clock signal for audio codec |
| GPIO24 | I2S_SCLK | I2S bit clock |
| GPIO25 | I2S_LRCK | I2S left/right channel clock |
| GPIO26 | I2S_ASDOUT | I2S audio data output |
| GPIO27 | I2S_DSDIN | I2S audio data input |
| CH32 EXIO3 | PA_CTRL | Amplifier control signal |
UART0 Interface: Serial communication (click to expand)
| ESP32-C5 | UART0 | Description |
|---|
| GPIO11 | TX | Serial transmit |
| GPIO12 | RX | Serial receive |
USB Interface: Power, programming, and serial debug (click to expand)
| ESP32-C5 | USB | Description |
|---|
| GPIO14 | D+ | USB differential data D+ |
| GPIO13 | D- | USB differential data D- |
BOOT Button Interface (click to expand)
| ESP32-C5 | Button | Description |
|---|
| GPIO28 | BOOT | Download mode / user button |
CH32 I/O Expansion Interface: Controls reset, backlight, amplifier, battery detection, etc. (click to expand)
| CH32 | Controlled Object | Description |
|---|
| EXIO0 | TP_RST | Touch reset control |
| EXIO1 | LCD_RST | LCD reset control |
| EXIO2 | RTC_INT | RTC interrupt signal |
| EXIO3 | PA_CTRL | Amplifier control |
| EXIO_ADC | BAT_ADC | Battery voltage detection |
| EXIO_PWM | LCD_BL | LCD backlight PWM control |
Dimensions
Development Methods
The ESP32-C5-Touch-LCD-2.8 supports both the Arduino IDE and ESP‑IDF development frameworks, giving developers flexible options. You can choose the development tool that best suits your project needs and personal preferences.
Both development methods have their own advantages. Developers can choose based on their needs and skill levels. Arduino is suitable for rapid prototyping and basic functionality verification, while ESP‑IDF provides more comprehensive project configuration, debugging, and low‑level control capabilities, making it better suited for complex project development.
-
Arduino IDE is an open‑source electronics prototyping platform, ideal for quickly validating examples and basic functions. Refer to the official Arduino documentation for environment setup.
-
ESP-IDF, short for Espressif IoT Development Framework, is the development framework launched by Espressif for the ESP series of chips, including a compiler, debugger, flashing tools, and supporting command‑line or VS Code plugin‑based development.