Step 2: Add ESP32 Support to the Arduino IDE
By default, the Arduino IDE doesn't support ESP32 boards. You need to add the ESP32 board package.
Add ESP32 Board Manager URL
-
Open the Arduino IDE
-
Go to File > Preferences (or Arduino > Preferences on macOS)
-
In the "Additional Board Manager URLs" field, add the following URL:
-
If you already have other URLs in this field, separate them with commas:
-
Click OK to save the preferences
Install the ESP32 Board Package
-
Go to Tools > Board > Boards Manager
-
In the search bar, type "ESP32"
-
Find the "esp32 by Espressif Systems" package
-
Click the "Install" button
-
Wait for the installation to complete - this may take a few minutes depending on your internet connection
Verify Installation
- Go to Tools > Board
- You should now see "ESP32 Arduino" in the list
- Expand it to see the available ESP32 boards
Troubleshooting
If you encounter issues:
- "Error downloading...": Check your internet connection and try again
- Installation hangs: Close and reopen the Arduino IDE, then try again
- URL not accepted: Make sure you've copied the URL exactly as shown above
Next Step
Once the ESP32 board package is installed, proceed to Connect Your ESP32.