Skip to content

Board support 4.0" ESP32-32E Display, ST7796S 320x480 #175

Description

@j6j7d8zvn9-ops

Board support request: LCDwiki E32R40T (4.0" ESP32-32E Display, ST7796S 320x480)

Board: "4.0inch ESP32-32E Display", SKU E32R40T (resistive touch version). Sold by diymore/Hosyond on AliExpress and Amazon.
Wiki with schematic and full pinout: https://www.lcdwiki.com/4.0inch_ESP32-32E_Display

MCU: ESP32-WROOM-32E, 4 MB flash, no PSRAM (classic ESP32, not S3) → 1 printer, like CYD
Panel: ST7796S, 320x480, 4-wire SPI
Touch: XPT2046 resistive, shares the LCD SPI bus
LCD: CS=IO15, DC=IO2, SCK=IO14, MOSI=IO13, MISO=IO12, BL=IO27 (active high)
LCD reset is tied to the ESP32 EN pin, no dedicated GPIO
Touch: CS=IO33, IRQ=IO36, same SCK/MOSI/MISO as the LCD
Extras: RGB LED on IO22/16/17, speaker via DAC on IO26 (enable IO4), SD card on IO5/18/19/23

Since ws_lcd_350 already implements the 320x480 layout with ST7796, this might mostly come down to an esp32dev target with these pins and XPT2046 touch instead of FT6336. Happy to test builds.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions