Random Nerd Tutorials

How to Install the ESP8266 Board in Arduino IDE


There are a variety of development environments that can be used to program the ESP8266. 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.

Before continue reading this tutorial, please read the following blog post to learn more about this WiFi module: How to get started with the ESP8266.

If you like the ESP and you want to do more projects you can read my eBook Home Automation using ESP8266 here.

Let’s get started!

Downloading Arduino IDE

First download the Arduino IDE to ensure that you have the latest software version (some older versions won’t work), visit the following URL: https://www.arduino.cc/en/Main/Software.

Then select your operating system and download the latest software release of the Arduino IDE.

Installing Arduino IDE

Grab the file that you have just downloaded and open the Arduino IDE application file (see Figure below).

openning arduino ide

When the Arduino IDE first opens, this is what you should see:

Arduino IDE screenshot

Installing the ESP8266 Board

To install the ESP8266 board in your Arduino IDE, follow these next instructions:

1) Open the preferences window from the Arduino IDE. Go to File > Preferences

2) Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field and click the “OK” button

Arduino IDE preferences

3) Open boards manager. Go to Tools > Board > Boards Manager…

Arduino IDE boards manager

4) Scroll down, select the ESP8266 board menu and install “esp8266 platform”

installing esp board

5) Choose your ESP8266 board from Tools > Board > Generic ESP8266 Module

Arduino IDE select esp8266

6) Finally, re-open your Arduino IDE

Testing the Installation

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 List:

Here’s the hardware that you need to complete this project:

You can use the preceding links or go directly to MakerAdvisor.com/tools to find all the parts for your projects at the best price!

Uploading Code

To upload code to your ESP follow these schematics:

ESP8266 FlasherThen upload the sketch below to your ESP using the Arduino IDE. You should see “Done Uploading” after a few seconds.

Note: You have to select your FTDI’s port number under the Tools > Port menu of the Arduino IDE.


Now assemble this simple circuit and add an LED to your ESP. Your LED should be blinking every 1 second.

ESP8266 Blinking an LED

Do you have any questions? Leave a comment down below!

Thanks for reading. If you like this post probably you might like my next ones, so please support me by subscribing my blog and my Facebook Page.

Recommended Resources

Home Automation using ESP8266 »
Build IoT projects and home automation gadgets with the ESP8266 Wi-Fi module.

Build a Home Automation System »
Learn how to build a automation system using open-source hardware and software from scratch.

Arduino Step-by-Step Projects »
Build 25 cool Arduino projects with our couse even with no prior experience!

Leave a Comment:

Add Your Reply