The NodeMCU_ESP8266 can be used in various development platforms like the ESPlorer, LuaIDE, Arduino IDE etc. In this tutorial you will learn how to use it with the Arduino IDE.
First of all, you need to download the Arduino software. Click here to download it. You can also read my previous blog by clicking here, if you face any problem. After successfully installing the software, open it. Now, click on the File option in the menu bar and then click on preferences or press Ctrl+comma.
You will see this dialog box as shown.
In this additional boards manager URL’s option, paste this URL (https://arduino.esp8266.com/stable/package_esp8266com_index.json) which links the ESP boards in the IDE. After pasting, press the OK button. Now, go to Tools —-> Board—-> Boards Manager as shown.
You will see this dialog box appearing on the screen.
After this, search the esp8266 and install it by simply clicking on the install option. After successfully installing, ‘INSTALLED’ will appear on that dialog box . Now, Close the dialog box and again go to Tools —> Board. Then search the NodeMCU 0.9 under ESP 8266 boards as shown.
By now, you have successfully installed the ESP8266 board. Now, connect the hardware and enjoy coding! After completing all your sketch, you need to select the port with which you have connected the board. Just go to Tools—> Port and select your correct port. After this, you can upload the code.
I hope you have uploaded your sketch to the board! Remember that the ESP8266 board will take a bit more time than the normal Arduino boards. If you face any problem, feel free to write it in the comment section.