No video

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

  Рет қаралды 45,036

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

Пікірлер: 126
@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 11 ай бұрын
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 👌👌👌👌
@AmritPalSingh-ku8gs
@AmritPalSingh-ku8gs 3 ай бұрын
Sir, can you please make code for 5 switch and one fan because one relay is vacant and should be use.
@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?🙏
@mithilpanchal6901
@mithilpanchal6901 Жыл бұрын
Sir please add voice assistant in it
@AAdnaanmtl
@AAdnaanmtl Жыл бұрын
You did it sir 🤠 excellent work sir really appreciate your hard work
@TechStudyCell
@TechStudyCell Жыл бұрын
Thanks
@mangeshiyer4711
@mangeshiyer4711 10 ай бұрын
Non technical can also understand such type of teaching thanks sir
@TechStudyCell
@TechStudyCell 10 ай бұрын
Thanks and welcome
@vishnubajoria60
@vishnubajoria60 Жыл бұрын
Thanks it is a long awaited project. Please design a complete pcb for it. Has it got last state memory?
@TechStudyCell
@TechStudyCell Жыл бұрын
Yes. Work in progress ..
@user-ly8ls6xl3s
@user-ly8ls6xl3s Ай бұрын
شكرا على الترجمة 🎉❤
@chandrurn
@chandrurn Жыл бұрын
Like everytime, you are Awesome Dude , you are very knowledgeable and hardworking guy 👍
@TechStudyCell
@TechStudyCell Жыл бұрын
Thanks
@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.
@DarkRebel-kg3eu
@DarkRebel-kg3eu 3 ай бұрын
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?
@guruvelsarveshwar2020
@guruvelsarveshwar2020 Жыл бұрын
Can we connect the esp 32 on our home Wifi router and can we control from anywhere by our mobile?
@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
@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?
@SManiSiingh
@SManiSiingh 4 ай бұрын
What will change in programming when w'll using esp8266 instead of esp32?
@ankitjain-bv3pd
@ankitjain-bv3pd Жыл бұрын
Sir u r great 👍
@TechStudyCell
@TechStudyCell Жыл бұрын
Thanks
@aravindhanvivekanandhan5649
@aravindhanvivekanandhan5649 Жыл бұрын
Nice project i wait long time it's possible to fan control without relay
@TechStudyCell
@TechStudyCell Жыл бұрын
Yes. Working on that circuit
@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
@kabandajamir9844
@kabandajamir9844 Жыл бұрын
So nice thanks
@TechStudyCell
@TechStudyCell Жыл бұрын
Welcome
@yashwobantasinghnongmaithe5292
@yashwobantasinghnongmaithe5292 9 ай бұрын
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.
@drelectronics13
@drelectronics13 Жыл бұрын
And if ur thinking to make this with rainmaker app plss do find solution for device not found error
@arunsp4576
@arunsp4576 Жыл бұрын
🔥 superb work bro
@TechStudyCell
@TechStudyCell Жыл бұрын
Thanks 🔥
@jagdishchauhan8683
@jagdishchauhan8683 Жыл бұрын
Fan not work
@rameshk.pandey6883
@rameshk.pandey6883 11 ай бұрын
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.
@aniketpol1502
@aniketpol1502 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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?
@drelectronics13
@drelectronics13 Жыл бұрын
Great video as usual🤩
@TechStudyCell
@TechStudyCell Жыл бұрын
Thanks
@yaarishlights4904
@yaarishlights4904 Жыл бұрын
Thank you bro .... Finally get fan speed control
@TechStudyCell
@TechStudyCell Жыл бұрын
Welcome
@shraddha4325
@shraddha4325 Жыл бұрын
Sir make a video on designing automatic and manually controlled fan and light using Google assistant and thingspeak only
@makvanadinesh578
@makvanadinesh578 Жыл бұрын
Shar age vale 8 swich me vithaut net har 30 seknd pe blok ho raha he to ushka solyushan kijia
@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
@m.shayanshamim6351
@m.shayanshamim6351 Жыл бұрын
Please also add fan speed control with rainmaker ,eeprom,temperature
@TechStudyCell
@TechStudyCell Жыл бұрын
Sure 👍👍
@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.☺️
@pandiank8445
@pandiank8445 Жыл бұрын
I want to control 4 lights using 3wire only.control mean on off.
@sonu9999208499
@sonu9999208499 Жыл бұрын
Sir please make wireless water level indicator using espnow protocol with seven segment display thankyou sir
@TheArither__2805
@TheArither__2805 Жыл бұрын
Sir metal wala tsop Nahi mil raha hai simple wale tsop se chal nahi Raha Any other option?
@tejapavanbonthu6043
@tejapavanbonthu6043 Жыл бұрын
I well waiting for your video from esp rainmaker 6 appliances fan dimmer
@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!
@Tilak-Patel
@Tilak-Patel Жыл бұрын
@TechStudyCell Can you share Pick & Place File.
@penketechnicalyoutubechann6302
@penketechnicalyoutubechann6302 Жыл бұрын
Excellent sir Please make this using rainmaker It is very useful for us. Thank you
@TechStudyCell
@TechStudyCell Жыл бұрын
Sure
@yogendrajamsariya1193
@yogendrajamsariya1193 Жыл бұрын
Finally you did it bro 🙂 congratulations 🎉
@TechStudyCell
@TechStudyCell Жыл бұрын
Welcome
@yogendrajamsariya1193
@yogendrajamsariya1193 Жыл бұрын
@@TechStudyCell bro I tried this but it's failed
@kaviprasanth4999
@kaviprasanth4999 Жыл бұрын
How to use another esp module like esp32-s3 this type module assume pin changes
@T-Series-scenario
@T-Series-scenario Жыл бұрын
great
@TechStudyCell
@TechStudyCell Жыл бұрын
Thanks
@mithilpanchal6901
@mithilpanchal6901 Жыл бұрын
Sir in rainmaker the switch 2 and 3 is fluctuating (on/off) please help
@richardboakye3307
@richardboakye3307 Жыл бұрын
please can you add voice control to this project?it will make it much complete
@md_iswan8337
@md_iswan8337 Жыл бұрын
where can i get the latched switch?...please help me
@smartteg7381
@smartteg7381 Жыл бұрын
Bro please use the relay to control solid state relay for fan if not sparks will destroy it
@sohinideb7843
@sohinideb7843 Жыл бұрын
Great👍👍👍
@gyaanmastieverytime
@gyaanmastieverytime Жыл бұрын
Kindly make video of esp 32 cam with new blynk ngrok termux
@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
@infinitygaming3530
@infinitygaming3530 Жыл бұрын
Sir what type of capacitors did you used in discrete circuit it is polarized or Unpolarized
@TechStudyCell
@TechStudyCell Жыл бұрын
Unpolarized AC capacitors
@smartteg7381
@smartteg7381 Жыл бұрын
Hi nice project but how can I use long cable with the manual switch
@kayuweschmidt6765
@kayuweschmidt6765 Жыл бұрын
Thank you, very good 👍👍👍
@TechStudyCell
@TechStudyCell Жыл бұрын
Welcome
@tqn_37
@tqn_37 Жыл бұрын
How to show Real Time blynk on oled 128x64
@koteswararaoneelapu3432
@koteswararaoneelapu3432 Жыл бұрын
superb sir , please try without blynk app
@S--xc4rv
@S--xc4rv Жыл бұрын
Want to make same project but using esp8266 if u have any video then please send me
@jittaweemetesirorat7577
@jittaweemetesirorat7577 Жыл бұрын
I want to add homekit thank you👍👍👍
@BIJAYKUMAR-kx2or
@BIJAYKUMAR-kx2or Жыл бұрын
Hi sir nice project, This project can do touch switch, please help sir
@bandmastergaming2155
@bandmastergaming2155 Жыл бұрын
sir can you again explain fan dimmer connection I didn't understand plz sir
@suriya2711
@suriya2711 Жыл бұрын
Please make metal detector simple
@drelectronics13
@drelectronics13 Жыл бұрын
In previous esp8266 project we need ota wifi update plss do if possible
@suriya2711
@suriya2711 Жыл бұрын
Please make jammer also please
@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
@laswinspereira5148
@laswinspereira5148 Жыл бұрын
Sir can you make a home automation with Google assistant V2 ifttt
@nawinlifehacks9978
@nawinlifehacks9978 Жыл бұрын
Bro please make same project on esp rain maker
@TechStudyCell
@TechStudyCell Жыл бұрын
Okay
@ronykhandkar5596
@ronykhandkar5596 Жыл бұрын
Sir, this project can't use esp8266.
@S--xc4rv
@S--xc4rv Жыл бұрын
Can i buy this ? Any contact link
@hoanganhvanhoanganhv
@hoanganhvanhoanganhv Жыл бұрын
This version cannot be downloaded remotely
@flbeats3538
@flbeats3538 Жыл бұрын
/D15 in fan speed 3 not working
@nidhivideofilms
@nidhivideofilms Жыл бұрын
did you can complete for me
@mrprakash8754
@mrprakash8754 Жыл бұрын
I want this project using esp rainmaker + Alexa+ Google assistant
@TechStudyCell
@TechStudyCell Жыл бұрын
Already made. Check recent videos.
@n0friz4l
@n0friz4l Жыл бұрын
+ coding for lcd 16x2 please🙏
@jagdishchauhan8683
@jagdishchauhan8683 Жыл бұрын
Sir fan really not work
@Shivam-tr8ut
@Shivam-tr8ut Жыл бұрын
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 ❤
@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
@boddepallijohn2404
@boddepallijohn2404 Жыл бұрын
Bro i didn't find the esp32 code
@MintuKumar-tc2ov
@MintuKumar-tc2ov Жыл бұрын
I want to Bluetooth apk format
@MintuKumar-tc2ov
@MintuKumar-tc2ov Жыл бұрын
Hlww sir
@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
@marufulalomkhan5177
@marufulalomkhan5177 11 ай бұрын
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 11 ай бұрын
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
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 27 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 37 МЛН
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 37 МЛН
[IN HINDI] Blynk IOT ESP32 Home Automation System Manual and IR Remote Control Feedback System
17:22
Viral Science - The home of Creativity
Рет қаралды 18 М.
Making the most EQUIPPED DIY Security Camera with ESP32-CAM
26:36
Max Imagination
Рет қаралды 351 М.
15 Brilliant IoT Projects for Beginners!
9:25
ToP Projects Compilation
Рет қаралды 800 М.
Alexa + ESP32  Control Relay PCB - Arduino Code
10:05
Electronoobs
Рет қаралды 30 М.