IoT Project using ESP32 NodeMCU ESP8266 network with Blynk App | IoT based Home Automation 2022
In this IoT tutorial, I have shown how to make the IoT Project using ESP32 NodeMCU ESP8266 network with Blynk App. With this IoT based home automation project, you can control multiple NodeMCU and ESP32 from a single Blynk cloud account. So you can use multiple ESP8266 for different rooms, and control them with Blynk IoT App.
PCBA from $0 (Free Setup, Free Stencil) jlcpcb.com/RHS
Download PCB Gerber file for NodeMCU control relays
drive.google.c...
Download PCB Gerber file for ESP32 control relays
drive.google.c...
During the tutorial video, I have covered the following topics:
00:58 Control multiple NodeMCU ESP32 with Blynk app.
03:05 Required Components for the Blynk IoT project.
03:26 Circuit of the ESP32 & ESP8266 IoT-based Smart Home project.
05:07 How to set up the Blynk cloud platform.
08:25 Source code for this IoT-based home automation system.
12:01 Program the ESP32 NodeMCU with Arduino IDE.
12:45 Set up Blynk IoT app for the IoT project.
14:02 Controlling multiple NodeMCU ESP32 control relays from Blynk.
Required Components for each room for this home automation
1. NodeMCU ESP8266 or ESP32
2. 4-channel 5V SPDT Relay Module
3. Push Buttons or Switches
Amazon India Affiliate links:
NodeMCU : amzn.to/3fJA4EG
ESP32 DEV KIT V1: amzn.to/331pohb
4-channel 5V Relay Module: amzn.to/2BQ5Y3o
Amazon United States Affiliate links:
NodeMCU : amzn.to/2WoR2A2
ESP32 DEV KIT V1: amzn.to/3mBjCch
4-channel 5V Relay Module: amzn.to/3r2HuJ4
Required Components for the NodeMCU control Relay 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. Jumpers
11. 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
-------------
***Important Links:
Download Code for the ESP32 & NodeMCU home automation project from the following article.
iotcircuithub....
Blynk Cloud sign up: blynk.cloud/da...
Important points:
1. In code, you have to change the virtual pins according to the microcontroller numbers.
2. You can use different WiFi networks for each microcontroller, but the Authentication Token should be the same for all the microcontrollers.
3. Here Blynk cloud will treat all the microcontrollers as a single device as we have used the same AUTH token.
4. If the Wi-Fi is available, the ESP32 or ESP8266 will automatically connect with Blynk cloud and the status LED (blue) will turn ON.
5. If you use latched switch, then during reset the switch-2 (D3) must be turned OFF.
**Please take proper safety precautions while working with high voltages.
During this Blynk IoT tutorial video, I have explained all the steps to configure the new Blynk 2.0 platform for any IoT-based smart home automation system. If the NodeMCU or ESP32 is connected with the WiFi then you can control the relays from anywhere in the world from mobile, and monitor the real-time feedback in the Blynk IoT applications. So with this internet of things project, you can convert any home appliances to IoT devices and control them through the internet.
#iot #homeautomation #esp32
--------------------------------
Thanks For Watching...
✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
Find out more such projects: iotcircuithub....
Facebook: / techstudycell
Instagram: / techstudycell
Telegram: t.me/techstudy...
-----------------------------
---------------------------
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
Arduino Home Automation Projects playlist:
• Arduino Projects
Пікірлер: 115
⚠ 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
@chipmaster3031
2 жыл бұрын
hello a query can do this but with 2 esp32 without being asked for wifi passwords
@kevinedward4108
Жыл бұрын
Hey, I Have A Problem. So The ESP8266 Just Dosent work. The Serial moniter Says: 15:07:09.541 -> Blynk Not Connected 15:07:11.544 -> Blynk Not Connected 15:07:13.542 -> Blynk Not Connected 15:07:15.569 -> Blynk Not Connected 15:07:17.564 -> Blynk Not Connected 15:07:19.567 -> Blynk Not Connected 15:07:21.563 -> Blynk Not Connected 15:07:23.562 -> Blynk Not Connected 15:07:25.553 -> Blynk Not Connected 15:07:27.561 -> Blynk Not Connected 15:07:29.561 -> Blynk Not Connected
This is the reason I love this channel. He shares every details,no custom pcb,no paid plans.🥰🥰
@TechStudyCell
2 жыл бұрын
Thanks for the feedback.
Hi there, I am a big fan of you and watch your every video for almost 4 years. I appreciate your hard work and effort behind your all projects. I have seen more than one year, you do a lot of jobs behind home automation projects based on Blynk and another platform. It is very much appreciable. If you add a digital fan regulator with those home automation projects controlled by the Blynk app then it will be a great achievement for home automation. we see some beautiful good-looking sonoff or another wifi-based Chinese Fan regulator with touch switch panels which can be controlled by both App and touch panel switch (or physical buttons when the internet is not available) to control fan speed. still, now no KZreadr/project maker makes such this type (physical Touch Panel+Zero Crossing Ckt+Blynk app) of project. As a fan, I hope you will make this for adding your existing home automating project and will give that project (full home automation)as a gift to your viewers if you have time.
Really it is a great opportunity for me to start watching ur valuable channel & wishing u all success.
great video, use two ESP32 but response one at a time, plz hlp
super and nice easy understanding all u projects i am happy😍
@TechStudyCell
2 жыл бұрын
Thanks
confused between nodemcu CP2102($300) and CH340($235).....which one to go? can use the cheaper one??? are those function as same
Очень хорошо сделал! Большой молодец мужчина.
Thank u very much brother, can you refer best and quality electronics components where can we purchase please.
Very nice video. Can you suggest me what is the cheapest microcontroller that I can use for my IoT project? I need to connect with it through a SIM module. What is the best SIM module that will work perfectly with Indian SIM card? Thanks in advance.
This project is very useful, thank you
@TechStudyCell
2 жыл бұрын
Welcome
Sir esp8266 is connect but esp32 is not connected automatically
Home security pe bhi ek vdo banaiye
@TechStudyCell
2 жыл бұрын
Okay
Hi friend! Can you make video and introduce this idea: in room N1 we have temperature sensor (DHT) connected to esp32, which is sending data to blynk server. other controller which is connected to the same blynk server and controlling relay using temperature measurements from room N1
Nice project usefull for future home thank u sir u done great job
@TechStudyCell
2 жыл бұрын
Thanks for the feedback
@aravindhanvivekanandhan5649
2 жыл бұрын
@@TechStudyCell I have suggestion can we use solid state relay instead of mechanical relay and is that enough to supply load to celling light celling strip light or ironbox wall plug what are thing do in solid state relay
@aravindhanvivekanandhan5649
2 жыл бұрын
If we use 4 esp32 then what are gpio available total 38 gpio available what are pin we can use relay and latch switch can u tell i have design my own pcb
your video is very good, i am a big fan of you, hope you do video bynk 2.0, 8 relay, bluetooth and switch
@TechStudyCell
2 жыл бұрын
There are some space issue. Will try again.
@phamkhai1294
2 жыл бұрын
@@TechStudyCell I will support and accompany you, your channel is so good and useful
Great video 👍👍
Can someone give tell one industry where the can use these abilities to make a decent living. I am trying to motivate the younger generation.
Hi and thanks for the video. I was wondering if it would be possible to use the sort of technilogy you are using to push a button on my mobile phone to activate horn or a buzzer on my car providing the car has no internet service to it. Say the car is parked in a large paking lot and l need to find it. Cheers
un proyecto exquisito, enhorabuena, podria pedirte por favor dado que no controlo arduino el sofwar pudieses publicar el codigo para un esp32 8 reles pero escrito con esphome? gracias
Sum time our network down problem the system is not working manual and auto
@Tech StudyCell sir what do I need to change in sketch to use touch switch using tp223 instead of push button?
Great video love it ♥♥♥
@TechStudyCell
2 жыл бұрын
Thanks
im your fan thks
Отлично . Все получилось . Большое спасибо
if you add wifi reset button. wifi login on phone will be great
@hoanganhvanhoanganhv
2 жыл бұрын
Add LED for connection status (up time) on the app
Well explained... Thanks for sharing👍👍👍👍👍👍
@TechStudyCell
2 жыл бұрын
My pleasure
Dear sir sum tim link fail tha system is not working auto an manual
Hello! i made the board for node mcu but im having a little trouble getting proper power? ANy suggesti9ons or have a better way to dm?
Compilation error: blynk simpleesp8266.h: no file or directory
bro please make a lock using esp32 cam,fingerprint sensor of your phone and don't use solenoid lock please use servo in place of lock 👍
i have completed the project its working but there is an issue that relays are turning on when switches are of and turning off when switches are on from both sides manual switches as well as from blynk app.... any one can help me here?
Bro code upload hogya but wifi me connect nhi horha, Blue light nhi glow krra wifi wala na hi device online horha.
do you know if there is a way to made a button shortcut on my cell phone out of blynk (withouth launcing it)
why isn't my esp32 wont connect to wifi ?, please help i did as the video shows.
Awesome !
@TechStudyCell
2 жыл бұрын
Thanks!
sir please develop a voltage and ampere metre using node MCU or ESP 32 iot project
TQ SO MUCH WORKING COOL
@TechStudyCell
Жыл бұрын
Welcome 😊
what kind of Push Buttons /switches Momentary or Maintained ?
hello friend, can I add a voltage sensor and add a water level sensor to monitor by the app
Thanks a lot, i'll try soon
@TechStudyCell
2 жыл бұрын
Great
Nice video bro
@TechStudyCell
2 жыл бұрын
Thanks
How to on/off all module a single click?
Can we not add infrared control to this project? If yes how? Please reply brother ❤️🙏🏻
Error: "Code_NodeMCUs_NEW_Blynk_4Relay_Button.ino:27:21: error: variable or field 'button1 Handler' declared void" Line 27 is used to remember the prev state. "bool fetch_blynk_state = true;" Then why this error getting?
@JayaChandraReddyGuvvala-ob8tp
Күн бұрын
@jineshcr3324 Brother can u decode that bug pls tell me how to do it
Nice Project 👌👌👌
@TechStudyCell
2 жыл бұрын
Thanks
Your pcb with nodmcu built-in is available with you ? I want to buy, is it possible?
Hii sir can you please add remote control and voice control in this project, if possible please make it sir in next video Thank you sir
In my esp blue led isn't blynking
Muy bueno saludos desde España
@TechStudyCell
2 жыл бұрын
Muchísimas gracias
Is it possible to control multiple ESP32s with one Arduino IoT Cloud dashboard?
Bro I need your help to make My university lab automation project I want to control 70 appliances Can you help me to make this project possible Please Guide me
Hii.. can you add a circuit for controlling the speed of fan wirlessly by mobile
@dabdoube92
2 жыл бұрын
What's the magic word ?
LIGHT OFF NAI HO RAHE WO KASEY CHECK KARUN KUN NAI HO RAHE
Bro it is asking for Blynk confi auth while uploading what to do now?
@nihaljunayed2562
2 жыл бұрын
please reply ASAP
Can we control these appliances from anywhere?
Can use each room node MCU only
Still it can do in blynk
Can we need transformer???
What's program that your drow circuit ?
Hi bro can we use any other pins than D3 so we don't need to worry if the pin is grounded or not for the node mcu to boot. Can we use D4 instead of D3?
@TechStudyCell
2 жыл бұрын
You can. But D4 has its own limitations. It is better to use ESP32
@basilbinu4933
2 жыл бұрын
@@TechStudyCell I tried using D4 but same problem.Board wont start when D4 is low. Then i tried another pins and my configurations are. Relay D0,D1,D2,D3 Binary Sensing RX,D7,D6,SDD3 So far i have not been facing any issue while booting with all input pins grounded or any other issues while running. Is this ok to be used for long time.
Sir mai electricion hu. Delhi pitampura se Mughe aap se bat karni hai please help
Will the code work with nodemcu v3
Bahi 433 MHz receiver and transmiter bnayoo and manual
@TechStudyCell
2 жыл бұрын
ok. noted
Thanks
@TechStudyCell
2 жыл бұрын
Welcome
is this need alexa
Sir kha yea automatically connect Wi-Fi say hota hai yea reset Karna hoga
@TechStudyCell
2 жыл бұрын
It will connect automatically.
@rahiasif7574
2 жыл бұрын
@@TechStudyCell hi esp32 switch code is not connect automatically
In it necessary to connect data cable to node mcu
@TechStudyCell
2 жыл бұрын
No. Just provide 5V supply
@niteshkumar1357
2 жыл бұрын
@@TechStudyCell but When I am not connect the data cable from laptop it not working.
@TechStudyCell
2 жыл бұрын
You have to give 5v across vin and gnd pin.
can using two esp8266 with blynk in the project ??
@TechStudyCell
2 жыл бұрын
Yes. You can connect any number as per your requirement
@anhtuanngo4774
2 жыл бұрын
@@TechStudyCell yah thank you
Here's my small doubt , Why are you (and also other KZreadrs) limiting the project to only a few modes of operation? Like wifi+manual (no infrared & no Bluetooth control & no voice assistant ) Wifi+manual+infrared (no Bluetooth) What is the limitation here? Please clarify.. I'm trying to make it for my home And i need as many controls as possible Please reply soon 🙏🏻🙏🏻
Connect and control it Google assistance ✌️
@TechStudyCell
2 жыл бұрын
Use IFTTT, already made video on new Blynk and IFTTT
@kinkarmandal5503
2 жыл бұрын
@@TechStudyCell ok boss.. i got it ✌️👍
Bhai mera final year project he ess typ ka. Appse baat krna tha. Can you tell me about contact no of yours??
Mujhe eski pcb chahiye kitne ki milegi
@TechStudyCell
2 жыл бұрын
Please send email to connect.techstudycell@gmail.com
@justsanizer2431
2 жыл бұрын
@@TechStudyCell me too please kitne kei padegei
super and nice easy understanding all u projects i am happy😍