Getting Started
Last revision 2026/02/05
Getting Started
Arduino IDE Configuration
Click to enter the official Arduino website Download Arduino IDE
Select and download the Arduino IDE package that is appropriate for your computer OS.

Arduino IDE compiler environment config
It is required to install ESP32 board in Arduino IDE for using FireBeetle 2 ESP32-UE(N16R2) for the first time.
-
Open Arduino IDE, click File-Preferences, as shown below.

-
In the newly opened interface, click the button in the red circle as shown below.

-
Add the json URL below to the newly-popped up window. There should be one URL for each line.
https://espressif.github.io/arduino-esp32/package_esp32_index.json
Click OK then.

-
Download SDK. Click Tools->Board>Boards Manager.

-
Enter "ESP32" in the search bar, then the SDK for esp32 will appear automatically. Click install now.

When the SDK installation completes, the word "installed" will appear at the position marked in red below. Close the window.

-
Select FireBeetle 2 ESP32-E development board. Click Tools-->Board-->ESP32 Arduino-->FireBeetle ESP32-E, as shown below.

-
Once you have selected the development board, connect your FireBeetle 2 ESP32-UE(N16R2) to your computer and follow the steps below for setup. Finally, select the corresponding serial port.

-
Now, the FireBeetle 2 ESP32-UE(N16R2) is configured in Arduino IDE and it's ready to go.
Sample Code
The LED(circled in red below) on FireBeetle 2 ESP32-E is default to be connected to pin 2/D9. Now make it blink by programming.

The on-board LED blinks at an interval of 1 second.
int ledPin = D9; //Define LED pin
void setup(){
pinMode(ledPin, OUTPUT);// Set ledPin as output mode
}
void loop(){
digitalWrite(ledPin, HIGH); // Outputting high, the LED turns on
delay(1000); //Delay 1 second
digitalWrite(ledPin, LOW); // Outputting low, the LED turns off
delay(1000);
}
Result
When the program is uploaded, the on-board LED blinks at a one-second interval repeatedly.
Was this article helpful?
