Example Code for Arduino - Getting Started
ESP32 configuration in Arduino IDE involves adding the board, selecting development settings, and burning code. Learn first-time setup, including serial port configuration and troubleshooting for optimal performance.
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 Romeo 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?
