Smart Home Automation using Blynk & ESP32 IoT projects | WiFi & Manual control 8 Relays
HTML-код
- Опубликовано: 20 авг 2024
- In this ESP32 project, I have shown how to make smart home automation using Blynk & ESP32 wifi module. This is the best home automation system as you can easily make this smart home system using ESP32 & relay module and control the home appliances from Blynk app through the internet and from manual switches.
JLCPCB Prototype for $2(Any Color): jlcpcb.com
Download PCB Gerber file for this ESP32 IoT based home automation project
drive.google.c...
For the New Blynk IoT platform, please refer to the following tutorial
• Home Automation using ...
During the tutorial video, I have covered all the following topics:
00:12 How to control 8 relays using ESP32 from Blynk and switches.
02:18 The circuit diagram of this ESP32 Home Automation project.
03:46 How to configure Blynk App for the ESP32 IoT projects
05:34 Programming the ESP32 with Arduino IDE
08:08 Connect home appliances with the smart relay module.
08:18 Controlling 8 appliances with the smart relay module.
Required Components for this ESP32 home automation system
1. ESP32 DEV KIT V1
2. 8-channel 5V SPDT Relay Module
3. Push Buttons
Amazon United States Affiliate links:
ESP32 DEV KIT V1 : amzn.to/3mBjCch
8-channel 5V Relay Module : amzn.to/3p50UeH
Amazon India Affiliate links:
ESP32 DEV KIT V1 : amzn.to/331pohb
8-channel 5V Relay Module : amzn.to/3mTWyVZ
Required Components for the Smart Relay Module PCB:
1. Relays 5v (SPDT) (8 no)
2. BC547 Transistors (8 no)
3. PC817 Optocuplors (8 no)
4. 510-ohm 0.25-watt Resistor (8 no)
5. 1k 0.25-watt Resistors (10 no)
6. LED 5-mm (10 no)
7. 1N4007 Diodes (8 no)
8. Push Buttons (8 no)
9. Terminal Connectors
10. 5V DC supply
Download Code for this ESP32 smart house automation project from the following article
iotcircuithub....
During the video, I have explained all the steps to make this home automation installation, how to program the ESP32, how to use Blynk IoT platform to make home automation solutions.
This smart relay module can be used for different internet of things projects which I will cover in upcoming videos.
#iotprojects #esp32 #blynk
-------------------------------------------------------
Thanks For Watching...
✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
Find out more such projects: iotcircuithub....
Facebook: / techstudycell
Instagram: / techstudycell
Telegram: t.me/techstudy...
-------------------------------------------------------
Other useful IoT projects:
Latest ESP32 projects playlist:
• ESP32 Projects
WiFi Door Lock using ESP32 CAM & Blynk
• WiFi Door Lock using E...
ESP32-CAM PIR Motion Detector with Photo Capture
• ESP32-CAM PIR Motion D...
WiFi Door Lock using ESP32 CAM & Telegram App
• Smart WiFi Door Lock w...
I have this project with complete documentation.
Features are
1. Door lock and unlock through fingerprint.
2. Water pump control system
3. Pir motion with lighting
4. Gas detection and exhaust system.
5. All status are shown on blynk iot app
Thankyou so much 😅 for giving me a chance to win pcb .I have replied on you're mail .and this is my first-ever giveaway win.
Keep it up sir and make some more great projects🤟.
nice project
can someone help me with the code of this project please ?
after uploading the code wifi is not connected or blue light not glow, please help me.
Excellent work sir i am Waiting to your alexa video. Using 8 channel relay
I am useing this project since 3months
theare Is a error once the wifi is disconnected we have to re start the project can you please fix this by re-codeing
Excellent work sir excellent explanation as usual. You are Mr Arduino.
Thanks for your feedback...
Thank you very much for this astonishing project explaining in simple way.
I was looking for this.
Hope to see more from you.
Sure... Thanks for the feedback.
i love your explaining way, you are good explainer, i say.. i love your project, one suggestion, plz add one fan speed control option in this or next video..
i m waiting for this option in your video
I have also that plan. But it will make the circuit complex. So trying other alternative way to control the speed.
It's amazing project and explained very well
Very good project 👍 I liked it
Thanks
really you r good explainer, I appreciate your efforts. Can i see next video of fan speed control within a very short period ? My all wishes with you. I write comment first time as you are very honest in your great job. Thanks.
Amazing project! Thank you for sharing with us. Liked, subscribed :D
Thanks for the support...
Awesome video ! Well done !
Thanks
Great work and thanks for sharing.
You are welcome
Hi,
We do quite similar project.
Did you have the problem for long length cable manual swith line? We use telephone line, it's about 10 meters per line, and it sometime tricked their own.
sir. eik video push button aur blynk par banaye plz..8 relay wala..aur wifi code upload karne ke bad mobile se dale.aur wifi reset button option be ho
You have 220 volts AC____bulbs connected to the output of the relay I want to connect WS2812B___ 5 volts DC is this possible ?
very perfect explination and well working sir
Thanks
Hi sir, this project is very nice.
And when we whenever place and control by using mobile then only require only mobile data.
And at home esp32 connected with wifi.
Then after i can control the system by using a mobile at whenever places.
Please make a video con voice controlled 16 relays
Can we use esp 8266 for 8 channel relay?
It you connect switches then no.
man, thank you so much
Welcome
Your video looks great to learn
Thanks
hello, I'm doing the esp32 project. I ran into a small problem, I would appreciate it if you could help. Please
Amazing video sir💜
Sir please can you make tutorial videos on how to design circuit from start to manufacture? it would be awesome👌💜
Nice project 👍
Thank you
Wifi does not connect half of the time. Can you please include code in loop to keep checking wifi status to connect automatically without turning off and on esp32?
how if i want connect with blynk local server? would you please to tell me... thanks
Awesome Work,
Please Add GOOGLE ASSISTANCE + BLINK APP TO 8 RELAY MODULE
PLEASE SIR ❤️ 🙏🙏🙏
Sir during without internet mode , when I turn on switch the relay goes on and off for long while , why is it so
It is less than ideal as some of the GPIOs are high for 100ms or so, after restart. It would be good if you use a port expander something like MCP23017 to solve that problem. Preferably with cheap Wemos D1 mini.
Great work sir! Waiting to your alexa video. Using 8 channel relay and manual switch.
Thanks. Will make video on Alexa soon.
I m also waiting for it
How to handle more the 8 relays
sir i have 5v 10A 8 channel relay module .. i want to make a home automation .. but i have a doubt that ..
what the maximum load of 10a relay its mean can i connect a high load device.. like Freeze,Acc,Fan etc ..
its possible sir ??
That's an spectacular project! You got a new suscriber! By the way, is there any possibility to add analog and digital inputs? So a relay can activate a fan when temperature reaches an specific value? Thanks!
could you please suggest to me one doubt inthese projest i need in these project when ESP32 is power off and again start All relays are going to high means ON i need these condition is all relays off mode when the ESP turn on time after continue to which one is ON which one is OFF please clere this one any body
does we need authtoken in this program because i couldn;t find it here
Esp8266 8 channel relay WiFi or on of button ir remote
i want to make wifi jammer for educational purpose by esp32 nodemcu. how to make wifi jammer by esp32 ? it is possible make by esp32 nidemcu
Can we use the same code for normal on off switch
nice video what component did you use for the JD VCC and JD GND
Does it synchronise after load shedding?
I have made this type of product with esp8266. but there is a problem that, after a load shedding when esp board re start. All switch are turn on.
This is awesome, but - do you have also the same .ino for the WEMOS D1 R2 ESP8266 Mini?
Tenho aqui em minha casa toda blynk e interruptor físico! Gostaria de integrar com Alexa também.
Vi que é possível usar o IFTTT, mas nesse caso não consigo usar liguagem em Português.
when esp32 is disconnected from the power, the outputs remain in the previous state, use the rom memory ??
I want to make this project but i want to use ttp223 touch sensor module instead of push button, they hav 3 pins, gnd vcc and i/o
Can i use them without changing pull-up in code?
Bhalo laglo....onek dhonnobad
Welcome
Hi Sir, How do you control the speed of the fan using blynk and manual fan regulator. Can you make a separate video how to do it.
Excellent video! please upload schematic diagram i have some dought bro
can you explain why are you Using 5V DC charger please
For ESP32 and relay module
Excellent work
Thanks
can do it this(app+local button) with EPS8266?
Thanks for the video
Welcome
Good
Bom dia
Esse você tem esse projeto integrado com Alexa?
Blynk, interruptor físico e Alexa.
Sir very good project, is it feasable to share the wiring pattern/schematic in the sequence of power supply, manual switch, relay, esp32, appliance
how about using firebase instead of bynk app.. but same function with manual push button.. is it possible? thanks in advance
Bro can we connect alexa with this project. If yes then please make a video on it please
Yes. Will make video on this.
@@TechStudyCell and google home please
Sir you are doing great job, but I curious .. what if one of those communication between blynk app and device suddenly disconnected , is that the device and or blynk app knows last state of each channel after reconnect or connection establish ?? hope you understand what I mean. thanks
sir ap 8 relay home automation malti fungsional sistem bluetooth & remote & ttp223 touch sensor with eprom bana kar dikhye or cod b share kare
Bro can you please provide the same project code but with on off switches instead of push button ??
It would be really helpful.
It's easy to control 9 with esp8266
Any Idea to increase the relays to work as ac appliances switch?
Can I get ready made 8 channel modules for reselling purpose
amazing...
Thanks
Super nice board! Do you have a written list of all the parts required for the custom board? Also, will this setup work with Hassio? I was looking for an 8 chan that allows manual switches as well as wifi control.
Hi bro i uploaded the code in esp32 but i am not able to connect wifi......
wifi is not showing
Please refer to following tutorial
ruclips.net/video/f6ovK57qPRg/видео.html
Hi i have a question, can i put two rele module of 4 rele, or only works with one of 8 rele? Its the same program mode? Thanks
Brocan you provide this same project code with ac switch code not for push type switch
Very nice sir waiting for Bluetooth and wifi (8 relay programming) for esp 32 with Blynk app
I have already published the video. Please visit our channel
Good.
Thanks
Is it possible to do the same project but in homeasistant and not in arduino?
For this project can i use a ESP8266 mod
Dht11 how to add
my hotspot showing 1 devices connected esp32-arduino but blue light is not glow and bylink app showing offline since(time, Date) please help me...
The blue LED will glow, if the ESP32 connect with the Blynk server. Check the authentication token, also check if the hotspot connected with the internet
@@TechStudyCell Thank you so much for support
Appreciated your work. project working well. Do you have CPL file of this project ?
Hi, Friend Very nice project. i want to make this project for my home, can you updates in code Last State when power cutoff. Like eeprom code in ESP. Thank you very much for this nice project.👍
Can I use instead of esp32 - esp8266??
Hi friend Can it set 10 switch(more 2 switch) using this board
Yes
Excellent video, thanks for creating it. Am I assuming correctly that in the arduino sketch you are also "linking" the push buttons to the relays? So when you press push button 1 it turns on relay 1, right?
Yes, correct.
Hello sir
I did everything as you did step by step but when I restart the router it won't reconnect automatically what's the problem?
It will reconnect. Please wait some time.
Is it ok for 24v bulb?
Please share your blynk apk file my new version blynk is not working
I have also made video with new Blynk. Please refer to those videos
Esp8266 with 8chamel reply bord
why dont u use ttp223 capacitive touch/push buttons?
they are more suitable and look modern in this kind of projects, do u think they are not usable or sustainable?
Will make video on this
Hola excelente video y buena explicación. Tengo una pregunta de donde salen estas dos funciones with_internet(); y without_internet(); porque siendo asi al compilar el codigo sale error ya que estas no estan en el codigo.
de todas maneras muchas gracias y si puedes colaborarme en indicarme como armar esas funciones te lo agradezco aun mas.
Hello excellent video and good explanation. I have a question where these two functions come from with_internet (); and sin_internet (); Because being like this when compiling the code, an error appears since they are not in the code.
Anyway, thank you very much and if you can help me tell me how to set up those functions, I appreciate it even more.
void loop()
{
if (WiFi.status() != WL_CONNECTED)
{
Serial.println("WiFi Not Connected");
}
else
{
Serial.println("WiFi Connected");
Blynk.run();
}
timer.run(); // Initiates SimpleTimer
if (wifiFlag == 0)
with_internet();
else
without_internet();
}
Sir can you please make it for touch switch TTP223. Your past codes were excellent
Yes. Already started working on this.
@@TechStudyCell Thank you sir
Please upload the program and app
+ code for lcd 16 x2 please🙏
Super tutorial.. do you sell this complete module (esp32 pre -programed) ?
Please send me email at connect.techstudycell@gmail.com
Can I control with Google and alexa?
You have to use IFTTT for that
My esp32 is offline ? any solution?
please check this video: ruclips.net/video/f6ovK57qPRg/видео.html
I have Nodemcu V3
Is that have same steps or may i want to do anything more?
I have already made video on NodeMCU
@@TechStudyCell
WE NO NEED MANUAL SWITCHES
ONLY 8 CHANNEL AC LIGHTS CONTROL WITH NODEMCU ESP8266
+ BLINK + GOOGLE ASSISTANCE
POSSIBLE SIR?
@@TechStudyCell please consider my long time request
Is it possible to add Alexa programing in this circuit?
Already made a video on esp32 and Alexa
Very nice video, I liked it,also make some videos on "manual+wifi+Bluetooth" because esp32 comes with Bluetooth so is it possible?
Will publish the video on this soon.
@@TechStudyCell I am also waiting for that videos (Manual, Wifi and Bluetooth). Please make videos on it Sir asap.
Can i use node mcu?
Yes. Video Link ruclips.net/video/fRCVx6yKoYw/видео.html
hello nice project, I tried and connected a switch with one end to gnd of esp32 and another end to pin d4 and for relay 8 to pin 26, if I use it with app and wifi it works great but when I try to use switch to turn ON the relay is turning on and off continuously can you help please. Where I'm I going wrong here can you explain.
serial monitor output the relay keeps on toggling automatically when used switch else with app it works
21:27:03.632 -> WiFi Connected
21:27:03.836 -> Device8 ON
21:27:03.937 -> WiFi Connected
21:27:04.140 -> Device8 OFF
21:27:04.241 -> WiFi Connected
21:27:04.443 -> Device8 ON
21:27:04.543 -> WiFi Connected
21:27:04.744 -> Device8 OFF
You have to use pushbutton not switch. I will share the code for the switch.
@@TechStudyCell ok please share
I need the Gerber file bro
Please check description
Sir is project mai ir rimot bhi add kare. puse butten + ir rimot + blynk app
Thanks for the idea
How to avoid repeated on/off when using push buttons more than 1 sec
You can increase the delay in code. Currently the delay is 200ms
@@TechStudyCell thank you
Very nice code.
Video or code for blynk 2.0 ??
Already published. Please check our recent videos