FireBeetle 2 ESP32-E IoT Microcontroller with Header

SKU: DFR0654-F

The FireBeetle 2 ESP32-E is a compact, low-power IoT microcontroller with dual-core chips, supporting WiFi, Bluetooth, and Arduino programming, suitable for a range of applications from smart homes to industrial IoT, with easy integration and extensive online resources.

Front of FireBeetle 2 ESP32-E IoT Microcontroller with WiFi & Bluetooth-DFRobot product sku:DFR0654-F image.
  • Docs
  • Tech Specs
  • Projects
  • Certifications
  • 1. Getting Started

    This article guides you through setting up the Arduino IDE for FireBeetle 2 ESP32-E, including downloading the software, configuring preferences, and installing necessary SDKs and boards.

    2. Example Code for Arduino-SPI Communication

    This article offers detailed instructions on setting up and programming SPI communication between the FireBeetle 2 ESP32-E and an OLED display, including example code to drive the display and visualize text and numbers.

    3. Example Code for Arduino-Blink a LED

    This chapter starts with blinking an LED to demonstrate the usage of FireBeetle 2 ESP32-E.

    4. Example Code for Arduino-GPIO

    This article provides comprehensive example codes for Arduino GPIO usage, focusing on digital write/read, analog read, and PWM output with the FireBeetle 2 ESP32-E, enabling users to control LEDs and read sensor values.

    5. Example Code for Arduino-Capacitive Touch

    This section introduces how to get and print the status of the touch sensor on FireBeetle 2 ESP32-E by Arduino code.

    6. Example Code for Arduino-Serial Port

    This article explains how to use Arduino's Serial library for serial communication on FireBeetle 2 ESP32-E, including example code and setup details for real-time data printing.

    7. Example Code for Arduino-Interrupt

    This article showcases example code for using interrupts with Arduino, specifically focusing on the FireBeetle 2 ESP32-E board, including hardware setup and interrupt mode explanations.

    8. Example Code for Arduino-Deep-sleep Mode

    This article offers example code for putting FireBeetle 2 ESP32-E in deep-sleep mode with wake-up methods, optimizing Arduino power management.

    9. Example Code for Arduino-I2C Communication

    This article details Arduino-I2C communication setup using FireBeetle ESP32-E and LTR390 UV sensor, including hardware preparation, wiring, and sample code for light intensity measurement.

    10. Example Code for Arduino-RGB LED

    The article offers a comprehensive example code for using an onboard RGB LED with Arduino's FastLED library, detailing hardware setup and programming instructions for creating color sequences.

    11. Example Code for Arduino-SD Card

    This article offers comprehensive example code for utilizing an SD card with Arduino, detailing hardware setup, wiring instructions, and SD and File class functions, enabling users to access, manipulate, and manage files and directories effectively.

    12. Example Code for Arduino-Bluetooth

    This article provides a comprehensive guide on establishing Bluetooth communication using Arduino and ESP32 boards. It includes sample codes for setting up Bluetooth connections between host and slave devices, as well as BLE server configurations for data transfer and notifications.

    13. Example Code for Arduino-IFTTT

    This article explains how to use Arduino to work with IFTTT, setting up automated triggers and actions to send emails using Webhooks and Email in a step-by-step guide.

    14. Example Code for Arduino-WiFi

    This article offers sample Arduino code for setting up an ESP32 as a WiFi server to control LEDs remotely and synchronize time via network time server, including hardware requirements and step-by-step instructions.

    15. Example Code for Arduino-GDI Display interface

    The article guides users on setting up an Arduino-GDI display interface, providing example code and wiring instructions for successful hardware integration, showcasing text output on the display.

    Reference

    This guide provides step-by-step instructions for manually installing CH340 drivers for the FireBeetle 2 ESP32-E on Windows and MAC, ensuring smooth operation if automatic installation fails.

    Power Parameters

    Parameter Details
    Input Voltage USB-C Port: 5V DC
    PH2.0 Connector: 3.7~4.2V Li-ion
    VCC Pin: 5V DC

    MCU Parameters

    Parameter Details
    Processor Xtensa Dual-Core 32-bit LX6 Microprocessor
    Clock Speed 240 MHz
    SRAM 520 KB
    ROM 448 KB
    Flash Memory 4 MB

    Wireless Parameters

    Parameter Details
    Wi-Fi Standard FCC/CE/TELEC/KCC
    Wi-Fi Protocol 802.11 b/g/n/d/e/i/k/r (802.11n, up to 150 Mbps), A-MPDU and A-MSDU aggregation, supports 0.4us protection interval
    Wi-Fi Frequency Range 2.4~2.5 GHz
    Bluetooth Protocol Compliant with Bluetooth V4.2 BR/EDR and BLE standards
    Bluetooth Audio CVSD and SBC audio
    Bluetooth Frequency Range 2.4~2.5GHz

    Peripheral Parameters

    Parameter Details
    Digital Pins ¡Á 18 (IO0, IO1, IO2, IO3, IO4, IO12, IO13, IO14, IO15, IO16, IO17, IO18, IO19, IO21, IO22, IO23, IO25, IO26)
    Analog Pins ¡Á 11 (IO0, IO2, IO4, IO12, IO13, IO14, IO15, IO25, IO26, I34, I35)
    UART Interfaces ¡Á 2
    SPI Interface ¡Á 1
    I2C Interface ¡Á 1
    I2S Interface ¡Á 1
    DAC Interfaces ¡Á 2
    Touch Interfaces ¡Á 7
    LED PWM Channels ¡Á 16
    RGB LED WS2812
    Display Interface GDI

    Physical Parameters

    Parameter Details
    Module Size 25.4mm ¡Á 60mm
    Mounting hole size hole diameter 2.0mm
    Weight 23.4g

    Board Overview

    DFR0564-Board Overview

    No. Function Description
    ¢Ù USB Interface Program download and power supply, 4.75V-5.5V compatible
    ¢Ú Charging Indicator Red LED for indicating charging status: 1. Off when fully charged or not charged; 2. On when charging; 3. Quick flash when powered by USB, and no battery connected.
    ¢Û User Button Controlled by pin IO27/D4
    ¢Ü Li-ion Battery Port Support 3.7V-4.2V
    ¢Ý Onboard RGB Light WS2812 RGB LED, controlled by pin IO5/D8
    ¢Þ Onboard LED LED controlled by pin IO2/D9
    ¢ß Reset Button Press to reset program
    ¢à Low-power Solder Jumper Pad Designed for low power mode and default to be connected. Slightly cut off the thin wire with a knife to disconnect it. When disconnected, static power consumption can be reduced by 500 ¦ÌA. The power consumption can be reduced to 2mA after controlling the maincontroller to enter the sleep mode through the program.
    Note: when the pad is disconnected, you can only drive RGB LED light via the USB Power supply.
    ¢á GDI DFRobot dedicated Display interface. Refer to the GDI part of this page.
    ¢â ESP32-E Chip ESP32-WROOM-32E

    Pinout

    DFR0654-Pinout

    Categroy Description
    Control FireBeetle enable/reset pins
    Touch Pin with capacitive touch function
    Analog Analog pin
    Port PIN Default physical pin number of the chip, which can be used to directly control the corresponding pin
    Arduino IDE In Arduino IDE, the pin numbers have been remapped by FireBeetle, and you can directly use this symbol to control the corresponding pin
    RTC PIN FireBeetle 2 ESP32-E supports low power function, and in Deep-sleep mode, only RTC pin keeps working and can be used as a wave-up source. When RTC pin is used as an output pin, it keeps outputting level value when the chip is in Deep-sleep mode, while as an input pin, it can wake up the chip from Deep-sleep.
    GND Common ground for all power supplies and logics
    Power When powered by 5V-USB, VCC outputs about 4.7V and 3V3 outputs 3.3V; When powered by 4V li-ion battery, VCC outputs about 4V and 3V3 outputs 3.3V(Actual measurement)

    FireBeetle 2 ESP32-E has up to 24 physical GPIOs, which are mainly for connecting peripherals like sensors, actuators, etc. Meanwhile, these IO pins can be multiplexed for other functions such as UART, SPI, I2C and so on. The table below provides users with a detailed description of FireBeetle 2 ESP32-E GPIO.

    Pin Number Name Function ADC Communication Remark
    GPIO 0 0/D5 Used as input or output ADC2_CH1 Occupied when using USB transmission
    GPIO 1 1/TXD Used as input or output UART0_TX Occupied when using USB power supply and serial printing
    GPIO 2 2/D9 Used as input or output ADC2_CH2 For controlling onboard LED by outputting digital signal
    GPIO 3 3/RXD Used as input or output UART0_RX Occupied when using USB power supply and serial printing
    GPIO 4 4/D12 Used as input or output ADC2_CH0
    GPIO 12 12/D13 Used as input or output ADC2_CH5
    GPIO 13 13/D7 Used as input or output ADC2_CH4
    GPIO 14 14/D6 Used as input or output ADC2_CH6
    GPIO 15 15/A4 Used as input or output ADC2_CH3
    GPIO 18 18/SCK Used as input or output SPI_SCK
    GPIO 19 19/MISO Used as input or output SPI_MISO
    GPIO 21 21/SDA Used as input or output I2C_SDA
    GPIO 22 22/SCL Used as input or output I2C_SCL
    GPIO 23 23/MOSI Used as input or output SPI_MOSI
    GPIO 25 25/D2 Used as input or output ADC2_CH8 DAC_1£¨Range: 0-255; Output Voltage: 0-3.3V£©
    GPIO 26 26/D3 Used as input or output ADC2_CH9 DAC_2£¨Range: 0-255; Output Voltage: 0-3.3V£©
    GPIO 34 34/A2 Used as input only ADC1_CH6
    GPIO 35 35/A3 Used as input only ADC1_CH7
    GPIO 36 36/A0 Used as input only
    GPIO 39 39/A1 Used as input only

    Note:

    • It is recommended not to multiplex the pin IO0/D5, IO1/TXD and IO3/RX since they will be occupied when using USB-related function. The USB-related circuit design is shown below:

    DFR0654-USB Schematic

    • IO34-39 are for input only.
    • FireBeetle 2 ESP32-E has two 8-bit DAC channel that converts 2-way digital signal to 2 analog voltage outputs. Two channels can work independently. DAC circuit is composed of built-in resistors in series and a buffer. The two DACs can be used as reference voltage.
  • CE CE
  • RoHS RoHS
  • Was this article helpful?

    TOP