PROGRAMMING ESP/NODEMCU WITH ARDUINO IDE
Hello everyone, Today I will be showing how to add ESP8266 support package to Arduino IDE. and program the same using Ardunio IDE.
THINGS YOU NEED
- ESP8266 NodeMCU
- Personal computer
- Arduino IDE
- Driver for NodeMCU (Install Driver)
LET’S GET STARTED
Firstly you will need Arduino IDE to be installed in your system. If you don’t have it download the latest version from here
Once IDE is installed open it
1. FILE > PREFERENCES
- Enter the below link in the Additional Boards Manager and press OK.
- Now open Boards Manager
Tools > Board > Boards Manager .Search for ESP8266 and install it
Once the installation is completed you are ready to program esp8266 with Arduino IDE.
You can see a new list of boards added to boars section of your IDE.
Now test the IDE by uploading an example sketch from examples
Goto Example > ESP8266 > Blink . Select the corresponding board from the list
Here I have used ESP8266 NodeMCU and if you are using other boards/ wifi module. Then select your corresponding boards from the list.
NodeMCU has 2 inbuilt LED on it one connected pin 2 and other to pin 16
Here is the pin mapping of NodeMCU
Feel free to ask any queries .