The SMARTEST Home Automation System 😎😎 with FAN Speed Control using ESP32 Blynk | IoT Project 2022

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • In this IoT project, I have shown how to make The smartest home automation system with FAN Speed Control using ESP32 and the new Blynk IoT platform, sensor, and IR remote control relay. You can also control appliances, and fan speed 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....
    For this ESP32 project, I have used the FREE plan of the Blynk IoT platform and the ESP32 can save the last GPIO state in NVS flash memory (EEPROM).
    During this Internet of things tutorial video, I have covered the following topics:
    00:13 Control ceiling Fan Speed with Blynk & IR Remote.
    00:31 Control relays with Blynk, IR Remote & Manual Switch.
    01:24 Required Components for ESP32 control fan dimmer.
    02:16 Circuit of the ESP32 IoT-based home automation system.
    03:38 Connection of 4-step fan regulator with ESP32 control relay.
    07:06 Set up Blynk IoT cloud for ESP32 IoT project.
    08:55 Source Code for the ESP32 IoT project with fan dimmer.
    10:23 How does the ESP32 control the Fan Speed.
    13:09 Set up Blynk IoT app Mobile Dashboard.
    14:03 Controlling relays & fan with Blynk app, IR remote, & 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. DHT11 temperature sensor
    5. Switches or pushbuttons
    6. 4-step Fan regulator
    OR
    (2.2uf & 3.3uf 250V Capacitor, 2.2-ohm 1/2W & 220k 1/4W Resistors, and 4-step selector switch)
    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
    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....
    ** 1 correction in the circuit shown in the video. DHT11 O/P will connect to RX2 pin of the ESP32. (Please refer to the following circuit)
    iotcircuithub....
    Previous Videos:
    Last Blynk ESP32 Project: • IoT Project using ESP3...
    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/da...
    Important points:
    1. In the 4-step regulator step-2 & 3 must be internally connected.
    2. IR receiver sensor must have a metallic casing. Otherwise, you may face issues while trying to get the Hex code.
    3. ESP32 can save the last GPIO state after power failure.
    4. You can control fan speed 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.
    During the Blynk tutorial video, I explained all the steps to connect the fan dimmer circuit with ESP32 control relays.
    You can also add Blynk Automations to control the relays and fan speed with DHT11 sensor reading as shown in the previous video.
    With this ESP32 home automation project, you can control the fan speed and relays without internet from the IR remote and manual switches. ESP32 will automatically connect with the Blynk cloud when the internet comes back and the relays will turn on as per the previous states.
    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 #fandimmer
    --
    Thanks For Watching...
    ✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
    Find out more projects: iotcircuithub....
    Facebook: / techstudycell
    Instagram: / techstudycell
    Telegram: t.me/techstudy...
    --
    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

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

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

    ** 1 correction in the circuit shown in the video. DHT11 O/P will connect to the RX2 (GPIO-16) pin of the ESP32. (Please refer to the following circuit)
    iotcircuithub.com/wp-content/uploads/2022/10/esp32-iot-project-circuit_p4.webp
    Download the new PCB Gerber and Source Code for this IoT Project from the following article:
    iotcircuithub.com/esp32-home-automation-system-with-fan-speed-control/

    • @royx1236
      @royx1236 Год назад +2

      Hello Sir, I am facing issues with relay.
      My relay is getting NC to NO.. on applying both 3Volt and ground
      When I touch input pin of relay to 3volt of nodemcu it gets switched... And if i also connect it with ground pin of nodemcu..it also switched on

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

      After restarting due to load-shedding, the fan speed is work according to the regulator nob but I want it to work according to the last speed I selected on IR Remote/Blynk. Do you know how I can solve this?

    • @mdtabrejaalam6672
      @mdtabrejaalam6672 13 дней назад

      Same problem ​@@hastalktechtube5901

  • @ATULRGHARAT
    @ATULRGHARAT 8 дней назад

    great project sir love to watch your all projects .nice explanation ❤❤👍👍

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

    This project is very very useful and your all vidioes complete details so your thank you and you are really a teacher of iot 👌👌👌👌

  • @AmritPalSingh-ku8gs
    @AmritPalSingh-ku8gs 4 месяца назад +1

    Sir, can you please make code for 5 switch and one fan because one relay is vacant and should be use.

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

    Non technical can also understand such type of teaching thanks sir

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

    You did it sir 🤠 excellent work sir really appreciate your hard work

  • @mithilpanchal6901
    @mithilpanchal6901 Год назад +3

    Sir please add voice assistant in it

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

    Like everytime, you are Awesome Dude , you are very knowledgeable and hardworking guy 👍

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

    wow I encourage you bro congratulations I follow all your videos I would like to ask you if you can try to do a smoke and flame detection project using Arduino with GSM 800L?🙏

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

    Great video as usual🤩

  • @ankitjain-bv3pd
    @ankitjain-bv3pd 2 года назад +1

    Sir u r great 👍

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

    Thank you bro .... Finally get fan speed control

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

    Thanks it is a long awaited project.
    Please design a complete pcb for it.
    Has it got last state memory?

  • @GBENGAAJIBOLA-wg4ke
    @GBENGAAJIBOLA-wg4ke Год назад

    Weldone Sir! I have been following your videos, they are always superb. Can you please make it a full automation with the addition of more sensors (like: PIR - motion; Flame/fire; Gas, Ultrasonic for water level) for more monitoring of the home.

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

    Sir please make wireless water level indicator using espnow protocol with seven segment display thankyou sir

  • @فوازالزايدي-ز3ز
    @فوازالزايدي-ز3ز 3 месяца назад

    شكرا على الترجمة 🎉❤

  • @mdtabrejaalam6672
    @mdtabrejaalam6672 13 дней назад

    Hello sir I appreciate this project sir and the fan is not working in eppirom condition after the power cut off fan is off

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

    🔥 superb work bro

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

    Nice project i wait long time it's possible to fan control without relay

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

    Can we connect the esp 32 on our home Wifi router and can we control from anywhere by our mobile?

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

    And if ur thinking to make this with rainmaker app plss do find solution for device not found error

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

    Sir is 5 volt supply necessary for making home automation project using nodemcu and esp32. Please clarify my doubt sir

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

      Yes

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

      Because the relay module and some other sensor needs 5V and the esp can work on 5V. If you use 12V because you may have purchsed 12V relay then the esp would be fried. And if you reduce the voltage to 3.3V then relays won't work. It has to be 5V. If that Big adapter is the problem, then just purchase the 5V AC to DC

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

    Finally you did it bro 🙂 congratulations 🎉

  • @SManiSiingh
    @SManiSiingh 5 месяцев назад

    What will change in programming when w'll using esp8266 instead of esp32?

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

    Wow... Thank you for making this project.... Gonna try this today itself... And sir another request... Can you make the same project with Esp Rainmaker? That would be more than awesome ❤️

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

      Sure. In upcoming video

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

      Blynk is far better than ESP Rainmaker. ESP Rainmaker responce is slow and there is always lag in actions. Blynk is very fast to responce. This is my experience. One plus point of ESp rainmaker is you can use skills to synchronize with Alexa and Google Asistant and can use voice commands.

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

      I want esp rainmaker 6 appliances and fan regulator

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

      @@santoshteggi1814 Yes but with esp Rainmaker you can use several esp32 for free...🤪

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

      @@TechStudyCell sir, when can we expect new video of same project with Rainmaker?

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

    Thank you, very good 👍👍👍

  • @DarkRebel-kg3eu
    @DarkRebel-kg3eu 4 месяца назад

    Hi. Can I ask if i can use polarised 2.2uF 250V capacitor and polarised 3.3uF 250V capacitor in the connections from the relay to the fan?

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

    Sir fan really not work

  • @m.shayanshamim6351
    @m.shayanshamim6351 2 года назад +1

    Please also add fan speed control with rainmaker ,eeprom,temperature

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

    Sir make a video on designing automatic and manually controlled fan and light using Google assistant and thingspeak only

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

    So nice thanks

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

    I well waiting for your video from esp rainmaker 6 appliances fan dimmer

  • @Tilak-Patel
    @Tilak-Patel Год назад

    @TechStudyCell Can you share Pick & Place File.

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

    I am facing issues with relay.
    My relay is getting NC to NO.. on applying both 3Volt and ground
    When I touch input pin of relay to 3volt of nodemcu it gets switched... And if i also connect it with ground pin of nodemcu..it also switched on

  • @yashwobantasinghnongmaithe5292
    @yashwobantasinghnongmaithe5292 10 месяцев назад

    Sir I make a project using esp32 and 4 channel relay. The project works fine on after uploading but after power interruption or when reset button is press it doesn't work and there is a single led glowing in dim light on the relay. Please help me how to solve this problem.

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

    Excellent sir
    Please make this using rainmaker
    It is very useful for us.
    Thank you

  • @rameshk.pandey6883
    @rameshk.pandey6883 Год назад

    Hi, when i was trying to load firm ware into esp 8266, befoe loading itried to erase old firm ware but it shows file out not erasing,
    what will be the problum, pl explain.

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

    Sir metal wala tsop Nahi mil raha hai simple wale tsop se chal nahi Raha
    Any other option?

  • @manojnathaneal.s4921
    @manojnathaneal.s4921 2 года назад

    Bro please make a video for fire detection and alarm system using blynk 2.0 app bro... That will be much useful for me!

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

    💕How can make 32 channel relay using esp32 like this👉 (with fan control)👍 i am waiting for your video. Thanks 😍

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

    please can you add voice control to this project?it will make it much complete

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

    Kindly make video of esp 32 cam with new blynk ngrok termux

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

    Hi sir my project is based on home automation with 2 channel relay with also I have used mq6 dht11 ultrasonic sensor, pir sensor, IR sensor, moisture Sensor, esp8266 and I want to control my fan speed depend on the temperature this is possible or not

  • @T-Series-scenario
    @T-Series-scenario 2 года назад

    great

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

    Without the Internet, I am able to control all devices using Hard Switches, IR-Remote, and Bluetooth APP. However, If my Wifi Router is turned OFF, Nothing is turning ON even through Hard Switches or Bluetooth APP. What modification is required?

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

    Great👍👍👍

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

    Hi nice project but how can I use long cable with the manual switch

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

    Great work bro 👍
    I have a question. Do you pay custom charges when you buy from jlcpcb

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

    I want to add homekit
    thank you👍👍👍

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

    I want to control 4 lights using 3wire only.control mean on off.

  • @BIJAYKUMAR-kx2or
    @BIJAYKUMAR-kx2or 2 года назад

    Hi sir nice project, This project can do touch switch, please help sir

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

    In previous esp8266 project we need ota wifi update plss do if possible

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

    Bro please use the relay to control solid state relay for fan if not sparks will destroy it

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

    Sir in rainmaker the switch 2 and 3 is fluctuating (on/off) please help

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

    where can i get the latched switch?...please help me

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

    How to use another esp module like esp32-s3 this type module assume pin changes

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

    Sir what type of capacitors did you used in discrete circuit it is polarized or Unpolarized

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

    superb sir , please try without blynk app

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

    Shar age vale 8 swich me vithaut net har 30 seknd pe blok ho raha he to ushka solyushan kijia

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

    Bro please make same project on esp rain maker

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

    How to show Real Time blynk on oled 128x64

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

    Sir can you make a home automation with Google assistant V2 ifttt

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

    sir can you again explain fan dimmer connection I didn't understand plz sir

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

    Please make jammer also please

  • @RehanKhan-mr8kl
    @RehanKhan-mr8kl Год назад

    Sir can we use 8th relay for 5th switch. I mean total 5 switches except 3 fan speed relays. Kindly support.

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

      Yes

    • @RehanKhan-mr8kl
      @RehanKhan-mr8kl Год назад

      @@TechStudyCell thank you so much. So nice of you can you please suggest any pin # which can work good

  • @S--xc4rv
    @S--xc4rv Год назад

    Want to make same project but using esp8266 if u have any video then please send me

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

    Please make metal detector simple

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

    Sir, this project can't use esp8266.

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

    /D15 in fan speed 3 not working

  • @S--xc4rv
    @S--xc4rv Год назад

    Can i buy this ? Any contact link

  • @DeepJashan01
    @DeepJashan01 Месяц назад

    Can you please share the circuit diagram without sensor and it receiver🥹

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

    did you can complete for me

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

    This version cannot be downloaded remotely

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

    + coding for lcd 16x2 please🙏

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

    I want this project using esp rainmaker + Alexa+ Google assistant

  • @Shivam-tr8ut
    @Shivam-tr8ut 2 года назад +1

    Sir please make a project that can control home appliances using NODEMCU ESP8266 with Manual, Blynk App, IR Remote, Alexa voice command, EEPROM. I am waiting for many months for this project. I hope you will upload video soon

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

    Can we use esp8266 instead of esp32?

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

      less number of gpio available in ESP8266

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

    How can i get that pcb in online ?

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

    Reainmekr Platform use

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

    Bro i didn't find the esp32 code

  • @MintuKumar-tc2ov
    @MintuKumar-tc2ov 2 года назад

    I want to Bluetooth apk format

  • @MintuKumar-tc2ov
    @MintuKumar-tc2ov 2 года назад

    Hlww sir

  • @MintuKumar-tc2ov
    @MintuKumar-tc2ov 2 года назад

    Plz help me

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

      On what?

    • @MintuKumar-tc2ov
      @MintuKumar-tc2ov 2 года назад

      @@TechStudyCell plz sir reply me on instagram

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

      Can you do the same project more smaller VIA SMD chip. ( SMALL ESP32 ) . And better to remove switch buttons and instead keep HII-LINK POWER MODULE

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

    please help me sir. Unable to upload code.
    include
    it looks wrong. i don't understand. i want to contact you.
    anyone help me

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

      Download the library, and select proper board then compile

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

    Hloo bro
    I'm getting an error
    Error compilling for board esp 32 module
    Command executable file not found in path
    Or give me your contact to send an image to you