IoT Project using ESP32 Google Assistant Blynk with Timer & Sensor | Home Automation System 2022

Sdílet
Vložit
  • čas přidán 10. 07. 2024
  • In this true home automation project, I have shown how to make an IoT project using ESP32 Google Assistant Blynk with the timer, sensor, and IR remote control relay with real-time feedback. You can also control appliances without internet from IR remote and manual switches.
    PCBA from $0 (Free Setup, Free Stencil) jlcpcb.com/RHS
    Download the PCB Gerber file for ESP32 IoT Projects
    iotcircuithub.com/wp-content/...
    Video on NEW Blynk + ESP8266 + IR + Sensor: • ESP8266 Project using ...
    For this ESP32 project, I have used the FREE plan of the Blynk IoT platform and explained all the steps to use Blynk Automation to control the relays with sensors and timers.
    During this Internet of things tutorial video, I have covered the following topics:
    00:30 Control appliances with Google Assistant Blynk & IR Remote
    01:12 Controlling relays with DHT11 Sensor and Timer.
    03:21 Required Components for the Blynk ESP32 IoT project.
    03:36 Circuit of the ESP32 IoT Home Automation projects.
    06:04 How to set up Blynk IoT cloud for ESP32.
    09:53 Source Code for the Blynk ESP32 IoT project.
    12:51 Set up Blynk IoT Application Mobile Dashboard.
    13:57 How to add Automations in Blynk IoT (Timer and Sensor )
    18:52 Controlling relays from Blynk App, IR remote, and switches.
    19:17 Connect Blynk cloud with Google Assistant using IFTTT
    Required Components for this ESP32 home automation system
    1. ESP32 DEV KIT V1
    2. 4-channel 5V SPDT Relay Module
    3. TSOP1838 IR receiver (with metallic casing)
    4. DHT11 temperature sensor
    5. Switches or pushbuttons
    Amazon India Affiliate links:
    ESP32 DEV KIT V1: amzn.to/331pohb
    4-channel 5V Relay Module: amzn.to/2BQ5Y3o
    Amazon United States Affiliate links:
    ESP32 DEV KIT V1: amzn.to/3mBjCch
    4-channel 5V Relay Module: amzn.to/3r2HuJ4
    Help my projects on Patreon: / techstudycell
    Feel free to donate any amount: paypal.me/sdaspay
    Download the Code for the ESP32 Blynk IoT project from the following article:
    iotcircuithub.com/iot-project...
    Previous Videos:
    Blynk IFTTT Google Assistant: • ESP8266 Project using ...
    Get the HEX codes from IR remote: • Smart Home with Amazon...
    Steps to program ESP32 with Arduino IDE: • Programming NodeMCU ES...
    Important Links:
    New Blynk IoT Cloud: blynk.cloud/dashboard/register
    IFTTT sign up: ifttt.com/join
    Important points:
    1. You can turn ON/OFF the automation anytime from the Blynk IoT app.
    2. IR receiver sensor must have a metallic casing. Otherwise, you may face issues while trying to get the Hex code.
    3. The Blynk Automation will not work if the ESP32 is not connected to WiFi
    4. You can control relays with switches & IR remote if WiFi is not available.
    5. Install the correct version of the ESP32 board and libraries as mentioned in the code.
    7. Please watch the complete video, otherwise you may face some issues.
    **Please take proper safety precautions while working with high voltages.
    To try out the FREE trial version of Altium, click here - www.altium.com/yt/techstudycell
    During the tutorial video, I explained all the steps to make this IoT-based home automation system, and how to set up automation in the Blynk IoT platform.
    In this ESP32 project, you can control the relays without internet from the IR remote and manual switches. ESP32 will automatically connect with the Blynk cloud 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 PCB can be used for different ESP32 projects which I will cover in upcoming videos.
    #homeautomation #iotprojects #esp32
    -----------
    Thanks For Watching...
    ✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
    Find out more such projects: iotcircuithub.com/
    Facebook: / techstudycell
    Instagram: / techstudycell
    Telegram: t.me/techstudycell/
    -----------
    -----------
    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 ESP32 projects playlist:
    • ESP32 Projects
    Latest NodeMCU projects playlist:
    • NodeMCU Projects
    Arduino Home Automation Projects playlist:
    • Arduino Projects
  • Věda a technologie

