Best IoT Project 🔥🔥 using ESP32 and Sensor with Fan Dimmer | Alexa Google Home Automation 2022

Поділитися
Вставка
  • Опубліковано 5 лип 2024
  • In this ESP32 tutorial, I have explained how to make the best IoT Project using ESP32 and DHT11 sensor with fan dimmer to control appliances from ESP RainMaker, Google Assistant, Alexa, IR Remote, and manual switch. I have used all the FREE tools for this IoT-based home automation system.
    To try out the FREE trial version of Altium, click here - www.altium.com/yt/techstudycell
    During the internet of things tutorial video, I covered the following topics:
    00:48 Control relays with Google Assistant and Alexa using ESP32.
    01:06 Control ceiling fan speed with voice command.
    01:25 Control lights fan manually with IR remote and switches.
    04:12 Required components for the IoT projects.
    04:19 Circuit diagram of ESP32 IoT project.
    06:03 Source codes for the IoT Project using ESP Rainmaker.
    07:40 Update WiFi details through OTA with the Rainmaker app.
    08:42 Add IoT devices in Amazon Alexa App.
    09:08 Add IoT devices to the Google Home app.
    Required Components (without PCB) for the ESP32 project.
    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
    6. 4-step Fan regulator
    OR
    (2.2uf & 3.3uf 250V Capacitor, 2.2-ohm 1/2W Resistors, 220k 1/4W Resistors, and 4-step selector switch)
    For the PCB, I have shared the complete component list during the video.
    Amazon India Affiliate links:
    ESP32: amzn.to/331pohb
    8-channel 5V Relay Module: amzn.to/3mTWyVZ
    Echo Dot Alexa(4th Gen): amzn.to/3srCiPA
    Amazon United States Affiliate links:
    ESP32: 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 IoT project with ESP Rainmaker from the following article:
    iotcircuithub.com/esp32-iot-p...
    Download the PCB Gerber File of the ESP32 IoT Project:
    iotcircuithub.com/wp-content/...
    Important points:
    1. You don't need any Amazon echo device for this IoT Project.
    2. You need to install ESP Rainmaker, Google Home, and Amazon Alexa apps on mobile.
    3. You can control relays from any WiFi network if ESP32 is connected to WiFi.
    4. Update the Preference URLs to install the ESP32 board version 2.0.5 as shown in the video.
    5. Before scanning the QR code, press and hold the ESP32 BOOT button for 4 seconds, then scan the QR code.
    6. IR receiver sensor must have a metallic casing. Otherwise, you may face issues while trying to get the Hex code.
    7. In the 4-step regulator step-2 & 3 must be internally connected.
    8. Please watch the complete video, otherwise you may face some issues.
    **Please take proper safety precautions while working with high voltages.
    Previous Video links:
    Previous ESP32 Project: • The SMARTEST Home Auto...
    Get the HEX codes from IR remote: • Smart Home with Amazon...
    During the internet of things tutorial video, I explained all the steps to make this IoT-based project, and how to connect ESP Rainmaker with Google Home and Amazon Alexa app.
    As I have used capacitive reactance for the fan dimmer circuit, so you will not get any humming sound while controlling the fan speed.
    You can control the lights and fan speed without internet from the IR remote & switches. ESP32 will automatically connect with the IoT cloud when the internet comes back.
    You can also add timer in the ESP Rainmaker app to control the relays automatically.
    If the ESP32 is connected to Wi-Fi, then you can control the relays from anywhere in the world with Alexa and Google Assistant. And you can also monitor the real-time feedback and sensor reading in the Amazon Alexa and Google Home IoT applications. So with this smart house project, you can convert any appliance to IoT devices and control them through the internet.
    So, now you can just ask Google Assistant, "Hey Google, turn off lights", or "Alexa, turn on light". that's it.
    #iotprojects #homeautomation #esp32
    -----------
    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
  • Наука та технологія

