ESP32 Development Board Setup Guide for Arduino IDE
1. Download Software and Development Board
To begin, download the necessary software and development board modules. The Arduino IDE, available from the official website (https://www.arduino.cc/en/Main/Software), will be used to illustrate the usage of these modules.
Open the Arduino IDE software. The Arduino IDE interface will then be displayed.
2. Add ESP32 Development Environment
Add the ESP32 development environment path in Arduino IDE:
- Open File ➡️ Preferences (shortcut key 'Ctrl+,').
- In the "Additional Boards Manager URLs" field, paste the following JSON address:
https://dl.espressif.com/dl/package_esp32_index.json
- Click 'OK' ✔️.
- Click 'OK' again to return to the Arduino IDE homepage.
Next, click on the Development Board Manager. The Development Board Manager window will appear. Search for "ESP32" and install the development environment.
Once installed, you can select the ESP32 development board. This process adds support for numerous ESP32 modules within the Arduino IDE.
3. Select the Corresponding Port and Development Board Model
After installation, you need to select the correct COM port and the specific ESP32 development board model you are using from the Tools menu.
4. Manually Enter Download Mode
To upload code, the ESP32-C3 module must be in download mode. Follow one of these methods:
- Method 1: Press and hold the BOOT button, then power on the board.
- Method 2: Hold down the BOOT button on the ESP32-C3, then press the RESET button. Release the RESET button, and then release the BOOT button. The ESP32-C3 will now enter download mode.
5. Upload Code
With the board in download mode and the correct port and board selected, click the Upload button ▶️. Wait for the download to complete. Upon successful upload, the RGB lights on the module will flash normally ?, and a WiFi connection will be established.