1. Product Description

1.1 Product Introduction

The FireBeetle 2 ESP32-P4 is a high-performance microcontroller (MCU) development board designed based on the ESP32-P4R32 chip. It has powerful processing capabilities in image processing, supporting up to 1080p@30fps video playback and 1080p@30fps image shooting. The development board integrates WiFi and Bluetooth functions, making it suitable for various HMI (Human-Machine Interface) application scenarios such as digital photo albums, home central control screens, intelligent security systems, and smart doorbells.
The development board comes with pre-soldered pin headers and is paired with a dedicated IO expansion board for FireBeetle 2 ESP32-P4. It allows easy connection to various peripherals without the need for a breadboard or additional soldering. The development board leads out multiple sets of I2C interfaces and power pins, solving the problem of insufficient pins when building projects. The back of the expansion board is marked with silk-screened pin function mappings, enabling users to easily understand the pin functions without referring to documents.

High-definition Large-screen Display

The FireBeetle 2 ESP32 P4 integrates an MIPI-DSI interface, which can be directly connected to the Raspberry Pi DSI series display screens. The built-in JPEG decoder of the ESP32-P4 is mainly used for efficiently parsing and decompressing JPEG format image data, while the pixel processing accelerator is specifically designed to improve the processing speed and quality of image data. Thanks to these hardware advantages, the development board significantly enhances the display performance of images and videos, supporting smooth playback at up to 720p@88fps or 1080p@30fps, bringing a good visual experience of human-machine interaction to the project. Using the FireBeetle 2 ESP32 P4, a series of related projects such as digital photo albums, home central control screens, and multimedia advertisement displays can be created.

High-definition Camera Capture

The FireBeetle 2 ESP32 P4 integrates an MIPI-CSI interface, which can be directly connected to the Raspberry Pi CSI series cameras. The built-in JPEG encoder of the ESP32-P4 is responsible for efficiently compressing the original image data into JPEG format. The image signal processor performs real-time optimization and enhancement on the captured images, and the H264 video encoder ensures the real-time encoding of high-quality video streams. These features work together to greatly improve the image capture performance of the camera, supporting high-definition shooting at up to 720p@88fps or 1080p@30fps, enabling smooth shooting and video recording functions. Using the FireBeetle 2 ESP32 P4, various image capture and processing projects such as intelligent security systems, smart doorbells, and remote video conference cameras can be created.

Rich Expansion Interfaces

The FireBeetle 2 ESP32-P4 development board, with a size of only 25.4x60mm, exposes a rich and easy-to-use set of peripheral interfaces, reducing the difficulty of connecting external devices. The development board integrates the ESP32-C6 module, endowing the development board with wireless communication functions. The development board exposes a Type-C USB OTG 2.0 high-speed interface, which theoretically has a maximum data transmission speed of up to 480Mbps, enabling high-speed communication between the development board and USB devices. It has an on-board MIC, which can be used for sound collection and voice recognition. It also has an on-board TF card slot, which provides a convenient large-capacity storage solution for the project, enabling easy local storage and reading operations of media files such as pictures and videos.

Note:

  1. The current chip version is "revision v1.0" with a main frequency configured at 360MHz.
  2. MIPI-CSI and AI features are only available under ESP-IDF and not currently supported in Arduino.

1.2 Features

  • Dual-core RISC-V 360MHz + Single-core RISC-V 40MHz processor
  • Supports single-precision FPU and AI extensions
  • On-board MIPI-DSI interface, supporting up to 720p@88fps or 1080p@30fps image display
  • On-board MIPI-CSI interface, supporting up to 720p@88fps or 1080p@30fps image capture
  • Integrates the ESP32-C6 module, supporting WiFi and Bluetooth communication
  • Integrates rich and easy-to-use expansion interfaces: USB OTG 2.0, MIC, TF card slot

1.3 Application Scenarios

  • AI camera
  • Surveillance camera
  • AI peephole viewer
  • Tracking gimbal
  • Smart home control panel
  • Digital photo frame
  • Multimedia advertising player

2. Product Specifications

2.1 Product Parameters

Basic Parameters

  • Operating voltage: 3.3V
  • Type-C input voltage: 5V DC
  • VCC input voltage: 5V DC
  • Operating temperature: -10~60℃
  • Module size: 25.4x60mm
  • IO Expansion size: 45x60mm

