Boards / All-in-one boards

Waveshare ESP32-P4-WIFI6-Touch-LCD-5

5" 720x1280 MIPI-DSI panel (HX8394) with GT911 touch on an ESP32-P4, an ES8311 speaker codec, a TF card and Wi-Fi through its ESP32-C6. Compiled, not yet seen on a board.

Waveshare ESP32-P4-WIFI6-Touch-LCD-5: a 720 by 1280 panel, drawn from the preset
Drawn from the preset - no vendor photograph of this board was published.
Design a UI for this boardTest my boardPurchase this boardRead the quick start

Affiliate link: LCD Wizard may earn a commission if you buy through it.

Building for it

A project is made for one toolchain, picked when you start it. For this board you can use two of the four:

Toolchain
Arduino (C++)Every board, every widget and every peripheral here. The most control, and the most to set up. Start a project
MicroPythonThe MicroPython export has not been built for this chip yet. It is written for the ESP32, S2, S3, C3 and C6.
ESPHomeThe ESP32-P4 is only useful here with a MIPI-DSI panel, which this export does not write yet.
ESP-IDF (C)Espressif's own framework: esp_lcd, the component registry and idf.py, with nothing of Arduino in it. Start a project

At a glance

PartDetail
MakerWaveshare
MCUESP32-P4
RISC-V dual-core @ 400 MHz, 768 KB SRAM (+ PSRAM)
DisplayHimax HX8394, 720 x 1280 px, MIPI-DSI, 16-bit colour
TouchGoodix GT911 (capacitive, I2C)
BacklightGPIO 26, dimmable (PWM)
Memory32 MB flash, 32 MB PSRAM (N32R32)
Graphics libraryGFX Library for Arduino

Display pins

HX8394 on MIPI-DSI: RGB colour order, inversion off.

SignalPin
RESETGPIO 27
BacklightGPIO 26

Touch pins

GT911: I2C address 0x5D, 400 kHz, shares the display bus.

SignalPin
SDAGPIO 7
SCLGPIO 8
RESETnot connected

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. Nobody at LCD Wizard has had this board: the export for it compiles and has not been seen on the panel. A user had one running from an LCD Wizard export he changed by hand to Waveshare's own settings and Waveshare's copy of GFX Library for Arduino; this preset carries those settings, read again from Waveshare's Arduino examples for the board, on the library as it is published: the HX8394 under Waveshare's register table, two lanes at 700 Mbps, 58 MHz, hsync 20/20/40, vsync 4/10/24, the panel's reset on GPIO 27 - active high, so the generated code pulses it itself, where the library's own pulse would leave this panel in reset - and the backlight on GPIO 26, lit when high and dimmed by PWM (Waveshare say a steady level does not light it, and the export's PWM never holds it steady). A design on this preset starts on revision 3 of the ESP32-P4, which Waveshare's own Arduino examples for the board build for; for a chip before revision 3 (the upload says "revision v1.x"), choose that under Hardware > Board > Chip revision. The GT911 has no reset or interrupt line driven and may answer at 0x14 instead of 0x5D. The TF card (SDMMC, 4-bit) and the ES8311 speaker codec (amplifier on GPIO 53) are in the kit. Wi-Fi is the ESP32-C6 beside the P4, in the kit as the Wi-Fi co-processor on the ESP32 core's own SDIO lines (CLK 18, CMD 19, D0-D3 14-17, reset 54) - Waveshare publish no pins for it, and their own Arduino Wi-Fi example uses those defaults; it has to run ESP-Hosted of the core's release, which the board prints at start (see the README). Wi-Fi through it compiles and has not been on a board. Not driven: the two ES7210 microphones, the camera connector and the C6's Bluetooth; ESP-NOW does not go through the C6.

Designing for it in LCD Wizard

The parts

HX8394. ESP32-P4 only, with PSRAM. Driven under its maker's own register load: Waveshare's 5" 720x1280 (ESP32-P4-WIFI6-Touch-LCD-5), whose reset is active high. Compiled, not yet seen on a board.

GT911. The address is selected by the INT pin level during reset, so wire INT and RST if you can.

ESP32-P4. Has a MIPI-DSI host and a 2D graphics accelerator (PPA). Arduino core support is newer - verify your core version.

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

The same pins as data - board.json and pins.csv - are in the open pinout dataset on GitHub, free to reuse under CC BY 4.0.

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.

Waveshare ESP32-P4-WIFI6-Touch-LCD-4.34.3" 480x800 MIPI-DSI panel (ST7701) with GT911 touch on an ESP32-P4, an ES8311 speaker codec, a TF card, a camera connector and Wi-Fi through its ESP32-C6. Compiled, not yet seen on a board.ESP32-P4 · ST7701 (MIPI-DSI) 480 x 800 · GT911 touchPurchase this board
Waveshare ESP32-P4-WIFI6-Touch-LCD-7B7" 1024x600 MIPI-DSI panel (EK79007) with GT911 touch on an ESP32-P4, an ES8311 speaker codec, a TF card, RS485, CAN and Wi-Fi through its ESP32-C6. Compiled, not yet seen on a board.ESP32-P4 · EK79007 1024 x 600 · GT911 touchPurchase this board
Waveshare ESP32-P4-NANO + 8-DSI-TOUCH-AWaveshare's 8" 800x1280 MIPI-DSI screen (JD9365) with GT911 touch on their ESP32-P4-NANO, whose backlight is a register on I2C. With the NANO's ES8311 codec, TF card, Ethernet and Wi-Fi through its ESP32-C6. Compiled, not yet seen on a boarESP32-P4 · JD9365 800 x 1280 · GT911 touchPurchase this board
Waveshare ESP32-P4-NANO + 7-DSI-TOUCH-AWaveshare's 7" 720x1280 MIPI-DSI screen (ILI9881C) with GT911 touch on their ESP32-P4-NANO, whose backlight is a register on I2C. With the NANO's ES8311 codec, TF card, Ethernet and Wi-Fi through its ESP32-C6. Compiled, not yet seen on a boESP32-P4 · ILI9881C 720 x 1280 · GT911 touchPurchase this board
Waveshare ESP32-P4-NANO + 10.1-DSI-TOUCH-AWaveshare's 10.1" 800x1280 MIPI-DSI screen (JD9365) with GT911 touch on their ESP32-P4-NANO, whose backlight is a register on I2C. With the NANO's ES8311 codec, TF card, Ethernet and Wi-Fi through its ESP32-C6. Compiled, not yet seen on a bESP32-P4 · JD9365 800 x 1280 · GT911 touchPurchase this board
Waveshare ESP32-P4-WIFI6-Touch-LCD-10.110.1" 800x1280 MIPI-DSI panel (JD9365) with GT911 touch on an ESP32-P4, and Wi-Fi through its ESP32-C6. Compiled, not yet seen on a board.ESP32-P4 · JD9365 800 x 1280 · GT911 touch

Next