Waveshare · ESP32-P4 · 5.0" · 720×1280

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

This page collects the pinout, free GPIOs and hardware details of the ESP32-P4-WIFI6-Touch-LCD-5. The board isn't in the LCD Ultra Pro™ editor yet, so there's no driver for it there.

720×1280 on five inches is phone territory, and the ESP32-P4 is the first ESP32 that can drive it sensibly. Waveshare's 5-inch board uses an HX8394 controller over two MIPI-DSI lanes, with only reset (GPIO 27) and backlight (GPIO 26) taken from the GPIO pool.

Waveshare publishes an ESP-IDF component for the HX8394 alongside the board package, which saves you from writing an init sequence. Touch is a GT911 with five points. Memory is 32 MB of PSRAM and 32 MB of flash, and an ESP32-C6-MINI-1 provides Wi-Fi 6 and Bluetooth 5 over SDIO.

The rest matches the 4.3-inch board: ES7210 input with two microphones, ES8311 codec, an 8 Ω / 2 W speaker connector, a MIPI-CSI camera port, a 4-bit microSD slot, USB 2.0 HS OTG and a 40-pin header. On all Waveshare P4 boards the shared pins are the same: I2C on GPIO 7 (SDA) and 8 (SCL), I2S audio on GPIO 9 to 13, the 4-bit microSD on GPIO 39 to 44 and the speaker amplifier enable on GPIO 53.

ESP32-P4-WIFI6-Touch-LCD-5 board diagram with an example screen: 5.0" 720×1280, ESP32-P4
Annotated diagram of the Waveshare ESP32-P4-WIFI6-Touch-LCD-5, drawn by LCD Ultra Pro™.
Screen
5.0" · 720×1280
Chip
ESP32-P4
Memory
32 MB flash, 32 MB PSRAM (OPI/HPI)
Input
capacitive touch

Key features

  • 5-inch IPS, 720×1280, HX8394
  • 2-lane MIPI-DSI
  • GT911 touch
  • ESP32-P4: 32 MB PSRAM, 32 MB flash
  • Audio, camera port, microSD
  • 40-pin header

Specifications

Waveshare ESP32-P4-WIFI6-Touch-LCD-5 technical specifications
ManufacturerWaveshare
Screen size5.0"
Resolution720×1280 px
Colour depth16-bit
Display controllerHX8394 (MIPI-DSI, 2 lanes)
Display interfaceMIPI-DSI
TouchGT911 (capacitive, I2C, 5 points)
MicrocontrollerESP32-P4
ModuleESP32-P4NRW32 + ESP32-C6-MINI-1 (Wi-Fi 6 / Bluetooth 5 over SDIO)
CPU clock400 MHz
Internal SRAM768 KB
PSRAM32 MB (OPI/HPI)
Flash32 MB
Wi-FiYes
BluetoothYes
Hardware variantES7210 input with two microphones, ES8311 codec, 8 Ohm / 2 W speaker connector, 2-lane MIPI-CSI (OV5647 optional), 4-bit microSD, USB 2.0 HS OTG, 40-pin header compatible with selected Raspberry Pi HATs.
Display720×1280, HX8394, MIPI-DSI 2 lanes, RST 27, backlight 26
TouchGT911, I2C SDA 7 / SCL 8
AudioES8311, ES7210, two mics, 8 Ω / 2 W speaker
Camera2-lane MIPI-CSI, OV5647 optional
Expansion40-pin header

Board layout and connectors

Where each connector, button and LED sits on the Waveshare ESP32-P4-WIFI6-Touch-LCD-5, with the pin order next to each header where the manufacturer confirms it. We drew it from the manufacturer’s own photos and board documentation. The tiny parts are simplified.

Waveshare ESP32-P4-WIFI6-Touch-LCD-5 board layout: front with the screen, back with every connector, button and LED labelled
Annotated illustration © LCD Ultra Pro · connectors and labelled parts from the manufacturer’s board documentation; small parts simplified
Waveshare ESP32-P4-WIFI6-Touch-LCD-5 pinout guide: GPIO map, connectors with pin order, wiring example and wiring tips
Pinout guide for the Waveshare ESP32-P4-WIFI6-Touch-LCD-5. Open the full-size image to read the small print.

GPIO pinout

The GPIOs the board itself uses for the display, touch and on-board peripherals, as published in the manufacturer’s documentation. Pins whose function isn’t stated clearly are left out.

Waveshare ESP32-P4-WIFI6-Touch-LCD-5 GPIO pinout
GPIOFunction
GPIO 2Header GPIO
GPIO 3Header GPIO
GPIO 4Header GPIO
GPIO 5Header GPIO
GPIO 7I2C SDA (touch, codecs)
GPIO 8I2C SCL (touch, codecs)
GPIO 9I2S data out (ES8311)
GPIO 10I2S LRCLK
GPIO 11I2S data in (ES7210)
GPIO 12I2S SCLK
GPIO 13I2S MCLK
GPIO 21Header GPIO
GPIO 22Header GPIO
GPIO 24Header GPIO
GPIO 25Header GPIO
GPIO 26Backlight
GPIO 27LCD reset
GPIO 28Header GPIO
GPIO 29Header GPIO
GPIO 30Header GPIO
GPIO 31Header GPIO
GPIO 32Header GPIO
GPIO 34Header GPIO
GPIO 35Header GPIO (strapping pin)
GPIO 37UART0 TX (header)
GPIO 38UART0 RX (header)
GPIO 39microSD D0
GPIO 40microSD D1
GPIO 41microSD D2
GPIO 42microSD D3
GPIO 43microSD CLK
GPIO 44microSD CMD
GPIO 46Header GPIO
GPIO 47Header GPIO
GPIO 48Header GPIO
GPIO 49Header GPIO
GPIO 50Header GPIO
GPIO 51Header GPIO
GPIO 52Header GPIO
GPIO 53Speaker amplifier enable

