Waveshare ESP32-P4-NANO

Waveshare ESP32-P4-NANO High-performance Development Board

Brugermanual

1. Introduktion

The ESP32-P4-NANO is a high-performance development board built around the ESP32-P4 chip. It integrates RISC-V dual-core and single-core processors, offering robust processing capabilities. This board is designed with rich Human-Machine Interfaces, including MIPI-CSI with an integrated Image Signal Processor and a MIPI-DSI interface. It supports a wide array of standard peripherals such as SPI, I2S, I2C, LED PWM, MCPWM, RMT, ADC, UART, and TWAI. High-speed connectivity is facilitated through USB OTG 2.0 HS, Ethernet, and SDIO Host 3.0.

The ESP32-P4 chip also incorporates a Digital Signature Peripheral and a dedicated Key Management Unit, ensuring enhanced data security. The ESP32-P4-NANO is ideal for applications requiring high performance, advanced security, sophisticated Human-Machine Interfaces, efficient edge computing, and extensive I/O connectivity.

Waveshare ESP32-P4-NANO Development Board

2. Nøglefunktioner

  • High-performance MCU: Features RISC-V 32-bit dual-core and single-core processors.
  • Hukommelse: Includes 128 KB HP ROM, 16 KB LP ROM, 768 KB HP L2MEM, 32 KB LP SRAM, 8 KB TCM, 32MB PSRAM (in-package), and onboard 16MB Nor Flash.
  • Image and Voice Processing: Powerful capabilities with interfaces like JPEG Codec, Pixel Processing Accelerator, Image Signal Processor, and H264 encoder.
  • Forbindelse: Onboard ESP32-C6-MINI module extends 2.4GHz Wi-Fi 6 and Bluetooth 5/BLE via SDIO interface. Includes a 100Mbps RJ45 Ethernet port.
  • Grænseflader: MIPI-CSI (2-lane), MIPI-DSI (2-lane), USB 2.0 OTG, SDIO 3.0 (TF card slot), microphone, speaker header, and RTC battery header.
  • GPIO: 2*2*13 GPIO headers with 28 programmable GPIOs.
  • Sikkerhed: Secure Boot, Flash Encryption, cryptographic accelerators, TRNG, Access Permission Management, and Privilege Separation.
  • Strømindstillinger: Supports external 5V power supply and optional Power over Ethernet (PoE) module.
Close-up of the ESP32-P4 chip on the board

ESP32-P4 high-performance MCU

ESP32-P4-NANO board highlighting Wi-Fi 6 and Bluetooth 5/BLE

Integrated Wi-Fi 6 and Bluetooth 5/BLE

3. Specifikationer

3.1. ESP32-P4-NANO Board

FeatureBeskrivelse
MCUESP32-P4 (RISC-V 32-bit dual-core and single-core processors)
PSRAM32MB (in-package)
Heller ikke Flash16MB (onboard)
Wi-Fi2.4GHz Wi-Fi 6 (via ESP32-C6-MINI)
BluetoothBluetooth 5/BLE (via ESP32-C6-MINI)
Ethernet100Mbps RJ45 port
USBUSB Type-C (power, program, debug), USB OTG 2.0 HS (Type-A port)
Display interfaceMIPI DSI 2-lane
KameragrænsefladeMIPI CSI 2-sporet
OpbevaringTF card slot (SDIO 3.0 interface)
LydSpeaker header (MX1.25 2P, supports 8Ω 2W speaker), Onboard microphone
GPIO2*2*13 headers, 28 programmable GPIOs
Dimensioner50.00mm × 50.00mm

3.2. 10.1-inch DSI Capacitive Touch Display (Included in KIT-D)

FeatureSpecifikation
Opløsning800 × 1280 (H×V)
Dispositionsdimension147.0 × 239.0 (mm)
KommunikationsgrænsefladeMIPI 2-lane (supports ESP32-P4, RK3576, RK3506)
Visningsområde135.96 × 217.18 (mm)
Pixel Pitch0.1175 × 0.1088 (mm)
Lysstyrke500cd/m² (customization for 1000cd/m² high brightness available)
Kontrastforhold800:1
Touch ChipGT9271
Driftstemperatur-10℃ ~ 50℃

3.3. RPi Camera (B) (Included in KIT-A, KIT-C, KIT-D)

FeatureSpecifikation
SensorOV5647
Pixels5 MP
CMOS-størrelse1/4 tomme
BlændeF2.0
Brændvidde6 mm
Felt af View60.6°
NattesynIkke understøttet
FokuseringManuel fokus

4. Pakkeindhold

4.1. ESP32-P4-NANO Basic Kit

  • ESP32-P4-NANO x1
  • 8Ω 2W speaker x1
Package content for ESP32-P4-NANO Basic Kit (board + speaker)

4.2. ESP32-P4-NANO-KIT-A

  • ESP32-P4-NANO x1
  • RPi Camera (B) x1
  • 8Ω 2W speaker x1
  • FFC 15PIN cable x1
