Guru (talk)


ESP8266 packs a lot of punch. It is not just a WiFi module, it also has a decent micro-controller in built. Now the best part is the community has made programming this inbuilt micro-controller extremely easy by adding Arduino support. In this small tutorial, I will show you how easy it is to add Arduino Support

Arduino support for ESP8266

​Download Arduino IDE from Arduino.cc ( 1.6.4 or greater)

   https://www.arduino.cc/en/Main/Software

Install the ESP8266 Board Package'​

Select the Preferences under File.

File-preference.png

Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Boards Manager URL's field under preferences as shown below.

Preference json.png

Next, Select the Board manager under Tools.

Board manager.png

Next, use the Board manager to install the ESP8266 package.

Install esp8266.png

Restart the Arduino IDE and Select the specific Board.

Board selecting.png

Test Example

To program ESP8266, you need a USB to serial converter. Image below shows connections made from Explore USB to Serial and Explore Wifi boards. Note that the Explore Wifi board has on board 3.3v regulator and circuitry to reset the board and put it in programming mode.