Source: github.com, docs.waveshare.com, github.com. Always check against your board revision before wiring.

Free GPIOs and connectors

These GPIOs are not used by the display, touch or on-board peripherals, so you can wire your own sensors, buttons or relays to them.

Free GPIO pins of the Waveshare ESP32-P4-WIFI6-Touch-LCD-5
PinCapabilitiesNote
GPIO 2GPIO, PWMOn the 40-pin header
GPIO 3GPIO, PWMOn the 40-pin header
GPIO 4GPIO, PWMOn the 40-pin header
GPIO 5GPIO, PWMOn the 40-pin header
GPIO 21GPIO, PWM, ADCOn the 40-pin header
GPIO 22GPIO, PWM, ADCOn the 40-pin header
GPIO 24GPIO, PWMOn the 40-pin header
GPIO 25GPIO, PWMOn the 40-pin header
GPIO 28GPIO, PWMOn the 40-pin header
GPIO 29GPIO, PWMOn the 40-pin header
GPIO 30GPIO, PWMOn the 40-pin header
GPIO 31GPIO, PWMOn the 40-pin header
GPIO 32GPIO, PWMOn the 40-pin header
GPIO 34GPIO, PWMOn the 40-pin header
GPIO 35GPIO, PWMOn the 40-pin header; strapping pin, keep it free at boot
GPIO 46GPIO, PWMOn the 40-pin header
GPIO 47GPIO, PWMOn the 40-pin header
GPIO 48GPIO, PWMOn the 40-pin header
GPIO 49GPIO, PWM, ADCOn the 40-pin header
GPIO 50GPIO, PWM, ADCOn the 40-pin header
GPIO 51GPIO, PWM, ADCOn the 40-pin header
GPIO 52GPIO, PWM, ADCOn the 40-pin header
GPIO 37GPIO, UART_TXUART0 TX on the 40-pin header
GPIO 38GPIO, UART_RXUART0 RX on the 40-pin header
  • 40-pin header — GPIO 2, 3, 4, 5, 21, 22, 24, 25, 28, 29, 30, 31, 32, 34, 35, 46, 47, 48, 49, 50, 51, 52, 37, 38, 7, 8 · 2 x 20 pin header, Raspberry Pi style

    SDA / SCL are GPIO 7 / 8 (the on-board I2C bus); also USB DP / DM, 3.3 V, 5 V and GND. Selected Raspberry Pi HATs fit through an adapter

Good to know before you start

  • Not in the LCD Ultra Pro editor yet.
  • Large frames: use PSRAM and the P4's 2D acceleration.
  • Default orientation is portrait.

What it is good for

  • •Phone-sized dashboards
  • •Video and camera viewers
  • •Kiosk interfaces

LVGL support in LCD Ultra Pro™

This board is documented in the wiki, but it is not in the LCD Ultra Pro™ editor yet, so you can’t pick it there or export a project for it. The specs, pins and connectors on this page come from the manufacturer’s own material and are there to help you wire and configure it. See the board list for boards the editor supports today.

Arduino IDE settings

From the manufacturer's documentation (not tested by us yet)

BoardESP32P4 Dev Module
Chip Variantv3.00 or newer for rev3.x chips (the default); Before v3.00 only for confirmed rev1.x chips
PSRAMEnabled
Flash Size32 MB
Flash ModeQIO
Flash Frequency80 MHz
Partition Scheme13M APP / 7M data (32 MB)
Upload ModeDefault (USB-UART bridge)

Board package: esp32 by Espressif Systems 3.3.11 (or newer 3.x)

Menu items the manufacturer doesn't mention are left at their defaults. We haven't compiled a driver for this board ourselves yet. Manufacturer's source

Frequently asked questions

Which controller drives the 5-inch P4 panel?

An HX8394 over 2-lane MIPI-DSI; Waveshare publishes an ESP-IDF component for it.

What is the resolution?

720×1280 pixels.

How is Wi-Fi provided?

By an ESP32-C6-MINI-1 co-processor over SDIO (Wi-Fi 6, Bluetooth 5).

Sources

Specifications cross-checked against the manufacturer’s documentation (last checked 2026-11-04):

More in the Waveshare ESP32-P4 family

Tools for this board

All free tools →

Connect sensors and parts

All sensors and parts →

Last updated:

Adding I2C sensors to this board?See which addresses its own chips already use, and what would clash.

Something wrong on this page?

Tell me what you found. I check every report and fix the page.