1. สินค้าหมดview
The Waveshare ESP32-P4 Pico Development Board is a multimedia development board based on the ESP32-P4 module. It integrates a variety of Human-Machine interfaces and common peripherals, making it suitable for diverse application development. The board features a 400MHz dual-core RISC-V processor, supports up to 32MB PSRAM, and includes USB 2.0, MIPI-CSI/DSI, and H.264 encoder capabilities. It also incorporates security features like Digital Signature Peripheral and Key Management Unit for secure operations.

ภาพที่ 1.1: จบแล้วview of the ESP32-P4 Pico Development Board, showcasing its compact design and various interfaces.
2. คุณสมบัติหลัก
- ไมโครคอนโทรลเลอร์ประสิทธิภาพสูง: Features RISC-V 32-bit dual-core and single-core processors.
- หน่วยความจำ: Includes 128 KB HP ROM, 16 KB LP ROM, 768 KB HP L2MEM, 32 KB LP S-RAM, 8 KB TCM, 32MB PSRAM (in-package), and onboard 32MB Nor Flash.
- Image and Voice Processing: Provides interfaces for JPEG Codec, Pixel Processing Accelerator, Image Signal Processor, and H.264 encoder.
- Common Peripherals: MIPI-CSI, MIPI-DSI, USB 2.0 OTG, SDIO 3.0 TF card slot, microphone, and speaker header.
- ส่วนหัว GPIO: Adapts 2*20 GPIO headers with 27 remaining programmable GPIOs.
- คุณสมบัติความปลอดภัย: Secure Boot, Flash Encryption, cryptographic accelerators, TRNG, Access Permission Management, and Privilege Separation.

ภาพที่ 2.1: รายละเอียด view of the board's core components, including the ESP32-P4 chip and 32MB Nor Flash memory.
3. Board Layout and Pin Definition
Understanding the board's layout and pin assignments is crucial for proper integration and development. The following diagram illustrates the key components and their corresponding pin functions.

