Getting Started

This article provides a comprehensive tutorial on configuring the Arduino IDE for first-time use with ESP32, detailing steps to add the development board, select the appropriate board and serial port, and successfully upload code, ensuring optimal setup and functionality.

Tutorial - First Time Use

Arduino IDE Configuration

When you use the ESP32 for the first time, you need to know the following steps:

  1. Add the ESP32 development board in Arduino IDE (How to add the ESP32 board to Arduino IDE?)
  2. Select the development board and serial port
  3. Burn the program

Select Development Board

  1. Click Tools->Board, select "DFRobot Romeo ESP32-S3".
    set board

  2. 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.)
    Select Development Board

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);
}

Serial print

  • 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?

TOP