Few months ago, I had made a project on AC dimming circuit and had successfully controlled the brightness of an AC bulb. But that circuit was not at all suitable for controlling the speed of the fan. As, connecting it to fan produced humming sounds. I came across a solution to rectify this problem, here we will be taking a look at the usual fan regulator and will make a circuit that will be able to control the speed of the fan without any humming sound.
Components Required :
- For the controller part :-
- Capacitors
- 2.2uF 250v x 1
- 3.3uF 250v x 1
- Resistors
- 220kΩ 1/4W x 2
- 2.2Ω 1/4W x 2
- Capacitors
- For the IoT part
- ESP32 Dev board x 1
- Relays x 3
- Software Part
- Blynk Application
- Arduino IDE
Hardware Connections :
The schematic in which you need to connect the components is given below.

Custom PCB from PCBWay:
In this video, there are couple of components with lot of connections as shown in above circuit diagram. So rather than messing up with all the wires on a general purpose PCB, you can order your own custom PCB for this project which will looks less complex and neat.
Well you don’t even need to design your PCB, I already did that for you. You just need to download the gerber file of that PCB and upload to PCBWay
Goto this link :- Gerber File



Working of the Project :
Before getting into the working of the project let me first explain you how the fan regulator works.
Regulator part :
The knob of the regulator consists of Five terminals.

Four for the respective speeds and one common. The PCB that is attached to it consists of two RC circuits both of which are used to limit the current to a certain level according to the position of the Knob. For a more clear reference look into the circuit diagram I have attached below.

The above circuit is of a fan regulator. As you can see, I have marked four contact points in the circuit namely 1, 2, 3 and 4. These are the contact points where the 4 terminals of speed are connected. The fifth terminal gets connected to one of these contact points to determine the speed.
So when the regulator is set to slowest the common terminal gets connected to contact point 1 letting the current flow to one of the RC circuits and making the magnitude minimum.
Likewise, in 2 and 3 positions the current flows through the other RC circuit and both the RC circuits respectively letting the current limit decrease hence, the speed of the fan increases. In the 4th position though the common terminal directly connects to the fan making the fan spin at the top of its speed.
IoT part :
Now that we know the working of the regulator we just have to put three relays which connects the common to the respective points and control those with Blynk. That’s what I have done.
In the Blynk application there’s a slider according to whose position the relays are switched on.