КОМЕНТАРІ • 204

  • @TechStudyCell
    @TechStudyCell  Рік тому +6

    If you want to buy this complete project (🔥Rs: 3399🔥), then please send an email to connect.techstudycell@gmail.com with your address.
    (Including pre-programmed ESP32, DHT11 sensor, IR receiver, 1 selector Switch, IR remote)

    • @mehuld4223
      @mehuld4223 Рік тому +2

      want to buy only pcb..price ?

    • @monojitbiswas3679
      @monojitbiswas3679 Рік тому +1

      Hello this is monojit . I am using the esprainmaker app but its not reliable the signal just gets disconnected frequently and esp32 is also facing some problem. Can this same programme be done in adrino cloud iot with fan speed control. As before you have made only switching with adrinocloud can i also add fan speed control in adrino cloud please make a video based on adrino cloud with fan speed control

    • @simomoaatasim1258
      @simomoaatasim1258 Рік тому

      I want to buy only PCB i can or not

    • @09eeashishkumar72
      @09eeashishkumar72 Рік тому

      Hello sir how to meet this type of pcb and where

    • @ersamresh6899
      @ersamresh6899 Рік тому

      Only pcb prise kya hai and ager complete package dete hai to warrenty bhi hogi kya

  • @sunman778
    @sunman778 Рік тому

    Каждое видео на вес золота. Ты просто гений. Ждём твои шикарные разработки . Спасибо за труд.

  • @AbhishekSharma-nz7nz
    @AbhishekSharma-nz7nz Рік тому +1

    Hi,
    I have a question regarding ESP 32.
    Rainmaker turns on/off the lights but if we want to design different colors? or designs ,what else do we need ?
    example in the picture in an SPI mode
    serial peripheral mode to make the color & design.

  • @sohinideb7843
    @sohinideb7843 Рік тому

    Well explained...thanks for sharing

  • @norules7142
    @norules7142 Рік тому +1

    Please do include the internal bluetooth option as during powersurge or internet issues at that time also we can control using Bluetooth..

  • @arewatec
    @arewatec Рік тому

    hello engineer, I really need help on fan manual control i need only 2 bottom control instead of 4, I mean up and down only. thank you.

  • @jnanendrakumarrout1127
    @jnanendrakumarrout1127 Рік тому

    Sir, can I do the same with ESP 32 node MCU development board. Please reply.
    Thanx and great salute for sharing your knowledge

  • @Aaarudra
    @Aaarudra 2 місяці тому

    You're doing a great job bro

  • @ravikantakate16
    @ravikantakate16 8 місяців тому

    Sir, can we connect the display for monitoring time and temperature and humidity.

  • @deodatusmaliti7790
    @deodatusmaliti7790 Рік тому +1

    Many thanks broh

  • @dattatrayaapte280
    @dattatrayaapte280 Рік тому

    Thanks a lot for this excellent project. Can you please tell how to add WS2812S (Addressable) LED Strip and modify the program for rain maker

  • @monojitbiswas3679
    @monojitbiswas3679 Рік тому

    Hello this is monojit . I am using the esprainmaker app but its not reliable the signal just gets disconnected frequently and esp32 is also facing some problem. Can this same programme be done in adrino cloud iot with fan speed control. As before you have made only switching with adrinocloud can i also add fan speed control in adrino cloud please make a video based on adrino cloud with fan speed control

  • @Romiqtiink
    @Romiqtiink Рік тому

    wow what a brilliant and inspiring idea. if you add a motor to the curtain it will definitely be more interesting.

  • @arifbadboy6706
    @arifbadboy6706 Рік тому

    can i yous this poject 8realy switch and estra fan speed up down controll

  • @rohitpawar2394
    @rohitpawar2394 Рік тому +1

    Thanks sir

  • @vishnubajoria60
    @vishnubajoria60 Рік тому

    Thanks for the long awaited project.

  • @bruhmetsaiharnet6595
    @bruhmetsaiharnet6595 Рік тому +1

    excellent,

  • @myelectroniclab
    @myelectroniclab Рік тому

    Sir ap arduino ide ka kon sa version use kar rahy ho

  • @rubialugattimoreira1978
    @rubialugattimoreira1978 Рік тому

    Perfect! 👏👏👏
    Let me sugest a topic, rainmaker + sonoff DIY

  • @aniketpol1502
    @aniketpol1502 Рік тому

    Sir, please can you make the same code but without the sensors part... Just switches and fan speed control

  • @vipinvg2048
    @vipinvg2048 Рік тому

    Can you make smart IR blaster

  • @omaromar1953
    @omaromar1953 Рік тому

    Sir i have a question, why three relays are connected to the fan? Also why there’s filters on these three relays?

  • @Sahilgaming-rj4km
    @Sahilgaming-rj4km Рік тому +1

    Nice project

  • @Techcommunity360
    @Techcommunity360 Рік тому

    Please can I get the link on how to create the Bluetooth app my self

  • @ABCD-tl8vg
    @ABCD-tl8vg Рік тому

    4:19 in which software this simulation is done??

  • @vishaljain6130
    @vishaljain6130 Рік тому

    Dear, Happy Diwali.
    At last I succeed. Earlier I have done mistake now rectified. But in Google App, Fan speed can't control neither through app nor voice commands but through Alexa all things are happening through app as well as voice command. Really beauty of Home Automation. If possible, please try for Google also so that fan speed can be controlled as Alexa.
    Thank you very much to share your knowledge.

  • @contalivreemaberto1385
    @contalivreemaberto1385 Рік тому +2

    Good Morning
    Dear
    I really like your video they are excellent and very didactic and functional. Congratulations.
    Please, could you make another video teaching how to use the thermostat function in Rainmaker
    With DS18B20 or and also with DHT22/11
    I thank you in advance

  • @aniketpol1502
    @aniketpol1502 Рік тому

    Great video brother... Awesome...!

  • @kingstone2098
    @kingstone2098 Рік тому

    Can i control appliances on 2 Android mobiles

  • @mahadabdillahi276
    @mahadabdillahi276 Рік тому

    please can you try to make with 16relays channel module

  • @60pluscrazy
    @60pluscrazy Рік тому +1

    Excellent 🙏

  • @jtechlink9641
    @jtechlink9641 Рік тому

    Why schedule feature is not working in rainmaker app. Is bcoz of the code. If it is then pls update how to make it work.

  • @kaviprasanth4999
    @kaviprasanth4999 Рік тому

    Explain how to install this codes on esp32 s3 module

  • @TheArither__2805
    @TheArither__2805 Рік тому +1

    Sir please 🥺 reply that esp32 were not connected automatically

  • @hk0954
    @hk0954 5 днів тому

    Pls make same video with adding inbuilt esp32 blootooth control also

  • @jtechlink9641
    @jtechlink9641 Рік тому

    Schedule is not working in rainmaker app for this code as it's not executing, automation is executing.

  • @nagarava
    @nagarava Рік тому

    How to install .ino through Arduino 2.0, same keep in website

  • @subhodipmondal777
    @subhodipmondal777 Рік тому

    Please make a video on 60amp MPPT smart charge controller

  • @TechMechRobo
    @TechMechRobo Рік тому

    I really like all of your projects❣️ Can you please make same project but using firebase and Mit app inventor.

  • @paulvincentlinda8083
    @paulvincentlinda8083 Рік тому

    Nice vids always👍🏼

  • @iamrafic
    @iamrafic Рік тому

    Excellent project Bro, highly requested project.
    Can you make a new video to incorporate preferences.h library with esp8266?

    • @TechStudyCell
      @TechStudyCell  Рік тому +1

      Already made video on ESP8266 and preferences.h

  • @Voice.Of.Nation
    @Voice.Of.Nation Рік тому

    Why use pc817 optocupler in there?

  • @09eeashishkumar72
    @09eeashishkumar72 Рік тому

    Sir I want know how to make this project. Please tell me full information

  • @satishtech92
    @satishtech92 7 місяців тому

    Hi sir
    Its automatically reset when fan switch on by rainmaker

  • @jittaweemetesirorat7577
    @jittaweemetesirorat7577 Рік тому +1

    good

  • @majidsadique2244
    @majidsadique2244 Рік тому

    Your work is very good and helpful. I am facing a problem in compiling this code. "Error compiling for board ESP32 Dev Module. ". I have successfully compiled your code for ESP Rainmaker 8 channel module with preference library. The difference is only of DHT sensor. I have also added this library. If you got me, please explain. Thanking you.

  • @saikatd9037
    @saikatd9037 Рік тому

    How to change wifi credentials for any update, like password or wifi SSID?

  • @skshailesh24
    @skshailesh24 Рік тому

    Sir esp 32 not connecting automatically with wifi when hotspot is off (when on) and esp 32 is on

  • @zeliaamelia7292
    @zeliaamelia7292 Рік тому

    how to use the local language (not English) many languages......?

  • @rajansaini2368
    @rajansaini2368 3 дні тому

    Sir, in the code you have posted here, the dimmer of the fan does not work in the ASP Rain Maker app. Please fix it.

  • @aniketpol1502
    @aniketpol1502 Рік тому

    Bro... I have a small idea... If that is possible that would make this project even more useful.... Can you add IR transmitter code so that we can control IR devices using voice commands or ESP Rainmaker app?
    Please do reply about this idea... Is it worth it?

  • @vipulkamble9702
    @vipulkamble9702 Рік тому

    Do you use active low relay module because after program esp32 when I turn off the switch my device gets high and vice versa after turn on it gets low

  • @bhaveshkhatri8371
    @bhaveshkhatri8371 4 місяці тому +1

    You can on switch manually and off the switch by app it possible please answer

  • @TheArither__2805
    @TheArither__2805 Рік тому

    Sir I also commented this issue in last video but you don't reply that

  • @nawinlifehacks9978
    @nawinlifehacks9978 Рік тому

    Excellent 👌👌👌👌

  • @abidshahriar7095
    @abidshahriar7095 9 місяців тому

    what is the resistor value you used with the capcitor for fan dimming?

  • @yashwanthmastery
    @yashwanthmastery Рік тому +1

    Brother what is your education Quality

  • @prabhatpandit7097
    @prabhatpandit7097 4 місяці тому

    Kay aap course karao ge

  • @rahulseran762
    @rahulseran762 Рік тому

    I am a huge fan if your work! I have a query, Rainmaker has a limit of 5 devices in one account. Is there a way to increase the IO's in ESp 32 board.

    • @TechStudyCell
      @TechStudyCell  Рік тому

      No limits. In previous Projects I have connected 8 appliances with rainmaker

  • @vishaljain6130
    @vishaljain6130 Рік тому

    Dear, with humble request, code hasn't compiled. Under Void Get Relay State 1st mistake"fanSpeedControl(currSpeed); was not declared in this scope. 2nd mistake " SimpleTimer.h" no such file.
    Please reply as I keenly awaited.
    Thanks a lot.

  • @gamingwithsolo4542
    @gamingwithsolo4542 3 місяці тому

    Hello sir I am from India. I watch all your videos. I wanted to know a solution from you. That is, if you create a home automation system with ESP Rainmaker, you can use five appliances and one fan, and you can also make the system controllable with push buttons. Please make a video about it I am waiting for you. ❤️❤️

  • @anokhautomation4453
    @anokhautomation4453 Рік тому

    Very nice project 👍

  • @sunderyogi
    @sunderyogi 9 місяців тому

    Dear sir your not using bt136 instead of relay for controlling fan

  • @vsrkraju7147
    @vsrkraju7147 Рік тому

    while trying to pair with rainmkaer app with qr code, getting device not found, enabled the bluetooth and geo before scanning the QR code, could you please help me on this

  • @imransajid7615
    @imransajid7615 Рік тому

    I'm waiting this video with fan dimmer

  • @muhammadkhalid9419
    @muhammadkhalid9419 9 місяців тому

    hi, using the provided code, when i try to control the fan speed from app, it restarts the esp32, manual control is updated fine.

    • @ConradR
      @ConradR 5 місяців тому

      am facing the same problem

  • @imransajid7615
    @imransajid7615 Рік тому +1

    Wow

  • @tanmoythakur2483
    @tanmoythakur2483 Рік тому

    Keep it up bro.......

  • @biswajitcreativity7294
    @biswajitcreativity7294 Рік тому

    Sir why the Google home not connect with ESP rainmaker

  • @aravindhanvivekanandhan5649

    Best videos expect more 😃👍👍

    • @TechStudyCell
      @TechStudyCell  Рік тому

      More to come!

    • @aravindhanvivekanandhan5649
      @aravindhanvivekanandhan5649 Рік тому

      ​@@TechStudyCell you always do same project with different type of method and version and i love it but can u do different so everybody likes GAS LPG FIRE sensor very important for household To avoid cylinder blast

  • @piaggio500dani5
    @piaggio500dani5 Рік тому

    thanks for the video 🙏🙏does it work with esp8266??

  • @travellinginfo4653
    @travellinginfo4653 Рік тому

    Sir HEX code not generated by the given file. It’s always showing 0*FFFFF. Plz help me to fix this problem.

  • @redemidias1329
    @redemidias1329 2 місяці тому

    error error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?

  • @uddhavmahadik10
    @uddhavmahadik10 Рік тому

    Simpletimer library problem i am facing issue in compoling this code error compiling for board

  • @TechnoSAP
    @TechnoSAP Рік тому +1

    👍👍

  • @firdoshdiakus4841
    @firdoshdiakus4841 Рік тому

    Does anyone have a problem units going off line after two days of use??

  • @SunilChauhan-sg7re
    @SunilChauhan-sg7re 10 місяців тому

    Bhai ji aap ki sari video dekhta hu bahut badiya project banate ho aap ka no milega

  • @mdtalibhasan6393
    @mdtalibhasan6393 Рік тому

    How much money will it take to make this sir

  • @hasstv9393
    @hasstv9393 Рік тому

    I'm getting
    Claiming failed with error : Claim init failed
    error in the app, after scanning the qr code. it never happened before.
    Someone please help me.

  • @iamrafic
    @iamrafic Рік тому

    Bro,
    Is it possible to access the ESP rainmaker device with the ip addresses through browser?

  • @Abidali-qi3xj
    @Abidali-qi3xj 16 днів тому

    I have this project with complete documentation.
    Features are
    1. Door lock and unlock through fingerprint.
    2. Water pump control system
    3. Pir motion with lighting
    4. Gas detection and exhaust system.
    5. All status are shown on blynk iot app

  • @koteswararaoneelapu3432
    @koteswararaoneelapu3432 Рік тому

    WOW ALL FEATURES AVILABULE IN THE SKETCH ,EXCELENT BROW U R MY BEST TECHNICAL UA-camR WELDONE THANKYOU

  • @fernandozamora7040
    @fernandozamora7040 Рік тому

    Why doest confirm Node association, the module can be configured by RainMaker

    • @TechStudyCell
      @TechStudyCell  Рік тому

      use a new ESP32 board,

    • @fernandozamora7040
      @fernandozamora7040 Рік тому

      @@TechStudyCell thanks, Do you think that an ESP 32 no original could have this Problem ??

  • @sanjaykhatri6093
    @sanjaykhatri6093 4 місяці тому

    Sir i have tried your code but it is always showing Error of copling with ESP32 DEV Module

  • @roopsvinay
    @roopsvinay Рік тому

    Brother, Thanks for your videos. WIFI DOES NOT CONNECT BACK IF router is restarted. Also Scheduling works only first time the board is configured. After that scheduling does not work once ESP32 is restarted After power outage.

    • @roopsvinay
      @roopsvinay Рік тому

      Wifi connection issue is solved by restoring esp32 to factory settings and then using it again. But scheduling in Rainmaker app is not working. But scheduling in Alexa app is working fine

    • @DanishPatel-lg1mo
      @DanishPatel-lg1mo 6 місяців тому

      @@roopsvinay But we have to press the EN button everytime to connect it back to the wifi after a powercycle, why it doesnt automatically connect?

  • @yogendrajamsariya1193
    @yogendrajamsariya1193 Рік тому

    bro you done it great job so much love too you

  • @RameezRazaRiaz99
    @RameezRazaRiaz99 Рік тому

    brother while compiling this sketch I get error that the sketch is bigger than the space available and that it uses 136% space on ESP32. how do I fix it?

    • @TechStudyCell
      @TechStudyCell  Рік тому

      Select proper board and partition scheme before compilation

    • @RameezRazaRiaz99
      @RameezRazaRiaz99 Рік тому

      @@TechStudyCell I have selected board as doit esp32 devkit v1. What do you mean by partition scheme?

  • @ajishtm4306
    @ajishtm4306 8 місяців тому +1

    When i turn on or off the fan all system getting restarted and wifi was disconnected and then connecting to wifi ,the fan relays are stationary ,no any changes ,please help me to solve this problem

    • @ConradR
      @ConradR 5 місяців тому

      same

    • @ajishtm4306
      @ajishtm4306 5 місяців тому

      @@ConradR do u fix that issue

  • @Mech-Hi-Tech
    @Mech-Hi-Tech Рік тому

    Please gave me code you are used in this video for fan with switch and regulator

    • @TechStudyCell
      @TechStudyCell  Рік тому

      Download from article. link in description

    • @Mech-Hi-Tech
      @Mech-Hi-Tech Рік тому

      Sry bro i got you latter on i checked your code and also Circuit diagram

  • @eddyparker7861
    @eddyparker7861 Рік тому

    ESP_RMAKER_PARAM_RANGE' was not declared in this scope
    showing error
    sir kicho koren
    1 bochor theke ey project ready korte chesta kor6 hochhena

  • @FarhanAli-oo8ye
    @FarhanAli-oo8ye Рік тому

    Sir cod compaling error speed 0 loop

  • @Fucku9966
    @Fucku9966 Місяць тому

    Plz share schematic file

  • @Premnishad1207
    @Premnishad1207 Рік тому

    Bhai is Circuit ko purchase karna hai kaha milega.

    • @TechStudyCell
      @TechStudyCell  9 місяців тому

      Please send email to connect.techstudycell@gmail.com

  • @marvelfans0
    @marvelfans0 Рік тому

    Can I use mobile hotspot on it. I don't have wifi router 😭.

  • @kevalparmar6586
    @kevalparmar6586 Рік тому

    Code not uploading to bord

  • @mehuld4223
    @mehuld4223 Рік тому +1

    I want to buy single pcb for this..

    • @TechStudyCell
      @TechStudyCell  Рік тому

      Please send email to connect.techstudycell@gmail.com with your address.

  • @s.husain6125
    @s.husain6125 Рік тому

    How i can buy pcb from your side sir i had send mail to you

    • @TechStudyCell
      @TechStudyCell  Рік тому

      Please check your email. I have sent details

  • @yogendrajamsariya1193
    @yogendrajamsariya1193 Рік тому +1

    💛💛💛💛💛

  • @drelectronics13
    @drelectronics13 Рік тому +1

    Face cam 👍😊

  • @yohanescerite561
    @yohanescerite561 Рік тому

    How to buy this item sir???

    • @TechStudyCell
      @TechStudyCell  Рік тому

      Please send email to connect.techstudycell@gmail.com with your address.