ESP32-S3 + ST7701S 480x480 round
480x480 RGB panel that needs a 3-wire SPI init sequence alongside the RGB bus.
At a glance
| Maker | Generic |
| MCU | ESP32-S3 Xtensa LX7 dual-core @ 240 MHz, 512 KB SRAM (+ up to 8 MB PSRAM) |
| Display | Sitronix ST7701 / ST7701S, 480 x 480 px, RGB565 parallel (DPI), 16-bit colour |
| Touch | Hynitron CST328 (capacitive, I2C) |
| Backlight | GPIO 38, dimmable (PWM) |
| PSRAM | Yes |
| Graphics library | GFX Library for Arduino |
Display pins
ST7701 / ST7701S on RGB565 parallel (DPI): RGB colour order, inversion off.
| Signal | Pin |
|---|---|
| DE | GPIO 18 |
| VSYNC | GPIO 17 |
| HSYNC | GPIO 16 |
| PCLK | GPIO 21 |
| R0 - R4 | GPIO 4, 3, 2, 1, 0 |
| G0 - G5 | GPIO 10, 9, 8, 7, 6, 5 |
| B0 - B4 | GPIO 15, 14, 13, 12, 11 |
| CS (init only) | GPIO 39 |
| SCK (init only) | GPIO 48 |
| MOSI (init only) | GPIO 47 |
| RESET | not connected |
| Backlight | GPIO 38 |
Touch pins
CST328: I2C address 0x1A, 400 kHz.
| Signal | Pin |
|---|---|
| SDA | GPIO 19 |
| SCL | GPIO 45 |
| INT / IRQ | GPIO 40 |
| RESET | GPIO 41 |
Check your revision. CS/SCK/MOSI carry the ST7701 init commands only; pixels go over the RGB bus.
Designing for it in LCD Wizard
- Choose ESP32-S3 + ST7701S 480x480 round 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 GFX Library for Arduino configuration,lv_conf.handplatformio.ini- a project that builds for this board as it comes. - The CST328 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.
- An RGB panel keeps its frame buffer in PSRAM, which this board has.
- Screens are designed for 480 x 480 px in either orientation, with LVGL 9 or LVGL 8.
The parts
ST7701 / ST7701S. RGB data plus a 3-wire SPI init sequence. You must wire CS/SCK/MOSI as well.
CST328. Waveshare ESP32-S3 Touch LCD 2.8"/4" boards.
ESP32-S3. The only common Arduino target with a hardware RGB565 LCD peripheral. PSRAM is effectively required for RGB panels.
GFX Library for Arduino. Moshi Liu's library. Best QSPI/AMOLED and RGB coverage. Configured in code.
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