1. Download Arduino IDE
Arduino IDE is the easiest way to program ESP32 boards.
2. Install ESP32 Board Support (Important)
- Open Arduino IDE
- Go to File → Preferences
- Paste the following URL in Additional Board Manager URLs:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
- Click OK
- Go to Tools → Board → Boards Manager
- Search for ESP32
- Click Install
3. Official ESP32 Downloads (ESP-IDF)
For advanced users and professional development.
4. Arduino ESP32 Core (Manual Download)
5. USB Driver (If Board Not Detected)
Most ESP32 boards use CH340 or CP210x USB chips.
https://espressif.github.io/arduino-esp32/package_esp32_index.json
6. Select Board & Upload Code
- Connect ESP32 via USB
- Go to Tools → Board → ESP32 Arduino
- Select your board (e.g. ESP32 Dev Module)
- Go to Tools → Port and select correct port
- Click Upload