It’s pretty simple to control the brightness of an LED, just give it a PWM signal and change the brightness. But what about a Bulb that runs on AC current? It’s brightness won’t be controlled by giving it PWM signals. It will require some additional circuits and in this article, I’m talking about how you can dim your AC appliances over Internet using Blynk.
Components Required
1. BT136 Triac :- https://amzn.to/3aIsEPn
2. MOC3021 IC :- https://amzn.to/2yyQoal
3. MCT2e IC :- https://amzn.to/2ULRkAT
4. Bridge Rectifier :- https://amzn.to/3aNoQfP
5. 47k 1W Resistor :- https://amzn.to/2VoJSuA
5. 330e Resistor :- https://amzn.to/2JTF3UZ
6. 1k Resistor :- https://amzn.to/2wwO2It
7. 10k Resistor :- https://amzn.to/3eguLMk
10. 2 pin Terminal Connector :- https://amzn.to/3b1CQTh
11.NodeMCU board :- https://amzn.to/2UMTO20
Circuit Diagram
Working Principle
In this project I’m using the Leading Edge Phase Dimming Method to lower down the output power. In the circuit we have one zero cross detector which gives signal to the NodeMCU board whenever the signal crosses the zero value. Zero cross detector is used as a reference to change the phase of the signal.
By delivering the power for less then 100% , we cut down the amount of power delivered to the appliances. I have explained the process of AC dimming in detail in the full tutorial video. If you want to know everything in detail then watch out the full tutorial video in which I made this same project using Arduino board.
Code
For controlling the brightness of the bulb, I have used the NodeMCU board for giving signal to the AC dimming circuit. The code for that is uploaded on my GitHub account. You can download the code from here.
Tutorial Video
I have recorded a full tutorial video in which I have explained everything which you need to know regarding how to a make an AC dimmer using Blynk IoT application. Happy Making…