1. Giới thiệu
This manual provides detailed instructions for the Waveshare ESP32-P4-NANO High-Performance Development Board. It is designed to assist users in understanding the board's features, setting it up, and utilizing its capabilities effectively. The ESP32-P4-NANO is based on the ESP32-P4 chip, featuring RISC-V dual-core and single-core processors, and is equipped with various human-machine interfaces.
This specific kit, ESP32-P4-NANO-KIT-A, includes the ESP32-P4-NANO board, an RPi Camera (B), an 8Ω 2W speaker, and an FFC 15PIN cable, providing a comprehensive platform for development projects.

Image 1.1: The Waveshare ESP32-P4-NANO Development Board bundled with an RPi Camera and speaker.
2. Nội dung gói hàng
Vui lòng kiểm tra xem tất cả các mặt hàng được liệt kê bên dưới có đầy đủ trong gói hàng của bạn hay không. Nếu thiếu hoặc hư hỏng bất kỳ thành phần nào, vui lòng liên hệ với bộ phận hỗ trợ khách hàng.
- 1x ESP32-P4-NANO Development Board
- 1x RPi Camera (B)
- 1x 8Ω 2W Speaker
- 1x FFC 15PIN Cable

Image 2.1: Visual representation of the ESP32-P4-NANO-KIT-A package contents, including the development board, RPi Camera (B), 8Ω 2W speaker, and FFC 15PIN cable.
3. Các tính năng chính
The ESP32-P4-NANO Development Board offers a robust set of features for advanced embedded applications:
- High-performance MCU: Features RISC-V 32-bit dual-core and single-core processors.
- Ký ức: Includes 128 KB HP ROM, 16 KB LP ROM, 768 KB HP L2MEM, 32 KB LP SRAM, 8 KB TCM.
- Image and Voice Processing: Provides interfaces for JPEG Codec, Pixel Processing Accelerator, Image Signal Processor, and H264 encoder.
- Integrated PSRAM and Flash: 32MB PSRAM in the chip's package, with onboard 16MB Nor Flash.
- Extensive Peripherals: Supports MIPI-CSI, MIPI-DSI, USB 2.0 OTG, Ethernet, SDIO 3.0 TF card slot, microphone, speaker header, and RTC battery header.
- GPIO: 2*2*13 GPIO headers with 28 x programmable GPIOs.
- Tính năng bảo mật: Incorporates Secure Boot, Flash Encryption, cryptographic accelerators, and TRNG. Hardware access protection mechanisms enable Access Permission Management and Privilege Separation.
- Kết nối không dây: Onboard ESP32-C6-MINI module extends 2.4GHz Wi-Fi 6 and Bluetooth 5/BLE.

Hình 3.1: Hếtview of the ESP32-P4-NANO's core features, including RISC-V MCU, memory, and connectivity options.
4. Hết phần cứngview
4.1 Các thành phần trên bo mạch
The following diagram identifies the main components and interfaces on the ESP32-P4-NANO development board.

Hình ảnh 4.1: Chi tiết view of the ESP32-P4-NANO board with numbered components and their descriptions.
- ESP32-P4NRW32
- ESP32-C6-MINI-1: SDIO interface protocol, extending Wi-Fi 6 and Bluetooth 5 for ESP32-P4-NANO
- Display interface: MIPI 2-lane
- Camera interface: MIPI 2-lane
- USB Type-C connector: for power supply, program burning and debugging
- USER-LED: power supply indicator
- BOOT button: Press it when powering on or resetting to enter download mode
- Nút RESET
- PoE module / external power supply header: for connecting external 5V power supply or PoE module power supply
- RTC battery header: for connecting rechargeable RTC battery (supports rechargeable RTC batteries only)
- Onboard microphone
- PoE module header
- Type-A Port: USB OTG 2.0 High Speed port
- RJ45 100M Ethernet port
- Speaker header: MX1.25 2P connector, supports 8Ω 2W speaker
- Tiêu đề GPIO
- TF card slot: SDIO 3.0 interface protocol
4.2 Định nghĩa chân
The pinout diagram illustrates the functionality of each GPIO pin on the development board, crucial for connecting external components and sensors.

Image 4.2: Pin definition diagram showing power, GPIO, USB, UART, Touch Channel, ADC Channel, RTC Clock source, and ESP32-C6 GPIO assignments.
4.3 Kích thước phác thảo
Refer to the following diagrams for the physical dimensions of the ESP32-P4-NANO board, measured in millimeters.

Hình ảnh 4.3: Trên và dưới view with precise measurements of the ESP32-P4-NANO development board.
5. Hướng dẫn thiết lập
This section guides you through the initial setup of your ESP32-P4-NANO Development Board and its bundled accessories.
5.1 Connecting the RPi Camera (B)
- Locate the MIPI-CSI camera interface on the ESP32-P4-NANO board (refer to Image 4.1, component 4).
- Carefully insert one end of the FFC 15PIN cable into the camera module's connector, ensuring the contacts face the correct direction.
- Insert the other end of the FFC 15PIN cable into the MIPI-CSI connector on the development board. Ensure a secure connection.

Image 5.1: The RPi Camera (B) module, compatible with Raspberry Pi series boards, featuring a 5MP OV5647 sensor.
5.2 Kết nối loa
- Identify the speaker header (MX1.25 2P connector) on the development board (refer to Image 4.1, component 15).
- Connect the 8Ω 2W speaker to this header. Ensure the polarity is correct if indicated.
5.3 Cấp nguồn cho Hội đồng quản trị
The board can be powered via the USB Type-C connector. Connect a compatible USB cable from your computer or a 5V power adapter to the USB Type-C port on the board (refer to Image 4.1, component 5).
5.4 Thiết lập môi trường phát triển
For programming and development, it is recommended to use the Espressif IoT Development Framework (ESP-IDF) or the Arduino IDE with ESP32 board support. Refer to the official Waveshare Wiki for detailed instructions on setting up your development environment and obtaining exampmã.

