ESP32-P4 Wi-Fi 6 development board kit with speaker and two connecting cables

ESP32-P4 Wi-Fi 6 Development Board Kit | ShillehTek Product Manual

ArduinoESP32Raspberry PiPicomanual-product-10645386297631
$31.99 USD In stock · Order by 3pm ET, ships today

Overview

This kit is built around the ESP32-P4, Espressif's high-performance dual-core RISC-V microcontroller, with 32 MB of PSRAM inside the chip package and 16 MB of flash on the board. The ESP32-P4 has no radio of its own, so the board adds an ESP32-C6 companion chip over SDIO for Wi-Fi 6 and Bluetooth 5 LE.

The board is laid out for multimedia and interface projects: MIPI-DSI display and MIPI-CSI camera connectors, 100 Mb/s Ethernet, USB host ports, a microSD slot, an audio codec with microphone, speaker header and 3.5 mm jack, and a 40-pin GPIO header. The kit includes the board, a small speaker and two 4-pin connector leads. Displays and cameras are sold separately.

At a Glance

MCU
ESP32-P4, dual-core RISC-V
Memory
32 MB PSRAM, 16 MB flash
Wireless
Wi-Fi 6 and BLE 5 via ESP32-C6
Wired
100M Ethernet, USB 2.0 host
Display / Camera
MIPI-DSI and MIPI-CSI
GPIO Header
40 pins, 3.3 V logic

Specifications

Parameter Value
Board Waveshare ESP32-P4-WIFI6-DEV-KIT
Main chip ESP32-P4NRW32: dual-core RISC-V plus a low-power core, 32 MB PSRAM in the package
Flash 16 MB NOR flash
Wireless ESP32-C6 over SDIO: Wi-Fi 6 at 2.4 GHz, Bluetooth 5 LE
Ethernet 100 Mb/s, RJ45
USB USB-C marked USB TO UART (CH343P), USB-C native USB, 2 × USB-A high-speed host
Display and camera MIPI-DSI and MIPI-CSI connectors, 2 lanes each
Audio ES8311 codec, on-board microphone, speaker header, 3.5 mm jack
Storage microSD (TF) slot on the underside
GPIO header 2 × 20 pins, 3.3 V logic
Other connectors I2C and I3C sockets, RTC battery header, PoE module header
In the kit Board, 8 ohm 2 W speaker, two SH1.0 4-pin leads

Pinout Diagram

The diagram shows where the main connectors are. Use the USB-C port marked USB TO UART for power, flashing and the serial monitor. The 40-pin header carries 3.3 V GPIO, and the GPIO number of each pin is printed beside the header on the board. Follow that printing, together with Waveshare's pin map for this board, when you wire to the header.

ESP32-P4 Wi-Fi 6 development board layout diagram showing the USB-C ports, 40-pin GPIO header, Ethernet, USB-A, MIPI-CSI, MIPI-DSI and audio connectors

Wiring Guide

For a first test you need only a USB-C cable in the USB TO UART port. The tabs below cover power, the USB ports, the 40-pin header and the add-on connectors.

Powering the Board

Source Notes
USB TO UART port Recommended: powers the board and carries flashing and serial
USB port (USB-C) Also powers the board
PoE header Needs a separate PoE module, not included
RTC battery header For a rechargeable RTC battery only: keeps the clock running, does not power the board
3.3 V logic: The GPIO header works at 3.3 V. Do not feed 5 V signals into any GPIO pin.
Supply: Use a good 5 V supply and cable. A display, a camera or USB devices raise the current the board draws.

USB Ports

The jumper beside the USB-A ports selects HOST or Device for the high-speed USB interface. Leave it on HOST to plug USB devices into the USB-A ports.

Port What It Does
USB TO UART USB-C through a CH343P serial chip: power, flashing, serial monitor
USB USB-C on the ESP32-P4 native USB: power and flashing
USB-A, two ports High-speed USB 2.0 for USB devices, with the jumper on HOST
Download mode: Hold BOOT while you press RST, or while you apply power, to put the ESP32-P4 into download mode.

40-Pin GPIO Header

The header has 2 × 20 pins, and Waveshare describes it as compatible with some Raspberry Pi HATs. The GPIO numbers are not the same as on a Raspberry Pi, so always go by the numbers printed on this board.

Item Detail
Logic level 3.3 V
Pin labels Printed beside the header
On-board I2C bus SDA GPIO 7, SCL GPIO 8; the audio codec answers at address 0x18
Power pins 5 V, 3.3 V and GND pins are labeled on the board
HATs: Compare a HAT's pin use with this board's pin map before fitting it. Not every Raspberry Pi HAT will work.

