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 - Наука та технологія
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)
want to buy only pcb..price ?
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
I want to buy only PCB i can or not
Hello sir how to meet this type of pcb and where
Only pcb prise kya hai and ager complete package dete hai to warrenty bhi hogi kya
Каждое видео на вес золота. Ты просто гений. Ждём твои шикарные разработки . Спасибо за труд.
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.
Well explained...thanks for sharing
Please do include the internal bluetooth option as during powersurge or internet issues at that time also we can control using Bluetooth..
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.
Sir, can I do the same with ESP 32 node MCU development board. Please reply.
Thanx and great salute for sharing your knowledge
You're doing a great job bro
Sir, can we connect the display for monitoring time and temperature and humidity.
Many thanks broh
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
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
wow what a brilliant and inspiring idea. if you add a motor to the curtain it will definitely be more interesting.
can i yous this poject 8realy switch and estra fan speed up down controll
Thanks sir
Thanks for the long awaited project.
More to come!
excellent,
Sir ap arduino ide ka kon sa version use kar rahy ho
Perfect! 👏👏👏
Let me sugest a topic, rainmaker + sonoff DIY
ok
Sir, please can you make the same code but without the sensors part... Just switches and fan speed control
Can you make smart IR blaster
Sir i have a question, why three relays are connected to the fan? Also why there’s filters on these three relays?
Nice project
Please can I get the link on how to create the Bluetooth app my self
4:19 in which software this simulation is done??
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.
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
Thanks... I will check
Great video brother... Awesome...!
Thanks
Can i control appliances on 2 Android mobiles
please can you try to make with 16relays channel module
Excellent 🙏
Thanks
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.
Explain how to install this codes on esp32 s3 module
Sir please 🥺 reply that esp32 were not connected automatically
Pls make same video with adding inbuilt esp32 blootooth control also
Schedule is not working in rainmaker app for this code as it's not executing, automation is executing.
How to install .ino through Arduino 2.0, same keep in website
Please make a video on 60amp MPPT smart charge controller
I really like all of your projects❣️ Can you please make same project but using firebase and Mit app inventor.
Okay
Nice vids always👍🏼
Glad you like them!
Excellent project Bro, highly requested project.
Can you make a new video to incorporate preferences.h library with esp8266?
Already made video on ESP8266 and preferences.h
Why use pc817 optocupler in there?
Sir I want know how to make this project. Please tell me full information
Hi sir
Its automatically reset when fan switch on by rainmaker
good
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.
Same issue
How to change wifi credentials for any update, like password or wifi SSID?
Sir esp 32 not connecting automatically with wifi when hotspot is off (when on) and esp 32 is on
how to use the local language (not English) many languages......?
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.
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?
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
Yes. I used active low
You can on switch manually and off the switch by app it possible please answer
Yes it possible
Sir I also commented this issue in last video but you don't reply that
Excellent 👌👌👌👌
Thank you! Cheers!
what is the resistor value you used with the capcitor for fan dimming?
Please check the circuit.
Brother what is your education Quality
Kay aap course karao ge
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.
No limits. In previous Projects I have connected 8 appliances with rainmaker
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.
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. ❤️❤️
Very nice project 👍
Thanks 👍
Dear sir your not using bt136 instead of relay for controlling fan
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
plz help me on this
I'm waiting this video with fan dimmer
hi, using the provided code, when i try to control the fan speed from app, it restarts the esp32, manual control is updated fine.
am facing the same problem
Wow
Keep it up bro.......
Thank you, I will
Sir why the Google home not connect with ESP rainmaker
Best videos expect more 😃👍👍
More to come!
@@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
thanks for the video 🙏🙏does it work with esp8266??
No
Sir HEX code not generated by the given file. It’s always showing 0*FFFFF. Plz help me to fix this problem.
error error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
Simpletimer library problem i am facing issue in compoling this code error compiling for board
Install the library
👍👍
Does anyone have a problem units going off line after two days of use??
Bhai ji aap ki sari video dekhta hu bahut badiya project banate ho aap ka no milega
How much money will it take to make this sir
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.
Bro,
Is it possible to access the ESP rainmaker device with the ip addresses through browser?
I have to check.
@@TechStudyCell ok, Thanks Bro
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
WOW ALL FEATURES AVILABULE IN THE SKETCH ,EXCELENT BROW U R MY BEST TECHNICAL UA-camR WELDONE THANKYOU
Why doest confirm Node association, the module can be configured by RainMaker
use a new ESP32 board,
@@TechStudyCell thanks, Do you think that an ESP 32 no original could have this Problem ??
Sir i have tried your code but it is always showing Error of copling with ESP32 DEV Module
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.
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
@@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?
bro you done it great job so much love too you
Welcome
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?
Select proper board and partition scheme before compilation
@@TechStudyCell I have selected board as doit esp32 devkit v1. What do you mean by partition scheme?
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
same
@@ConradR do u fix that issue
Please gave me code you are used in this video for fan with switch and regulator
Download from article. link in description
Sry bro i got you latter on i checked your code and also Circuit diagram
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
Reply to den
Sir cod compaling error speed 0 loop
Plz share schematic file
Bhai is Circuit ko purchase karna hai kaha milega.
Please send email to connect.techstudycell@gmail.com
Can I use mobile hotspot on it. I don't have wifi router 😭.
Yes you can
Code not uploading to bord
I want to buy single pcb for this..
Please send email to connect.techstudycell@gmail.com with your address.
How i can buy pcb from your side sir i had send mail to you
Please check your email. I have sent details
💛💛💛💛💛
Face cam 👍😊
How to buy this item sir???
Please send email to connect.techstudycell@gmail.com with your address.