Adding the ESP8266 board to the Arduino IDE

Adding the ESP8266 board to the Arduino IDE
Published: by Renier Delport

The ESP8266 community created an add-on for the Arduino IDE that allows Arduino-like (C or C++) programming to be uploaded/flashed as software for the ESP8266 microcontroller.

This add-on enables the ESP8266 (i.e. ESP-01 boards) to be selectable as a ‘core’ under the Tools -> Board menu and will make this microcontroller compatible with the Arduino IDE. By adding the ESP8266 core to the Arduino IDE, an extensive range of libraries and sample code is also added.

Arduino IDE ESP8266 core

For quick reference, see the YouTube video on Popcorn Electronics.

You will need

  • Latest version of the Arduino IDE for your operating system.
  • Internet connection with more than 150 Mb data.

This post was done using Windows 10 and the Arduino IDE Store version 1.8.5.

Additional Boards Manager URLs

Adding the ESP8266 board is similar to adding any other third party core to the Arduino IDE – by using the Boards Manager. Before doing so, the ESP8266 JSON file needs to be added to the ‘Additional Boards Manager URLs’ under Preferences (File -> Preferences).

Arduino IDE preferences screen
Before being able to use the Arduino IDE Boards Manager to install the ESP8266 core, the JSON file must first be added to the Preferences -> Additional Boards Manager URLs.

By clicking on the folder icon next to Additional Boards Manager URLs, the Additional Boards Manager URLs popup screen will appear where multiple JSON files can be added at the same time. To add the ESP8266 core JSON file, copy and paste the link below into the space provided and choose OK. Choose OK again for the Preferences to accept the URLs.

http://arduino.esp8266.com/stable/package_esp8266com_index.json

Arduino IDE Additional Boards Manager URLs

Additional boards can be added at any time.

Boards Manager

This will take to you back to the Arduino IDE programming screen. The ESP8266 will now be selectable from the Boards Manager (Tools -> Board -> Boards Manager).

To go to the Boards Manager, go to Tools -> Board -> Boards Manager…

When the Boards Manager opens, a selection of installed and available boards will be listed. Before the list is accessible, the index file has to be downloaded.

From the Arduino IDE Boards Manager, use the search bar at the top and type in ESP8266. This will filter the options to the ‘esp8266 by ESP8266 Community’ core. Click on it, choose the desired/latest version and press Install.

Depending on the speed of your internet connection, the installation process can take several minutes to complete. After completion, press the Close button.

Choosing the ESP8266 board

After the ESP8266 core has been installed, it can be chosen as a Board form the Arduino IDE Board Menu (Tools -> Board -> ESP8266 Modules). Scrolling might be needed.

Arduino IDE board menu

Related product links

Please support Behind The Scenes by using these links to purchase these related products online from our partner websites. Links will open in a new window.

3 Pin PCB SPDT Micro Slide Switch (20pcs)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 1.20 / ZAR 17
Description: 20x 1 pole 2 throw 8x4x3.8mm SPDT slide switch.
40 Female To Female Jumper Cables (10cm)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 2.40 / ZAR 36
Description: 40x 10cm female to female electronic jumper cables.
40 Male To Female Jumper Cables (30cm)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 2.20 / ZAR 33
Description: 40x 30cm male to female electronic jumper cables.
5V 1A AC-DC Step Down Module Power Supply
Supplier: BangGood
Delivers: USA & worldwide
Price range: U$D 5 / ZAR 40
Description: Step down module from 85-265V to 5V. Small sized bare board.
5V 1A AC-DC Step Down Module Power Supply (3pcs)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 6.50 / ZAR 98
Description: 3x step down modules from 85-265V to 5V. Small sized bare boards.
5V 1A AC-DC Step Down Module Power Supply (5pcs)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 10.40 / ZAR 157
Description: 5x step down modules from 85-265V to 5V. Small sized bare boards.
5V to 3.3V 800mA DC Step Down Buck Module
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 1 / ZAR 15
Description: Using AMS1117. Small (8.6×12.33mm), easy to use, perfect to incorporate into ESP-01 and ESP-32 projects.
5V to 3.3V 800mA DC Step Down Buck Module (10pcs)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 3.80 / ZAR 57
Description: 10 units. Using AMS1117. Small (8.6×12.33mm), easy to use, perfect to incorporate into ESP-01 and ESP-32 projects.
5V to 3.3V 800mA DC Step Down Buck Module (5pcs)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 2.40 / ZAR 36
Description: 5 units. Using AMS1117. Small (8.6×12.33mm), easy to use, perfect to incorporate into ESP-01 and ESP-32 projects.
ESP-01 module (blue)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 2.30 / ZAR 49
Description: ESP-01 containing ESP8266 chip. 512 KB flash memory.
ESP-01S module (black, 3pcs)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 8.40 / ZAR 125
Description: 3 x ESP-01S’ containing ESP8266 chip. 1 MB flash memory.
ESP-01S module (black, 5pcs)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 13.40 / ZAR 200
Description: 5 x ESP-01S’ containing ESP8266 chip. 1 MB flash memory.
ESP-01S module (black)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 4.20 / ZAR 63
Description: ESP-01S containing ESP8266 chip. 1 MB flash memory.
Geekcreit FT232RL FTDI USB To TTL Serial Converter Module
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 2.20 / ZAR 37
Description: FT232RL FTDI USB to TTL serial converter module with Mini-B USB.
Geekcreit Micro Momentary Tactile Push Button Switch (100pcs)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 2 / ZAR 30
Description: 100 x through hole, normal open (NO) tactile switches (6 x 6 x 5mm).
MB102 Breadboard Module Adapter Shield 3.3V/5V
Supplier: BangGood
Delivers: USA & worldwide
Price range: U$D 3.40 / ZAR 23
Description: 5V/3.3V solderless breadboard power supply module. Compatible with 5.5cm width breadboards. Input voltage: 6.5-12 V DC or USB power supply. Maximum output current: <700 mA. Size: 5.3x3.2x2.5cm. Excludes breadboard. Perfect for Arduinos and ESPs.
Metal Film Resistor Value Pack (0.1Ohm-10MOhm)
Supplier: BangGood
Delivers: Worl
Price range: U$D 12 / ZAR 180
Description: 1100pcs, 10pcs of each type, 110 values. 0.50W power rating, 300V max. working voltage, 2% tolerance.
Mini-B USB Cable (1.3m)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 2.50 / ZAR 37
Description: 5-Pin USB 2.0 male to Mini-B USB male.
NPN 2N2222 Switch Transistors (50pcs)
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 1.40 / ZAR 20
Description: 50x 2N2222, through hole, triode transistors.
Solderless Breadboard (8.5×5.5cm)
Supplier: BangGood
Delivers: USA & Worldwide
Price range: U$D 5 / ZAR 39
Description: 400 tie points/holes.
Solderless Breadboard Jumper Cable Set
Supplier: BangGood
Delivers: Worldwide
Price range: U$D 4 / ZAR 60
Description: 140pcs U shape solderless breadboard jumper cable set.

Save, share & Disqus

Use the buttons below, on the left or the bottom of this page to share this post. Your comment is important, but don't be a shit. Keep it constructive and polite.

Comment via Disqus

Disqus is a worldwide comment hosting service for web sites and online communities. This secure platform ensures a pleasant commenting environment which is manageable from one account. Use the Login button to sign up.

More ESP8266 related posts

Try one of Lynda.com’s online software and skills learning courses
Try one of Lynda.com’s online software and skills learning courses
21 September 2018
Improve your knowledge on anything from programming to business skills with Lynda.com’s huge range of professional video courses. More…
The FTDI USB to TTL serial converter module
The FTDI USB to TTL serial converter module
5 June 2018
The FTDI USB to TTL serial converter module is an UART (universal asynchronous receiver-transmitter) board used for TTL serial communication. It is a breakout board for the FTDI FT232R chip with an USB interface, can use 3.3 or 5 V DC and has Tx/Rx and other breakout points. More…
Connecting the ESP-01 module to a breadboard and FTDI programmer
Connecting the ESP-01 module to a breadboard and FTDI programmer
12 September 2017 | Updated 4 June 2018
When compared to other microcontroller boards (e.g. the Arduinos), the ESP8266 is slightly more complex to hook up to a serial port for programming. This post will show how to connect the ESP-01 module to a breadboard and FTDI programmer for ‘flashing’ purposes. More…
About the author
Renier busies himself with improving his English writing, creative web design and his websites, photoshopping, micro-electronics, multiple genres of music, superhero movies and badass series.