Code :
Code of the whole project is uploaded in my GitHub account. You can get that by clicking HERE!
In the code you just need to make three changes, which are, SSID and password of your router and authentication token of your Blynk IoT platform.
Tutorial Video :
I have made a video explaining each and every part of the project. You can watch the video for a greater understanding of the project.
Happy making 🙂
Hi there, I check your blogs daily. Your story-telling style is witty, keep upthe good work!
I value the blog.Thanks Again. Keep writing.
You expressed that terrifically. what is hemp oil good for
This site truly has all the information I wanted about this subject and didn’t know who to ask.
wow, awesome post.Really looking forward to read more. Keep writing.
Your style is really unique in comparison to other people I have read stuff from. Thanks for posting when you have the opportunity, Guess I’ll just bookmark this page.
Appreciate you sharing, great article post. Cool.
Enjoyed every bit of your blog post. Awesome.
Hi! I just wanted to ask if you ever have any issueswith hackers? My last blog (wordpress) was hacked andI ended up losing several weeks of hard work due to no back up.Do you have any methods to protect against hackers?
wow, awesome blog.Really thank you! Awesome.
Very neat blog article. Will read on…
Aw, this was an exceptionally good post. Spending some time and actual effort to produce a really good article… but what can I say… I hesitate a whole lot and don’t seem to get anything done.
Thank you ever so for you post. Really Great.
Thanks , I have recently been searching for information about this topicfor a while and yours is the greatest I have came upon till now.But, what in regards to the conclusion? Are you sure concerningthe source?
where can i buy plaquenil plaquenil package insert buy plaquenil online
Post writing is also a fun, if you be familiar with after that you can write or else it is difficult to write.
This blog was… how do I say it? Relevant!! Finally I have found something that helped me. Thank you.
This is one awesome post. Really Cool.
Aw, this was an extremely nice post. Taking a few minutes and actual effort to create a great article… but what can I say… I procrastinate a whole lot and never manage to get nearly anything done.
Very neat blog article.Thanks Again. Cool.
Everything is very open with a very clear clarification of the challenges. It was definitely informative. Your site is very useful. Thank you for sharing.
I will immediately grab your rss feed as I can’t to find your e-mailsubscription hyperlink or e-newsletter service. Do you’ve any?Kindly permit me know so that I could subscribe. Thanks.
Thank you for your article post.Really thank you! Really Great.
good online mexican pharmacy ed pills – canada pharmacy worldcanadian pharmacy world coupon code
Great article.Really thank you! Really Cool.
I am not sure the place you are getting your info, but good topic.I needs how to get healthy skin spenda while studying more or figuring out more.Thanks for wonderful info I was looking for this information for my mission.
Excellent blog post. I absolutely appreciate this website. Keep writing!
Thanks-a-mundo for the article post. Really Cool.
It is really a nice and helpful piece of information. I’m satisfied that you simply shared this useful information with us. Please stay us up to date like this. Thank you for sharing.
What a data of un-ambiguity and preserveness of valuable experience regarding unexpected feelings.
Wow, great post.Thanks Again. Really Cool.
Muchos Gracias for your blog. Really Great.
Very energetic post, I loved that a lot. Will there be a part 2? Ilka James Ger
Thank you for your blog article.Much thanks again. Fantastic.
Awesome post.Really looking forward to read more. Cool.
I really liked your blog post.Really thank you! Really Great.
Thanks so much for the article post. Keep writing.
Greetings! Very useful advice within this article! It is the little changes that produce the largest changes. Thanks for sharing!
Im obliged for the article post.Thanks Again. Want more.
When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four e-mails with the same comment. Is there any way you can remove me from that service? Cheers!
Thank you ever so for you article post.Really looking forward to read more. Will read on…
Thanks so much for the post.Thanks Again. Awesome.
lihat selengkapnya
I am so grateful for your article post.Much thanks again. Fantastic.
I seriously love your site.. Very nice colors & theme. Did you make this site yourself? Please reply back as I’m attempting to create my own personal blog and want to know where you got this from or just what the theme is called. Kudos!
I’m more than happy to discover this website. I need to to thank you for ones time just for this wonderful read!! I definitely appreciated every little bit of it and i also have you book-marked to see new things in your site.
This is one awesome article post.Really looking forward to read more.
Thank you ever so for you blog article.Much thanks again. Awesome.
Thanks a lot for the article post.Much thanks again. Awesome.
Amazing! This blog looks just like my old one!It’s on a entirely different topic but it has pretty much the same layout and design. Great choice of colors!
ivermectin for humans ivermectin resistance
Chọn Mua Giầy Bóng Rổu18 vnLần trước tiên ra đôi mắt thì giầy Jordan 1 có màu đỏ, trắng và đen phối với nhau. Với upper mỏng nhẹ nhõm và đế bền hơn cùng cỗ đệm lấy thẳng kể từ Crazylight Boost năm nhâm thìn, tạm thời Rose 8 cũng rất đáng để thử.
This is one awesome blog.
Major thankies for the post.Thanks Again. Much obliged.
This is one awesome article. Want more.
Thank you ever so for you blog.Really looking forward to read more. Will read on…
Thanks for sharing, this is a fantastic blog article.Really thank you! Will read on…
I value the blog.Thanks Again. Will read on…
Hello my loved one! I wish to say that this post is awesome, nice written and come with almost all vital infos. I’d like to see extra posts like this .
That is a good tip particularly to those fresh to the blogosphere. Simple but very precise info… Thanks for sharing this one. A must read article.
I want to to thank you for this excellent read!! I certainly loved every bit of it. I have got you bookmarked to look at new things you postÖ
Fantastic article post.Really thank you! Cool.