Example Code for Arduino - Getting Started
The article provides a step-by-step guide for first-time users of the ESP32 development board, detailing how to configure Arduino IDE, select the appropriate board settings, and execute a simple LED blinking program.
Tutorial - First Time Use
Arduino IDE Configuration
When you use the ESP32 for the first time, you need to know the following steps:
- Add the ESP32 development board in Arduino IDE (How to add the ESP32 board to Arduino IDE?)
- Select the development board and serial port
- Burn the program
Select Development Board
-
Click Tools->Board, select "DFRobot Firebeetle 2 ESP32-S3".

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

Serial print
- Copy the code into the window and click "Upload" to upload the code.
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.println("Hello World");
delay(1000);
}

- Wait for the programming to complete. Open the serial monitor; you should see "Hello world" output from the serial port.
- If there is no serial output, please reset the development board.
- If programming fails, please refer to the FAQ.
Was this article helpful?
