DIY AC Light Dimmer

Introduction: DIY AC Light Dimmer

About: Awesome Electronics Tutorials, Projects and How To´s

In this episode of DIY or Buy we will have a closer look at a generic AC light dimmer and find out how it functions. Afterwards I will present you a more modern, digital, DIY design of such an AC light dimmer and build it in order to find out whether DIYing such a circuit truly makes sense. Let's get started!

Step 1: Watch the Video!

The video gives you all the information you need to create your own DIY AC Light Dimmer. During the next steps though, I will present you some additional information.

Step 2: Order Your PCBs/Components!

Here you can find the link to my EasyEDA file, where you can export the gerber files and thus order the PCBs:

https://bit.ly/2Htp7Ze

Here you can find a parts list with example seller (affiliate links):

Aliexpress:

1 x ATtiny85: https://s.click.aliexpress.com/e/_dSJ49k7

1x MOC3052: https://s.click.aliexpress.com/e/_d7gqTrD

1x HI-Link 5V Power Supply: https://s.click.aliexpress.com/e/_dXB9caT

1x 1206 Resistor kit: https://s.click.aliexpress.com/e/_dZ3BhPt

1x 1206 Capacitor kit: https://s.click.aliexpress.com/e/_BfgJpGwj

Ebay:

1 x ATtiny85: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x MOC3052: http://rover.ebay.com/rover/1/711-53200-19255-0/1...

1x HI-Link 5V Power Supply: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x 1206 Resistor kit: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x 1206 Capacitor kit: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

Step 3: Upload the Code!

Here you can find the code that I created for the ATtiny85. Upload it with your favourite ISP programmer.

Step 4: Success!

You did it! You just created your own DIY AC Light Dimmer!

Feel free to check out my YouTube channel for more awesome projects:

http://www.youtube.com/user/greatscottlab

You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information:

https://twitter.com/GreatScottLab

https://www.facebook.com/greatscottlab

Be the First to Share

    Recommendations

    • Pocket-Sized Speed Challenge

      Pocket-Sized Speed Challenge
    • Audio Challenge 2020

      Audio Challenge 2020
    • Maps Challenge

      Maps Challenge

    10 Discussions

    0
    HannesF1
    HannesF1

    1 year ago

    Great Project but the code is uneccesarily complicated with all those timer interrupts...

    0
    GreatScottLab
    GreatScottLab

    Reply 1 year ago

    Feel free to simplify the code and post it here.

    0
    dhoom125
    dhoom125

    Reply 2 months ago

    Have you tried this?

    1
    RenateA2
    RenateA2

    11 months ago

    Hi ,
    I try to build the Dimmer and had some trouble, currently I found that you PCB and schematic can have problems regarding the 78L05 .
    Set up is Pin1 = IN Pin2=GND Pin3=OUT this only fits for 78LxxCY!!!
    and therefore I measured about 6,5 V a cross the ATtiny 85 .
    The correct connections could be also be:
    Pin1 = Output ( 5V ), Pin2 = GND, Pin3 = Input (12V )
    So please check what type you really use !!!
    I hope this helps anyone who builds it and is faced with problems,
    as soon as I finally get the unit running proper , will let you know !
    regards



    78L05.jpg
    0
    rootvalue
    rootvalue

    Reply 5 months ago

    Did GreatScott ever see this comment?

    0
    rahul.r.maurya
    rahul.r.maurya

    1 year ago

    cant see the easy eda file says the project is forbidden

    0
    rahul.r.maurya
    rahul.r.maurya

    Reply 1 year ago

    the load is flickering could a capacitor at the traic fix this problem?

    0
    Poisson48
    Poisson48

    1 year ago

    You're easyeda link say "Forbidden to visit this project"