How to Make AC Light Dimmer

Today we are going to make an ac lamp dimmer using Arduino so without further ado let’s start this video if you haven’t subscribed to my channel then do subscribe and don’t forget to press the bell icon so you can get notifications whenever I upload a new video these are my other channels do subscribe them as well and you can also follow me on Facebook and Instagram component list circuit diagram everything is in the description below so these are all the components we’re gonna need for this project.
First you need to connect Arduino after that connect moc3021 optocoupler and connect its pin number 2 to ground after that connect 100 ohm resistor and connect its one pin to pin d3 of Arduino after that connect an led and connect its cathode to pin number one of the IC and its anode to remaining pin of 100 ohm resistor after that connect bta16 and connect its pin number one to phase of the ac signal and its pin number three to pin number four of the IC after that connect a 220 ohm resistor and connect its one pin to pin number one of bts16 and its other pin to pin number six of the IC after that connect a 220k three watt resistor and connect its one pin to phase of the ac signal after that connect the pc817 optocoupler and connect its pin number three to ground and its pin number four to pin number two of the Arduino after that connect a one and four thousand seven diode and connect its cathode to pin number one of pc817 optocoupler and its anode to neutral after that connect a one and 4007 diode and connect its cathode to neutral of ac supply and its anode to pin number 2 of the pc817 optocoupler after that connect the 1 and 4007 diode and connect its cathode to pin number 1 of pc817 optocoupler and its anode to remaining pin of 220k resistor after that connect a 1 and 4007 diode and connect its anode to pin number 2 of pc817 optocoupler and its cathode to remaining pin of 220k resistor after that connect the push button and connect its one pin to d4 pin of Arduino and its other pin to ground after that connect the push button and connect its one pin to d5 pin of Arduino and its other pin to ground after that connect a lamp and connect its one pin to pin number two of 16 and its other pin to neutral of ac supply so we have completed all the connections now let’s upload the code to Arduino and test the project.

Components:
Useful Tools:
Circuit Diagram:
Icon

AC Lamp Dimmer Circuit Diagram 253.00 KB 0 downloads

...
Arduino Code

Icon

AC lamp dimmer.ZIP 1.15 KB 0 downloads

...

Leave a Comment