ESP32: Setting Up for Arduino IDE
// electronics — 10 mins
The ESP32 is a powerful dual-core microcontroller with integrated WiFi and Bluetooth. To program it via Arduino IDE, you must install the official board core.
Requirements
- Arduino IDE 2.x
- Micro-USB or USB-C cable
- ESP32 Development Board
Process
1. Board Manager URL
Open Preferences in Arduino IDE. Add this to 'Additional Boards Manager URLs': https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
2. Core Installation
Navigate to Tools > Board > Boards Manager. Search for 'esp32' and install the version by Espressif Systems.
3. Port Selection
Plug in your board. Under Tools > Port, select the COM port that appears. If no port appears, install the CP210x or CH340 drivers.
4. Upload Settings
Select your specific board model (e.g., 'DOIT ESP32 DEVKIT V1'). Set the Upload Speed to 115200 for maximum reliability.
> Pro Tip: If you see 'Connecting...' but it fails, hold the BOOT button on the board while the upload starts.