Install the ESP32 plugin in the Arduino IDE
Method 1 (Applicable to both Windows and Mac OS):
When you open the Arduino IDE, select Tools > Board, you will
find that the Arduino IDE only has Arduino AVR Boards and no
esp32.
This time we use the control board is the ESP32 control board,
so we need to install the ESP32 board in the Arduino IDE. Follow
these steps:
1. Open File >Preferences
1
2. Add the development board management address URL.
3. Copy the URL in the lower box and add it to the "Additional
Boards Manager URLs".
http://arduino.esp8266.com/stable/package_esp8266com_index.json
https://www.arduino.me/package_esp32_index.json
2
4.After adding the URL, click "OK".
5.Click Tools > Board > Boards Manager.
3
6. In the Boards Manager search bar, type "ESP32", find "esp32",
and install it. Please choose version 2.0.12. (Note: Do not select
versions 3.0 or higher.)
4
7.If the following screen appears, please wait until the installation is
complete then turn off the Arduino IDE.
8. Open the Arduino IDE again and select Tools > Board. You will
see the esp32 board appear.
5
Method 2 (Applicable only to Windows):
If the installation of "ESP32" in the Boards Manager keeps
failing and cannot be installed successfully, you can use the offline
installation package to install the ESP32 board.
1. Add the Additional Board Manager URL
Open File > Preferences, and in the Additional Boards
Manager URLs input field, enter the following URL(For detailed
steps, refer to steps 1 to 4 of the first method):
https://arduino.me/packages/esp32.json
6
2. Install the Offline Package
Click on "KUONGSHUN AD176 ESP32 WiFi Camera Mecanum
4WD Smart Robot Car\2_Programming Preparation\2. Add ESP32
Board in Arduino IDE" and run
esp32_package_2.0.12_arduinome.exe directly. The program will
automatically install and extract the necessary files to the
appropriate location.
7
3. Check the Board
After the installation is complete, restart the Arduino IDE, and
you will be able to find your ESP32 board under Tools > Board.