PRODUCT DOCUMENTATION
Set up Arduino for ESP32
Install the ESP32 board package and run a first serial example.
On this page
Before you beginInstall the board packageRun a serial exampleUpload troubleshootingOfficial resourcesBefore you begin
Have your ESP32 board, a USB data cable and a computer ready. Identify the chip family and hardware revision printed on your board.
Install the board package
- Install Arduino IDE.
- Open Preferences and add the stable Espressif package URL below to Additional Boards Manager URLs.
- Open Boards Manager and install the esp32 package by Espressif Systems.
- Select the board definition matching your hardware and choose its serial port.
https://espressif.github.io/arduino-esp32/package_esp32_index.json
Run a serial example
Compile and upload this example. Open Serial Monitor at 115200 baud. It requires no external wiring.
void setup() {
Serial.begin(115200);
delay(1000);
Serial.println("Hello from ESP32S!");
}
void loop() {
delay(1000);
Serial.println("Board is running.");
}
Upload troubleshooting
Try another data cable, check the serial port and close applications using it. Follow your board instructions if manual download mode is required.
Official resources
Espressif Arduino installation guide · Arduino-ESP32 examples
Need help with your board?
Share the product link, hardware revision, software version and any error messages.
Contact ESP32S support →