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...

Комментарии • 186

  • @Abidali-qi3xj
    @Abidali-qi3xj 2 месяца назад +1

    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

  • @drelectronics13
    @drelectronics13 3 года назад +1

    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🤟.

  • @upendramohanta
    @upendramohanta 3 года назад +1

    after uploading the code wifi is not connected or blue light not glow, please help me.

  • @prasadvara7313
    @prasadvara7313 3 года назад +1

    Excellent work sir i am Waiting to your alexa video. Using 8 channel relay

  • @Kishan010
    @Kishan010 2 года назад +1

    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

  • @AAdnaanmtl
    @AAdnaanmtl 3 года назад +1

    Excellent work sir excellent explanation as usual. You are Mr Arduino.

  • @TheFazalrahmanpp
    @TheFazalrahmanpp 3 года назад

    Thank you very much for this astonishing project explaining in simple way.
    I was looking for this.
    Hope to see more from you.

  • @manmeetsinghKJ
    @manmeetsinghKJ 3 года назад +1

    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

    • @TechStudyCell
      @TechStudyCell  3 года назад

      I have also that plan. But it will make the circuit complex. So trying other alternative way to control the speed.

  • @gunjanmeshram2898
    @gunjanmeshram2898 2 года назад

    It's amazing project and explained very well

  • @electronic7979
    @electronic7979 3 года назад +1

    Very good project 👍 I liked it

  • @vishaljain6130
    @vishaljain6130 3 года назад

    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.

  • @ksenyxths
    @ksenyxths 2 года назад

    Amazing project! Thank you for sharing with us. Liked, subscribed :D

  • @PhG1961
    @PhG1961 3 года назад

    Awesome video ! Well done !

  • @pierricdoublet6248
    @pierricdoublet6248 3 года назад +1

    Great work and thanks for sharing.

  • @kuangna
    @kuangna 3 года назад +1

    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.

  • @AkhtarAli-jr8ed
    @AkhtarAli-jr8ed 2 года назад

    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

  • @matthiash.454
    @matthiash.454 2 года назад

    You have 220 volts AC____bulbs connected to the output of the relay I want to connect WS2812B___ 5 volts DC is this possible ?

  • @shashivadhangunti3411
    @shashivadhangunti3411 3 года назад

    very perfect explination and well working sir

  • @justwatch9111
    @justwatch9111 11 месяцев назад

    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.

  • @neelranade6322
    @neelranade6322 2 года назад

    Please make a video con voice controlled 16 relays

  • @rahmantofarrelezra
    @rahmantofarrelezra 3 года назад +1

    Can we use esp 8266 for 8 channel relay?

  • @ew-is-po1698
    @ew-is-po1698 2 года назад

    man, thank you so much

  • @Hercules159
    @Hercules159 3 года назад

    Your video looks great to learn

  • @cihanyeter7353
    @cihanyeter7353 3 года назад

    hello, I'm doing the esp32 project. I ran into a small problem, I would appreciate it if you could help. Please

  • @YamenNazer
    @YamenNazer 3 года назад

    Amazing video sir💜
    Sir please can you make tutorial videos on how to design circuit from start to manufacture? it would be awesome👌💜

  • @sureshkumbhar7513
    @sureshkumbhar7513 3 года назад +1

    Nice project 👍

  • @ChandanKumar-kr2kj
    @ChandanKumar-kr2kj 3 года назад

    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?

  • @harnowowiasto1381
    @harnowowiasto1381 2 года назад

    how if i want connect with blynk local server? would you please to tell me... thanks

  • @rameshniroj2225
    @rameshniroj2225 3 года назад

    Awesome Work,
    Please Add GOOGLE ASSISTANCE + BLINK APP TO 8 RELAY MODULE
    PLEASE SIR ❤️ 🙏🙏🙏

  • @ayushkedari1566
    @ayushkedari1566 3 года назад

    Sir during without internet mode , when I turn on switch the relay goes on and off for long while , why is it so

  • @fibranijevidra
    @fibranijevidra 3 года назад

    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.

  • @norviniinasol7993
    @norviniinasol7993 3 года назад

    Great work sir! Waiting to your alexa video. Using 8 channel relay and manual switch.

    • @TechStudyCell
      @TechStudyCell  3 года назад +2

      Thanks. Will make video on Alexa soon.

    • @rakeshdeb91
      @rakeshdeb91 3 года назад

      I m also waiting for it

  • @Abhishekyalla
    @Abhishekyalla 3 года назад

    How to handle more the 8 relays

  • @pritamhalder3233
    @pritamhalder3233 2 года назад

    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 ??

  • @dmdago
    @dmdago 2 года назад

    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!

  • @rushikrishna5086
    @rushikrishna5086 3 года назад

    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

  • @52akhilkumar16
    @52akhilkumar16 2 года назад

    does we need authtoken in this program because i couldn;t find it here

  • @qadeer1685
    @qadeer1685 2 года назад

    Esp8266 8 channel relay WiFi or on of button ir remote

  • @silentResearch
    @silentResearch 3 года назад

    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

  • @ridhus2290
    @ridhus2290 2 года назад

    Can we use the same code for normal on off switch

  • @chisomeje8150
    @chisomeje8150 2 года назад

    nice video what component did you use for the JD VCC and JD GND

  • @Abu-Saleh
    @Abu-Saleh 3 года назад

    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.

  • @mozquito76
    @mozquito76 3 года назад

    This is awesome, but - do you have also the same .ino for the WEMOS D1 R2 ESP8266 Mini?

  • @nelsondeschampsjunior71
    @nelsondeschampsjunior71 2 года назад

    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.

  • @ederibero
    @ederibero 3 года назад

    when esp32 is disconnected from the power, the outputs remain in the previous state, use the rom memory ??

  • @arashmohaghegh4908
    @arashmohaghegh4908 3 года назад

    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?

  • @md.kausharali5085
    @md.kausharali5085 3 года назад

    Bhalo laglo....onek dhonnobad

  • @Hercules159
    @Hercules159 3 года назад

    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.

  • @naveenkumar-pb5iu
    @naveenkumar-pb5iu 2 года назад

    Excellent video! please upload schematic diagram i have some dought bro

  • @CreationAartic
    @CreationAartic 3 года назад

    can you explain why are you Using 5V DC charger please

  • @joselb6720
    @joselb6720 3 года назад

    Excellent work

  • @anil1010it
    @anil1010it 2 года назад

    can do it this(app+local button) with EPS8266?

  • @paulruko5090
    @paulruko5090 3 года назад

    Thanks for the video

  • @goharhassan2671
    @goharhassan2671 3 года назад +1

    Good

  • @nelsondeschampsjunior71
    @nelsondeschampsjunior71 2 года назад

    Bom dia
    Esse você tem esse projeto integrado com Alexa?
    Blynk, interruptor físico e Alexa.

  • @venkatamohankandregula1557
    @venkatamohankandregula1557 3 года назад

    Sir very good project, is it feasable to share the wiring pattern/schematic in the sequence of power supply, manual switch, relay, esp32, appliance

  • @NEWBI3GAM1NG
    @NEWBI3GAM1NG 3 года назад

    how about using firebase instead of bynk app.. but same function with manual push button.. is it possible? thanks in advance

  • @jashan2142
    @jashan2142 3 года назад +2

    Bro can we connect alexa with this project. If yes then please make a video on it please

  • @jeanten3059
    @jeanten3059 3 года назад

    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

  • @shafiqjee473
    @shafiqjee473 3 года назад

    sir ap 8 relay home automation malti fungsional sistem bluetooth & remote & ttp223 touch sensor with eprom bana kar dikhye or cod b share kare

  • @naqijafri6333
    @naqijafri6333 3 года назад

    Bro can you please provide the same project code but with on off switches instead of push button ??
    It would be really helpful.

  • @saikalyanmishra21
    @saikalyanmishra21 2 года назад

    It's easy to control 9 with esp8266
    Any Idea to increase the relays to work as ac appliances switch?

  • @jimmyelectronics2264
    @jimmyelectronics2264 3 года назад

    Can I get ready made 8 channel modules for reselling purpose

  • @vcooltm8769
    @vcooltm8769 3 года назад +1

    amazing...

  • @RonenLin
    @RonenLin 3 года назад

    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.

  • @lifeatseaonship
    @lifeatseaonship 3 года назад

    Hi bro i uploaded the code in esp32 but i am not able to connect wifi......
    wifi is not showing

    • @TechStudyCell
      @TechStudyCell  3 года назад

      Please refer to following tutorial
      ruclips.net/video/f6ovK57qPRg/видео.html

  • @sebastiancordone4789
    @sebastiancordone4789 2 года назад

    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

  • @akthegreat3321
    @akthegreat3321 3 года назад

    Brocan you provide this same project code with ac switch code not for push type switch

  • @amitsaha2072
    @amitsaha2072 3 года назад

    Very nice sir waiting for Bluetooth and wifi (8 relay programming) for esp 32 with Blynk app

    • @TechStudyCell
      @TechStudyCell  3 года назад

      I have already published the video. Please visit our channel

  • @user-pq5qs1bt7y
    @user-pq5qs1bt7y 3 года назад +1

    Good.

  • @emanuelefiorentino8934
    @emanuelefiorentino8934 3 года назад

    Is it possible to do the same project but in homeasistant and not in arduino?

  • @user-rw7lm1tv1p
    @user-rw7lm1tv1p 11 месяцев назад

    For this project can i use a ESP8266 mod

  • @ramazanaydemir3858
    @ramazanaydemir3858 2 года назад

    Dht11 how to add

  • @upendramohanta
    @upendramohanta 3 года назад

    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...

    • @TechStudyCell
      @TechStudyCell  3 года назад

      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

    • @upendramohanta
      @upendramohanta 3 года назад

      @@TechStudyCell Thank you so much for support

  • @Student-rg9je
    @Student-rg9je 3 года назад

    Appreciated your work. project working well. Do you have CPL file of this project ?

  • @adityainfotech765
    @adityainfotech765 2 года назад

    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.👍

  • @vishalchoudhary9546
    @vishalchoudhary9546 3 года назад

    Can I use instead of esp32 - esp8266??

  • @cygreeneye
    @cygreeneye 3 года назад

    Hi friend Can it set 10 switch(more 2 switch) using this board

  • @JonatanCastro-secondary
    @JonatanCastro-secondary 3 года назад

    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?

  • @nightwing8164
    @nightwing8164 3 года назад

    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?

    • @TechStudyCell
      @TechStudyCell  3 года назад +1

      It will reconnect. Please wait some time.

  • @abdurahimsalsalani7108
    @abdurahimsalsalani7108 3 года назад

    Is it ok for 24v bulb?

  • @rakeshr80
    @rakeshr80 2 года назад

    Please share your blynk apk file my new version blynk is not working

    • @TechStudyCell
      @TechStudyCell  2 года назад

      I have also made video with new Blynk. Please refer to those videos

  • @rhodiumindia2066
    @rhodiumindia2066 2 года назад

    Esp8266 with 8chamel reply bord

  • @joshitoshi9835
    @joshitoshi9835 3 года назад

    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?

  • @dvidkth8861
    @dvidkth8861 2 года назад

    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();
    }

  • @ramgoutamv9336
    @ramgoutamv9336 3 года назад

    Sir can you please make it for touch switch TTP223. Your past codes were excellent

  • @rizu6902
    @rizu6902 3 года назад

    Please upload the program and app

  • @n0friz4l
    @n0friz4l Год назад

    + code for lcd 16 x2 please🙏

  • @alsurafanabe
    @alsurafanabe 3 года назад

    Super tutorial.. do you sell this complete module (esp32 pre -programed) ?

    • @TechStudyCell
      @TechStudyCell  3 года назад

      Please send me email at connect.techstudycell@gmail.com

  • @boopeshkumarprabhakaran
    @boopeshkumarprabhakaran 3 года назад

    Can I control with Google and alexa?

  • @ricojohnayco6186
    @ricojohnayco6186 3 года назад

    My esp32 is offline ? any solution?

    • @TechStudyCell
      @TechStudyCell  3 года назад

      please check this video: ruclips.net/video/f6ovK57qPRg/видео.html

  • @rameshniroj2225
    @rameshniroj2225 3 года назад

    I have Nodemcu V3
    Is that have same steps or may i want to do anything more?

    • @TechStudyCell
      @TechStudyCell  3 года назад +1

      I have already made video on NodeMCU

    • @rameshniroj2225
      @rameshniroj2225 3 года назад

      @@TechStudyCell
      WE NO NEED MANUAL SWITCHES
      ONLY 8 CHANNEL AC LIGHTS CONTROL WITH NODEMCU ESP8266
      + BLINK + GOOGLE ASSISTANCE
      POSSIBLE SIR?

    • @rameshniroj2225
      @rameshniroj2225 3 года назад

      @@TechStudyCell please consider my long time request

  • @mayankpatel6715
    @mayankpatel6715 3 года назад

    Is it possible to add Alexa programing in this circuit?

    • @TechStudyCell
      @TechStudyCell  3 года назад

      Already made a video on esp32 and Alexa

  • @anilkumarmaurya5388
    @anilkumarmaurya5388 3 года назад

    Very nice video, I liked it,also make some videos on "manual+wifi+Bluetooth" because esp32 comes with Bluetooth so is it possible?

    • @TechStudyCell
      @TechStudyCell  3 года назад

      Will publish the video on this soon.

    • @amitsaha2072
      @amitsaha2072 3 года назад

      @@TechStudyCell I am also waiting for that videos (Manual, Wifi and Bluetooth). Please make videos on it Sir asap.

  • @lokeshgaurkar4861
    @lokeshgaurkar4861 3 года назад

    Can i use node mcu?

    • @TechStudyCell
      @TechStudyCell  3 года назад

      Yes. Video Link ruclips.net/video/fRCVx6yKoYw/видео.html

  • @traveller_techieee
    @traveller_techieee 3 года назад

    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.

    • @traveller_techieee
      @traveller_techieee 3 года назад

      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

    • @TechStudyCell
      @TechStudyCell  3 года назад

      You have to use pushbutton not switch. I will share the code for the switch.

    • @traveller_techieee
      @traveller_techieee 3 года назад

      @@TechStudyCell ok please share

  • @adeelahmed5146
    @adeelahmed5146 2 года назад

    I need the Gerber file bro

  • @shaktielectronics2234
    @shaktielectronics2234 3 года назад

    Sir is project mai ir rimot bhi add kare. puse butten + ir rimot + blynk app

  • @RehanKhan-mr8kl
    @RehanKhan-mr8kl 3 года назад

    How to avoid repeated on/off when using push buttons more than 1 sec

  • @ViperAdnan
    @ViperAdnan 2 года назад

    Video or code for blynk 2.0 ??

    • @TechStudyCell
      @TechStudyCell  2 года назад

      Already published. Please check our recent videos