Komentáře • 149

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

    Looks fab, all nice and neat, no ugly wires dangling about all over the place......i'm gonna throw away all my Philips hue bulbs and do this instead.....my wife's gonna love it

  • @Shivam-tr8ut
    @Shivam-tr8ut Před 2 lety +1

    It is very usefull project and i have been seen other your projects that's are also amazing and very usefull

  • @shock2k3
    @shock2k3 Před 2 lety

    your work is awesome and wonder.by doing your project in my colleage . i got 4 th place and i recieve many wonderfull wishes from staff and student's .this is becoz of u

  • @victor7ultimate
    @victor7ultimate Před rokem +1

    I just implemented this project following this great and carefully guided tutorial. Thanks a million.

  • @SC.243k
    @SC.243k Před 2 lety +3

    Very professional work, Thanks my friend ♥️♥️♥️♥️

  • @a.nareandhareprasanth138
    @a.nareandhareprasanth138 Před 2 lety +1

    Perfect and very very nice bro

  • @a.nareandhareprasanth138
    @a.nareandhareprasanth138 Před 2 lety +1

    Good job bro

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

    Amazing project, thank you for sharing. Could you do a voice control of an analog signal, like controlling a servomotor position with google assistant?

  • @warrobots3512
    @warrobots3512 Před 2 lety

    Great project

  • @srinivasrdn
    @srinivasrdn Před 2 lety

    Very useful project 👍

  • @sergejgulko6705
    @sergejgulko6705 Před rokem

    Спасибо👍

  • @wannurulizzah19
    @wannurulizzah19 Před měsícem

    What type of switch did you use? 5v switch?

  • @saadlondonphone1658
    @saadlondonphone1658 Před rokem

    thanks for ur video , i have made some changes to use 8 relay , im getting error ""pin 5 not included in the scope " kindly advice

  • @Pola.Botros
    @Pola.Botros Před rokem

    cloud we add an Arduino code when i press a button (ex:pin 5) for 10 seconds break the current process and create an access point to input WiFi-ssid and password and blynk authentication code then reconnect to wifi
    in-case i changed the WiFi credential

  • @diaryiklanlucudiarylancu8367

    Nice video sir 👍👍👍

  • @rollingstone4936
    @rollingstone4936 Před 2 lety

    Super video

  • @rallyworld3417
    @rallyworld3417 Před 2 měsíci

    Can you make a loop system like turn on 1 min and off and loop

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

    Perfect

  • @rushikeshkumawat1361
    @rushikeshkumawat1361 Před rokem

    Sir, I have 1 question. I have connected AI Thinker ESP32S module to 16 Channel Relay module.
    It is low trigger relay. So when I run the blink program of Esp32 ( No Arduino .Only Esp32 and relay module), using Arduino IDE, Relay should turn ON at Low and turn OFF at High. This action should repeat continuously.
    But the problem is When I connect relay pin to esp32 D2 pin, the relay is turned ON and always stays in ON condition. No OFF action happens.
    Please provide solution.

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

    can we increase the number of relays in this particular arrangement?

  • @yuvarajnaidu476
    @yuvarajnaidu476 Před 7 měsíci

    Can u do the same with esp8266, and cadio app

  • @masudrahaman7497
    @masudrahaman7497 Před 2 lety

    Wahooooooo
    Excellent 100 times

  • @muzaffarbashir4566
    @muzaffarbashir4566 Před rokem

    Very well managed project on suggestion to add dc voltage and current measure as now a days all the home appliances are operated on dc voltage so on can monitor completely and some flaws are there in project when no internet is available for long device get hanged no control over push button as well as remote so we need to restart the device plz make this fix with updated virtual pins for voltage and current ...

  • @shijilt
    @shijilt Před rokem

    what is there is no internet or if the wifi is off ?

  • @yuvarajnaidu476
    @yuvarajnaidu476 Před 7 měsíci

    What I mean is, is it possible to make 4 channel relay and also universal ir remote using esp8266?

  • @shadaankhan7629
    @shadaankhan7629 Před 2 lety

    how to triger vooc charger without smart phone
    or how to convert vooc charger to PD charger

  • @ayushkedari1566
    @ayushkedari1566 Před 2 lety

    how to enable exposure to automation option it's not visible on our end

  • @burhanuddinbhiwaniwala618

    very nice but some off us would like to redesign the pcb according to our switch board and wall outlet.... please do share the schematic and not just the gerber file

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

    very nice and useful project, very well and clearly explained - thank you for your great job :) I have a question regarding your sketch - what is "fetch_blynk_state" used for ? its value is always 'true'

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      Please watch the complete video. If the variable is true, whenever ESP32 connect with Blynk, it will fetch the state from Blynk cloud.

  • @rabeeusman520
    @rabeeusman520 Před rokem

    my esp32 board is not reconnecting after lost wifii connection plz guide me to solve this issue

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

    Thanks for video.Can you show us how to connect lora Ebyte e22 or e32 or sx1276/78 with esp32 or esp8266 to control relays?

  • @mackieboy2698
    @mackieboy2698 Před 2 lety

    What is the alternative of IR sensor?

  • @bharathn.9525
    @bharathn.9525 Před rokem

    @Tech StudyCell Bro, i just want to know that how NodeMCU will get signal abt the real time status of bulb whether its ON/OFF , Which Sensor u have used to know the Real time status of Bulb, fan, etc....

  • @HarbansSingh-ce2tm
    @HarbansSingh-ce2tm Před 2 lety +1

    Good job bro.......

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

    Bro I'm making this project If,I will face any problem than I can ask you.
    Thanks for the nice project ☺️

  • @vipinvg2048
    @vipinvg2048 Před 2 lety

    Single pulse like a push button I mean that latching in sonoff like

  • @rollingstone4936
    @rollingstone4936 Před 2 lety

    can you please do ESP32 PCB design with 16 relays, IR, BL and wifi control, including 5V regulator. Basically only one ac in, and 16 switch control out. Controllable by IR,BL and wifi

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

    Nice Project Sir, Can u provide the link of the Design Files

  • @Shivam-tr8ut
    @Shivam-tr8ut Před 2 lety +1

    Sir may you start playlist for IoT home automation. I want to teach from you

  • @AmandeepSingh-hp3wr
    @AmandeepSingh-hp3wr Před rokem

    Hlo sir I had a esp8266, would this code will for it

  • @sainithin5485
    @sainithin5485 Před 2 lety

    Bro please design a pcb for this to use directly on AC supply 220volts without 5v additional power supply

  • @greg9978
    @greg9978 Před rokem

    It doesn’t work the ir controller why?

  • @mackieboy2698
    @mackieboy2698 Před 2 lety

    Can we use 220v switch?

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

    Bro I made a 6 channel home automation project for my college after watching your video.
    🟢 Now I want to make another home automation project using 8 channels instead of 4 channels like this video, which will include google assistant control, 8 channel relay, temperature monitoring, IR remote control, manual control, blink app.
    🙏🙏🙏 Please, please, please make a video like this.💝💝💝

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      Please check last video on our CZcams channel

  • @askentertainment7506
    @askentertainment7506 Před 2 lety

    Sir
    Can we control fan speed with home automatic system

  • @AAdnaanmtl
    @AAdnaanmtl Před 2 lety

    Excellent work excellent explanation all flavors are available. Can you please add eeprom and dimmer then it will be complete home applicable automation ?

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

      Thanks. I have started working on it. But this may take some time.

  • @ahmedch7297
    @ahmedch7297 Před rokem +1

    The function decode(&results)) is deprecated and may not work as expected! Just use decode() without a parameter and IrReceiver.decodedIRData. . i face this issue plz tell me

    • @trisha2472
      @trisha2472 Před rokem

      Yes I have also same problem😮‍💨. Are u finded solution for this

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

    nive video bro plz make video tuya devlopment

  • @gedeonmuanza9795
    @gedeonmuanza9795 Před rokem

    J'aime bien vos projets alors faites aussi des vidéos en Français pour nous qui parlons uniquement que le français

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

    Can I do this using ESP8266?

  • @mominulislam8727
    @mominulislam8727 Před 2 lety

    Hello sir, Pleas make a video with esp ch340

  • @Cookingstudiobyshahin
    @Cookingstudiobyshahin Před 2 lety

    After about 30-1 hours NodeMCU8266 wifi is disconnected. Without restarting the module, wifi is not being connected and apps are not working. What is the solution to this problem?

  • @iamrafic
    @iamrafic Před 2 lety

    Bro, can you update this project to use only code with remote.

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

    👍

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

    ❤❤❤

  • @anandhurajeev4046
    @anandhurajeev4046 Před rokem

    Sir, pls uploade a vedio of home automation, it consists 16 Chanel relay, each realay control manually + IR+ BLINK

  • @Shivam-tr8ut
    @Shivam-tr8ut Před 2 lety +1

    Sir please replace GOOGLE Assistant with ALEXA and make a video

  • @gimhangavee
    @gimhangavee Před dnem

    ❤❤❤❤

  • @Wffgcdewffkdhrhdb
    @Wffgcdewffkdhrhdb Před rokem

    Can timer work when no internet ?

  • @bhaskarsolanki7266
    @bhaskarsolanki7266 Před rokem

    /storage/emulated/0/ArduinoDroid/userlibraries/IRremote/src/private/IRTimer.hpp:1373:50: error: missing binary operator before token "("
    Sir i have found this error
    How can i solve it plz help🙏🙏🙏

  • @a.nareandhareprasanth138
    @a.nareandhareprasanth138 Před 2 lety +1

    Bro esp32 use 8 channel blynk iot app +Alexa voice control + manual ON and OFF switch control coding or video podugha bro please bro and coding send me bro please bro

  • @normaluse7671
    @normaluse7671 Před rokem +1

    Can i try this code on esp8266 module ???

  • @cygreeneye
    @cygreeneye Před rokem

    Very advance. Sir can you add 8 Relay This project. and Can you Remove IR remote option

  • @danishbhai5920
    @danishbhai5920 Před 2 lety

    Great project sir thank you for this project
    Sir can you please help?
    Please can you make a same project but the on and off timer is in minutes format means 5 min on 5 min off and this will going in loop upto set time in hrs eg.6hr after
    6hr the remaining 18hr timer will of and then again on for 6hr in loop 5min on 5min off

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

    Bro..... I appriciate your work but i need your help. I have to sumbit my project in collage of home automation using esp32 wifi+bluetooth+ir + temprature+manual. So could you provide me this same code with updated version using Bluetooth 🙏🙏🙏

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      It is hard to add blutooth + wifi in same microcontroller

  • @Shivam-tr8ut
    @Shivam-tr8ut Před 2 lety +1

    Sir es code ko ESP8266 m upload krne ke liye kya changes krne honge?

  • @adamave3462
    @adamave3462 Před 2 lety

    how much did it cost in total for developing this projectt??

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

    Make a same video just like this using esp8266 please

  • @sumukha-infotech
    @sumukha-infotech Před rokem

    Thank you for the great video, i think automation option is not avilable for free Blynk users

    • @TechStudyCell
      @TechStudyCell  Před rokem

      I have used free plan. may be they have changed the policy

  • @alodas663
    @alodas663 Před 2 lety

    HOW TO ADD EEPROM FACILITY DURING POWER FAILURE?

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      You can fetch the previous state from Blynk cloud

  • @actionfire3196
    @actionfire3196 Před 10 měsíci

    Sir i have some questions... Can i contact with you

  • @zeroffyt8517
    @zeroffyt8517 Před 2 lety

    Sir I want to add 8 channel relay in this project pls help me

    • @zeroffyt8517
      @zeroffyt8517 Před 2 lety

      Pls sir make code for 8.channel relay

  • @vipinvg2048
    @vipinvg2048 Před 2 lety

    1) This timer will work WiFi is not available?
    2) this timer can adjust particular date that ON and off?
    3)it's also can the relay output as a single pulse ?

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      1. No, 2. Yes, 3. Question is not clear. Please elaborate.

    • @vipinvg2048
      @vipinvg2048 Před 2 lety

      Single pulse like a push button I mean that latching in sonoff like

    • @vipinvg2048
      @vipinvg2048 Před 2 lety

      It's work with siri

  • @marvelfans0
    @marvelfans0 Před 2 lety

    Can l make it using node MCU?

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      You can add automation to any Blynk IoT project.

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

    Sir Nodemcu with Blynk app+ Manual Switch+ IR rimote 4ch Home automation

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

    Brother..... Code is not uploded on website yet. And not in description. Plz provide link of coding part

  • @sanctuaryjames3434
    @sanctuaryjames3434 Před rokem

    Hello Techstudycell, I have been following your videos and I have made some of your IoT automations. I appreciate you for all these nice videos.
    In the codes for this automation (Both Latch and Button codes), when compiling the code, I received an error message about "BlynkTimer timer;" function, In the error message, I saw "Conflicting declaration BlynkTimer timer" please How can I solve this? Thanks.

    • @bhaskarsolanki7266
      @bhaskarsolanki7266 Před rokem

      /storage/emulated/0/ArduinoDroid/userlibraries/IRremote/src/private/IRTimer.hpp:1373:50: error: missing binary operator before token "("

    • @bhaskarsolanki7266
      @bhaskarsolanki7266 Před rokem

      I have also found this error

    • @bhaskarsolanki7266
      @bhaskarsolanki7266 Před rokem

      Could u help me ?

    • @sanctuaryjames3434
      @sanctuaryjames3434 Před rokem

      @@bhaskarsolanki7266 I edited the code and got it working but I lost the code when my laptop crashed. I will try to edit it again and get back to you soon

  • @ikramikie
    @ikramikie Před 2 lety

    can we use arduino ide

  • @user-rx7tu8dt9q
    @user-rx7tu8dt9q Před 7 měsíci

    helllo sir can you share your code i can find you code

  • @diaryiklanlucudiarylancu8367

    I.am request multipel sensor sir automation turn on off relay..humidity sensor turn on off..smoke detector sensor turn on off relay, pir sensor, manual swicth and blynk 🙏🙏🙏

  • @sanjayyadav-rj1vb
    @sanjayyadav-rj1vb Před rokem

    My brother, how much you paid for PCB?

  • @alifzafri7911
    @alifzafri7911 Před 2 lety

    sorry sir you website is cannot open i can't to get the code

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

      Please try now

    • @alifzafri7911
      @alifzafri7911 Před 2 lety

      @@TechStudyCell tq 🤗

    • @mohiths6259
      @mohiths6259 Před rokem

      @@alifzafri7911 Hi brother. Iam currently working on this project. I couldn't find the code in the website. Can you please send me the source code .?

  • @gocchiase8785
    @gocchiase8785 Před 2 lety

    let's do solar blynk

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

    Please help me

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

      In which project?

    • @amirtelecom6898
      @amirtelecom6898 Před 2 lety

      @@TechStudyCell
      Please
      Notification is Free ?

    • @sayansantra1420
      @sayansantra1420 Před 2 lety

      I not upload ESP 32 board on my PC so please help me I ordered ESP 32.
      My father is farmer .
      He purchase these boards so hardly then I not program, it this is a bad for me . I not learn these board how to use

    • @sayansantra1420
      @sayansantra1420 Před 2 lety

      Sir sir please help me. I not program this boards please help me

    • @sayansantra1420
      @sayansantra1420 Před 2 lety

      I try to contact for you . but I not contact for you please help me sir please I request with sorrow please help me please sir please🥺🥺🥺🥺🥺🥺🥺🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

  • @SunilChauhan-sg7re
    @SunilChauhan-sg7re Před 10 měsíci

    Sir please giveme password Garber file open

  • @ghoumrassihafsa1574
    @ghoumrassihafsa1574 Před 2 lety

    Does anyone here are working on this project?

  • @vipinvg2048
    @vipinvg2048 Před 2 lety

    It's work with siri

  • @ahmedch7297
    @ahmedch7297 Před rokem

    response me sir plzz

  • @sayansantra1420
    @sayansantra1420 Před 2 lety

    Halp me

  • @ssstudio1703
    @ssstudio1703 Před 11 měsíci

    Please add this into your code please and send me sir please
    // Checks Network connection status in every 5 seconds
    void Network_Checkup() {
    if (WiFi.status() != WL_CONNECTED) {
    WiFi.begin(ssid, pass);
    delay(10);

  • @shock2k3
    @shock2k3 Před 2 lety

    bro use for multiple functions to implement it.two add more connection's with it

  • @ssstudio1703
    @ssstudio1703 Před 11 měsíci

    Please add this into your code please and send me sir please
    // Checks Network connection status in every 5 seconds
    void Network_Checkup() {
    if (WiFi.status() != WL_CONNECTED) {
    WiFi.begin(ssid, pass);
    delay(10);