WiFi Controlled LED Using NodeMCU
by secretofelectronics in Circuits > Arduino
564 Views, 1 Favorites, 0 Comments
WiFi Controlled LED Using NodeMCU
Hi friend welcome to secret of electronics. In this article I will tall you how to make wifi controlled LED using nodemcu.
Component list:-
1. NodeMCU
2. 3V LED
3. 220 Ohm Resistor
4. Breadboard
5. Jumper Wire
What Is NodeMCU
NodeMCU is a devlopement board this board comes with wifi module. So we can use this board in our iot and wireless project. We can easily program this board by arduino IDE. We can also program this code by micropython. but is we program this board by micropython than first we need upload firmware in this board. in this project i am using arduino ide so we not need to upload any firmware.
Code for NodeMCU
if you are using this board first time than first you should need add this board in your ide. if i dicuss how to add this board in your ide than the article will very long. so we providing a link below :-
click here for how to add this board in your ide
you can download this project code by given below link:
Click here for this project code
After downloading open this code in your arduino ide change the ssid and password with your ssid and password. After Changing save this code and compile this code after successfully compiletion upload this code in your NodeMCU board.
Circuit Diagram
Connect all component together according above diagram.
How to Find NodeMCU IP Address
connect your nodemcu board with your pc or laptop by usb cable. Open serial moniter in arduino ide same time later in serial moniter you can see a ip address note this ip and open your smartphone browser .
For turn on led type
your_ip/on
For turn off led type
Your_ip/off
Feedback
I hope you will like this project. if you learn something new by this article than do not forget to like share and follow my official accounts on all other platform.