Waveshare · ESP32-P4 · 3.5" · 320×480

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

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

The smallest Waveshare P4 board doesn't use MIPI-DSI at all. Its 3.5-inch 320×480 IPS panel has an ST7796 on plain SPI (MOSI 20, clock 21, CS 23, DC 26, reset 27, backlight 28), so the P4's display hardware sits idle while the camera interface does the heavy lifting.

That camera is the reason to pick it. A 5 MP OV5647 connects over MIPI-CSI, and the ESP32-P4 has the PSRAM (32 MB in the package) and the processing power to do something with the frames. An ESP32-C6FH8 adds Wi-Fi 6 and Bluetooth 5 over SDIO.

Touch is an FT6336 with reset on GPIO 29 and interrupt on 50. An AXP2101 manages a lithium battery, and audio is an ES8311 with a microphone and an 8 Ω / 2 W speaker. 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-3.5 board diagram with an example screen: 3.5" 320×480, ESP32-P4
Annotated diagram of the Waveshare ESP32-P4-WIFI6-Touch-LCD-3.5, drawn by LCD Ultra Pro™.
Screen
3.5" · 320×480
Chip
ESP32-P4
Memory
16 MB flash, 32 MB PSRAM (OPI/HPI)
Input
capacitive touch

Key features

  • 3.5-inch IPS, 320×480, ST7796 (SPI)
  • FT6336 capacitive touch
  • ESP32-P4: 32 MB PSRAM, 16 MB flash
  • OV5647 5 MP camera (MIPI-CSI)
  • AXP2101 battery management
  • ESP32-C6 for Wi-Fi 6

Specifications

Waveshare ESP32-P4-WIFI6-Touch-LCD-3.5 technical specifications
ManufacturerWaveshare
Screen size3.5"
Resolution320×480 px
Colour depth16-bit
Display controllerST7796 (SPI)
Display interfaceSPI
TouchFT6336 (capacitive, I2C)
MicrocontrollerESP32-P4
ModuleESP32-P4NRW32 + ESP32-C6FH8 (Wi-Fi 6 / Bluetooth 5 over SDIO)
CPU clock400 MHz
Internal SRAM768 KB
PSRAM32 MB (OPI/HPI)
Flash16 MB
Wi-FiYes
BluetoothYes
Hardware variantOV5647 5 MP camera on MIPI-CSI, ES8311 codec with microphone and 8 Ohm / 2 W speaker, AXP2101 PMU with battery connector, 4-bit microSD, USB-UART and USB 2.0 HS OTG ports.
Display320×480 IPS, ST7796: MOSI 20, CLK 21, CS 23, DC 26, RST 27, backlight 28
TouchFT6336, RST 29, INT 50, I2C SDA 7 / SCL 8
CameraOV5647 5 MP, MIPI-CSI
AudioES8311, microphone, 8 Ω / 2 W speaker, amplifier 53
USBUSB-UART Type-C and USB 2.0 HS OTG Type-C

Board layout and connectors

Where each connector, button and LED sits on the Waveshare ESP32-P4-WIFI6-Touch-LCD-3.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-3.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-3.5 pinout guide: GPIO map, connectors with pin order, wiring example and wiring tips
Pinout guide for the Waveshare ESP32-P4-WIFI6-Touch-LCD-3.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-3.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 20LCD SPI MOSI
GPIO 21LCD SPI clock
GPIO 23LCD SPI CS
GPIO 24USB 1.1 D- (header)
GPIO 25USB 1.1 D+ (header)
GPIO 26LCD DC
GPIO 27LCD reset
GPIO 28Backlight
GPIO 29Touch reset
GPIO 30Header GPIO
GPIO 31Header GPIO
GPIO 32Header GPIO
GPIO 33Header GPIO
GPIO 34Header GPIO
GPIO 35Header GPIO
GPIO 36Header GPIO
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 50Touch interrupt
GPIO 51Header GPIO
GPIO 52Header GPIO
GPIO 53Speaker 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.

Free GPIO pins of the Waveshare ESP32-P4-WIFI6-Touch-LCD-3.5
PinCapabilitiesNote
GPIO 2GPIO, PWMOn the 2 x 16 header
GPIO 3GPIO, PWMOn the 2 x 16 header
GPIO 4GPIO, PWMOn the 2 x 16 header
GPIO 5GPIO, PWMOn the 2 x 16 header
GPIO 30GPIO, PWMOn the 2 x 16 header
GPIO 31GPIO, PWMOn the 2 x 16 header
GPIO 32GPIO, PWMOn the 2 x 16 header
GPIO 33GPIO, PWMOn the 2 x 16 header
GPIO 34GPIO, PWMOn the 2 x 16 header; strapping pin
GPIO 35GPIO, PWMOn the 2 x 16 header; strapping pin
GPIO 36GPIO, PWMOn the 2 x 16 header; strapping pin
GPIO 46GPIO, PWMOn the 2 x 16 header
GPIO 47GPIO, PWMOn the 2 x 16 header
GPIO 48GPIO, PWMOn the 2 x 16 header
GPIO 51GPIO, PWM, ADCOn the 2 x 16 header
GPIO 52GPIO, PWM, ADCOn the 2 x 16 header
  • Expansion header (J6) — GPIO 7, 8, 2, 3, 4, 5, 30, 31, 32, 33, 34, 35, 36, 46, 47, 48, 51, 52, 24, 25 · 2 x 16 pin header

    GPIO 7 / 8 are the on-board I2C bus; also 3.3 V, 5 V, VBAT, GND and the ESP32-C6 UART and IO9

Good to know before you start

  • It's a wiki entry for now; the LCD Ultra Pro editor doesn't support P4 boards from Waveshare yet.
  • SPI limits the frame rate; full-screen video will not be smooth.
  • Wi-Fi runs on the ESP32-C6 and needs its hosted firmware.

What it is good for

  • •Camera and vision projects
  • •Battery-powered handhelds
  • •Learning the ESP32-P4

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)

BoardESP32-P4 (the manufacturer names the chip, not a menu item)
Chip Variantv3.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.11

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

Does the ESP32-P4-WIFI6-Touch-LCD-3.5 use MIPI-DSI?

No. Its ST7796 panel is driven over SPI; the camera uses MIPI-CSI.

Which camera is supported?

A 5 MP OV5647 on the MIPI-CSI connector.

How much memory is there?

32 MB of PSRAM in the ESP32-P4 package and 16 MB of flash.

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.