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

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2022
  • 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.com/wp-content/...
    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.com/esp32-home-...
    ** 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.com/wp-content/...
    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/dashboard/register
    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.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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 125

  • @TechStudyCell
    @TechStudyCell  ปีที่แล้ว +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 9 หลายเดือนก่อน +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?

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

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

  • @mahadabdillahi276
    @mahadabdillahi276 ปีที่แล้ว +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?🙏

  • @chandrurn
    @chandrurn ปีที่แล้ว +1

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

  • @AAdnaanmtl
    @AAdnaanmtl ปีที่แล้ว +2

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

  • @DarkRebel-kg3eu
    @DarkRebel-kg3eu หลายเดือนก่อน

    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?

  • @drelectronics13
    @drelectronics13 ปีที่แล้ว +1

    Great video as usual🤩

  • @yaarishlights4904
    @yaarishlights4904 ปีที่แล้ว

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

  • @mangeshiyer4711
    @mangeshiyer4711 8 หลายเดือนก่อน

    Non technical can also understand such type of teaching thanks sir

    • @TechStudyCell
      @TechStudyCell  8 หลายเดือนก่อน

      Thanks and welcome

  • @kayuweschmidt6765
    @kayuweschmidt6765 ปีที่แล้ว

    Thank you, very good 👍👍👍

  • @sohinideb7843
    @sohinideb7843 ปีที่แล้ว

    Great👍👍👍

  • @SManiSiingh
    @SManiSiingh หลายเดือนก่อน

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

  • @vishnubajoria60
    @vishnubajoria60 ปีที่แล้ว +1

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

  • @AmritPalSingh-ku8gs
    @AmritPalSingh-ku8gs หลายเดือนก่อน +1

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

  • @mithilpanchal6901
    @mithilpanchal6901 ปีที่แล้ว +3

    Sir please add voice assistant in it

  • @arunsp4576
    @arunsp4576 ปีที่แล้ว +1

    🔥 superb work bro

  • @yashwobantasinghnongmaithe5292
    @yashwobantasinghnongmaithe5292 7 หลายเดือนก่อน

    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.

  • @kabandajamir9844
    @kabandajamir9844 ปีที่แล้ว +1

    So nice thanks

  • @ankitjain-bv3pd
    @ankitjain-bv3pd ปีที่แล้ว +1

    Sir u r great 👍

  • @aniketpol1502
    @aniketpol1502 ปีที่แล้ว +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  ปีที่แล้ว +1

      Sure. In upcoming video

    • @santoshteggi1814
      @santoshteggi1814 ปีที่แล้ว

      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 ปีที่แล้ว

      I want esp rainmaker 6 appliances and fan regulator

    • @aniketpol1502
      @aniketpol1502 ปีที่แล้ว +1

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

    • @aniketpol1502
      @aniketpol1502 ปีที่แล้ว

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

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

  • @aravindhanvivekanandhan5649
    @aravindhanvivekanandhan5649 ปีที่แล้ว

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

    • @TechStudyCell
      @TechStudyCell  ปีที่แล้ว +1

      Yes. Working on that circuit

  • @rameshk.pandey6883
    @rameshk.pandey6883 9 หลายเดือนก่อน

    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.

  • @tejapavanbonthu6043
    @tejapavanbonthu6043 ปีที่แล้ว

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

  • @shraddha4325
    @shraddha4325 ปีที่แล้ว

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

  • @guruvelsarveshwar2020
    @guruvelsarveshwar2020 ปีที่แล้ว +1

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

  • @jittaweemetesirorat7577
    @jittaweemetesirorat7577 ปีที่แล้ว

    I want to add homekit
    thank you👍👍👍

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

  • @manojnathaneal.s4921
    @manojnathaneal.s4921 ปีที่แล้ว

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

  • @yogendrajamsariya1193
    @yogendrajamsariya1193 ปีที่แล้ว

    Finally you did it bro 🙂 congratulations 🎉

  • @Tilak-Patel
    @Tilak-Patel 11 หลายเดือนก่อน

    @TechStudyCell Can you share Pick & Place File.

  • @penketechnicalyoutubechann6302
    @penketechnicalyoutubechann6302 ปีที่แล้ว

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

  • @kaviprasanth4999
    @kaviprasanth4999 ปีที่แล้ว

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

  • @smartteg7381
    @smartteg7381 ปีที่แล้ว

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

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

  • @gyaanmastieverytime
    @gyaanmastieverytime ปีที่แล้ว

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

  • @drelectronics13
    @drelectronics13 ปีที่แล้ว

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

  • @md_iswan8337
    @md_iswan8337 ปีที่แล้ว

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

  • @mithilpanchal6901
    @mithilpanchal6901 ปีที่แล้ว

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

  • @T-Series-scenario
    @T-Series-scenario ปีที่แล้ว

    great

  • @TheArither__2805
    @TheArither__2805 ปีที่แล้ว

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

  • @richardboakye3307
    @richardboakye3307 ปีที่แล้ว

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

  • @drelectronics13
    @drelectronics13 ปีที่แล้ว +1

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

  • @pandiank8445
    @pandiank8445 ปีที่แล้ว

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

  • @smartteg7381
    @smartteg7381 ปีที่แล้ว

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

  • @laswinspereira5148
    @laswinspereira5148 ปีที่แล้ว

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

  • @BIJAYKUMAR-kx2or
    @BIJAYKUMAR-kx2or ปีที่แล้ว

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

  • @infinitygaming3530
    @infinitygaming3530 ปีที่แล้ว

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

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

  • @m.shayanshamim6351
    @m.shayanshamim6351 ปีที่แล้ว +1

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

  • @koteswararaoneelapu3432
    @koteswararaoneelapu3432 ปีที่แล้ว

    superb sir , please try without blynk app

  • @infotechoverloaded721
    @infotechoverloaded721 ปีที่แล้ว

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

  • @kaludharajeeya
    @kaludharajeeya ปีที่แล้ว +1

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

    • @kaludharajeeya
      @kaludharajeeya ปีที่แล้ว +1

      ☺️Everything like good bro.☺️

  • @suriya2711
    @suriya2711 ปีที่แล้ว

    Please make jammer also please

  • @makvanadinesh578
    @makvanadinesh578 ปีที่แล้ว

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

  • @bandmastergaming2155
    @bandmastergaming2155 ปีที่แล้ว

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

  • @tqn_37
    @tqn_37 ปีที่แล้ว

    How to show Real Time blynk on oled 128x64

  • @S--xc4rv
    @S--xc4rv ปีที่แล้ว

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

  • @suriya2711
    @suriya2711 ปีที่แล้ว

    Please make metal detector simple

  • @flbeats3538
    @flbeats3538 ปีที่แล้ว

    /D15 in fan speed 3 not working

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

  • @sonu9999208499
    @sonu9999208499 ปีที่แล้ว +1

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

  • @n0friz4l
    @n0friz4l 10 หลายเดือนก่อน

    + coding for lcd 16x2 please🙏

  • @nidhivideofilms
    @nidhivideofilms ปีที่แล้ว

    did you can complete for me

  • @ronykhandkar5596
    @ronykhandkar5596 10 หลายเดือนก่อน

    Sir, this project can't use esp8266.

  • @S--xc4rv
    @S--xc4rv ปีที่แล้ว

    Can i buy this ? Any contact link

  • @nawinlifehacks9978
    @nawinlifehacks9978 ปีที่แล้ว

    Bro please make same project on esp rain maker

  • @MintuKumar-tc2ov
    @MintuKumar-tc2ov ปีที่แล้ว

    I want to Bluetooth apk format

  • @rohitpawar2394
    @rohitpawar2394 ปีที่แล้ว

    Reainmekr Platform use

  • @mrprakash8754
    @mrprakash8754 ปีที่แล้ว

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

    • @TechStudyCell
      @TechStudyCell  ปีที่แล้ว

      Already made. Check recent videos.

  • @boddepallijohn2404
    @boddepallijohn2404 ปีที่แล้ว

    How can i get that pcb in online ?

    • @TechStudyCell
      @TechStudyCell  ปีที่แล้ว

      Sorry, I can't send it outside India.

  • @MintuKumar-tc2ov
    @MintuKumar-tc2ov ปีที่แล้ว

    Hlww sir

  • @hoanganhvanhoanganhv
    @hoanganhvanhoanganhv ปีที่แล้ว

    This version cannot be downloaded remotely

  • @agithamohamed4850
    @agithamohamed4850 ปีที่แล้ว

    Can we use esp8266 instead of esp32?

    • @TechStudyCell
      @TechStudyCell  ปีที่แล้ว

      less number of gpio available in ESP8266

  • @boddepallijohn2404
    @boddepallijohn2404 ปีที่แล้ว

    Bro i didn't find the esp32 code

  • @Shivam-tr8ut
    @Shivam-tr8ut ปีที่แล้ว +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

  • @jagdishchauhan8683
    @jagdishchauhan8683 ปีที่แล้ว +1

    Sir fan really not work

  • @MintuKumar-tc2ov
    @MintuKumar-tc2ov ปีที่แล้ว

    Plz help me

    • @TechStudyCell
      @TechStudyCell  ปีที่แล้ว

      On what?

    • @MintuKumar-tc2ov
      @MintuKumar-tc2ov ปีที่แล้ว

      @@TechStudyCell plz sir reply me on instagram

    • @techinnovations4031
      @techinnovations4031 ปีที่แล้ว

      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

  • @hitheshtlg1825
    @hitheshtlg1825 ปีที่แล้ว

    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

  • @marufulalomkhan5177
    @marufulalomkhan5177 9 หลายเดือนก่อน

    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  9 หลายเดือนก่อน

      Download the library, and select proper board then compile