CYD WEB SERVER PINOUT

Cheap Yellow Display // 3.5" ST7796 // ESP32-WROOM-32E

ESP32 3.5 inch TFT Display

ESP32 CYD 3.5" TFT

320x480 ST7796 + Touch + SD Card

VIEW ON AMAZON

GPIO PINOUT

LCD DISPLAY (ST7796)

Chip SelectIO15
Data/CommandIO2
SPI ClockIO14
SPI MOSIIO13
SPI MISOIO12
ResetEN
BacklightIO27

RESISTIVE TOUCH (XPT2046)

Chip SelectIO33
InterruptIO36

SD CARD

Chip SelectIO5
SPI ClockIO18
SPI MOSIIO23
SPI MISOIO19

RGB LED

RedIO22
GreenIO16
BlueIO17

AUDIO

EnableIO4
DAC OutputIO26

I2C INTERFACE

SCLIO25
SDAIO32

SERIAL UART

RXD0IO3
TXD0IO1

OTHER

Battery ADCIO34
Peripheral CSIO21
Boot ButtonIO0

SCREEN SPECIFICATIONS

Resolution 320 x 480
Driver ST7796
Interface SPI (4-line)
Colors 262K (RGB666)
Touch Resistive (XPT2046)
MCU ESP32-WROOM-32E
Power Input 5V (USB Type-C)
Battery 3.7V LiPo Supported

IMPORTANT NOTES

  • All-in-One Board: The CYD includes display, touch, SD card slot, RGB LED, and audio all integrated on one PCB.
  • Shared SPI: Display and SD card share the HSPI bus. Use proper chip select management.
  • Backlight Control: GPIO 27 controls backlight brightness via PWM.
  • Input-Only GPIOs: IO34, IO35, IO36, IO39 are input-only pins.
  • No External Wiring: Unlike the Super Mini builds, the CYD requires no wiring - just plug and program.
  • USB-C Power: Powers via USB Type-C connector. Battery charging circuit included.