Demo Applications
This page catalogs the available demo applications for the ESP32-P4-WIFI6-DEV-KIT. Demos are organized by framework.
Arduino demos
Section titled “Arduino demos”These demos use the Arduino framework with the Arduino-ESP32 core. They require the dependencies listed in each row.
| Demo | Description | Dependencies |
|---|---|---|
| HelloWorld | Basic graphics rendering test. Draws shapes, text, and color fills on the connected MIPI-DSI display. Useful as a first validation that the display pipeline is working. | GFX_Library_for_Arduino, compatible DSI display |
| Drawing_board | Touch-based drawing application. Tests both the MIPI-DSI display output and the touch input on supported panels. Draw with your finger and verify display + touch calibration. | GFX_Library_for_Arduino, compatible DSI display with touch |
| AsciiTable | Renders a grid of ASCII characters on the display. Demonstrates font rendering and character spacing with the GFX library. | GFX_Library_for_Arduino, compatible DSI display |
| GFX_ESPWiFiAnalyzer | WiFi spectrum analyzer that scans available networks and displays signal strengths in a graphical bar chart. Tests both the ESP32-C6 WiFi subsystem and the display output simultaneously. | GFX_Library_for_Arduino, compatible DSI display |
| LVGLV9_Arduino | Runs the LVGL v9 built-in demos (widgets, stress test, benchmark, music player) on the MIPI-DSI display. Demonstrates LVGL integration with the ESP32-P4 hardware acceleration. | LVGL (v9), GFX_Library_for_Arduino, compatible DSI display |
Arduino library dependencies
Section titled “Arduino library dependencies”| Library | Source | Purpose |
|---|---|---|
| GFX_Library_for_Arduino | Arduino Library Manager / GitHub | Graphics abstraction layer for display rendering |
| LVGL | Arduino Library Manager / GitHub | GUI framework (v9 required for P4 support) |
ESP-IDF demos
Section titled “ESP-IDF demos”These demos use the Espressif IoT Development Framework (ESP-IDF) and provide access to the full hardware feature set.
| Demo | Description | Hardware Used |
|---|---|---|
| SDMMC | SD/MMC card read/write test. Validates the SDIO 3.0 TF card slot (component 24) with file creation, write speed, and read verification. | TF card slot |
| WiFi | WiFi connectivity demo. Tests station mode (connect to AP), scan, and basic data transfer through the ESP32-C6 co-processor over SDIO. | ESP32-C6 (WiFi) |
| I2S Audio | Audio playback and recording test. Plays a tone through the speaker/headphone outputs and records from the onboard microphone using the ES8311 codec. | ES8311, NS4150B, microphone, speaker/headphone |
| I2C | I2C bus scan and device communication test. Scans the default I2C bus (SCL/GPIO8, SDA/GPIO7) and reports detected device addresses. | I2C bus |
| MIPI-DSI Display | MIPI-DSI display initialization and rendering test. Configures the D-PHY, initializes the display panel, and renders test patterns. | MIPI-DSI display |
| Camera (MIPI-CSI) | Camera capture test. Initializes the MIPI-CSI interface and ISP, captures frames from a connected camera module, and optionally displays them on the MIPI-DSI output. | MIPI-CSI camera module |
| ESP-Phone (Brookesia) | Full-featured phone-like application using the Brookesia UI framework. Demonstrates the integrated use of display, touch, audio, WiFi, and Bluetooth in a cohesive application. | Display (touch), audio, WiFi, Bluetooth |
Framework comparison for demos
Section titled “Framework comparison for demos”| Capability | Arduino | ESP-IDF |
|---|---|---|
| Display (MIPI-DSI) | Via GFX library | Direct hardware access |
| Camera (MIPI-CSI) | Limited | Full ISP + H.264 support |
| Audio (I2S) | Basic | Full codec control |
| WiFi 6 | Yes (via ESP32-C6) | Yes (via ESP32-C6) |
| Bluetooth 5 LE | Yes | Yes |
| USB OTG | Limited | Full HOST/DEVICE support |
| SD Card (SDIO 3.0) | Yes | Yes |
| Ethernet | Yes | Yes |
Running the demos
Section titled “Running the demos”Demos are available from the Waveshare ESP32-P4-WIFI6-DEV-KIT Wiki downloads section and from the Espressif example repositories. See the Getting Started section for environment setup instructions.
Demo descriptions sourced from the Waveshare ESP32-P4-WIFI6-DEV-KIT Wiki.