FireBeetle 2 ESP32-UE (N16R2) IoT Board

SKU: DFR1140

FireBeetle 2 ESP32-UE(N16R2) is a low-power IoT dev board based on ESP32-WROOM-32UE-N16R2 (32-bit dual-core 240MHz). It features 16M Flash, 2M PSRAM, external Bluetooth/WiFi antennas (extends range), rich interfaces, dual power (USB/3.7V lithium), and multiple programming (Arduino/IDF/MicroPython). Ideal for home automation, IoT prototyping, remote control, and LVGL projects.

Board Overview of FireBeetle 2 ESP32-UE (N16R2) IoT Microcontroller
  • Docs
  • Tech Specs
  • 1. Getting Started

    Getting Started

    2. 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.

    3. 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.

    4. 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.

    5. 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.

    6. 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.

    7. 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.

    8. 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.

    9. Example Code for Arduino-Blink a LED

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

    10. Example Code for Arduino-GPIO

    11. 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.

    12. 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.

    13. 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.

    14. 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.

    15. 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.

    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.

    Specification

    Power Parameters

    Parameter Details
    Input Voltage - USB-C interface: 5V DC
    - PH2.0 interface: 3.7V Li-ion
    - VCC pin: 5V DC

    MCU Parameters

    Parameter Details
    Processor Tensilica LX6 dual-core processor (one core for high-speed connectivity, one core for independent application development)
    Clock Frequency 240MHz
    SRAM 520KB
    ROM 448KB
    Flash 16MB
    PSRAM 2MB
    On-chip Clock 40MHz crystal oscillator, 32.768KHz crystal oscillator

    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 ×17: IO0, IO1, IO2, IO3, IO4, IO12, IO13, IO14, IO15, IO17, IO18, IO19, IO21, IO22, IO23, IO25, IO26
    Analog Pins ×11: IO0, IO2, IO4, IO12, IO13, IO14, IO15, IO25, IO26, I34, I35
    UART Interfaces ×3
    SPI Interface ×1
    I2C Interface ×1
    I2S Interface ×1
    DAC Interface ×2
    Touch Interfaces ×7
    LED PWM Channels ×16
    RGB_LED WS2812
    Display Interface GDI

    Other Parameters

    Parameter Details
    Interface Compatibility FireBeetle V2 series compatible
    Module Size 25.4mm × 60mm
    Weight 23.4g

    Pinout

    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.5V-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 13 μA 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-UE Module ESP32-WROOM-32UE-N16R2

    Category 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-UE(N16R2) 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-UE(N16R2) has up to 21 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-UE(N16R2) 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

    Was this article helpful?

    TOP