Home Automation using ESP32 Blynk 2.0 with IR remote control relay temperature sensor | IoT 2021

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • In this IoT project, I have shown how to make home automation using ESP32 Blynk 2.0 with IR remote control relay, temperature sensor, LDR to control 8 appliances with real-time feedback. You can also control appliances without internet from IR remote and manual switches.
    $2 for 1-4 Layer PCBs, Get SMT Coupons: jlcpcb.com/RHS
    Download PCB Gerber file for the ESP32 IoT based home automation project
    drive.google.com/uc?export=do...
    For this ESP32 project, I have used the FREE plan of the Blynk IoT platform.
    Visit the following website to get electronics components, modules at a very reasonable price
    utsource.net?source=CZcams
    During the Blynk tutorial video, I have covered the following topics:
    00:49 ESP32 control relay with the New Blynk IoT app.
    01:51 Controlling Blynk ESP32 with no Wi-Fi.
    02:42 Required Components for this Blynk ESP32 IoT project.
    03:02 Circuit of the ESP32 Home Automation projects.
    04:56 How to set up NEW Blynk 2.0 template for ESP32.
    08:10 Set up Blynk cloud Web Dashboard for ESP32.
    09:42 How to set up the mobile dashboard in NEW Blynk IoT App.
    11:56 Program ESP32 with Arduino IDE.
    15:02 Connect ESP32 with Blynk IoT cloud.
    16:00 Connect appliances with relay module circuit.
    16:04 Controlling appliances from Blynk App, IR remote, and switches.
    Required Components for this ESP32 home automation system
    1. ESP32 DEV KIT V1
    2. 8-channel 5V SPDT Relay Module
    3. TSOP1838 IR receiver (with metallic casing)
    4. Switches
    5. DHT11 temperature sensor
    6. LDR
    Amazon India Affiliate links:
    ESP32 DEV KIT V1: amzn.to/331pohb
    8-channel 5V Relay Module: amzn.to/3mTWyVZ
    DHT11 sensor: amzn.to/3s6e91p
    LDR: amzn.to/3izmcAu
    Amazon United States Affiliate links:
    ESP32 DEV KIT V1 : amzn.to/3mBjCch
    8-channel 5V Relay Module : amzn.to/3p50UeH
    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
    ------Important points for this ESP32 project:------
    1. IR receiver sensor must have a metallic casing. Otherwise, you may face issues while trying to get the Hex code.
    2. After compiling the code, you have to press and hold the BOOT button of ESP32 until the code starts uploading.
    3. Install the correct version of the ESP32 board and libraries as mentioned in the code.
    4. You can use any IR remote for this ESP32 project.
    5. Use a stable 5V 5A DC power supply for this smart home project.
    6. Please take proper safety precautions while working with high voltage.
    -----------Related Previous Video Links:------------
    Steps to program ESP32 with Arduino IDE
    • Programming NodeMCU ES...
    Get IR Remote Hex Code for the ESP32 control relay
    • Smart Home with Amazon...
    ----------Codes----------
    Download Code for this Blynk ESP32 IR Remote control relays from the following article
    iotcircuithub.com/home-automa...
    During the Blynk home automation tutorial video, I have explained all the steps to make this IoT-based smart home system, how to program the ESP32 with the new Blynk Edgent library.
    In this ESP32 project, you can control the relays without internet from the IR remote and manual switches. ESP32 will automatically reconnect with the Blynk server when the internet comes back.
    You can use any IR remote to control the relays, just get the HEX codes of unused IR remote buttons, and control the appliances with those buttons.
    This smart relay module can be used for different internet of things projects which I will cover in upcoming videos.
    #homeautomation #esp32 #blynk
    -------------------------------------------------------
    Thanks For Watching...
    ✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
    Find out more such IoT projects: iotcircuithub.com/
    Facebook: / techstudycell
    Instagram: / techstudycell
    Telegram: t.me/techstudycell/
    Twitter: / techstudycell
    -------------------------------------------------------
    Other useful ESP32 home automation projects:
    Latest ESP32 projects playlist:
    • ESP32 Projects
    Latest NodeMCU projects playlist:
    • NodeMCU Projects
    Smart Home using Arduino IoT Cloud ESP32 Alexa control relay with IR remote
    • Arduino IoT Cloud ESP3...
  • Věda a technologie

