

The FireBeetle 2 ESP32-E (N16R2), manufactured by DFRobot, is a compact and powerful IoT development board based on the ESP32-E chip. It is designed for wireless communication and seamless integration with sensors, making it an excellent choice for building smart devices and IoT applications. The board supports dual-mode Bluetooth (BLE and Classic) and Wi-Fi, offering robust connectivity for a wide range of projects.








The FireBeetle 2 ESP32-E (N16R2) is packed with features that make it versatile and efficient for IoT development. Below are its key technical details:
| Parameter | Specification |
|---|---|
| Microcontroller | ESP32-E (Xtensa® 32-bit LX6 dual-core processor) |
| Operating Voltage | 3.3V |
| Input Voltage Range | 3.3V - 5V (via USB-C or external power supply) |
| Flash Memory | 16MB |
| SRAM | 520KB |
| Wireless Connectivity | Wi-Fi (802.11 b/g/n), Bluetooth 4.2 (BLE and Classic) |
| GPIO Pins | 20 (including ADC, DAC, I2C, SPI, UART, PWM) |
| Analog Input Pins | 6 (12-bit ADC) |
| Digital I/O Pins | 14 (PWM-capable) |
| Communication Interfaces | UART, I2C, SPI, CAN, SDIO |
| Power Consumption | Ultra-low power consumption in deep sleep mode (as low as 10 µA) |
| Dimensions | 27mm x 52mm |
| Weight | 7.5g |
The FireBeetle 2 ESP32-E features a well-labeled pinout for easy prototyping. Below is the pin configuration:
| Pin Name | Functionality |
|---|---|
| 3V3 | 3.3V power output |
| GND | Ground |
| VIN | Input voltage (3.3V - 5V) |
| D0-D13 | Digital I/O pins (PWM-capable) |
| A0-A5 | Analog input pins (12-bit ADC) |
| TX, RX | UART communication pins |
| SCL, SDA | I2C communication pins |
| MOSI, MISO, SCK | SPI communication pins |
| EN | Enable pin (used to reset the board) |
| RST | Reset pin |
| DAC1, DAC2 | Digital-to-Analog Converter pins |
For a detailed pinout diagram, refer to the official DFRobot documentation:
Powering the Board:
Programming the Board:
Connecting Peripherals:
Wireless Communication:
WiFi.h and BluetoothSerial.h can simplify development.The following example demonstrates how to blink an LED connected to pin D2:
// Define the pin for the LED
const int ledPin = 2; // D2 on the FireBeetle 2 ESP32-E
void setup() {
pinMode(ledPin, OUTPUT); // Set the LED pin as an output
}
void loop() {
digitalWrite(ledPin, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(ledPin, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
The following example demonstrates how to connect the FireBeetle 2 ESP32-E to a Wi-Fi network:
#include <WiFi.h>
// Replace with your network credentials
const char* ssid = "Your_SSID";
const char* password = "Your_PASSWORD";
void setup() {
Serial.begin(115200); // Initialize serial communication
WiFi.begin(ssid, password); // Start Wi-Fi connection
// Wait for the connection to establish
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("\nWi-Fi connected!");
Serial.print("IP Address: ");
Serial.println(WiFi.localIP()); // Print the assigned IP address
}
void loop() {
// Add your main code here
}
The board is not detected by the computer:
Code upload fails:
Wi-Fi connection issues:
Peripherals not working as expected:
Q: Can I power the board using a LiPo battery?
A: Yes, the FireBeetle 2 ESP32-E supports LiPo batteries via the JST connector. Ensure the battery voltage is within the supported range.
Q: Does the board support OTA (Over-The-Air) updates?
A: Yes, the ESP32-E chip supports OTA updates. Use libraries like ArduinoOTA to implement this feature.
Q: Can I use the board with MicroPython?
A: Yes, the FireBeetle 2 ESP32-E is compatible with MicroPython. Flash the MicroPython firmware to get started.
Q: What is the maximum current output of the 3.3V pin?
A: The 3.3V pin can supply up to 500mA, depending on the input power source.
This concludes the documentation for the FireBeetle 2 ESP32-E (N16R2) IoT Board. For further assistance, refer to the official DFRobot resources.