The Arduino (or in some cases also Genuino) is a physical hard and software development plattform. During the recent years its developing environment grow to a useful and library rich developing platform. Because of that the esp8266 team created an conversion tool to its internal programming language lua.
Setting up the Arduino IDE for esp8266 programming is really easy. Just follow this small guide.
Step 1: Download the arduino IDE software
Go to the most recent version download page of the Arduino IDE. Please keep in mind that you’ll need at least version 1.6.x. In some cases it is not available at the packet repositories of your beloved Debian Distribution.
chmod +x -/arduino.sh
After that double click the application…
Et voila, your IDE should look somehow like this:
Step 2: Setting up the IDE to work with ESP8266 by board manager.
We need to add an additional url to the boards manager sources list. For that open File > Preferences
And add http://arduino.esp8266.com/stable/package_esp8266com_index.json to the Additional Boards Manager URLs.
install the latest version:
After that you should be able to select the Generic ESP Module board in Tools > Board
Step 3: Use the Examples to learn to code
This step is easy. Open File > Examples > ESP8266Wifi > WifiWebServer as a good starting point.
In the next post we will have a look at how to wire the ESP8266 up for an easy flashing.