Hình ảnh 5.2: Ví dụamples of how various kits, including KIT-A, can be connected, demonstrating the board with camera and speaker.
6. Hướng dẫn vận hành
Once the board is set up and programmed, follow these general guidelines for operation.
6.1 Hoạt động cơ bản
- Bật nguồn: Connect the USB Type-C cable to a power source. The USER-LED (component 6) should illuminate, indicating power.
- Program Upload: Use your chosen IDE (ESP-IDF or Arduino) to compile and upload your code to the board via the USB Type-C port.
- Khôi phục cài đặt gốc: Press the RESET button (component 8) to restart the loaded program.
- Download Mode: To enter download mode for flashing new firmware, press and hold the BOOT button (component 7) while pressing and releasing the RESET button, then release the BOOT button.
6.2 Utilizing Peripherals
- Máy ảnh: Access the RPi Camera (B) through the MIPI-CSI interface using appropriate libraries and code examples from the Waveshare Wiki or Espressif documentation.
- Người nói: Generate audio output via the speaker header. Ensure your code includes audio playback functionalities.
- Mạng lưới: Utilize the 100Mbps Ethernet port (component 14) for wired network connectivity or the integrated Wi-Fi 6 and Bluetooth 5/BLE for wireless communication.
- Kho: Insert a TF card into the SDIO 3.0 TF card slot (component 17) for external storage.
- GPIO: Connect various sensors, actuators, and other modules to the programmable GPIO headers (component 16) as required by your project.
7. Bảo trì
Proper maintenance ensures the longevity and reliable operation of your development board.
- Xử lý: Always handle the board by its edges to avoid touching sensitive components. Use anti-static precautions when working with the board.
- Vệ sinh: Giữ cho bảng mạch luôn sạch sẽ và không bám bụi bẩn. Sử dụng bàn chải mềm, khô hoặc khí nén để làm sạch. Tránh sử dụng chất tẩy rửa dạng lỏng.
- Kho: Store the board in an anti-static bag in a dry, cool environment when not in use.
- Nguồn điện: Use only recommended 5V power supplies. Over-voltagNó có thể làm hỏng bo mạch.
- Cập nhật chương trình cơ sở: Regularly check the Waveshare Wiki for firmware updates and security patches to ensure optimal performance and security.
KHAI THÁC. Xử lý sự cố
Phần này giải quyết những vấn đề phổ biến mà bạn có thể gặp phải.
- Bo mạch không khởi động:
- Ensure the USB Type-C cable is securely connected to both the board and a functional power source.
- Kiểm tra xem nguồn điện có cung cấp 5V không.
- Check if the USER-LED (component 6) illuminates.
- Lỗi tải chương trình:
- Confirm that the correct board and port are selected in your IDE.
- Try entering download mode manually by holding the BOOT button during reset.
- Ensure all necessary drivers are installed for the USB-to-serial converter.
- Camera Interface Issues:
- Some users have reported challenges with the camera interface functionality. Waveshare acknowledges this and suggests monitoring Espressif's official resources for potential software fixes or updated exampđồng nghiệp.
- Ensure the FFC cable is correctly seated and not damaged.
- Verify that your code correctly initializes and accesses the MIPI-CSI interface.
- Không có kết nối Wi-Fi/Bluetooth:
- Check your code for correct Wi-Fi/Bluetooth initialization and credentials.
- Ensure the ESP32-C6-MINI module is properly functioning.
For further assistance, consult the official Waveshare Wiki or contact their technical support.
9. Thông số kỹ thuật
| Tính năng | Chi tiết |
|---|---|
| Thương hiệu | Chia sẻ sóng |
| Tên mẫu | ESP32-P4-NANO-KIT-A |
| Bộ xử lý | ESP32-P4 (RISC-V 32-bit dual-core and single-core) |
| ĐẬP | PSRAM 32MB |
| Bộ nhớ Flash | 16MB Không Flash |
| Kết nối không dây | Wi-Fi 6 (802.11ax), Bluetooth 5/BLE (via ESP32-C6-MINI) |
| Mạng Ethernet | 100Mbps RJ45 |
| USB | USB 2.0 OTG (Type-A Port), USB Type-C (Power/Debug) |
| Giao diện máy ảnh | MIPI-CSI 2-lane |
| Giao diện hiển thị | MIPI-DSI 2-lane |
| Kho | SDIO 3.0 TF card slot |
| GPIO | 28 programmable GPIOs (2*2*13 headers) |
| Âm thanh | Onboard microphone, Speaker header (8Ω 2W speaker included in kit) |
| Kích thước | 50 x 50 mm (approximate board size) |
| Cân nặng | ~9.5 ounces (total item weight) |
10. Hỗ trợ và Tài nguyên
For the most up-to-date information, detailed tutorials, and example code, please refer to the official Waveshare Wiki. This resource is regularly updated and provides comprehensive documentation for all Waveshare products.
- Official Waveshare Wiki: https://www.waveshare.com/wiki (Please note: specific product page link may vary, search for "ESP32-P4-NANO")
- Hỗ trợ kỹ thuật: If you encounter issues not covered in this manual or the Wiki, please contact Waveshare customer support through their official webđịa điểm.
Information regarding warranty is typically provided with the product packaging or available on the manufacturer's official webđịa điểm.