Komentáře • 270

  • @travelexpenses1395
    @travelexpenses1395 Před 3 lety +4

    You're great bro...pure youtube pe kisi ka video itna information wala nhi hota hai

  • @robsonneri3369
    @robsonneri3369 Před 2 lety +2

    Parabéns por este belo projeto meu jovem, muito top, vou comprar está placa que vc montou, ficou show para o projeto!
    E muito boa sua aula, dinâmica e muito profissional! Obrigado mais uma vez!
    Forte abraço!

  • @KennySouthPark86
    @KennySouthPark86 Před 2 lety

    Dude this is pretty good stuff, you need more subs!

  • @supermano4423
    @supermano4423 Před 2 lety

    Très bien , continuez de faire des bonnes vidéo

  • @iot_cdp
    @iot_cdp Před 2 lety +2

    Thanks for sharing. Are you planning to update the board? Like adding air apaces between the outputs of the relays, change the relays with N/O-N/C contacts, adding a voltage reg for higher inputs (12V) and adding the new ESP32 board? If so, pls let us know.

  • @rescavefreemusiccentre6435

    Great work thank you for that, Just request could you please add heater in system which can be controlled by the DHT temperature changes instead of the

  • @RMquickbit
    @RMquickbit Před 2 lety +2

    Hey man great project, after about an hour of issues uploading the code to my esp I’m happy to say it’s working. Pretty good stuff, I haven’t used the new blynk up until now- so far so good, maybe I’ll add a microphone for voice commands or some sort of voice command.

  • @djamalabaka3815
    @djamalabaka3815 Před 2 lety +1

    Thank you for providing useful information

  • @sohinideb7843
    @sohinideb7843 Před 3 lety +1

    Very informative video... Thank you for sharing this 👍👍👍👍👍

  • @designstech8345
    @designstech8345 Před 2 lety

    Very good video I know about manual switch connection because I connect switch and on then relay on off regularly

  • @dvidkth8861
    @dvidkth8861 Před 3 lety +1

    Excelente buen proyecto y buena explicacion!...muchas gracias por brindarnos tus conocimientos...leyendo un poco acerca del aprovisionamiento wifi que aporta la nueva app Blynk 2.0 como harias para agregar un boton a tu pcb que haga un reset a las credenciales wifi y te permita conectarte a otra red ¿nos enseñarias a hacer esto? desde ya muchas gracias!.

  • @simbuking2567
    @simbuking2567 Před 3 lety +4

    Great project keep going dude... 👍👍👍👍👏👏

  • @dipaksonone2917
    @dipaksonone2917 Před 3 lety +1

    Your projects are too good sirr........no words for you....your great sir....

    • @jitendrasonavane82
      @jitendrasonavane82 Před 3 lety +2

      This guy from Tech StudyCell makes goods videos and presentation but never attends queries even on paid basis on his youtube channel or emails

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      Thank you so much 😀

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      It is very hard to attend all the queries. Still I try my best

  • @SabirHussain-yy9zi
    @SabirHussain-yy9zi Před 2 lety

    Great video but I have a question?
    How to attach display for temperature show??

  • @makeforindia612
    @makeforindia612 Před 2 lety

    Super video, thanks for sharing your knowledge to us

  • @naveenattada6262
    @naveenattada6262 Před 2 lety

    Best video for home automation projects

  • @emersonfernando1689
    @emersonfernando1689 Před 2 lety

    Hello, great project congratulations, could you explain to us how it makes this project have a display to know DHT status with other information?

  • @user-is1st2ob5g
    @user-is1st2ob5g Před 3 lety

    Отличное видео. Супер.

  • @Zbiku95
    @Zbiku95 Před 2 lety

    Tasmota or blynk? which is better for creating a good smart home for a while, or maybe you have other recommended ones

  • @electronic7979
    @electronic7979 Před 3 lety +3

    Nice project

  • @rahulviswanath7916
    @rahulviswanath7916 Před 2 lety

    awesome!!!!! can you please provide the working drawing circuite for PCB?

  • @4uhacks767
    @4uhacks767 Před 2 lety

    @Tech StudyCell sir what do I need to change in sketch to use touch switch using tp223 instead of push button?

  • @bossgiau5910
    @bossgiau5910 Před rokem

    i am from Viet Nam and me very like your project

  • @elielepetit8107
    @elielepetit8107 Před 2 lety

    is there a distance required between you and the system for the work of these?or you can control the system wherever you are with the internet?with the remote control,wich distance required?

  • @RTR_180_Lover
    @RTR_180_Lover Před 2 lety +1

    Sir, what is the maximum working range.

  • @avtech321
    @avtech321 Před 2 lety

    Very important video thank you

  • @henock9307
    @henock9307 Před 2 lety

    thank you for this project, how to introduce the coordinates of my wifi in the code?please need your answer

  • @janakpatel137
    @janakpatel137 Před 2 lety

    Sir i am making this project like blynk 2.0(wifi)+BT+manual with DOIT ESP32 DEVKIT V1 board but due to higher size of code i select board ESP DEV with Huge file option in partition for uploading the code, code is successfully uploaded working all perfect except board is not connected with wifi so i cant control via blynk so please give me any suggestion? i change the board?

  • @saiots8651
    @saiots8651 Před 3 lety

    bro yaar greate
    bro ap arduino programming pr b koi series bna den please,,, we will be very thankful

  • @hsmonster7339
    @hsmonster7339 Před 3 lety

    Osm bhai

  • @anil8314
    @anil8314 Před 2 lety

    Hi sir nice project, can we make IR remote also, If possible please include that video also.

  • @sayanmaity9736
    @sayanmaity9736 Před 3 lety

    how to control fan speed Internet and manual
    Please say

  • @dpelectronics5688
    @dpelectronics5688 Před 2 lety

    Sir, error "old version of blynk library is in use, please replace it with the new one".
    Please help

  • @sanctuaryjames3434
    @sanctuaryjames3434 Před 2 lety

    Please, can you add Bluetooth function to this project? it would be awesome to have it also with Bluetooth. thanks.

  • @srinivasrdn
    @srinivasrdn Před 2 lety +1

    Nice project 👌👌

  • @tushthushan5590
    @tushthushan5590 Před rokem

    Is it possible to replace that relay with a pwm controller?

  • @sanctuaryjames3434
    @sanctuaryjames3434 Před 2 lety

    In your recent project WIFI PLUS BLUETOOTH AND MANUAL CONTROL, your code makes the relay states to update automatically to the way you left it whenever they board restarts and connect to wifi. But it's not in this one. Can you add it please?

  • @kamaleshbehera
    @kamaleshbehera Před 3 lety +1

    very good project

  • @janakirenga
    @janakirenga Před rokem +1

    Hello sir, your projects are excellent and I made 2 projects for home automation using ESP8266 for 2 rooms. It has been working successfully for more than a month. Now I am trying to make a project using ESP32 with 8 relays using Blynk and IR Remote. After getting HEX code for IR remote, I tried to update it in the main code. But since it is a .h header file I can't open and modify it. If I open it and modify the file it is saved as a .txt file. Can you please help me how to solve this?
    Thanks in advance.
    Renganathan

  • @sanctuaryjames3434
    @sanctuaryjames3434 Před 2 lety

    You make great and nice projects. Kudos.
    I uploaded this code to my board, created template and datastreams. But when I want to connect the board to wifi network using OTA, it gives me this error of CONNECTION INTERRUPTED!!! I tried both switch and button codes but both are doing the same error. Please how do I fix this? Thanks

  • @yogendrajamsariya1193
    @yogendrajamsariya1193 Před 2 lety

    Ok nice one but what's about all of and all on using remote function

  • @arughana
    @arughana Před rokem

    what is the use of LDR sensor ???

  • @n0friz4l
    @n0friz4l Před rokem

    excuse me , is there any auto home video that has 16x2 lcd??

  • @ravirtech1260
    @ravirtech1260 Před 2 lety

    Great job this project add RF remote

  • @makeforindia612
    @makeforindia612 Před 2 lety

    Hii bro how can I use this code using node mcu and 4 channel relay

  • @janakpatel137
    @janakpatel137 Před 2 lety

    sir i make this project for 4 relay only but once i switched ON all relay either by blynk or manual then after my esp32 is disconnected from wifi and there is no control by blynk or manual unless you restart the board, i tried with different pin also but still problem is continue...any solution?

  • @BHARGAVRANA20011993
    @BHARGAVRANA20011993 Před 2 lety

    Sir.. it showing error compiling for esp32 dev module. What mistake i did ? I hv esp 32 wroom

  • @iystreem186
    @iystreem186 Před rokem

    is it possible to connect a 16 channel relay ?/

  • @zakhu2444
    @zakhu2444 Před 2 lety

    Hi sir great project, keep it up. pls make esp32 cam IOT project, LAN to WAN

  • @farkasroman
    @farkasroman Před 2 lety

    can you please make it for node MCU ?

  • @deepakdeepu4044
    @deepakdeepu4044 Před rokem

    bro i am facing a issue while doing the hexcode.while opening the serial monitor its automatically shows continous inverted ??????????........ like this with & without connecting esp 32 pls...reply asap

  • @ramaprasad2027
    @ramaprasad2027 Před 3 lety

    Super. But pls split panparak on next video...

  • @sarantantakool5425
    @sarantantakool5425 Před 2 lety

    how to modify blynkedgent ?

  • @upendramohanta
    @upendramohanta Před 2 lety

    Please make a video for fan regulator control by blynk app....

  • @drelectronics13
    @drelectronics13 Před rokem

    Hey why not to use capacitive touch pins on esp32

  • @chennaicraft7556
    @chennaicraft7556 Před 2 lety +1

    Hi sir great project, can i use 5v 2amp power supply for this project?

    • @TechStudyCell
      @TechStudyCell  Před 2 lety +1

      Yes. But If you face any issues please use 5V 5A stable DC supply

  • @wolves2.075
    @wolves2.075 Před 2 lety

    add bluetooth too as esp 32 has buletooth, like switch - bluetooth - wifi - remote

  • @loopfi8835
    @loopfi8835 Před rokem

    can you share the schamatic and pcb file please?

  • @SabirHussain-yy9zi
    @SabirHussain-yy9zi Před 2 lety

    Sir my esp32 blue led is blinking but not create wifi hotsport why???

  • @drelectronics13
    @drelectronics13 Před 2 lety

    Can same code be used in esp8266

  • @dipaksonone2917
    @dipaksonone2917 Před 3 lety

    Sir plz go for it with nodemcu 8266....plz

  • @Vortextech1850
    @Vortextech1850 Před 2 lety

    Can you please make a video for this project where you can use two esp32 board of these & connect to the same blynk app. I tried to see your other video on how to add two device on one blynk on mobile but i keep failing... Hope i can see a solution 😊

  • @TheHobbyShopFilms
    @TheHobbyShopFilms Před 2 lety

    What would the code and buttons look like for momentary buttons? on pause off? Thanks.

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      uploaded the code for button in article. link is in description

  • @fasial0lahorey
    @fasial0lahorey Před 3 lety +3

    Can you tell us how to control curtains using these devices please reply

  • @malindumethsara2265
    @malindumethsara2265 Před 2 lety

    Please make a video to make this project with esp8266 and and 4 channel relay module. Good video.

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      Please refer to this video czcams.com/video/H-gkysrJjAc/video.html

  • @cygreeneye
    @cygreeneye Před 3 lety

    Can we add last memorize function using esp 32 intarnal chip it will very helpful

    • @TechStudyCell
      @TechStudyCell  Před 2 lety +1

      If you uncomment the Blynk_connect() function in the code, then it can fetch the previous States from Blynk server

  • @nguyenvankhanh5330
    @nguyenvankhanh5330 Před 2 lety +1

    very nice application

  • @yogeshbhuva3713
    @yogeshbhuva3713 Před 2 lety

    Sir without WiFi work this project yes and no

  • @pierricdoublet6248
    @pierricdoublet6248 Před 2 lety

    Beautiful project I set up the blynk 8 currency relay appears in the wifi network but impossible to connect me! An idea? Thank you in advance

  • @AnuragSinhaVlogs
    @AnuragSinhaVlogs Před 3 lety

    Nice but where is fan regulator?

  • @sanctuaryjames3434
    @sanctuaryjames3434 Před 2 lety

    Hi, I used the button code. But I found out that all relays turns off whenever I switch off wifi hotspot. Even if I use remote control or buttons to switch on relays, they will all shutdown immediately wifi is off. But all relays stays as they are when wifi is on. What can I do please?

  • @marvelfans0
    @marvelfans0 Před 3 lety +2

    Nice video 😊😊🎉🎉🎉🎉

  • @satyambhargav9661
    @satyambhargav9661 Před 2 lety

    sir is there a way to supply power to my relay board through my esp8266? as i'm using a usb charger to power my nodemcu board

    • @TechStudyCell
      @TechStudyCell  Před 2 lety +1

      Connect Both NodeMCU VCC to Relay module VCC, and gnd to gnd. Although you will get no issues, But this is not recommended

  • @ksptechintelugu1208
    @ksptechintelugu1208 Před rokem

    Hello sir ypu project is excellent. i am getting problam in this project ( after disconnect wifi all relays going to off ) can u suggest me to resole problam

  • @sreetechnologys
    @sreetechnologys Před 2 lety

    Instead of IR control can we use esp32 bluetooth?When i am trying to do that i am getting memory error.

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      You will get memory error for blutooth+ WiFi.

  • @diegorosasguarin1687
    @diegorosasguarin1687 Před 3 lety

    Hi, excellent video, I have a question for this project, I can use esp8266?, Obviously changed somethings things but could works?

  • @quiz3945
    @quiz3945 Před 2 lety

    How can I delete my previous wifi? Thanks.

  • @PinheiroEngenharia
    @PinheiroEngenharia Před 2 lety +1

    Fantastic. Congrats.
    Is it possible to integrate this code to control using alexa or google assistant? That could be perfect if yes.

    • @TechStudyCell
      @TechStudyCell  Před 2 lety +1

      You can purchase Blynk paid plan to integrate Google Assistant and Alexa

  • @travelexpenses1395
    @travelexpenses1395 Před 3 lety

    Bhai please fan regulator include kar ke v bnao

  • @s.s.dtechnical6281
    @s.s.dtechnical6281 Před 2 lety

    Error compiling for board DOIT ESP32 DEVKIT V1. piles halp me

  • @sanchit837
    @sanchit837 Před 2 lety

    Sir is ko with wifi se kese conect kare

  • @rakeshts8210
    @rakeshts8210 Před 3 lety

    please make on nodemcu esp8266

  • @sujinak5743
    @sujinak5743 Před 2 lety

    Can we control with alexa

  • @sonu9999208499
    @sonu9999208499 Před 2 lety

    Pls add eeprom function

  • @supriyasardar
    @supriyasardar Před rokem

    Please help me i have some problems in this project please help me

  • @chipmaster3031
    @chipmaster3031 Před 2 lety

    puede agregar el alexa a este codigo asi esta bien completo por favor quedaria exelente

  • @user-oi5yu8fb9w
    @user-oi5yu8fb9w Před 11 měsíci

    It is possible to do home automation using the ESP32 Blynk with a temperature sensor, a gas leak sensor, and a fire sensor, an infrared remote control relay via WiFi, without internet or Bluetooth.

  • @adarshroy7301
    @adarshroy7301 Před 2 lety +1

    its really great work , i have small query do this project remember its last state, if power gets off, but wifi is available , how will it react if power came back . Same situation with wifi too. please explain

    • @gi_ke_films
      @gi_ke_films Před 2 lety

      I have also same query

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      if you uncomment the BLYNK_CONNECTED() function, then it can fetch the last state from blynk server.

    • @rahulviswanath7916
      @rahulviswanath7916 Před 2 lety

      please provide the complete diagram for pcb

  • @smartteg7381
    @smartteg7381 Před 2 lety +1

    U really great but the problem is u don't answer some of as
    Please which part of the code makes it work without internet because the other video it doesn't work without internet

    • @TechStudyCell
      @TechStudyCell  Před 2 lety +1

      Please watch complete video, I have added two functions in BlynkEdgent.h file. Those functions will work with and without internet

  • @madhavaraop8787
    @madhavaraop8787 Před 2 lety

    Very good information video 🇮🇳🇮🇳🇮🇳

  • @hassanzaenali9266
    @hassanzaenali9266 Před 2 lety +1

    Add to project IR transmitter -> trun on TV, please

  • @yasminraimi6073
    @yasminraimi6073 Před 2 lety

    thank you for this great knowledge ... but where can I set the credentials SSID and password ?

  • @cyrobyte69
    @cyrobyte69 Před 2 lety

    Can ypu make video in which you use arduino iot cloud as they have free alexa support in them

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      Already made video with Arduino IoT Cloud and Alexa. Please check previous videos

  • @AkhtarAli-jr8ed
    @AkhtarAli-jr8ed Před 2 lety

    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

  • @nightwing8164
    @nightwing8164 Před 2 lety

    Hey there.
    What do I need to change in the sketch to use push buttons instead of switches ?

    • @TechStudyCell
      @TechStudyCell  Před 2 lety +1

      You can download the code for pushbutton from the article. link in description

    • @nightwing8164
      @nightwing8164 Před 2 lety

      @@TechStudyCell thank you so much my friend.
      Have a great day 👍

    • @4uhacks767
      @4uhacks767 Před 2 lety

      @@TechStudyCell sir what do I need to change in sketch to use touch switch using tp223 instead of push button?

  • @adityagaming3723
    @adityagaming3723 Před 2 lety

    please make a video on esp32 home automation wifi+ bluetooth+ manual switches ON THE NEW BLYNK 2.0 PLEASE

  • @sanchit837
    @sanchit837 Před 2 lety

    blynk 2.0 add device nahi hoo raha hai

  • @ElgarYogaPratama
    @ElgarYogaPratama Před 5 měsíci

    Why my esp can't send name esp in blynk iot?

  • @Omar3136
    @Omar3136 Před 2 lety

    How size is push buttons in Pcd ?

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      download the code for pushbutton from article.

  • @rohijen2011
    @rohijen2011 Před 2 lety

    Error compiling for board ESP32 Dev Module.
    Not used: C:\Program Files\Arduino\libraries\WiFi
    exit status 1
    Error compiling for board ESP32 Dev Module.