

Connect your Esp8266 to Arduino IDE and Select the correct COM Port and board type and upload the program. Look for the mapping of pins in with your Esp8266 vendor, if the program not working properly for you, the fault will be with the pin mapping functionalities, Here I used the D7 pin which mapped to 13th pin when program from the Arduino IDE. If you like the above tutorial and if you want try out with cool projects you can also check this link here, that's the amazon book link where you can use that book to make IoT with Esp8266 or Nodemcu, that books gives you basic coverage on how to do simple things and get yourself started with arduino and goes on developing projects like sending data to webserver and creating a webserver, uploading and controlling data from a webpage, how to interface TFT LCD and I2C devices and many more things can find on the link.įor the above video I have used NodeMcu, you can use any type of Esp8266 to make this thing work in your web browser. void setup() // the loop function runs over and over again foreverĭigitalWrite(13, HIGH) // turn the LED on (HIGH is the voltage level)ĭigitalWrite(13, LOW) // turn the LED off by making the voltage LOW and select the correct COM port to run the program on your esp8266 device. go to board and select the type of esp8266 you are using. The 13th pin is mapped into D7 pin of NodeMCU. The reason why I used D7 pin for this example is, I uploaded the basic blink program that comes with the examples program in the arduino IDE which is connected with 13 pin of arduino. For this example I have used NodeMCU esp8266 and if you are using any other vendor wifi chips or generic wifi module please check with the esp8266 Pin mapping which is very essential to make things works.


Once all the above process been completed we are read to program our esp8266 with Arduino IDE. Navigate to esp8266 by esp8266 community and install the software for Arduino. Lets begin with Installing the Esp8266 support for the Arduino and see how to blink an LED ( the hello world in the electronics )Ĭheck out the video to know step by step tutorial on how to get started with our favourite chip Esp8266įirstly open the Arduino IDE Go to files and click on the preference in the Arduino IDEĬopy the below code in the Additional boards Manager click OK to close the preference Tab.Īfter completing the above steps, go to Tools and board, and then select board Manager Yes it's been long time since they did and this post is bit later to thanks the good hearted work by the guys out there. Thanks to the guys those who ported the Esp8266 into Arduino IDE and helping all the arduino users happy to the core.
