LCDWIKI 3.5" ESP32-S3 (ES3C35P)
3.5" 320x480 ST77922 over QSPI with touch in the same chip, an ES8311 codec with microphone and speaker output, a WS2812 LED, a 4-bit SD slot and battery charging.
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 |
| MicroPython | The MicroPython export drives SPI panels only. |
| ESPHome | ESPHome has no driver for this controller. |
At a glance
| Part | Detail |
|---|---|
| Maker | LCDWIKI |
| MCU | ESP32-S3 Xtensa LX7 dual-core @ 240 MHz, 512 KB SRAM (+ 2-16 MB PSRAM on most modules) |
| Display | Sitronix ST77922, 320 x 480 px, QSPI (quad SPI), 16-bit colour |
| Touch | Sitronix ST77922 (touch half) (capacitive, I2C) |
| Backlight | GPIO 41, dimmable (PWM) |
| Memory | 16 MB flash, 8 MB octal PSRAM (N16R8) |
| Graphics library | GFX Library for Arduino |
Display pins
ST77922 on QSPI (quad SPI): QSPI clock 40 MHz, host SPI2_HOST, RGB colour order, inversion on.
| Signal | Pin |
|---|---|
| SCK | GPIO 12 |
| D0 - D3 | GPIO 11, 13, 14, 9 |
| CS | GPIO 10 |
| RESET | not connected |
| Backlight | GPIO 41 |
Touch pins
ST77922 (touch half): I2C address 0x55, 400 kHz, shares the display bus.
| Signal | Pin |
|---|---|
| SDA | GPIO 38 |
| SCL | GPIO 39 |
| INT / IRQ | GPIO 47 |
| RESET | GPIO 48 |
Also on the board
- I2C (GPIO 38 / 39, P4 header) - SDA GPIO 38, SCL GPIO 39
The preset adds these to the Hardware tab with the board, so a sensor can go straight onto the connector.
Check your revision. The ST77922 has no row/column swap and wants 4-pixel-aligned windows, so the export draws whole frames from a canvas in PSRAM, which also rotates them. Its reset is the board's RESET button, not a GPIO: after flashing other firmware, unplug it once if the screen stays dark. Touch (0x55), the ES8311 (0x18) and the P4 header share I2C on GPIO 38/39. The speaker amplifier is enabled by pulling GPIO1 low, and the WS2812 on GPIO40 is a single LED. USB-C goes straight to the S3, so the serial log needs USB CDC On Boot (the export sets it). GPIO45 and 46 on the P3 header are strapping pins. The microphone is wired but not driven.
Designing for it in LCD Wizard
- Choose LCDWIKI 3.5" ESP32-S3 (ES3C35P) 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 ST77922 (touch half) 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.
- With PSRAM the LVGL memory pool can live there, leaving internal RAM for everything else.
- Screens are designed for 320 x 480 px in either orientation, with LVGL 9 or LVGL 8.
The parts
ST77922. Sitronix touch-and-display chip on QSPI. Drawn a whole frame at a time, so it needs PSRAM.
ST77922 (touch half). The touch half of the ST77922 touch-and-display chip, on the panel's own I2C lines.
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