Install the ESP8266 plugin in the Arduino IDE

When you open the Arduino IDE, select Tools > Board, you will find that the Arduino IDE only has Arduino AVR Boards and no esp8266.

../../_images/install_the_esp32_plugin-1.png

So we need to install the ESP8266 board in the Arduino IDE. Follow these steps:

1.Open File >Preferences

../../_images/install_the_esp32_plugin-2.png

2.Add the development board management address URL.

../../_images/install_the_esp32_plugin-3.png

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

../../_images/install_the_esp32_plugin-4.png

4. After adding the URL, click “OK”.

../../_images/install_the_esp32_plugin-5.png
../../_images/install_the_esp32_plugin-6.png

5.Click Tools > Board > Boards Manager.

../../_images/install_the_esp32_plugin-7.png

6.Search for “ESP3266” in the BOARDS MANAGER’s search bar and install it.

../../_images/install_the_esp8266_plugin-1.png

7.Please wait until the installation is complete and turn off the Arduino IDE.

../../_images/install_the_esp8266_plugin-2.png

8.Re-open the Arduino IDE and select Tools>Board, you will find that the esp8266 board appears.

../../_images/install_the_esp8266_plugin-3.png