ESP32-2432S028C (capacitive CYD)
Capacitive variant of the Cheap Yellow Display: same ILI9341, CST820 touch over I2C.
At a glance
| Maker | Sunton |
| MCU | ESP32 (WROOM / WROVER) Xtensa LX6 dual-core @ 240 MHz, 520 KB SRAM (+ up to 8 MB PSRAM on WROVER) |
| Display | Ilitek ILI9341, 320 x 240 px, SPI (4-wire serial), 16-bit colour |
| Touch | Hynitron CST820 (capacitive, I2C) |
| Backlight | GPIO 21, dimmable (PWM) |
| PSRAM | No |
| Graphics library | TFT_eSPI |
Display pins
ILI9341 on SPI (4-wire serial): SPI clock 40 MHz, host HSPI, RGB colour order, inversion off.
| Signal | Pin |
|---|---|
| SCK / CLK | GPIO 14 |
| MOSI / SDA | GPIO 13 |
| MISO / SDO | GPIO 12 |
| CS | GPIO 15 |
| DC / RS | GPIO 2 |
| RESET | not connected |
| Backlight | GPIO 21 |
Touch pins
CST820: I2C address 0x15, 400 kHz.
| Signal | Pin |
|---|---|
| SDA | GPIO 33 |
| SCL | GPIO 32 |
| RESET | GPIO 25 |
Also on the board
- CN1 I2C (GPIO 27 / 22) - SDA GPIO 27, SCL GPIO 22
The preset adds these to the Hardware tab with the board, so a sensor can go straight onto the connector.
Check your revision. GPIO21 drives the backlight here, which is the pin the CST820 interrupt would otherwise use, so touch is polled instead - no behaviour is lost. Colour order is RGB with inversion off, confirmed on hardware.
Designing for it in LCD Wizard
- Choose ESP32-2432S028C (capacitive CYD) on the Hardware tab (or use the button above) and every pin on this page is filled in. The export writes the sketch,
lcd_pins.h, the TFT_eSPI configuration,lv_conf.handplatformio.ini- a project that builds for this board as it comes. - The CST820 is capacitive and needs no calibration. The firmware resets it and checks it answers on every boot.
- The backlight is dimmable: give a slider or a button a Set backlight action.
- Screens are designed for 320 x 240 px in either orientation, with LVGL 9 or LVGL 8.
The parts
ILI9341. The most common hobby TFT. 2.2"-2.8" modules, usually with an XPT2046 resistive panel.
CST820. Found on capacitive versions of the ESP32-2432S028 "Cheap Yellow Display".
ESP32 (WROOM / WROVER). No native RGB parallel peripheral - use SPI or an 8/16-bit i80 bus.
TFT_eSPI. Fastest for SPI panels on ESP32. Configured via User_Setup.h build defines.
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.
Similar boards
Next
- Quick start - from an empty screen to firmware on the board
- Boards and displays - presets, controllers, pins and touch in the designer
- Flashing and configuration - PlatformIO, the Arduino IDE and first-boot checks
- Troubleshooting - a white screen, mirrored image or touch that misses