DIY Trailing Edge Dimmer

1,305

7

10

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

In this project we will have a closer look at the electrical challenges AC LED light bulbs offer when it comes to dimming them. That means I will tell you a bit about how they are built and we will also determine the differences between leading edge and trailing edge dimmers. At the end I will then show you how to create a DIY trailing edge dimmer that you can even build at home for cheap. Let's get started!

Step 1: Watch the Video!

The video gives you all information you need to create your own DIY trailing edge dimmer. During the next steps though I will present you some additional information.

Step 2: Order Your PCBs/Components!

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

https://bit.ly/2WHUibn

https://bit.ly/2WMFM2b

Here you can find a parts list with example seller:

Amazon.com:

1 x ATtiny85: https://amzn.to/2VOFw36

1x HI-Link 12V Power Supply: https://amzn.to/3181Nb8

1x 1206 Resistor kit: https://amzn.to/2W7J6ET

1x 1206 Capacitor kit: https://amzn.to/2WfBrUX

Ebay:

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

1x HI-Link 12V 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?...

The rest of the components you can find in the schematic for the project. Feel free to order them from your favourite electronics supplier.

Step 3: Solder All the Components!

Now all you have to do is to solder all the components in place on the PCB. At this point the FL5150 circuit is done. But for the ATtiny dimmer you will need to follow the next step.

Step 4: Upload the Code!

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

Step 5: Success!

You did it! You just created your own DIY AC Trailing Edge 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

Share

    Recommendations

    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest
    • Beauty Tips Contest

      Beauty Tips Contest

    10 Discussions

    0
    None
    MrinmayD2Dhulfiqar

    Reply 8 days ago

    No, Thats a triac driven leading edge dimmer module.

    0
    None
    OmemantiMrinmayD2

    Reply 4 days ago

    Scott made the FL5150 with a potentiometer, it should be possible to change that one with a digital one and let that potentiometer be controlled by an arduino. maybe that would work?

    0
    None
    DhulfiqarOmemanti

    Reply 4 days ago

    Thanks for answering, I read that the wattage in digital potentiometer ics like the x9c104 is very low that it can't handle such applications, maybe a DAC is better than a digital potentiometer?

    0
    None
    OmemantiDhulfiqar

    Reply 3 days ago

    I'm not sure, I'm not a expert. But is seams to only be between ground and the dimmer pin, not directly to the ac line.

    0
    None
    sinderw

    10 days ago

    Hi, I wanted to know what is the point of using an optocoupler (U5) in the ATTiny version? The ground is common between the two sides and therefore the logic circuit is either riding on the neutral wire (not very safe) or on the live wire (well, not safe at all)

    1 reply
    0
    None
    MrinmayD2sinderw

    Reply 8 days ago

    True. Really dangerous with mains running through the pot.
    BTW if the circuit is running AC mains through all of it, why not use capacitor voltage dropper as power supply