Skip to content
esp-labsESP32-S3 bench guide

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 library

Base requirement: ESP32-S3-DevKitC-1 board and a USB-C data cable.

  • 1.9″ ST7789 screen
  • Push button

All labs in this track

  1. Drive the ST7789 display over SPI. Draw each frame in PSRAM, then send it in one go so nothing flickers.

    • SPI bus
    • RGB565 colour
    • frame buffer
    • PSRAM
  2. 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.

    • 3D projection
    • lookup tables
    • particle systems
    • internal RAM vs PSRAM
    • measuring

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.