Package content for ESP32-P4-NANO-KIT-A (board + speaker + FFC cable + RPi Camera B)

4.3. ESP32-P4-NANO-KIT-B

  • ESP32-P4-NANO x1
  • PoE module x1
  • 8Ω 2W speaker x1
  • Skruepakke x1
Package content for ESP32-P4-NANO-KIT-B (board + speaker + PoE module + screws)

4.4. ESP32-P4-NANO-KIT-C

  • ESP32-P4-NANO x1
  • PoE module x1
  • 8Ω 2W speaker x1
  • FFC 15PIN cable x1
  • RPi Camera (B) x1
  • Skruepakke x1
Package content for ESP32-P4-NANO-KIT-C (board + speaker + FFC cable + PoE module + RPi Camera B + screws)

4.5. ESP32-P4-NANO-KIT-D

  • 10.1inch DSI LCD x1
  • ESP32-P4-NANO x1
  • PoE module x1
  • Skruepakke x1
  • USB Type-A dual-plug cable x1
  • USB Type-A to Type-C cable ~1m x1
  • RPi Camera (B) x1
  • MIPI-DSI-Cable x1
  • FFC 15PIN cable x1
  • FFC 22PIN cable x1
  • 8Ω 2W speaker x1
  • SH1.0 2PIN-kabel x1
Package content for ESP32-P4-NANO-KIT-D (board + 10.1inch DSI LCD + various cables and accessories)

5. Opsætning og installation

5.1. Kortlayout og komponenter

Labeled diagram of the ESP32-P4-NANO board components
  1. ESP32-P4NRW32: ESP32-P4 chip with 32MB PSRAM.
  2. ESP32-C6-MINI-1: SDIO interface protocol, extending Wi-Fi 6 and Bluetooth 5 for ESP32-P4-NANO.
  3. Skærmgrænseflade: MIPI 2-lane.
  4. Kamera interface: MIPI 2-lane.
  5. USB Type-C connector: For power supply, program burning, and debugging.
  6. USER-LED: Power supply indicator.
  7. BOOT-knap: Press it when powering on or resetting to enter download mode.
  8. Genstarts knap.
  9. PoE module / external power supply header: For connecting external 5V power supply or PoE module power supply.
  10. RTC battery header: For connecting rechargeable RTC battery (supports rechargeable RTC batteries only).
  11. Onboard microphone.
  12. PoE module header.
  13. Type-A Port: USB OTG 2.0 High Speed port.
  14. RJ45 100M Ethernet port.
  15. Speaker header: MX1.25 2P connector, supports 8Ω 2W speaker.
  16. GPIO header.
  17. TF kortslot: SDIO 3.0 interface protocol.

5.2. Pin -definition

Pin definition diagram for the ESP32-P4-NANO

The pinout diagram above illustrates the functions of each pin on the ESP32-P4-NANO board. Refer to this diagram for connecting external components and peripherals.

5.3. Tilslutning af eksterne enheder

The ESP32-P4-NANO supports various peripherals. Below are examples of common connections:

  • Højttaler: Connect an 8Ω 2W speaker to the dedicated speaker header (MX1.25 2P).
  • Kamera: Connect an RPi Camera (B) to the MIPI CSI 2-lane camera interface using the provided FFC 15PIN cable.
  • Vise: For KIT-D, connect the 10.1-inch DSI LCD to the MIPI DSI 2-lane display interface using the MIPI-DSI-Cable.
  • PoE Module (Optional): If using a PoE module, attach it to the dedicated PoE module header. This allows for power and network connectivity via a single Ethernet cable from an 802.3af-compliant router or switch.
Example connection of ESP32-P4-NANO with speaker, camera, and display

Example connection with display, camera, and speaker

Diagram showing PoE equipment connected to the ESP32-P4-NANO via Ethernet

PoE connection diagram (PoE module optional, switch not included)

5.4. Strømforsyning til bestyrelsen

The board can be powered via the USB Type-C connector or through the PoE module header if a PoE module is installed. Ensure a stable 5V power supply is used.

6. Betjeningsvejledning

6.1. Første opstart

Connect the ESP32-P4-NANO to your computer using a USB Type-C cable. The USER-LED should illuminate, indicating power. The board will typically enter a default operating mode or wait for firmware upload.

6.2. Firmware Upload and Debugging

To upload custom firmware or debug your applications, connect the USB Type-C port to your development machine. Press and hold the BOOT button while powering on or resetting the board to enter download mode. Release the BOOT button once in download mode. Refer to the Waveshare Wiki for detailed instructions on setting up your development environment and using Espressif's tools for programming.

6.3. Using Interfaces

  • Wi-Fi og Bluetooth: Utilize the ESP32-C6-MINI module for wireless communication. Programming examples and libraries are available through the Espressif SDK.
  • Ethernet: Connect an Ethernet cable to the RJ45 port for wired network access.
  • Camera and Display: Program the MIPI-CSI and MIPI-DSI interfaces to capture images from the camera and display content on compatible screens.
  • GPIO: The programmable GPIOs can be configured for various digital and analog functions, including I2C, SPI, UART, and more, depending on your application needs.

7. Vedligeholdelse

  • Rensning: Keep the board clean and free from dust and debris. Use a soft, dry brush or compressed air for cleaning. Avoid using liquids or solvents.
  • Opbevaring: Opbevar printpladen et tørt og antistatisk sted, når den ikke er i brug.
  • Håndtering: Handle the board by its edges to avoid touching components, especially the sensitive chip areas. Static electricity can damage electronic components.
  • Strømforsyning: Always use a stable and appropriate power supply (5V). Incorrect voltage kan beskadige brættet.

8. Fejlfinding

  • Boardet tænder ikke: Ensure the USB Type-C cable is securely connected and the power source is active. If using PoE, verify the PoE module is correctly installed and the Ethernet source provides power.
  • Firmware upload failure: Make sure the board is in download mode (press BOOT button during power-up/reset). Check your development environment setup and cable connection.
  • Peripheral not detected: Verify all connections are secure and correctly wired according to the pin definition. Ensure the correct drivers and software configurations are applied in your code.
  • Wi-Fi/Bluetooth issues: Check antenna connections (if external) and ensure the ESP32-C6-MINI module is properly communicating with the ESP32-P4. Verify software configuration for wireless protocols.
  • Systemustabilitet: Ensure adequate power supply. Overheating can cause instability; ensure proper ventilation if running demanding applications.

9. Brugertips

  • Start with examples: Begin by running official examples provided in the Waveshare Wiki or Espressif SDK to familiarize yourself with the board's functionalities.
  • Power considerations: For projects requiring significant power, especially with multiple peripherals, consider using the PoE module or a robust 5V power adapter instead of relying solely on USB power from a computer.
  • Community support: Engage with the ESP32 developer community for additional resources, project ideas, and troubleshooting assistance.

10. Support og ressourcer

For detailed technical documentation, programming guides, example code, and further support, please visit the official Waveshare Wiki page for the ESP32-P4-NANO:

www.waveshare.com/wiki/ESP32-P4-NANO

Waveshare resources banner: Original, Professional Tech Support, Rich Resources Manual & Demo

Relaterede dokumenter - ESP32-P4-NANO

Preview Waveshare ESP32-S3-Touch-LCD-4.3 Udviklingskort: Funktioner og vejledning
Udforsk Waveshare ESP32-S3-Touch-LCD-4.3, et kraftfuldt mikrocontroller-udviklingskort med en 4.3-tommer kapacitiv berøringsskærm, WiFi, BLE 5 og flere grænseflader som CAN, RS485 og I2C. Lær om dens hardware, opsætning og funktioner.ampdemoer til HMI-udvikling.
Preview ESP32-S3-Touch-LCD-4.3B: Udviklingskort overview og opsætningsvejledning
Udforsk ESP32-S3-Touch-LCD-4.3B, et kraftfuldt mikrocontroller-udviklingskort fra Waveshare. Denne guide dækker dets funktioner, hardwarebeskrivelse, interfacedetaljer og giver instruktioner til opsætning af udviklingsmiljøet ved hjælp af ESP-IDF og VSCode.
Preview Waveshare E-Paper ESP32 Driver Board: Funktioner, demoer og vejledning
Udforsk Waveshare E-Paper ESP32 Driver Board. Denne guide beskriver dens funktioner, hardwareforbindelse, Bluetooth- og WiFi-demonstrationer og almindelige spørgsmål til e-paper-displayprojekter.
Preview Waveshare RGB-Matrix-P4-64x32: 64x32 LED Matrix Panel for DIY Projects
Discover the Waveshare RGB-Matrix-P4-64x32, a 64x32 RGB LED matrix panel with 4mm pitch, perfect for DIY desktop or wall-mounted displays. It is compatible with Raspberry Pi, Arduino, and ESP32, offering extensive open-source resources.
Preview ESP32-S3-Touch-LCD-4.3 Udviklingskort Overview og opsætning
En omfattende guide til ESP32-S3-Touch-LCD-4.3 udviklingskortet, der beskriver dets funktioner, hardwarebeskrivelse, pinforbindelser, miljøopsætning for CircuitPython, MicroPython og C/C++ (Arduino, ESP-IDF) samt konfiguration i Arduino IDE.
Preview Waveshare 2.13 tommer e-Paper HAT (B) brugermanual og teknisk vejledning
Omfattende guide til Waveshare 2.13 tommer e-Paper HAT (B), der dækker hardwareforbindelser, softwareopsætning, programmeringsprincipper og fejlfinding for Raspberry Pi, Arduino, Jetson Nano og STM32.