Programming NodeMCU is as easy as programming as Arduino UNO. You just have to equip your Arduino IDE.
First Connect the NodeMCU to your PC or Laptop using a micro USB data cable.
Then go to the link (NodeMCU Driver) to download the driver. Download and Extract the driver and install it.
Now open the Arduino IDE and go to File > Preferences
In the Preferences window, you will find Additional Boards Manager URLs. Just copy the line below and paste it there.
http://arduino.esp8266.com/stable/package_esp8266com_index.json
Then close the IDE and reopen it.
Now go to Tools > Board: > Boards Manager
Open the Boards Manager and search for nodemcu.
Then install the most updated version from there.
That's all you have to do. Now let's check what changes have come.
Go to File > Examples > Basic > Blink
Now Go to Tools > Boards: and select NodeMCU
After selecting the board go to Port and select the right communication port. Hit the Upload button.
The upload may take a few seconds and after that, you will find a screen like this stating that uploading is done. During the upload the led near pin D0 might blink several times but after the uploading is complete the led will keep glowing for 1 sec and staying off for 1 second.
Video: Coming Soon
NodeMCU Driver Link: https://github.com/nodemcu/nodemcu-devkit/tree/master/Drivers
No comments:
Post a Comment