Installing ESP8266 Board in Arduino IDE
Dr S M Lambor
Installing ESP8266 Board in Arduino IDE (Windows)
The ESP8266 community created an add-on for the Arduino
IDE that allows you to program the ESP8266 using the Arduino
IDE and its programming language.
This tutorial shows how to install the ESP8266 board in Arduino
IDE whether you’re using Windows, Mac OS X or Linux.
Prerequisites: Arduino IDE Installed
Before starting this installation procedure, make sure you have the
latest version of the Arduino IDE installed in your computer. If you
don’t, uninstall it and install it again. Otherwise, it may not work.
Having the latest Arduino IDE software installed from
arduino.cc/en/Main/Software.
Install ESP8266 Add-on in Arduino IDE
To install the ESP8266 board in your Arduino
IDE, follow these next instructions:
1. In your Arduino IDE, go to File>
Preferences
2. Enter
http://arduino.esp8266.com/stable/package_esp82
66com_index.json
into the “Additional Boards Manager URLs” field as shown
in the figure below. Then, click the “OK” button
http://
arduino.esp8266.com
/stable/
package_esp8266co
m_index.json
Note: if you already have the ESP32 boards URL, you can separate the URLs with a comma as follows:
3. Open the Boards Manager. Go to Tools > Board > Boards Manager…
4. Search for ESP8266 and press install button for the “ESP8266 by ESP8266 Community“:
5. That’s it. It should be installed after a few seconds.
Testing the Installation
Testing the Installation
Inbuilt LED
External LED
Testing the Installation- External LED
To test the ESP8266 add-on installation, let’s see if we can blink
an LED with the ESP8266 using the Arduino programming
language.
Parts Required
Here’s the hardware that you need to complete this project:
ESP8266 – read Best ESP8266
Wi-Fi Development Boards LED
330 Ohm resistor
Breadboard
Jumper wires
Uploading the Sketch
Uploading the Sketch to the ESP-12E
• If you’re using an ESP-12E NodeMCU Kit, uploading the sketch
is very simple, since it has built-in programmer.
• Plug your board to your computer.
• Make sure you have the right board selected
• You also need to select the port
You also need to select the Port: