waveshare ESP32-P4 Pico Dev Board

Waveshare ESP32-P4 Pico Development Board User Manual

Model: ESP32-P4 Pico Dev Board

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.

Waveshare ESP32-P4 Pico Development Board with key features highlighted

ภาพที่ 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.
Close-up of the ESP32-P4 Pico Development Board highlighting the ESP32-P4 chip and 32MB Nor Flash

ภาพที่ 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.

Diagram showing the components and pinout of the ESP32-P4 Pico Development Board

Image 3.1: Detailed diagram of the ESP32-P4 Pico Development Board, indicating component locations and pin definitions.

การระบุส่วนประกอบ:

  1. ESP32-P4NRW32: The main ESP32-P4 chip with 32MB PSRAM.
  2. 32MB Nor Flash: Onboard flash memory for program storage.
  3. Display Interface: MIPI-DSI (2-lane), supports 6 / 7 / 8 / 10.1 inch DSI screens.
  4. Camera Interface: MIPI-CSI (2-lane), supports OV5647 camera, etc.
  5. USB Type-C Port: For power supply, program burning, and debugging.
  6. Onboard Microphone.
  7. Speaker Header: MX1.25 2P connector, supports 8Ω 2W speaker.
  8. 4PIN USB Header: USB OTG 2.0 High Speed interface.
  9. BOOT Button: Press it when powering on or resetting to enter download mode.
  10. RST Button: Reset button.
  11. Power Supply Indicator.
  12. 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. คู่มือการติดตั้ง

  1. การเชื่อมต่อไฟครั้งแรก: Connect the ESP32-P4 Pico Development Board to your computer using a USB Type-C cable. Ensure the power supply indicator lights up.
  2. การติดตั้งไดร์เวอร์: 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.
  3. การตั้งค่าสภาพแวดล้อมการพัฒนา: 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.
  4. เชื่อมต่ออุปกรณ์ต่อพ่วง: 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.
  5. TF Card Insertion: If using a TF card, insert it into the TF card slot.

5. คู่มือการใช้งาน

  1. การตั้งค่าโปรแกรมบนกระดาน:
    • 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.
  2. การแก้จุดบกพร่อง: Utilize the USB Type-C port for serial communication and debugging output. Most IDEs provide a serial monitor feature.
  3. 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
โปรเซสเซอร์ที่เข้ากันได้ริสค์-วี
เทคโนโลยีหน่วยความจำ RAMPSRAM (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.
Technical drawing showing the outline dimensions of the ESP32-P4 Pico Development Board in millimeters

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
Contents of the ESP32-P4 Pico Development Board package, including the board and two 20-pin headers

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.

เอกสารที่เกี่ยวข้อง - ESP32-P4 Pico Dev Board

พรีview Waveshare 5 นิ้ว DSI LCD: คู่มือหน้าจอสัมผัส Raspberry Pi
สำรวจ Waveshare 5 นิ้ว DSI LCD จอสัมผัสแบบ capacitive สำหรับ Raspberry Pi คู่มือนี้ครอบคลุมคุณสมบัติ การเชื่อมต่อฮาร์ดแวร์ การตั้งค่าซอฟต์แวร์ การควบคุมไฟแบ็คไลท์ และการแก้ไขปัญหาสำหรับจอแสดงผล MIPI DSI interface นี้
พรีview Waveshare 4.3 นิ้ว DSI LCD: จอแสดงผลสัมผัสแบบ Capacitive สำหรับ Raspberry Pi
สำรวจ Waveshare DSI LCD ขนาด 4.3 นิ้ว หน้าจอสัมผัสแบบ capacitive IPS ความละเอียด 800x480 ที่ออกแบบมาสำหรับ Raspberry Pi มาพร้อมอินเทอร์เฟซ MIPI DSI การตั้งค่าโดยไม่ต้องใช้ไดรเวอร์ และไฟแบ็คไลท์ที่ควบคุมด้วยซอฟต์แวร์
พรีview Pico-Relay-B: คู่มือผู้ใช้โมดูลรีเลย์ 8 ช่องสัญญาณ
คู่มือผู้ใช้สำหรับ Waveshare Pico-Relay-B โมดูลรีเลย์อุตสาหกรรม 8 ช่องสัญญาณสำหรับ Raspberry Pi Pico เรียนรู้เกี่ยวกับคุณสมบัติ ข้อมูลจำเพาะ การตั้งค่า และการเขียนโปรแกรม พร้อมคำแนะนำโดยละเอียดและตัวอย่างampเลส.
พรีview ESP32-C6-Touch-LCD-1.47: Development Guide for Arduino IDE & ESP-IDF
Explore the ESP32-C6-Touch-LCD-1.47 development board with this comprehensive guide. Learn to use Arduino IDE and ESP-IDF, set up your environment, and run various demos for your IoT and embedded projects.
พรีview ชุดพัฒนา Waveshare Jetson Nano: มากกว่าviewการตั้งค่า และทรัพยากร
คู่มือฉบับสมบูรณ์สำหรับชุดพัฒนาซอฟต์แวร์ Waveshare Jetson Nano Developer Kit ครอบคลุมรายละเอียดต่างๆ มากมายviewรวมถึงข้อมูลจำเพาะของฮาร์ดแวร์ การติดตั้งซอฟต์แวร์โดยใช้ SDK Manager การกำหนดค่ากล้อง และการแก้ไขปัญหา
พรีview ESP32-S3-Touch-LCD-2 Development Board Guide
A comprehensive guide for the Waveshare ESP32-S3-Touch-LCD-2 development board, covering setup and usage with Arduino IDE and ESP-IDF, including detailed exampเลสและทรัพยากร