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
** 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/
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
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?
Same problem @@hastalktechtube5901
great project sir love to watch your all projects .nice explanation ❤❤👍👍
This project is very very useful and your all vidioes complete details so your thank you and you are really a teacher of iot 👌👌👌👌
Sir, can you please make code for 5 switch and one fan because one relay is vacant and should be use.
Non technical can also understand such type of teaching thanks sir
Thanks and welcome
You did it sir 🤠 excellent work sir really appreciate your hard work
Thanks
Sir please add voice assistant in it
Like everytime, you are Awesome Dude , you are very knowledgeable and hardworking guy 👍
Thanks
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?🙏
Great video as usual🤩
Thanks
Sir u r great 👍
Thanks
Thank you bro .... Finally get fan speed control
Welcome
Thanks it is a long awaited project.
Please design a complete pcb for it.
Has it got last state memory?
Yes. Work in progress
..
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.
Sir please make wireless water level indicator using espnow protocol with seven segment display thankyou sir
شكرا على الترجمة 🎉❤
Hello sir I appreciate this project sir and the fan is not working in eppirom condition after the power cut off fan is off
🔥 superb work bro
Thanks 🔥
Fan not work
Nice project i wait long time it's possible to fan control without relay
Yes. Working on that circuit
Can we connect the esp 32 on our home Wifi router and can we control from anywhere by our mobile?
And if ur thinking to make this with rainmaker app plss do find solution for device not found error
Sir is 5 volt supply necessary for making home automation project using nodemcu and esp32. Please clarify my doubt sir
Yes
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
Finally you did it bro 🙂 congratulations 🎉
Welcome
@@TechStudyCell bro I tried this but it's failed
What will change in programming when w'll using esp8266 instead of esp32?
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 ❤️
Sure. In upcoming video
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.
I want esp rainmaker 6 appliances and fan regulator
@@santoshteggi1814 Yes but with esp Rainmaker you can use several esp32 for free...🤪
@@TechStudyCell sir, when can we expect new video of same project with Rainmaker?
Thank you, very good 👍👍👍
Welcome
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?
Sir fan really not work
Please also add fan speed control with rainmaker ,eeprom,temperature
Sure 👍👍
Sir make a video on designing automatic and manually controlled fan and light using Google assistant and thingspeak only
So nice thanks
Welcome
I well waiting for your video from esp rainmaker 6 appliances fan dimmer
@TechStudyCell Can you share Pick & Place File.
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
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.
Excellent sir
Please make this using rainmaker
It is very useful for us.
Thank you
Sure
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.
Sir metal wala tsop Nahi mil raha hai simple wale tsop se chal nahi Raha
Any other option?
Bro please make a video for fire detection and alarm system using blynk 2.0 app bro... That will be much useful for me!
💕How can make 32 channel relay using esp32 like this👉 (with fan control)👍 i am waiting for your video. Thanks 😍
☺️Everything like good bro.☺️
please can you add voice control to this project?it will make it much complete
Kindly make video of esp 32 cam with new blynk ngrok termux
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
great
Thanks
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?
Great👍👍👍
Hi nice project but how can I use long cable with the manual switch
Great work bro 👍
I have a question. Do you pay custom charges when you buy from jlcpcb
Yes
@@TechStudyCellThanks for replying. Btw how much do you pay for custom charges and Courier?
Fan not work
I want to add homekit
thank you👍👍👍
I want to control 4 lights using 3wire only.control mean on off.
Hi sir nice project, This project can do touch switch, please help sir
In previous esp8266 project we need ota wifi update plss do if possible
Bro please use the relay to control solid state relay for fan if not sparks will destroy it
Sir in rainmaker the switch 2 and 3 is fluctuating (on/off) please help
where can i get the latched switch?...please help me
How to use another esp module like esp32-s3 this type module assume pin changes
Sir what type of capacitors did you used in discrete circuit it is polarized or Unpolarized
Unpolarized AC capacitors
superb sir , please try without blynk app
Shar age vale 8 swich me vithaut net har 30 seknd pe blok ho raha he to ushka solyushan kijia
Bro please make same project on esp rain maker
Okay
How to show Real Time blynk on oled 128x64
Sir can you make a home automation with Google assistant V2 ifttt
sir can you again explain fan dimmer connection I didn't understand plz sir
Please make jammer also please
Sir can we use 8th relay for 5th switch. I mean total 5 switches except 3 fan speed relays. Kindly support.
Yes
@@TechStudyCell thank you so much. So nice of you can you please suggest any pin # which can work good
Want to make same project but using esp8266 if u have any video then please send me
Please make metal detector simple
Sir, this project can't use esp8266.
/D15 in fan speed 3 not working
Can i buy this ? Any contact link
Can you please share the circuit diagram without sensor and it receiver🥹
did you can complete for me
This version cannot be downloaded remotely
+ coding for lcd 16x2 please🙏
I want this project using esp rainmaker + Alexa+ Google assistant
Already made. Check recent videos.
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
Yes ❤
Can we use esp8266 instead of esp32?
less number of gpio available in ESP8266
How can i get that pcb in online ?
Sorry, I can't send it outside India.
Reainmekr Platform use
Bro i didn't find the esp32 code
I want to Bluetooth apk format
Hlww sir
Plz help me
On what?
@@TechStudyCell plz sir reply me on instagram
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
please help me sir. Unable to upload code.
include
it looks wrong. i don't understand. i want to contact you.
anyone help me
Download the library, and select proper board then compile
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