Boards / All-in-one boards

Waveshare ESP32-Touch-LCD-3.5

3.5" 320x480 IPS LCD (ST7796S, SPI), FT6336U touch, ES8311 audio, TF card, AXP2101, PCF85063.

The Waveshare ESP32-Touch-LCD-3.5 board
Photograph: Waveshare (product photo for the ESP32-Touch-LCD-3.5) · vendor product photo, no licence stated

Building for it

A project is made for one toolchain, picked when you start it. All three can drive this board:

Toolchain
Arduino (C++)Every board, every widget and every peripheral here. The most control, and the most to set up. Start a project
MicroPythonChange a screen by editing a file on the board. No compiler once it is flashed. Start a project
ESPHomeNo compiler to install, and the panel can join Home Assistant as real entities. Start a project

At a glance

PartDetail
MakerWaveshare
MCUESP32 (WROOM / WROVER)
Xtensa LX6 dual-core @ 240 MHz, 520 KB SRAM (+ up to 8 MB PSRAM on WROVER)
DisplaySitronix ST7796 / ST7796S, 320 x 480 px, SPI (4-wire serial), 16-bit colour
TouchFocalTech FT6236 / FT6336U (capacitive, I2C)
BacklightGPIO 25, dimmable (PWM)
Memory16 MB flash, 4 MB quad PSRAM (N16R4)
Graphics libraryGFX Library for Arduino

Display pins

ST7796 / ST7796S on SPI (4-wire serial): SPI clock 40 MHz, host SPI3_HOST, BGR colour order, inversion on.

SignalPin
SCK / CLKGPIO 18
MOSI / SDAGPIO 23
MISO / SDOGPIO 19
CSGPIO 5
DC / RSGPIO 27
RESETTCA9554PWR pin 0
BacklightGPIO 25

Touch pins

FT6236 / FT6336U: I2C address 0x38, 400 kHz, shares the display bus.

SignalPin
SDAGPIO 21
SCLGPIO 22
INT / IRQGPIO 37
RESETTCA9554PWR pin 1

Also on the board

The preset adds these to the Hardware tab with the board, so a sensor can go straight onto the connector.

Check your revision. Pins from Waveshare's demo code and schematic (https://github.com/waveshareteam/ESP32-Touch-LCD-3.5). SPI clock: 40 MHz in the ESP-IDF lvgl example (and the Arduino_ESP32SPI default), 80 MHz in the factory firmware; chose 40.

Designing for it in LCD Wizard

The parts

ST7796 / ST7796S. The usual 4.0" 320x480 controller. Faster than ILI9488 over SPI (true RGB565).

FT6236 / FT6336U. Register-compatible with the FT6206. Very common on 2.8"-3.5" capacitive TFTs.

ESP32 (WROOM / WROVER). No native RGB parallel peripheral - use SPI or an 8/16-bit i80 bus.

GFX Library for Arduino. Moshi Liu's library. Best QSPI/AMOLED and RGB coverage. Configured in code.

The pinout on one page

Every pin above, laid out to print and keep beside the bench. Generated from this preset, so it says exactly what the designer writes into lcd_pins.h.

Download the pinout (PNG)Open it as SVG

From the people who made it

The board’s own documentation. Pinouts on vendor pages do sometimes disagree with the hardware in front of you - where this page and that one differ, trust your board and tell us.

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.

Next