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

Поделиться
HTML-код
  • Опубликовано: 21 июл 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=RUclips
    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...
  • НаукаНаука

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

  • @travelexpenses1395
    @travelexpenses1395 2 года назад +4

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

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

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

  • @robsonneri3369
    @robsonneri3369 2 года назад +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!

  • @iot_cdp
    @iot_cdp 2 года назад +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
    @rescavefreemusiccentre6435 2 года назад +1

    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

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

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

  • @RMquickbit
    @RMquickbit 2 года назад +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.

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

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

    • @jitendrasonavane82
      @jitendrasonavane82 2 года назад +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  2 года назад

      Thank you so much 😀

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

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

  • @simbuking2567
    @simbuking2567 2 года назад +4

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

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

      Thank you so much 😀

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

      @@TechStudyCell can you please give me the circuit daigram of this pcb layout

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

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

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

    Thank you for providing useful information

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

    Best video for home automation projects

  • @SabirHussain-yy9zi
    @SabirHussain-yy9zi 2 года назад

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

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

    i am from Viet Nam and me very like your project

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

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

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

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

  • @dvidkth8861
    @dvidkth8861 2 года назад +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!.

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

    Super video, thanks for sharing your knowledge to us

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

    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?

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

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

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

    Nice project

  • @4uhacks767
    @4uhacks767 2 года назад

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

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

    Great job this project add RF remote

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

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

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

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

  • @user-is1st2ob5g
    @user-is1st2ob5g 2 года назад

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

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

    Very important video thank you

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

    very nice application

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

    Sir, what is the maximum working range.

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

    very good project

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

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

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

    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

  • @janakirenga
    @janakirenga Год назад +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

  • @wolves2.075
    @wolves2.075 2 года назад

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

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

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

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

    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?

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

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

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

    Nice project 👌👌

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

    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?

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

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

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

    Very good information video 🇮🇳🇮🇳🇮🇳

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

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

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

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

  • @smartteg7381
    @smartteg7381 2 года назад +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  2 года назад +1

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

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

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

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

    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 😊

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

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

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

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

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

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

  • @adarshroy7301
    @adarshroy7301 2 года назад +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 2 года назад

      I have also same query

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

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

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

      please provide the complete diagram for pcb

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

    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

  • @marvelfans0
    @marvelfans0 2 года назад +2

    Nice video 😊😊🎉🎉🎉🎉

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

    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

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

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

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

      Please refer to this video ruclips.net/video/H-gkysrJjAc/видео.html

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

    what is the use of LDR sensor ???

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

    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?

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

    can you please make it for node MCU ?

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

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

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

      Yes. You have to use Blynk.Edgent library for esp8266

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

      @@TechStudyCell thanks 😃 I try make it.!!!

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

    Osm bhai

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

    how to control fan speed Internet and manual
    Please say

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

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

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

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

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

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

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

    is it possible to connect a 16 channel relay ?/

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

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

  • @PinheiroEngenharia
    @PinheiroEngenharia 2 года назад +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  2 года назад +1

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

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

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

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

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

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

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

  • @SabirHussain-yy9zi
    @SabirHussain-yy9zi 2 года назад

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

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

    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

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

    Hey why not to use capacitive touch pins on esp32

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

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

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

    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?

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

    can you share the schamatic and pcb file please?

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

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

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

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

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

    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  2 года назад +1

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

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

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

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

      You will get memory error for blutooth+ WiFi.

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

    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.

  • @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

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

    Great Sir.....
    Can you add auto option

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

    how to modify blynkedgent ?

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

    Bhai please fan regulator include kar ke v bnao

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

    Is it work over the internet ? , Or only in a same router range ??!

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

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

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

    Can same code be used in esp8266

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

    Sir without WiFi work this project yes and no

  • @s.s.dtechnical6281
    @s.s.dtechnical6281 2 года назад

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

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

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

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

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

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

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

    • @4uhacks767
      @4uhacks767 2 года назад

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

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

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

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

    please make on nodemcu esp8266

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

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

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

    Pls add eeprom function

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

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

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

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

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

    Please sir I didn't get the web description on how to get the code

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

      Visit the article, link in description

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

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

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

    Hello sir .
    I followed exactly according to this video but ,relays turn off after disconnecting with wifii plz help me

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

      Blynk has changes some logic... Please refer to following video. ruclips.net/video/LbQ6mCVGBeg/видео.html

  • @3ifishfarms661
    @3ifishfarms661 Год назад

    please make video / code on Nodemcu8266 of same project with analog LDR sensor and Humidity sensor

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

    What is the code for push button.. your site says only switches..

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

      Will share the code for pushbutton by next week

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

    How can I delete my previous wifi? Thanks.

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

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

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

      Through OTA. Please watch complete video

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

    How size is push buttons in Pcd ?

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

      download the code for pushbutton from article.