ESP32-S3 track guide · 2 hands-on labs
ESP32-S3 ST7789 IPS Display & Push-Button Input Labs
Build the shared screen and button harness used across every advanced track: map high-speed SPI pins to a 1.9-inch ST7789 170x320 IPS panel, tune backlight PWM and DMA transfers, and read reliable button presses without bounce.
Hardware needed for this track
Browse full parts libraryBase requirement: ESP32-S3-DevKitC-1 board and a USB-C data cable.
- 1.9″ ST7789 screen
- Push button
All labs in this track
Drive the ST7789 display over SPI. Draw each frame in PSRAM, then send it in one go so nothing flickers.
Same wiring as lesson 03. Four scenes show what the S3 can draw: real-time 3D, per-pixel effects, particles and a live dashboard of your chip. The on-board BOOT button switches scenes.
ESP32-S3 peripherals covered
Check all 17 ESP32-S3 hardware gotchas- SPI
Fast four-wire bus for screens, card readers and flash
- GPIO and IO MUX
45 pins, and a matrix that routes almost any signal to almost any pin
- LED PWM
Eight PWM channels that dim and fade LEDs on their own
Frequently asked questions
- Can I wire the ST7789 display to any ESP32-S3 GPIO pins?
- Yes, the ESP32-S3 GPIO matrix routes SPI2 (FSPI) signals to almost any safe GPIO, as long as you avoid flash/PSRAM pins (GPIO26-32 and GPIO35-37 on octal-PSRAM boards) and strapping conflicts.
- Why does a mechanical push button trigger multiple counts per press?
- Metal contacts bounce for several milliseconds when closing or opening. Lab 03b demonstrates software debouncing and edge detection so each press registers cleanly once.
- What resolution does the 1.9-inch ST7789 screen in these labs use?
- It is a 170x320 IPS RGB565 panel driven over 4-wire SPI with separate DC, RST, CS, and PWM backlight pins.