SimpleThimble Course: Arduino IDE Setup for ESP32 and ESP8266
This guide provides step-by-step instructions on how to configure the Arduino IDE to work with ESP32 and ESP8266 boards.
Prerequisites
Arduino IDE Version: 2.3.1 Download for Windows (64-bit): Arduino IDE 2.3.1
—
Setup Instructions
Step 1: Install Arduino IDE
Download the Arduino IDE 2.3.1.
Run the
.msifile and follow the installation instructions.
—
Step 2: Add ESP Board Manager URLs
Open Arduino IDE.
Navigate to File -> Preferences.
Scroll to the “Additional Boards Manager URLs” field and click the blue icon to open the input field.
Add the following URLs:
https://dl.espressif.com/dl/package_esp32_index.json
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
https://arduino.esp8266.com/stable/package_esp8266com_index.json
Click OK to save and close the Preferences window.
—
Step 3: Install ESP32 and ESP8266 Board Packages
Go to Tools -> Board -> Board Manager.
Search for
espin the search bar.Install the following packages:
ESP32 by Espressif Systems (version 2.0.5)
ESP8266 by ESP8266 Community (version 2.7.4)
—
Troubleshooting
Missing Drivers
Open Device Manager on your system and check the type of USB-to-UART conversion chip being used.
Based on the chip type, download the corresponding driver. For example:
If the chip type is USB-SERIAL CH340, download the driver from this link.
Additional drivers:
ESP8266 Drivers: Download CP210x Drivers
ESP32 Drivers: Install CH9102 Drivers
—