Arduino Support for ESP8266 with simple test code
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
Contents
- 1 Arduino support for ESP8266
- 1.1 Download Arduino IDE from Arduino.cc ( 1.6.4 or greater)
- 1.2 Install the ESP8266 Board Package'
- 1.2.1 Select the Preferences under File.
- 1.2.2 Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Boards Manager URL's field under preferences as shown below.
- 1.2.3 Next, Select the Board manager under Tools.
- 1.2.4 Next, use the Board manager to install the ESP8266 package.
- 1.2.5 Restart the Arduino IDE and Select the specific Board.
- 2 Test Example
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.
Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Boards Manager URL's field under preferences as shown below.
Next, Select the Board manager under Tools.
Next, use the Board manager to install the ESP8266 package.
Restart the Arduino IDE and Select the specific Board.
Test Example