Start with NodeMCU

              NODEmcu is an inexpensive WiFi module that enables makers and entrepreneurs to develop low-cost electronics for integration into the Internet of Things (IoT). Designed by Espressif Systems, the ESP8266 is targeted towards the open-source market.
We will program our module using the Arduino IDE program. Let’s start by adding our board to the Arduino IDE program.
The full Arduino ESP8266 package is located on GitHub:

There, you can find information regarding documentation, licensing and credits, and all of the build tools needed to run the ESP8266 on the Arduino platform. The most important thing to note is the Boards Manager link:

Copy the link to preferences, Open Arduino IDE -> File -> Preferences -> Additional Board Manager URLs: HERE PASTE LINK-> Click OK.

Now open Board Manager (Tools -> Board -> Board Manager) and install package the: ESP8266  by ESP8266 Community

Now all the board related to ESP8266 will appear, I use NODEmcu,  I use nodemcu in version 1.0 so I choose NodeMCU 1.0 (ESP-12E Module). If you do not know which version you have, click “Get Board Info” or check in the store from which you bought your board.

Time to test!

We will upload the simplest sketch Blink to our module, open a ready example in the Arduino IDE or copy the code below. If you get a upload error:

Method one:
You must reset the module, either with a button or simply by unplugging the power and reconnect it. You must do it few seconds before uploading the sketch

Method two:
Change board. In my case, everything works fine if I set the board on “Wemon D1 R1”

Leave a Reply