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

  Рет қаралды 46,276

Tech StudyCell

Tech StudyCell

Күн бұрын

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 Жыл бұрын
** 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 Жыл бұрын
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 Жыл бұрын
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 7 күн бұрын
Same problem ​@@hastalktechtube5901
@vishnubajoria60
@vishnubajoria60 2 жыл бұрын
Thanks it is a long awaited project. Please design a complete pcb for it. Has it got last state memory?
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Yes. Work in progress ..
@SManiSiingh
@SManiSiingh 5 ай бұрын
What will change in programming when w'll using esp8266 instead of esp32?
@penketechnicalyoutubechann6302
@penketechnicalyoutubechann6302 2 жыл бұрын
Excellent sir Please make this using rainmaker It is very useful for us. Thank you
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Sure
@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?
@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
@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?
@ronykhandkar5596
@ronykhandkar5596 Жыл бұрын
Sir, this project can't use esp8266.
@n0friz4l
@n0friz4l Жыл бұрын
+ coding for lcd 16x2 please🙏
@rohitpawar2394
@rohitpawar2394 Жыл бұрын
Reainmekr Platform use
@boddepallijohn2404
@boddepallijohn2404 Жыл бұрын
How can i get that pcb in online ?
@TechStudyCell
@TechStudyCell Жыл бұрын
Sorry, I can't send it outside India.
@agithamohamed4850
@agithamohamed4850 Жыл бұрын
Can we use esp8266 instead of esp32?
@TechStudyCell
@TechStudyCell Жыл бұрын
less number of gpio available in ESP8266
@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 Жыл бұрын
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
@AmritPalSingh-ku8gs
@AmritPalSingh-ku8gs 4 ай бұрын
Sir, can you please make code for 5 switch and one fan because one relay is vacant and should be use.
@jagdishchauhan8683
@jagdishchauhan8683 Жыл бұрын
Sir fan really not work
@drelectronics13
@drelectronics13 2 жыл бұрын
And if ur thinking to make this with rainmaker app plss do find solution for device not found error
@mithilpanchal6901
@mithilpanchal6901 Жыл бұрын
Sir please add voice assistant in it
@mahadabdillahi276
@mahadabdillahi276 Жыл бұрын
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?🙏
@karidhanaraju2678
@karidhanaraju2678 Жыл бұрын
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
@ATULRGHARAT
@ATULRGHARAT 3 күн бұрын
great project sir love to watch your all projects .nice explanation ❤❤👍👍
@sonu9999208499
@sonu9999208499 Жыл бұрын
Sir please make wireless water level indicator using espnow protocol with seven segment display thankyou sir
@mdtabrejaalam6672
@mdtabrejaalam6672 7 күн бұрын
Hello sir I appreciate this project sir and the fan is not working in eppirom condition after the power cut off fan is off
@DeepJashan01
@DeepJashan01 Ай бұрын
Can you please share the circuit diagram without sensor and it receiver🥹
@guruvelsarveshwar2020
@guruvelsarveshwar2020 Жыл бұрын
Can we connect the esp 32 on our home Wifi router and can we control from anywhere by our mobile?
@S--xc4rv
@S--xc4rv Жыл бұрын
Want to make same project but using esp8266 if u have any video then please send me
@kaludharajeeya
@kaludharajeeya Жыл бұрын
💕How can make 32 channel relay using esp32 like this👉 (with fan control)👍 i am waiting for your video. Thanks 😍
@kaludharajeeya
@kaludharajeeya Жыл бұрын
☺️Everything like good bro.☺️
@makvanadinesh578
@makvanadinesh578 2 жыл бұрын
Shar age vale 8 swich me vithaut net har 30 seknd pe blok ho raha he to ushka solyushan kijia
@AAdnaanmtl
@AAdnaanmtl 2 жыл бұрын
You did it sir 🤠 excellent work sir really appreciate your hard work
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Thanks
@pandiank8445
@pandiank8445 2 жыл бұрын
I want to control 4 lights using 3wire only.control mean on off.
@tqn_37
@tqn_37 2 жыл бұрын
How to show Real Time blynk on oled 128x64
@m.shayanshamim6351
@m.shayanshamim6351 2 жыл бұрын
Please also add fan speed control with rainmaker ,eeprom,temperature
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Sure 👍👍
@hoanganhvanhoanganhv
@hoanganhvanhoanganhv Жыл бұрын
This version cannot be downloaded remotely
@flbeats3538
@flbeats3538 Жыл бұрын
/D15 in fan speed 3 not working
@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.
@chandrurn
@chandrurn 2 жыл бұрын
Like everytime, you are Awesome Dude , you are very knowledgeable and hardworking guy 👍
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Thanks
@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
@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.
@drelectronics13
@drelectronics13 2 жыл бұрын
In previous esp8266 project we need ota wifi update plss do if possible
@فوازالزايدي-ز3ز
@فوازالزايدي-ز3ز 3 ай бұрын
شكرا على الترجمة 🎉❤
@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!
@mrprakash8754
@mrprakash8754 Жыл бұрын
I want this project using esp rainmaker + Alexa+ Google assistant
@TechStudyCell
@TechStudyCell Жыл бұрын
Already made. Check recent videos.
@boddepallijohn2404
@boddepallijohn2404 Жыл бұрын
Bro i didn't find the esp32 code
@S--xc4rv
@S--xc4rv Жыл бұрын
Can i buy this ? Any contact link
@suriya2711
@suriya2711 2 жыл бұрын
Please make metal detector simple
@nidhivideofilms
@nidhivideofilms 2 жыл бұрын
did you can complete for me
@mithilpanchal6901
@mithilpanchal6901 Жыл бұрын
Sir in rainmaker the switch 2 and 3 is fluctuating (on/off) please help
@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.
@shraddha4325
@shraddha4325 2 жыл бұрын
Sir make a video on designing automatic and manually controlled fan and light using Google assistant and thingspeak only
@gyaanmastieverytime
@gyaanmastieverytime 2 жыл бұрын
Kindly make video of esp 32 cam with new blynk ngrok termux
@suriya2711
@suriya2711 2 жыл бұрын
Please make jammer also please
@TheArither__2805
@TheArither__2805 2 жыл бұрын
Sir metal wala tsop Nahi mil raha hai simple wale tsop se chal nahi Raha Any other option?
@kaviprasanth4999
@kaviprasanth4999 Жыл бұрын
How to use another esp module like esp32-s3 this type module assume pin changes
@nawinlifehacks9978
@nawinlifehacks9978 2 жыл бұрын
Bro please make same project on esp rain maker
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Okay
@aravindhanvivekanandhan5649
@aravindhanvivekanandhan5649 2 жыл бұрын
Nice project i wait long time it's possible to fan control without relay
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Yes. Working on that circuit
@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 👌👌👌👌
@bandmastergaming2155
@bandmastergaming2155 Жыл бұрын
sir can you again explain fan dimmer connection I didn't understand plz sir
@aniketpol1502
@aniketpol1502 2 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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?
@richardboakye3307
@richardboakye3307 Жыл бұрын
please can you add voice control to this project?it will make it much complete
@BIJAYKUMAR-kx2or
@BIJAYKUMAR-kx2or 2 жыл бұрын
Hi sir nice project, This project can do touch switch, please help sir
@smartteg7381
@smartteg7381 2 жыл бұрын
Bro please use the relay to control solid state relay for fan if not sparks will destroy it
@ankitjain-bv3pd
@ankitjain-bv3pd 2 жыл бұрын
Sir u r great 👍
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Thanks
@laswinspereira5148
@laswinspereira5148 2 жыл бұрын
Sir can you make a home automation with Google assistant V2 ifttt
@smartteg7381
@smartteg7381 2 жыл бұрын
Hi nice project but how can I use long cable with the manual switch
@md_iswan8337
@md_iswan8337 2 жыл бұрын
where can i get the latched switch?...please help me
@koteswararaoneelapu3432
@koteswararaoneelapu3432 Жыл бұрын
superb sir , please try without blynk app
@drelectronics13
@drelectronics13 2 жыл бұрын
Great video as usual🤩
@TechStudyCell
@TechStudyCell Жыл бұрын
Thanks
@jittaweemetesirorat7577
@jittaweemetesirorat7577 Жыл бұрын
I want to add homekit thank you👍👍👍
@T-Series-scenario
@T-Series-scenario 2 жыл бұрын
great
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Thanks
@kabandajamir9844
@kabandajamir9844 Жыл бұрын
So nice thanks
@TechStudyCell
@TechStudyCell Жыл бұрын
Welcome
@infinitygaming3530
@infinitygaming3530 Жыл бұрын
Sir what type of capacitors did you used in discrete circuit it is polarized or Unpolarized
@TechStudyCell
@TechStudyCell Жыл бұрын
Unpolarized AC capacitors
@MintuKumar-tc2ov
@MintuKumar-tc2ov 2 жыл бұрын
I want to Bluetooth apk format
@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 Жыл бұрын
Yes
@RehanKhan-mr8kl
@RehanKhan-mr8kl Жыл бұрын
@@TechStudyCell thank you so much. So nice of you can you please suggest any pin # which can work good
@mangeshiyer4711
@mangeshiyer4711 Жыл бұрын
Non technical can also understand such type of teaching thanks sir
@TechStudyCell
@TechStudyCell Жыл бұрын
Thanks and welcome
@yaarishlights4904
@yaarishlights4904 2 жыл бұрын
Thank you bro .... Finally get fan speed control
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Welcome
@infotechoverloaded721
@infotechoverloaded721 Жыл бұрын
Great work bro 👍 I have a question. Do you pay custom charges when you buy from jlcpcb
@TechStudyCell
@TechStudyCell Жыл бұрын
Yes
@infotechoverloaded721
@infotechoverloaded721 Жыл бұрын
@@TechStudyCellThanks for replying. Btw how much do you pay for custom charges and Courier?
@jagdishchauhan8683
@jagdishchauhan8683 Жыл бұрын
Fan not work
@arunsp4576
@arunsp4576 Жыл бұрын
🔥 superb work bro
@TechStudyCell
@TechStudyCell Жыл бұрын
Thanks 🔥
@jagdishchauhan8683
@jagdishchauhan8683 Жыл бұрын
Fan not work
@sohinideb7843
@sohinideb7843 2 жыл бұрын
Great👍👍👍
@kayuweschmidt6765
@kayuweschmidt6765 2 жыл бұрын
Thank you, very good 👍👍👍
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Welcome
@Shivam-tr8ut
@Shivam-tr8ut 2 жыл бұрын
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
@reganxavier2647
@reganxavier2647 Жыл бұрын
Yes ❤
@yogendrajamsariya1193
@yogendrajamsariya1193 2 жыл бұрын
Finally you did it bro 🙂 congratulations 🎉
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Welcome
@yogendrajamsariya1193
@yogendrajamsariya1193 2 жыл бұрын
@@TechStudyCell bro I tried this but it's failed
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 66 МЛН
The BEST EVER IOT Project using ESP32 🔥🔥 | PCBGOGO
19:44
Esp8266 sp01 tutorial| Blynk iot + Esp 8266 sp01+ relay 5v
6:35
Thức Nguyễn
Рет қаралды 10 М.
IoT Smart Exhaust Fan - ESP32 Based Monitoring & Control
10:32
How To Electronics
Рет қаралды 7 М.