Add-on Connectors

Connector For
MIPI-DSI A display panel with a 2-lane MIPI-DSI interface
MIPI-CSI A camera module with a 2-lane MIPI-CSI interface
Speaker header The included 8 ohm 2 W speaker
3.5 mm jack Headphones or audio out
I2C and I3C sockets Sensors and modules on 4-pin leads
TF slot A microSD card
PoE header A separate PoE module
Not included: The kit has no display, camera, microSD card or PoE module. Check a display or camera against Waveshare's compatibility information before you buy one.

Code Examples

View or download this product's example code on GitHub.

Start by confirming that the board runs your code. The Arduino sketch prints the chip model and PSRAM size (enable PSRAM in the Tools menu), then scans the on-board I2C bus, where the audio codec should answer at 0x18. The second block is the standard ESP-IDF build and flash sequence.

Arduino — Chip Info and I2C Scan

esp32p4_i2c_scan.ino
// ESP32-P4 Wi-Fi 6 kit check - print chip info and scan the on-board I2C bus
// Arduino IDE: ESP32 board package 3.2.0 or newer, board "ESP32P4 Dev Module"
// On-board I2C: SDA = GPIO 7, SCL = GPIO 8. The ES8311 audio codec should answer at 0x18.
#include <Wire.h>

const int PIN_SDA = 7;
const int PIN_SCL = 8;

void setup() {
  Serial.begin(115200);
  delay(1000);
  Serial.print("Chip: ");
  Serial.println(ESP.getChipModel());
  Serial.print("PSRAM size (MB): ");
  Serial.println(ESP.getPsramSize() / 1048576.0, 1);
  Wire.begin(PIN_SDA, PIN_SCL);
}

void loop() {
  int found = 0;
  for (uint8_t address = 1; address < 127; address++) {
    Wire.beginTransmission(address);
    if (Wire.endTransmission() == 0) {
      Serial.print("I2C device at 0x");
      Serial.println(address, HEX);
      found++;
    }
  }
  Serial.print("Devices found: ");
  Serial.println(found);
  delay(5000);
}

ESP-IDF — Build and Flash

esp32p4_idf.sh
# Run inside an ESP-IDF project folder (ESP-IDF 5.3.1 or newer)
idf.py set-target esp32p4
idf.py build
# Replace PORT with the board's serial port, for example /dev/ttyACM0 or COM5
idf.py -p PORT flash monitor

Frequently Asked Questions

Which USB port do I use to program it?
Use the USB-C port marked USB TO UART. It goes through a CH343P USB-to-serial chip, powers the board and carries flashing and the serial monitor. If flashing does not start, hold BOOT, tap RST and release BOOT to enter download mode, then try again.
Does the ESP32-P4 have Wi-Fi?
Not by itself: the ESP32-P4 has no radio. On this board an ESP32-C6 companion chip, linked over SDIO, provides Wi-Fi 6 on 2.4 GHz and Bluetooth 5 LE. Your application runs on the P4 and uses the C6 as its network interface. Waveshare's examples show how the link is set up.
Can I use the Arduino IDE?
Yes. Install ESP32 board package 3.2.0 or newer, select ESP32P4 Dev Module and choose the serial port of the USB TO UART connector. For the full feature set, including displays and cameras, Waveshare's examples target ESP-IDF 5.3.1 or newer.
Is a display or camera included?
No. The kit contains the board, an 8 ohm 2 W speaker and two 4-pin leads. The MIPI-DSI and MIPI-CSI connectors are ready for a display and a camera, which are sold separately. Check a panel or camera against Waveshare's compatibility information before buying.
Will Raspberry Pi HATs fit the 40-pin header?
Some will. Waveshare describes the header as compatible with some Raspberry Pi HATs, but the GPIO numbers and the available functions differ from a Raspberry Pi. Compare the HAT's pin use with this board's pin map first, and remember that software written for the Pi does not run on an ESP32-P4.
How do I test that the board works?
Run the Arduino sketch on this page. It should print the chip model, the PSRAM size and an I2C device at 0x18, which is the audio codec. For a fuller check, Waveshare provides a board check example for ESP-IDF that exercises the on-board peripherals.
Does it support Power over Ethernet?
Only with an extra module. The board has a header for a PoE module, but the module is not part of the kit. Without it, the Ethernet port carries data only, and you power the board through USB-C.

Related Tutorials

Datasheets & downloads

Reference documents for the ESP32-P4 Wi-Fi 6 Development Board Kit. This manual covers wiring and code; the documents below carry the full electrical specifications.