Home Automation using NodeMCU ESP8266 and Blynk 2.0 with real-time feedback | IoT Projects 2021
HTML-код
- Опубликовано: 14 июл 2024
- 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.
$2 for 1-4 Layer PCBs, Get SMT Coupons: jlcpcb.com/RHS
Download PCB Gerber file for this NodeMCU IoT based home automation project
drive.google.com/uc?export=do...
Visit the following website to get electronics components, modules at a very reasonable price
utsource.net?source=RUclips
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:
NodeMCU : amzn.to/3fJA4EG
4-channel 5V Relay Module : amzn.to/2BQ5Y3o
Amazon United States Affiliate links:
NodeMCU : amzn.to/2WoR2A2
4-channel 5V Relay Module : amzn.to/3r2HuJ4
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: ☕
PayPal: paypal.me/sdaspay
Patreon: / techstudycell
---------------------------
Project on NEW Blynk + ESP8266 + IR + Sensor: • ESP8266 Project using ...
Download Code for this NodeMCU Blynk smart house automation project from the following article
iotcircuithub.com/home-automa...
Create an Account in Blynk Cloud
blynk.cloud/dashboard/login
For the ESP32 Blynk 2.0, please refer to the following video
• Home Automation using ...
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
Find out more such projects: iotcircuithub.com/
Facebook: / techstudycell
Instagram: / techstudycell
Telegram: t.me/techstudycell/
-------------------------------------------------------
-------------------------------------------------------
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:
• NodeMCU Projects
Latest ESP32 projects playlist:
• ESP32 Projects
ESP32 Smart Home System with Amazon Alexa app & Manual Switches
• ESP32 Smart Home Syste...
WiFi Door Lock using ESP32 CAM & Blynk
• WiFi Door Lock using E... Наука
⚠ This video took a long time to make if you would like to buy me a coffee to say thanks, link below: ☕
PayPal: paypal.me/sdaspay
Patreon: www.patreon.com/techstudycell
bro agar switch use hi nhi karta hu me to ground ko ground se aur code me kya change karna he fir uspar kuchh video he kya
@@noelinx did it even work ?
@@Shreyassheshu yes
@@noelinx bhai mereko switch nahi chahiye and which things i have to remove in code. My code uploaded correctly and it's showing in alexa and everything but this switch is sick.
Tell me switch i need to remove. i want it just work online
@@Shreyassheshu to without switch wla code likh Lena bro usme bhi ho jaaega
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.😍😍
Apko code khase mila mere phone me code nahi khul Raha hai can you send it by pasting in this reply
Looking forward to more Blynk 2.0 videos.
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.
Great 👍
Great video I will build it :-) THX from Hungary
Excellent demo and has me fired up to try.
You can also try latest project with Blynk ESP32
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
Thanks for supporting
Nice tutorial and project.you explained almost everything is necessary.thanks for sharing.
Thank you
Thanks for giving free lessons! helpful as always!
Thanks for the feedback
Thanks, it was very usefull for me. Very well exlained.
Glad it was helpful!
Really nice project
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...
Thanks
Amazing anh thanks for this video Sir, have a nice day
Thanks, you too!
You are a wonderful guy
Thanks mine is ready.
Thanks for the knowledge sir..
Welcome
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.
Thank you.
Thanks a Ton!
Thanks for sharing!
welcome
Big thank you.
Very useful. Thanks for sharing
Welcome
excelent
grate vedio
love you bro
love you
Thanks
Thanks a lot bro.There is a request to you, please make every video in Hindi also.
thanks bro... thats awsome
Thanks for your useful video
You are most welcome
AMAZING SIR 🔥🔥🔥🔥
Thanks
Thanks Bro It's Working 😘😘
Thank you sir
Welcome
Thanks a lot for this video sir😄 ! Please make next video on arduino iot cloud with esp32
Okay.
@@TechStudyCell Is it possible to replace NodeMCU ESP8266 with ESP32 for this project ? I want to automate 4 channel using both wifi and bluetooth . Please make a Video regarding this.
Nice project
Thanks
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.
Thank you for video I hope you make a video about esp8266-12E and how to use it instead of node mcu in projects of iot
Try the same code, let me know if you face any issues. You can use D4 instead of SD3 in circuit
@@TechStudyCell thank you for your interest what I intend that how to connect esp 8266-12e with computer and transfer code to it and use it in iot projects
Thank you for your patience
Thanks for sharing this video. I would suggest one point here as feedback in real time problem. if we connect the components as per this circuit diagram which cause relay failure and getting application damage because of spontaneously changing the ON/OFF in the relay via mobile app . Better we can have 2 way switches in that having 3 pins for connect power signal and not control signal cables. This is suggestion if we are going this real time scenario at home.
Noted
@@TechStudyCell sir this problem will occur when we use daily at home??
How reset Wi-Fi credentials
Thanks Bro It Work, Keep Making Video🥰🥰
Btw, How I change the connection of wifi??
Please tell me😊😊
hi
i have a 12 volt rely and want to use it for the same project but it needs 12-volt power supply but i don't know how to connect that to rely . its connect to right bottom pin or Center pin. and it still needs GDN or 3-volt pin from esp 8266 or not
thanks to useant to use
Sir can we use these as smart switch modules?
I mean I wish to make one to be used as automatic timmer etc
Like it turns on and off daily at its given time.
Your video is amazing but I have one doubt.
Are we supposed to use two way switch or the normal ones?
Your videos are very usefull thanks
I have two questions
Is it possible to use blynk notification for more than one sensor alert and
Second one how can add more than one E-mail to my code and for receiption?
Thanks for your help
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.
Sir , it worked and facing a issue that on turning on the loads from manual switches , relay is turning on and off and the manual control isn’t working properly, so its due to 1 way switch?
If we use 2 way switch then it will be resolved? And also tell how to connect two way switch with it
Why the relay chatters if i power the circuit by 5v adapter and when I touch the input gpio pins by my hand ?
Hello sir, i have wemos d1 r1 board and i upload your code to it, only two relays are working... i think digital pins defference?
My project is working well until i connectd the switch , Esp8266 kept restarting while i use the switch , do i need to give additional 230 v supply to switch, if i have to give 230 v then can i directly give it to switch or do i need to give through relay
your given code contain the blynk console part but in this video there is no console part, and when i try to program esp8266 board it's looking for no such file or directory blynk/blynkconsole.h..............why, please give solution.....
Sir please make a video on blynk home automation with one slider for fan speed with real time feedback pls add eeprom , ir remote , bluetooth and google assistant thank you sir
error showing
exit status 1
BlynkEdgent.h: No such file or directory what should do for it ....plse tel me blynk library i have allready installed
suppose we are not using relays then can we skip the datastream adding part in blynk dashboard?
Hi, can I replace the press button with ttp223 touch sensor and How?
I tried to upload the code and it's start the compile and get a error message..
'D3' was not declared in this scope,did you mean 'V3'?
What to do?
Super Bro...
Thanks
How much DC input power do you use? Because the relay I used didn't work
sir ill get error compiling for board nodemcu 1.0 (esp-12e module)
Good bro
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
Does blynk send reminders like fertilizing date reminder annually?
Hi,
I am using Wemos R1 D1 board for this,
What will be different in this case?
when wifi connection is lost. Can't reconnect with blynk. offline. It is fixed by pressing the reset button on nodemcu. what can be done.
Bro please help me when i was compiling "variable or field button1handler declared void" these problem iam getting
I have tried this code and have a problem, when I turn off all the switch in off then all indication light of IN1 to IN4 gets on like they are receiving reverse and if I turn switch anyone on all the switches to on state. Please help
what if the 3 Relay if pressed the 3 bulb not function. what problem? you can only pressed once to turn on the bulb
Bro please help me when i was compiling variable or field (button1handler) declared void is comming
Why does it say blynkconsole has no member named print while compiling
Hello sir i m facing some major problem while uploading the program ...actually i m getting compiling error of nodemcu 1.0. Will help me to figure out this problem
sir I did everything as you said
but in blynk app I am not getting data streams as v1 v2 sir, it's showing no supported datastreams..
please anybody can help me, tomorrow my project phase2 exam is there
Hii I can get my blynk edgent.h no such file or directory error correct
Please am working on an home automation project need your assistance on how to go about it
Hi!this was a great tutorial and was able to control the lights, I watched an older method of this by codemetry and that guy as integreted with ifttt and google assistant
He used google assistant in this and used webhooks in that and he configured with blynks server ip adress but he used digital pin whereas you used digital pin so can you make a tutorial on how to connect ifttt and webhooks?
Ifttt is not free anymore. And I try to use available free platforms in my project
@@TechStudyCell that is true, so what can be done to link to Google assistant?
Hello, I am facing a problem while I am trying to connect the NodeMCU by wifi, it connected but not giving me any place for SSID and PASSWORD, what should I do?
Amazing sir...but suppose esp is failure due to some technical issue how to switch on/off the device??? If have any manual operation.....
Thanks for sharing your knowledge. is it possible to add a timer to control on off led or relay?
Yes
The switch 1 is not manualy turning but all other are working properly
Please 🙏 help me
I face a problem
When I upload code in nodemcu
Than show
[error compiling for board nodemcu 1.0 (esp-12e module)]
Please help me please 😭😭
Blynk app showing error like as : led was't online yet pls give suggestion
Bro I have esp8266 but Cp2102 can it work with this
Bro where is the links of the nodmcu program bro can not find description
While compiling the I have an error shown that ('BlynkEdgent.h' file not found) what to do now plsss help
light/ appliance turns automatically on when power is restored after failure any solution for it
How to I connect ir sensor and dht11 sensor without manual switch
Hiii i have problem compiling the code to my nodemcu
hello bro am facing some problem while compile programme in nord mcu,
Hey how is everything! How to integrate with Alexa Amazon?
You have said make sure that the jumper is s connected to relay, which jumper do you mean ???
Hello, as usual a wonderful project.
Does the new blynk app have access to Google Assistant ?
If yes, then how to integrate it
.
I also want it
Hi sir,
I am facing "Compilation error: Blynk/BlynkConsole.h: No such file or directory" please resolve this issue as soon possible.
Thank you
sir i have a question who will esp8266 know the real time status of Switch whether its ON/OFF which sensor is used to analysis the real time status please do guide us
Very helpful video, but i want to add blynkEdgent in this project so that I can change my wifi configuration without pc.....how to solve this issue....
Please help
Can you provide the PDF of this pcb please
hello, good morning, I'm talking about Colombia, I'm talking to see who can help me, I do everything as explained in the video, but my app can't find the ESP network at any time, thanks.
when I upload ino file to esp esp isn't blinking and working. Blynk app couldn't find my device. Help pls
Please help for this: Compilation error: too many decimal points in number
Sir use WiFi manager in next blynk project
Nordmcu Wifi no show in blynk app plishe help to answer this question
Bro when I connect to nodemcu my mobile get connected to wifi and when I try to add device it says can't connect device
I have uploaded the code but it says hard resetting Via RTS pin and doesn't work what should i do
Which comm should i select
How do i connect this with alexa or google assistance ?
Nice project bro please I tried the project and everything works perfect but when I switched off my wifi the board reset pins ( like on and off relays)
What should be the code and circuit diagram for esp8366 with 8 channel relays
Please reply 🙏💓
Sir pls make with blynk eeprom and ir remote for relay last state after powercut or reboot nodemcu thank you