Waveshare · ESP32-P4 · 4.0" · 720×720
Waveshare ESP32-P4-WIFI6-Touch-LCD-4B specifications
This page collects the pinout, free GPIOs and hardware details of the ESP32-P4-WIFI6-Touch-LCD-4B. The board isn't in the LCD Ultra Pro™ editor yet, so there's no driver for it there.
720×720 on four inches is sharp for a wall switch, and this board is built to become one. It's the display module of Waveshare's 86-box panel: the square IPS screen and an ESP32-P4 on top, with a bottom-board connector that carries Ethernet, relays and RS485 to a base board.
The panel runs over 2-lane MIPI-DSI with reset on GPIO 27 and backlight on GPIO 26. Waveshare doesn't name the panel driver IC. Touch is a GT911 with five points on the shared I2C bus, with its reset on GPIO 23. An IP101 Ethernet PHY is already on this board; the RJ45 socket lives on the 86-panel base.
Audio is an ES8311 with an NS4150B amplifier for a 2 W speaker and an ES7210 for two microphones. There's a 2-lane MIPI-CSI camera connector, a 4-bit microSD slot, an RTC battery header and a 14-pin 2.0 mm expansion header. An ESP32-C6-MINI-1U-H8 handles Wi-Fi 6. 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.

- Screen
- 4.0" · 720×720
- Chip
- ESP32-P4
- Memory
- 32 MB flash, 32 MB PSRAM (OPI/HPI)
- Input
- capacitive touch
Key features
- 4-inch square IPS, 720×720, MIPI-DSI
- GT911 touch, 5 points
- ESP32-P4: 32 MB PSRAM, 32 MB flash
- IP101 Ethernet PHY
- ES8311 + ES7210 audio
- MIPI-CSI camera connector
Specifications
| Manufacturer | Waveshare |
|---|---|
| Screen size | 4.0" |
| Resolution | 720×720 px |
| Colour depth | 16-bit |
| Display controller | MIPI-DSI panel (2 lanes) |
| Display interface | MIPI-DSI |
| Touch | GT911 (capacitive, I2C, 5 points) |
| Microcontroller | ESP32-P4 |
| Module | ESP32-P4 + ESP32-C6-MINI-1U-H8 (Wi-Fi 6 / Bluetooth 5 over SDIO) |
| CPU clock | 400 MHz |
| Internal SRAM | 768 KB |
| PSRAM | 32 MB (OPI/HPI) |
| Flash | 32 MB |
| Wi-Fi | Yes |
| Bluetooth | Yes |
| Hardware variant | ES8311 codec with NS4150B amplifier, ES7210 dual-microphone ADC, 2-lane MIPI-CSI camera connector, IP101 Ethernet PHY (RJ45 on the 86-panel base board), RTC battery header, 4-bit microSD, 14-pin 2.0 mm header. The panel driver IC is not named by Waveshare. |
| Display | 720×720 IPS, MIPI-DSI 2 lanes, RST 27, backlight 26 |
| Touch | GT911, RST 23, I2C SDA 7 / SCL 8 |
| Audio | ES8311 + NS4150B (8 Ω / 2 W), ES7210 with two mics |
| Network | IP101 PHY (RMII), RJ45 on the 86-panel base board |
| Headers | P3 14-pin 2.0 mm, P2 bottom-board connector |
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.
| GPIO | Function |
|---|---|
| GPIO 2 | Header GPIO (P3) |
| GPIO 3 | Header GPIO (P3) |
| GPIO 4 | Header GPIO (P3) |
| GPIO 5 | Header GPIO (P3) |
| GPIO 7 | I2C SDA (touch, codecs) |
| GPIO 8 | I2C SCL (touch, codecs) |
| GPIO 9 | I2S data out (ES8311) |
| GPIO 10 | I2S LRCLK |
| GPIO 11 | I2S data in (ES7210) |
| GPIO 12 | I2S SCLK |
| GPIO 13 | I2S MCLK |
| GPIO 20 | Header GPIO (P3) |
| GPIO 21 | Header GPIO (P3) |
| GPIO 22 | Header GPIO (P3) |
| GPIO 23 | Touch reset |
| GPIO 26 | Backlight |
| GPIO 27 | LCD reset |
| GPIO 32 | Relay 1 (bottom board) |
| GPIO 37 | UART0 TX (P3) |
| GPIO 38 | UART0 RX (P3) |
| GPIO 39 | microSD D0 |
| GPIO 40 | microSD D1 |
| GPIO 41 | microSD D2 |
| GPIO 42 | microSD D3 |
| GPIO 43 | microSD CLK |
| GPIO 44 | microSD CMD |
| GPIO 46 | Relay 2 (bottom board) |
| GPIO 47 | RS485 TXD (bottom board) |
| GPIO 48 | RS485 RXD (bottom board) |
| GPIO 53 | Speaker amplifier enable |
Source: github.com, docs.waveshare.com, github.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.
| Pin | Capabilities | Note |
|---|---|---|
| GPIO 2 | GPIO, PWM | On the 14-pin P3 header |
| GPIO 3 | GPIO, PWM | On the 14-pin P3 header |
| GPIO 4 | GPIO, PWM | On the 14-pin P3 header |
| GPIO 5 | GPIO, PWM | On the 14-pin P3 header |
| GPIO 20 | GPIO, PWM, ADC | On the 14-pin P3 header |
| GPIO 21 | GPIO, PWM, ADC | On the 14-pin P3 header |
| GPIO 22 | GPIO, PWM, ADC | On the 14-pin P3 header |
| GPIO 37 | GPIO, UART_TX | UART0 TX on the P3 header |
| GPIO 38 | GPIO, UART_RX | UART0 RX on the P3 header |
- P3 expansion header — GPIO 7, 8, 2, 3, 4, 5, 37, 38, 20, 21, 22 · 2 x 7 pin, 2.0 mm
GPIO 7 / 8 are the on-board I2C bus; also 3.3 V, 5 V and GND
- P2 bottom-board connector — GPIO 32, 46, 47, 48 (RELAY1, RELAY2, RS485 TX, RS485 RX) · 2 x 7 pin
Also the Ethernet pairs and a USB port for the 86-panel base board
Good to know before you start
- The LCD Ultra Pro editor can't target this board yet.
- Ethernet needs the base board for the RJ45 jack.
- The panel driver IC is not documented by Waveshare.
What it is good for
- •86-box wall panels
- •Wired-Ethernet smart-home controllers
- •Intercom and camera panels
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)
| Board | ESP32P4 Dev Module |
|---|---|
| Upload Speed | 921600 |
| Flash Frequency | 80MHz |
| Flash Mode | QIO |
| Flash Size | 32MB (256Mb) |
| Partition Scheme | 32M Flash (13MB APP/6.75MB SPIFFS) |
| PSRAM | Enabled |
| Chip Variant | v3.00 or newer for rev3.x chips (the default); Before v3.00 only for confirmed rev1.x chips |
Board package: esp32 by Espressif Systems 3.3.12
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
What is the resolution of the ESP32-P4-WIFI6-Touch-LCD-4B?
720×720 on a 4-inch IPS panel over MIPI-DSI.
Does it have Ethernet?
It carries an IP101 Ethernet PHY; the RJ45 socket is on the 86-panel base board.
Where is the touch reset?
On GPIO 23, with the GT911 on I2C GPIO 7/8.
Sources
Specifications cross-checked against the manufacturer’s documentation (last checked 2026-11-04):
- https://github.com/waveshareteam/ESP32-P4-WIFI6-Touch-LCD-4B
- https://docs.waveshare.com/ESP32-P4-WIFI6-Touch-LCD-4B
- https://www.waveshare.com/esp32-p4-wifi6-touch-lcd-4b.htm
- https://github.com/waveshareteam/ESP32-P4-WIFI6-Touch-LCD-4B/blob/main/schematic/ESP32-P4-WIFI6-Touch-LCD-4B.pdf
- https://github.com/waveshareteam/ESP32-P4-WIFI6-Touch-LCD-4B/blob/main/.github/product.json
More in the Waveshare ESP32-P4 family
Tools for this board
Connect sensors and parts
- 28BYJ-48 stepper
- A4988 stepper driver
- ACS712 current sensor
- ADS1115 ADC
- ADXL345 accelerometer
- AHT20
- AS5600 magnetic encoder
- BH1750
- BME280
- BME680
- BMP280
- BTS7960 motor driver
- CAN bus (SN65HVD230)
- Capacitive soil moisture
- DFPlayer Mini
- DHT22 / AM2302
- DS18B20
- DS3231 RTC
- EC11 rotary encoder
- ENS160
- HC-SR04
- HC-SR501 PIR
- HX711 load cell
- INA219
- INA226
- INMP441 microphone
- IRLZ44N MOSFET
- KY-023 joystick
- 4x4 matrix keypad
- LD2410 radar
- LDR photoresistor
- MAX31855 thermocouple
- MAX7219 LED matrix
- MAX98357A I2S amp
- MCP23017 GPIO expander
- microSD card
- MLX90614 IR thermometer
- MPU6050
- MQ-2 gas sensor
- NEO-6M GPS
- NTC thermistor 10k
- PCA9685 PWM driver
- Piezo buzzer
- Push button
- PZEM-004T
- RC522 RFID
- 5 V relay module
- RS-485 (MAX3485)
- SCD40
- SG90 servo
- SHT31 / SHT3x
- SIM800L GSM
- SSD1306 OLED
- SSR-40DA relay
- LoRa SX1276
- TB6612FNG motor driver
- TCS34725 colour sensor
- TP4056 battery charger
- TTP223 touch button
- VL53L0X
- WS2812B LED strip
- YF-S201 flow sensor
Last updated:
Adding I2C sensors to this board?See which addresses its own chips already use, and what would clash.Open the checkerSomething wrong on this page?
Tell me what you found. I check every report and fix the page.