Hardware Information

  • HP Core: RISC-V 32-bit Dual-core Microprocessor, 360 MHz
  • LP Core: RISC-V 32-bit Single-core Microprocessor, 40 MHz
  • 32MB PSRAM
  • Flash: 16MB
  • 768 KB HP L2MEM
  • 32 KB LP SRAM
  • 128KB HP ROM
  • 16KB LP ROM
Wi-Fi
  • WIFI Protocol: IEEE 802.11b/g/n/ax
  • IEEE 802.11ax (20 MHz-only non-AP mode)
  • WIFI Bandwidth: The 2.4 GHz band supports 20 MHz and 40 MHz bandwidths
  • WIFI Modes: Station mode, SoftAP mode, SoftAP+Station mode, and promiscuous mode
  • WIFI Frequency: 2.4GHz
  • Frame Aggregation: TX/RX A-MPDU, TX/RX A-MSDU
Bluetooth
  • Bluetooth Protocol: Bluetooth 5
  • Bluetooth Frequencies: 125 Kbps, 500 Kbps, 1 Mbps, 2 Mbps

Interface Pins

  • Digital I/O x24
  • 2-channel MIPI CSI x1
  • 2-channel MIPI DSI x1
  • UART x5
  • LP UART x1
  • I2C x2
  • LP I2C x1
  • I3C x1
  • SPI x1
  • I2S x3
  • LP I2S x1
  • SPI x2
  • LP SPI x1
  • High-speed USB OTG 2.0 x1
  • SDIO2.0 x1
  • TOUCH 4 channels
  • LED PWM Controller with 8 channels
  • Infrared Transceiver: Transmit channels x5, Receive channels x5
  • 1 × 12-bit SAR ADC, 7 channels

Note: The functional pins are multiplexed, and the above number of interfaces is the maximum value.

2.2 On-board Function Diagram

  • Type-C USB CDC: Type-C USB programming and debugging interface
  • IO3/LED: Onboard LED pin
  • Power LED: Motherboard power indicator light
  • RST: Reset button
  • IO35/BOOT: IO pin/BOOT button
  • MIC: PDM microphone
  • HIGH-SPEED USB OTG 2.0: Type-C high-speed USB OTG 2.0
  • ESP32-P4: ESP32-P4 chip
  • MIPI-DSI: Two-channel MIPI-DSI screen (compatible with the pin sequence of Raspberry Pi 4B screen)
  • MIPI-CSI: Two-channel MIPI-DSI screen (compatible with the pin sequence of Raspberry Pi 4B camera)
  • TF Card: TF card slot
  • 16MB FLASH: 16MB Flash storage
  • ESP32-C6: ESP32-C6-MINI-1 module, connected to P4 via SDIO, used for expanding WiFi and Bluetooth

IO Expansion Board

2.3 On-board Function Pin Definition

3. Tutorial - First Time Use

3.1 Arduino IDE Configuration

When you use the ESP32 for the first time, you need to know the following steps:

  1. Add the ESP32 development board in Arduino IDE (How to add the ESP32 board to Arduino IDE?)
  2. Select the development board and serial port
  3. Burn the program

3.2 Select Development Board

  • Click Tools->Board, select "ESP32P4 Dev Module".

  • The development board needs to be set before burning the code:
    • USB CDC On Boot:
      • Enabled: Print serial port data through the USB interface
      • Disabled: Print serial port data through TX and RX
    • Partition Scheme: Disk partitioning scheme. Please select the appropriate storage space according to the Flash of the development board.
    • Port: Development board port (Just make sure the COM number is correct, which has nothing to do with the subsequent chip model.)

3.3 LED Blinking

  • Copy the code into the window and click "Upload" to upload the code.
int led = 3;
void setup() {
  pinMode(led,OUTPUT);
}

void loop() {
  digitalWrite(led,HIGH);
  delay(1000);
  digitalWrite(led,LOW);
  delay(1000);
}

  • Wait for the burning to complete, and you can see the on-board LED light start to flash.

4. ESP32 General Tutorial

ESP32 General Tutorial

5. FLASH Download Tool Usage Tutorial

FLASH Download Tool Usage Tutorial

6. MicroPython Tutorial

MicroPython Tutorial

7. PlatformIO Tutorial

PlatformIO Tutorial

8. ESP-IDF Tutorial

Coming Soon

9. Related Documents