IoT Smart Home project using ESP32 Blynk control relay with WiFi + Manual Switch - 2021

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2021
  • In this ESP32 project, I have explained how to make an IoT Smart Home project using ESP32 Blynk to control relays with Wi-Fi and manual switch. with this internet of things home automation system, you can also monitor the real-time feedback and control the appliances manually without internet.
    PCBA from $0 (Free Setup, Free Stencil) 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.
    During the Blynk IoT tutorial video, I have covered the following topics:
    00:35 Required Components for this Blynk ESP32 IoT project.
    01:09 Circuit of the ESP32 Home Automation system.
    03:00 Program the ESP32 with Arduino IDE
    04:21 Set up Blynk cloud account, Web Dashboard.
    07:02 Connect ESP32 with Blynk cloud account.
    07:59 Setup Blynk IoT application Mobile Dashboard.
    09:10 Control relays from Blynk App and switches.
    Required Components for this ESP32 home automation system
    1. ESP32 DEV KIT V1
    2. 8-channel 5V SPDT Relay Module
    3. Latched switches or Push Button
    Amazon India Affiliate links:
    ESP32 DEV KIT V1 : amzn.to/331pohb
    8-channel 5V Relay Module : amzn.to/3mTWyVZ
    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. Jumper (2 no)
    11. 5V DC supply
    ------Important points for this ESP32 project:------
    1. After compiling the code, you have to press and hold the BOOT button of ESP32 until the code starts uploading.
    2. Install the correct version of the ESP32 board and Blynk library as mentioned in the code.
    3. Please take proper safety precautions while working with high voltage.
    -----------Related Previous Video Links:------------
    Create New Template, DataStreams in Blynk Cloud account
    • Home Automation using ...
    Steps to program ESP32 with Arduino IDE
    • Programming NodeMCU ES...
    ----------Codes----------
    Download Code for this Blynk ESP32 control relays from the following article
    iotcircuithub.com/iot-smart-h...
    #smarthome #esp32 #blynk
    -------------------------------------------------------
    Thanks For Watching...
    ✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
    Find out more such 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...
  • НаукаНаука

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

  • @safiyasulthana3531
    @safiyasulthana3531 2 года назад +5

    Woahhh👏👏 Bro, Can u please make a base board of this that is ready to be installed behind the switch board because the esp32 or node MCU also need their own power supply I am sort of confused on how to do this without the need to use a charger and connect to the socket.

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

    Great project
    Thank you

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

    Have a little question.
    Would like to see all this operated via multiple ESP32 modules, that is, I now only see an ESP32 sitting directly on a switch block and sitting directly on a switch block.
    Everything is nice and well, that is nice in a test environment like this, the practice is more unruly, let's assume that, do you not think that is a better plan, because here we have nothing in basics, right?
    I have to attach that switch block to a separate ESP32 module, because it is somewhere in a central point in a room or several rooms and thus multiple ESP32 modules to make it more difficult, put the ESP32 in MESH switching.
    Somewhere else is the other ESP32 with its relay card which controls the lamps and other grut, as above in terms of MESH the multi-chamber principle.
    Do you have an idea how to solve that?
    Let's assume 2 rooms with 8 relay contacts each!
    Old Wizzy, in NL

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

    Excuse me, this concerns my college project too. please help, can the manual switch work using time. for example, the manual switch is pressed, the light turns on after a count of 5 seconds or vice versa.

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

    Excellent project sir. If Eeprom and dimmer are added it will be very useful project

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

      It can fetch the previous status from Blynk server.

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

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

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

    Thanks very much !

  • @SohailKhan-iq1wk
    @SohailKhan-iq1wk 2 года назад

    Nice video
    I just wanted to know that
    You provide or do you sell this project
    On your website ?

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

    your video is very good, i am a big fan of you, hope you do video bynk 2.0, 8 relay, bluetooth and switch

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

    super excellent proyect thks hello from colombia

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

    Nice project sir , i like your all projects keep it up sir

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

    Very Good Project !!!!!!
    👌💪🤙
    👏👏👏👏👏😘

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

    Hi, your project is great. Can you share your pcb drawing schematic? i want to redraw it on altium. can you share the schamatic and pcb file please?

  • @xyz-iz2kf
    @xyz-iz2kf 2 года назад

    sir are data stream and double data stream same?
    bcs in my blynk iot app it is showing as double data stream? pls help me

  • @SohailKhan-iq1wk
    @SohailKhan-iq1wk 2 года назад +1

    Nice video
    Sir I'm using esp32 and 8 channel optacopular relay
    But I'm getting lots of errors
    But I'm copying all the seps as you told

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

    Nice project bro, please I need help
    I want to use your PCB board can you provide different terminal block to supply esp32 board and change the input header pin to terminal block please 🙏

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

    Again a super project 👍do you make it still for 3 or 4 relays ?
    Also the board to match 🤔

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

    Is it possible if I will use esp32, 5V 8 channel relay, 12V battery supply to control the solenoid water valve using blynk 2.0?

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

    Hye, good project, can I request a project? Can you make water level indicator using 2 ultrasonic sensor (2 water tank) and blynk 2.0 in esp32

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

    It's an useful video... Thank you for sharing👍👍👍

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

    Boa tarde.
    Prezado
    Tem como você fazer ou ensinar em um vídeo fazendo NodeMCU ou ESP32 como uma placa de portão inteligente com acionamento de motor e estados do fim-de-curso.
    Desde já lhe agradeço a atenção

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

    awesome project 👍👍👍

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

    thanks sir
    yeh project humne banaya full susses hai bahut acha hai.
    please ek video esp-01 ki programming 1 channel 30 amp relay ke liye bana dijiye hume room ac ke liye
    chahiye please

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

    I want this project without blynk app fully control as amazon alexa or Google assistant any idea for you

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

    sir i make this project for 4 switch only its work perfectly but there is some mistake/bug in code that when i switch on all devices either by manual switch or by blynk app after that Wi-Fi is permanently disconnected after that it is required to reset the board

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

    'BLYNK_FIRMWARE_TYPE' was not declared in this scope - Hi, how do I fix this error ? (in the Console.h tab)

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

    Can you show us, the very circuit.... Just using mosfet instead of the relays, please

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

    bro, but how can you control the through mobile without internet ? is there way to build a offline mobile app?

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

    Bro if I am going to upload for wifi and IR remote file and another IR remote and Bluetooth both file will upload for ESP32 it will work or no it means if I am going to upload first wifi,IR remote file after I am going to upload for bluetooth and IR remote file it will work or not bro???

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

    Sir blynk iot app par agr account banate h first time to 8 relay switch ka free plan kitne days ke lea valied hota h

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

    HI,
    without wifi system working?only use pushbutton?

  • @rexrig7109
    @rexrig7109 9 месяцев назад

    How is your approach if switches are distributed

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

    Which software is use for making pcb gerble file???

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

    excellent. can you add code and diagram for Fan speed alos?

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

    Sir how to fan speed control usage with this project?

  • @user-ly8ls6xl3s
    @user-ly8ls6xl3s Месяц назад

    شكرا لك 🙏🏻

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

    You some project like Water level sensor with dry run protection, motion sensor with LDR door sensor with notification . Full home automation project with all feature make project like series

  • @user-iv7bl1ku8d
    @user-iv7bl1ku8d 6 месяцев назад

    This project is amazing but i have a question
    When you restart the esp32 board it fetch the data from blynk previous state not manual switches your manual switches are only used to control the relays but esp32 did not save the last state of switches so this project is not helpful for us kindly fix this issue please and thanks for sharing your other projects with us I really appreciate your effort

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

    Sir please make home automation without any limitations

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

    How to program, which software use to program

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

    Kuch add karo jaise fan controller, seven segment

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

    Great sir 👌👌 , can you add auto option with esp32

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

    sir can you make blutooth+blynk 2.0(wifi)+manual using ESP32?

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

    Could someone tell me if this works with the esp8266 too ?

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

    i guess when wifi reconnect u can check relay state and set blynk button to current position of relay , if this work we don't need to reset it . just a thought

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

    Can you make one with 16 channel relay?

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

    Hi can you please share thge schematic for this. Thanks in advance

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

    Make a project ,on real time monitoring powermeter in load conditions

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

    hi how to wifi charger please

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

    The possibility of importing this card to my address in Brazil?

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

    can anybody tell esp32 is not getting wifi after try to connect different wifi

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

    What if the esp32 is mounted somewhere not reachable ?? And the internet drops for few minutes! And couple of times a day or week !? How will you reach out to it and reset it everytime?? This will be such a dumb thing to do right ?

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

    Code upload hone per ye eror araha he DEBUG_PRINT was not declared in this scope
    Is ka kya solution he

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

    Very nice video
    What component did you connect to the JD VCC and JD GND.

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

    Thank you 💗😊 sir

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

    Pls. add Fan Regulator with microswitch up n down Also blynk app. thanks

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

    Супер! Где скачать Blynk server Windiws?

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

    podrías pasar código en esposarme para los que no estamos familiarizados con arduino, pues es un proyecto muy interesante.

  • @mohitbarhate6970
    @mohitbarhate6970 6 месяцев назад

    Pcb Instock I want to buy?

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

    Nice one brother. Does this rennet the switch state in case of a power cut. Like if the switch was on will it automatically turn on when the power resumes or will it default to off? And Can you control this with Alexa and if yes how? And do you have to always press the reset button for it to reconnect to wifi?

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

      Did you manage to figure out auto reconnect? So far only way that works for me is a while loop and if statement when lose connection reset esp but this changes the state of thr light or relay.

    • @RameezRazaRiaz99
      @RameezRazaRiaz99 Год назад +1

      @@crouchingchicken007 you’ll have to save pin status to memory and read that while restart.

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

      @@RameezRazaRiaz99 would that be via the EEPROM? Also while I've been testing this, it seems like the system favors smart control via Blynk over manual control of the switches. Or maybe internet just isn't good enough? Thank you for your reply

    • @RameezRazaRiaz99
      @RameezRazaRiaz99 Год назад +1

      @@crouchingchicken007 yeah by eeprom. I didn’t like blynk much so I ended up making it using the espalexa library and it works flawlessly.

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

      @@RameezRazaRiaz99 I'll have a look at that thank you

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

    How can I delete my previous wifi?

  • @SohailKhan-iq1wk
    @SohailKhan-iq1wk 2 года назад

    Sir
    For single channel 5v Relay
    At output side ( I mean it's NO or NC or COM )
    Can we connect 2 or 3 LED bulb of 8 watt ?
    For single relay
    Only one relay and at output can we connect 2 or 3 LED bulbs

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

    Same project nodeMCU(esp8266)

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

    can i connect this with amazon alexa for free??

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

    Plz Rate this total board.!

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

    can we control this project using alexa app

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

    How to change WiFi and password in esp 32

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

    Could u make a device for me

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

    can you share the schamatic and pcb file please?

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

      did u got the file?

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

      @@rahulviswanath7916 nah, but I wrote it

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

      @@wolves2.075 can u share for me

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

      @@wolves2.075 can you share the schamatic and pcb file please?

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

    Kya ye alexa me se connect ho sakta hai

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

    👌

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

    SIR. eik video push button aur blynk par banaye plz. 8chanel

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

    Make project on iot device using esp32 with Bluetooth

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

      Already made. Video Link: ruclips.net/video/UxwQ8DHY2zs/видео.html

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

    Ek hi chiz ko kitni baar banaoge bhai

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

    Bro use push button + esp bluetooth 8 channel

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

      ruclips.net/video/UxwQ8DHY2zs/видео.html

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

    ya banda ka dakh ka banay par bana nhi all of you please not follow him because he is not providing all information that you can make from this video

  • @user-ci6ed4lk7g
    @user-ci6ed4lk7g 9 месяцев назад

    Can you help me with this error?
    Code_ESP32_Blynk2_8Relay_Button:83:10: fatal error: BlynkEdgent.h: No such file or directory
    #include "BlynkEdgent.h"

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

    how may i contact you

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

    Please help me, I have define Template id and name already.
    In file included from C:\Users\DELL\Desktop\Code_ESP32_Blynk2_8Relay_Switch\Code_ESP32_Blynk2_8Relay_Switch.ino:84:
    C:\Users\DELL\Desktop\Code_ESP32_Blynk2_8Relay_Switch\BlynkEdgent.h:16:2: error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME"
    #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME"
    ^~~~~
    exit status 1
    Compilation error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME"