Home Automation using NodeMCU ESP8266 and Blynk 2.0 with real-time feedback | IoT Projects 2021

preview_player
Показать описание
In this IoT project, I have shown how to make the Home Automation using NodeMCU ESP8266 and Blynk 2.0 to control 4 relays with real-time feedback. For this smart home project, I have used the FREE plan of the new Blynk IoT platform, so you can easily make this simple IoT-based home automation system to control the appliances with WiFi and manual switches.

Download PCB Gerber file for this NodeMCU IoT based home automation project

Visit the following website to get electronics components, modules at a very reasonable price

During the Blynk tutorial video, I have covered the following topics:
00:33 How to control NodeMCU ESP8266 from the New Blynk IoT app.
01:16 Required Components for this Blynk NodeMCU project.
01:33 Circuit of the NodeMCU ESP8266 control relay.
02:54 How to set up NEW Blynk 2.0 Web dashboard for ESP8266.
06:00 How to set up NEW Blynk IoT App.
07:26 Program NodeMCU with Arduino IDE.
08:02 Install New Blynk library in Arduino IDE.
09:20 Adding WiFi credentials Over Air (OTA)
10:24 Controlling appliances from Blynk App and switches.

Required Components for this NodeMCU home automation project
1. NodeMCU
2. 4-channel 5V SPDT Relay Module
3. Push Buttons or Switch

Amazon India Affiliate links:

Amazon United States Affiliate links:

Required Components for the NodeMCU control Relay Module PCB:
1. Relays 5v (SPDT) (4 no)
2. BC547 Transistors (4 no)
3. PC817 Optocuplors (4 no)
4. 510-ohm 0.25-watt Resistor (4 no) (R1 -- R4)
5. 1k 0.25-watt Resistors (5 no) (R5 -- R9)
6. LED 5-mm (5 no)
7. 1N4007 Diodes (5 no) (D1 -- D5)
8. Push Buttons (4 no)
9. Terminal Connectors
10. 5V DC supply

---------------------------
⚠️ This video took a long time to make if you would like to buy me a coffee to say thanks, link below: ☕
---------------------------

Download Code for this NodeMCU Blynk smart house automation project from the following article

Create an Account in Blynk Cloud

For the ESP32 Blynk 2.0, please refer to the following video

Important points:
**In code, you have to update only the BLYNK_TEMPLATE_ID & BLYNK_DEVICE_NAME as shown in the video.
**Keep all the 9 files (.ino & .h) in the same folder.
**You can only control the appliances if the WiFi is connected.
**Please take proper safety precautions while working with high voltages.

During this internet of things tutorial video, I have explained all the steps to configure the new Blynk 2.0 platform for any ESP8266 home automation system. Also explained how to create templates, and add Datastreams (Virtual Pin) in the Blynk IoT cloud account. If the NodeMCU connected with WiFi then you can control the relays from anywhere in the world. And you can also monitor the real-time feedback in the Blynk IoT applications. So with this smart house project, you can convert any appliance to IoT devices and control them through the internet.

#homeautomation #esp8266 #blynk
-------------------------------------------------------
Thanks For Watching...
✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS

-------------------------------------------------------

-------------------------------------------------------
WARNING:
This video is for demonstration and educational purposes only.
Each demonstration presents risks and hazards that must be fully understood before attempting.
And should be performed only by professionals
------------------------------------------------------

Other useful IoT projects:

Latest NodeMCU projects playlist:

Latest ESP32 projects playlist:

ESP32 Smart Home System with Amazon Alexa app & Manual Switches

WiFi Door Lock using ESP32 CAM & Blynk
Рекомендации по теме
Комментарии
Автор

⚠ This video took a long time to make if you would like to buy me a coffee to say thanks, link below: ☕

TechStudyCell
Автор

You code was amazing just tried with my esp and i really loved it. it was also saved the last state of the relay when power goes down, when the power is back the relay was turned back on. Very Helpful Thank you so much.😍😍

ArunKumar-uejn
Автор

The switch 1 is not manualy turning but all other are working properly

DESMOND
Автор

Thanks a lot, I met success but had to struggle a bit because the App now has got updated. Moreover I don't have to use the switches/buttons so modified the on value to zero and off value to one and it worked! Looking forward to more such videos from you.

nirupamdas
Автор

Everything is working fine but my first button v1 is not working. Can anyone tell me what can I do

moinali
Автор

Sir, tech studycell must be among the awarded learning platform in the world, by God's grace it will become one of among 10 in the. I love this platform. If I should have the opportunity to support or contribute to your platform I will, because you deserve a wonderful kudos from the people or Engineering students...

commandolee
Автор

bro i saw several video for making home automation, but after seeing this video i was very happy thank you so much, iam your new subscriber

IbrahimsWorldVision
Автор

Looking forward to more Blynk 2.0 videos.

mr.bianchirider
Автор

Excellent demo and has me fired up to try.

clivewilby
Автор

Hlo bro I made this project and my 3 switch are working properly but the switch 1 is not working, when I'm going to connect sd3 as shown in circuit diagram it is not working..What happening I'm not understanding please do help me to let out from this
I'm waiting for your reply please bro reply me as soon as possible....
Thanks for this wonderful work

SamundraWarriors
Автор

Please help
The code you use in the video is different from the code you share on your website.
Can you just comment me the code you used in the video?

Gokkurt
Автор

Thank you very much teacher, I was researching for a project like this, and with you I found what I needed, you know how to explain very well and share without egoism, I congratulate you and you have just gained one more subscriber.
greetings.

josephsumel
Автор

Your video is amazing but I have one doubt.
Are we supposed to use two way switch or the normal ones?

ambergupta
Автор

Extremely useful video. I have a question on wifi credentials. I made a blynk project on one wifi network and now I have to install it at a different location where the wifi network is different. When I power up the device at the new location it shows that the device is offline ! How can I correct the wifi credentials to get it to go online?

srikumarc
Автор

Nice project can I do that without push buttons. If yes then please tell me how. Do I need to skip the switch and connect ground directly to GPIO pins.

black
Автор

Amazing sir...but suppose esp is failure due to some technical issue how to switch on/off the device??? If have any manual

Village_event
Автор

Hello sir can you please tell me how to add a timer code into this same this code and to add different times for each relay

akshayharidas
Автор

Thanks for giving free lessons! helpful as always!

CharwinAmper
Автор

What should be the code and circuit diagram for esp8366 with 8 channel relays
Please reply 🙏💓

golumaurya
Автор

9:17 im getting a problem on the part where you connected the Esp. my Esp is blinking led and is not connecting to the mobile wifi, if says ip configuration failed.

rvadav