Installing ESP8266 and ESP32 Core in Arduino (Windows,Mac,Linux)
by Ankit Ghevariya in Circuits > Arduino
4778 Views, 5 Favorites, 0 Comments
Installing ESP8266 and ESP32 Core in Arduino (Windows,Mac,Linux)
The ESP8266 and ESP32 are adopted widely by professionals as well as hobbyists due to it's durability, compactness and power saving hardware in the filed of IoT. The fresh chip working on ATcommands which is difficult to program and needs another MCU to handle the operations of the ESP8266/ESP32 chip.
Fortunately, You can program the chip by Arduino IDE, you can load the firmware in the ESP and run all the operation without help of any master MCU. For that you should have to follow some steps to install the core files in the IDE, which is shown below.
There are several methods to install the core files, but here I am only showing you installation using the help of board manager. This method is useful for end-users and non technical people.
Open Arduino IDE & Preferences
Prerequisites :
- You need Arduino IDE software installed in your system. For download, visit the official Arduino Website.
- Active internet connection.
Are you ready with Arduino IDE?
Start the Arduino IDE.
Go to File > Preferences. It will open the Preferences window.
Enter the following URL into the Additional Board Manager URLs field. You can add multiple URLs by using commas. Here, we have two URLs one for ESP8266 and another is for ESP32.
https://dl.espressif.com/dl/package_esp32_index.json,http://arduino.esp8266.com/stable/package_esp8266com_index.json
Open Board Manager & Install Package
Go to Tools > Board: > Boards Manager...
In the boards, manager window scroll down and find ESP8266 and ESP32 platforms. Click on the drop-down, select the version you need and then click on the install button. If you do not want to install the ESP32 then leave it as it is.
​Finalizing
Restart the Arduino IDE.
Select your ESP8266 configuration in the Board option in the tools menu.