If you are familiar with the Arduino IDE and not looking forward to learn using a different programming tool to program your ESP8266 board then this article is for you.
In this post you will learn how to program your amazing ESP8266 board using libraries created for the Arduino IDE.
You can either buy a Sonoff with an integrated relay controlled by an ESP8266 (Recommended) or build one from scratch using an ESP 8266 micro controller.
We can do this by downloading the ESP libraries to make them compatible with the Arduino IDE.
In order to do that, we need to add the ESPP8266 board manager to the Arduino repository.
Copy and paste the following link into the Arduino’s Additional Board managers URL field from the File –> Preferences menu.
If you already have a different manager in there you can separate them with a comma.
Now we have to install the board manager from the Tools –> Board –> Boards Manager menu.
Once you selected to install the board manager you will see it downloading and when its complete will show the installed board in the above list.
Now all we need to do is make sure we select the board from the boards menu Tools –> Boards –> Generic ESP8266 Module.
You are ready to start coding your next project. Make sure you select the correct COM port to which your ESP’s FTDI is connected to. From the tools menu. Tools –> Port –> COM[X].
There are plenty example sketches that you can use to get started from the list of examples menu File –> Examples.
More posts relating to the ESP8266 coming soon.
In the next article I will show you how to put the ESP8266 into programming mode.
52 total views, 2 views today