Saturday, October 23, 2021

Home Automation With NodeMCU & Blynk

Introduction:

                  This Project is Home automation using NodeMCU and Blynk applications. This project is one of the IoT Projects. NodeMCU is a low-cost Open Source IoT platform. It initially included firmware that runs on the ESP8266 Wi-Fi SoC from Express if system and hardware based on the ESP-12 module. We Control this NodeMCU with the Help of the Internet. This Board has In-build Wi-Fi Module.

Circuit Connections:

                                             The circuit for this NodeMCU Blynk Home Automation project is Simple. Here I have used an active low 5V relay module and Some Jumper Wires. First of all, Fit the NodeMCU on the Bread Board. Then Connect the NodeMCU’s Vin Pin to the Upper Row of the Bread Board and Ground to the Lower Row of the Bread Board. These Two Terminals are the Input Power Supply Wires. Then Take the 5V Relay Module and Connect the Relay Module’s Power Supply Wires to the Input Power Supply Wires. Then Connect the Relay Module’s 1st Input Pin to the D1 and then the 2nd Input Pin to the D2 of the NodeMCU. Then Check the Connections One More Time Before Giving the Power Supply. Thus Circuit Connections were Fulfilled.

Circuit Diagram:


Blynk Application InterFacing:

Download the Blynk Legacy (Old Version) Application from the Play Store.

Click Here to Download

  
     1) Login with Facebook ID  
                            
             
2) Create New Project
              

 
3) Give Project Name & Select the Board as
NodeMCU & Connection Type Wi-Fi


4) Copy the Authentication Token from 
Registered Mail on Facebook


5) Empty Interface of the Blynk & Widget Box


6) Add Two Buttons


7) Configure the Two Button with NodeMCU's 
Digital Pin Like This


8) Select Digital Pin-1 & Change the Push to Switch






9) Select Digital Pin-2 &  Change the Push to Switch



10) This is Our Edited Interface. You can See Buttons 
are Show the Digital Pin Number



10) Our Interface, When in Play Mode


                         That Red Color Symbol on Board is , When Our Board is Offline. When the Board Get Program Uploaded and Connected to Wi-Fi, That Symbol is Gone.

After Finishing the Above Steps,

                                      Upload the Below Project Code into the NodeMCU, by Following Steps in Our Video.

Project Code:



Working:

                      We Control this Project with the Help of an External Wi-Fi source and Blynk Application. The Blynk Application will be connected through the Authentication ID. This Authentication ID is Send to Your Mail ID Registered on Your Facebook Account. This ID is Very Important for Uploading Code and Project Working. When Your NodeMCU is Connected to the Power Supply and then Connected to the Wi-Fi, Thus the Board Symbol is not showing Offline Symbol. Thus Controls Will be Command by the Mobile

Controlling AC Lamps with Wi-Fi:

                            Now we can control these AC lamps or any other home appliances from the smartphone. So this is a simple but Useful internet of things project which I can control the home appliances from anywhere if I have an internet connection on my mobile.

I hope, you like this IoT-based project with NodeMCU.

Part List:

     1)   NodeMCU ESP-8266 Module =1

      2)   5 Volt Relay Module =1

      3)   Bread Board =1

      4)   Some Wires =1

      5)   Input Power Supply =1

Click Here to See YouTube Video For this Article

 
If you want this full kit
 
Click here to buy




No comments:

Post a Comment

Thanks For Visiting