Image 3.1: Detailed diagram of the ESP32-P4 Pico Development Board, indicating component locations and pin definitions.
การระบุส่วนประกอบ:
- ESP32-P4NRW32: The main ESP32-P4 chip with 32MB PSRAM.
- 32MB Nor Flash: Onboard flash memory for program storage.
- Display Interface: MIPI-DSI (2-lane), supports 6 / 7 / 8 / 10.1 inch DSI screens.
- Camera Interface: MIPI-CSI (2-lane), supports OV5647 camera, etc.
- USB Type-C Port: For power supply, program burning, and debugging.
- Onboard Microphone.
- Speaker Header: MX1.25 2P connector, supports 8Ω 2W speaker.
- 4PIN USB Header: USB OTG 2.0 High Speed interface.
- BOOT Button: Press it when powering on or resetting to enter download mode.
- RST Button: Reset button.
- Power Supply Indicator.
- TF Card Slot: SDIO 3.0 interface protocol.
คำจำกัดความของพิน:
The pinout diagram provides details for Power, Ground, and System Control pins, along with various GPIOs. Refer to the diagram for specific pin assignments when connecting peripherals.
4. คู่มือการติดตั้ง
- การเชื่อมต่อไฟครั้งแรก: Connect the ESP32-P4 Pico Development Board to your computer using a USB Type-C cable. Ensure the power supply indicator lights up.
- การติดตั้งไดร์เวอร์: Depending on your operating system, you may need to install USB-to-serial drivers. Refer to the official Espressif documentation or Waveshare's online resources for specific driver requirements.
- การตั้งค่าสภาพแวดล้อมการพัฒนา: Install the ESP-IDF (Espressif IoT Development Framework) or a compatible IDE (e.g., PlatformIO, Arduino IDE with ESP32-P4 support). Follow the official setup guides for your chosen environment.
- เชื่อมต่ออุปกรณ์ต่อพ่วง: If using external components like displays, cameras, or speakers, connect them to the appropriate MIPI-CSI, MIPI-DSI, or speaker headers as indicated in the "Board Layout and Pin Definition" section.
- TF Card Insertion: If using a TF card, insert it into the TF card slot.
5. คู่มือการใช้งาน
- การตั้งค่าโปรแกรมบนกระดาน:
- Open your chosen development environment (e.g., ESP-IDF, PlatformIO).
- Select the correct board target (ESP32-P4).
- Write or load your application code.
- To upload code, press and hold the บู๊ท ปุ่มแล้วกดปุ่ม ร.ส.ท. button, and release both. This puts the board into download mode.
- Initiate the upload process from your development environment.
- การแก้จุดบกพร่อง: Utilize the USB Type-C port for serial communication and debugging output. Most IDEs provide a serial monitor feature.
- Peripheral Usage: Refer to the ESP-IDF documentation and specific library examples for programming the MIPI-CSI, MIPI-DSI, USB OTG, and other integrated peripherals.
6. การบำรุงรักษา
- การจัดการ: Handle the board by its edges to avoid touching components, especially when powered. Electrostatic discharge can damage sensitive components.
- การทำความสะอาด: หากจำเป็น ให้ทำความสะอาดกระดานเบาๆ ด้วยแปรงขนนุ่มแห้ง หรือใช้ลมเป่า หลีกเลี่ยงการใช้ของเหลวหรือวัสดุที่มีฤทธิ์กัดกร่อน
- พื้นที่จัดเก็บ: ควรเก็บแผงวงจรไว้ในถุงป้องกันไฟฟ้าสถิตในที่แห้งและเย็นเมื่อไม่ได้ใช้งาน
- อัพเดตเฟิร์มแวร์: Regularly check for firmware and ESP-IDF updates to ensure optimal performance and access to the latest features and bug fixes.
7 การแก้ไขปัญหา
- ไม่พบบอร์ด:
- Ensure the USB Type-C cable is securely connected to both the board and your computer.
- Verify that the necessary USB-to-serial drivers are installed correctly.
- ลองใช้พอร์ต USB หรือสายเคเบิลอื่น
- การอัปโหลดโค้ดล้มเหลว:
- Confirm the board is in download mode (press and hold BOOT, then RST, then release both).
- Check that the correct serial port is selected in your development environment.
- Ensure your code compiles without errors.
- Peripheral Not Functioning:
- Double-check all wiring connections according to the pin definition diagram.
- Verify that the peripheral is correctly initialized and configured in your code.
- Consult the peripheral's datasheet and relevant ESP-IDF exampเลส.
- พฤติกรรมที่ไม่คาดคิด:
- Review โค้ดของคุณสำหรับข้อผิดพลาดเชิงตรรกะ
- Use the serial monitor to check for error messages or debug output.
- Ensure adequate power supply for the board and any connected peripherals.
8. ข้อมูลจำเพาะ
| คุณสมบัติ | รายละเอียด |
|---|---|
| ยี่ห้อ | เวฟแชร์ |
| ชื่อรุ่น | ESP32-P4 Pico Dev Board |
| ประเภทชิปเซ็ต | ESP32-P4 |
| โปรเซสเซอร์ที่เข้ากันได้ | ริสค์-วี |
| เทคโนโลยีหน่วยความจำ RAM | PSRAM (32MB in-package) |
| หน่วยความจำแฟลช | 32MB Nor Flash (onboard) |
| ประเภทขั้วต่อสายไฟหลัก | 40-Pin (GPIO headers) |
| อินเทอร์เฟซ | MIPI-CSI, MIPI-DSI, USB 2.0 OTG, SDIO 3.0, I2S, I2C, SPI, UART, TWAI, etc. |
| ขนาด | Refer to "Outline Dimensions" diagram for detailed measurements. |

Image 8.1: Outline dimensions of the ESP32-P4 Pico Development Board.
9. เนื้อหาแพ็คเกจ
The standard package for the ESP32-P4 Pico Development Board includes the following items:
- ESP32-P4-Pico x1
- 20PIN header x2

Image 9.1: Items included in the ESP32-P4 Pico Development Board package.
10. การสนับสนุนและทรัพยากร
For further assistance, detailed documentation, and development resources, please refer to the official Waveshare online resources. Technical support is available if you encounter any issues during development or operation.
- แหล่งข้อมูลการพัฒนาออนไลน์: Visit the Waveshare official website for datasheets, schematics, example code, and tutorials.
- การสนับสนุนด้านเทคนิค: If you have any problems or require technical assistance, please contact Waveshare customer support.





