$2 PCB Prototype & 24 Hours Lead Time: https://jlcpcb.com/
Previous video: https://youtu.be/UqZ8Um5MZEA
AC Light Dimmer DIY or Buy video: https://youtu.be/hGFRQcVmLNg
Support me for more videos: https://www.patreon.com/GreatScott
Facebook: https://www.facebook.com/greatscottlab
Twitter: https://twitter.com/GreatScottLab
EasyEDA project links: https://bit.ly/2WHUibn
https://bit.ly/2WMFM2b
More project information (schematic, code,…..) on Instructables: https://www.instructables.com/id/DIY-Trailing-Edge-Dimmer/

Parts list (incomplete, see Instructables for more, affiliate links):
Aliexpress:
1 x ATtiny85: https://s.click.aliexpress.com/e/_dSJ49k7
1x HI-Link 12V Power Supply: https://s.click.aliexpress.com/e/_Bfh98tiB
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?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=401597431899&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg
1x HI-Link 12V Power Supply: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337606358&customid=&icep_item=272277083863&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg
1x 1206 Resistor kit: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=162634161350&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg
1x 1206 Capacitor kit: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=162634161350&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg

In this video 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!

Thanks to JLCPCB for sponsoring this video
Visit https://jlcpcb.com to get professional PCBs for low prices

Music:
2011 Lookalike by Bartlebeats

, https://i.ytimg.com/vi/BhQWOv10Oag/hqdefault.jpg

source

30 Comments

  1. Love your videos.. but all examples show how to REPLACE an existing dimmer.. I can't replace mine.. what's the best way to convert from anti parallel scr to pwm?

  2. What if you can't change the triac dimmer and your input is 24VAC? Would this IC work?

  3. I have designed the dimmer board..but after doing connection with my dimmer board bulb gets flickering..and at 0% the bulb shows little bit light in it..what is the problem can you help me

  4. Now you need it with wifi control for Home Assistant and touch pad control because turning potentiometers is so 1990s!

  5. Hi Scott, Just to clarify I would be using your squair boartd with FL5150 chip
    Thanks you kindly Kazem

  6. Hi Scott, Thank you so much for such a great video. I need to build a 12-volt ac version where AC input to the board would be 12-volts for dimming 12 volts LED's I will be using a microcontroller as well. How can I modify your 120-volt version components to work with 12-volts ac Thanks again Kazem

  7. High scott tks for your explanation regarding your project. I bought one module SCR voltage regulator from internet and I will try to use it as a dimmer for LED lamp. Is it work or not. Need your help.

  8. Great project ! I just ordered the PCBs. Any idea what's the max power could be driven ? I have a 40W LED lamp. It is fine ?

  9. Very nice little ic for that use! How exactly does the Mosfet output stage not short to "ground"? The hit terminal would be shorted to ground every time the get turned on, right?

  10. Great Video, as usual Scott is a pro. Can you please tell me why you have 2 series potentiometers on the last design?

  11. Interesting !! as usual . What about inductive loads like an AC FAN ? it would be Humming ?

  12. i always wait for his last moment expression " and i wiiiiill seeeee youuu next timmmme " … your videos are such a help, though a bit advanced to understand.

  13. Hi, nice video.
    Used a standard triac to dimm one 5W LED spot, never had issues with hold current.

  14. How does a dimmer circuit like this work with a non sinusoidal ac waveform? For example a square wave, or a "modified sinus wave" that some inverters uses. Would the triac activate at the zerocross region even if the change is nearly instantaneous? Just wondering for learning purposes only 🙂

  15. GreatScott! please why is OCR0B value between 3 and 70 (0.384ms – 8.96ms). Thanks in advance

  16. I know this is stupid but some LED lights support both AC and DC so is it possible to control DC voltages to dim the LED

  17. I have a question: Why are these trailing edge dimmers more silent? The noise is coming from the large magnetic field generated by fast changing currents. With trailing edge current is also fast changing so the magnetic field will also be large but in opposite direction. Why is the noise gone?

  18. Hello friends. can someone make and send the hex file of this software to me? or attiny 85 how many mhz will we program. Thanks.

  19. Hi Great Scott! (Yes, I decided to include Great, because your knowledge and understanding of this subject matter is Great (with a capital G) when compared to mine)
    So… Love your video, the FL5150 variant is exactly what I need, I just need a few minor adjustments, so I can actually use it on a daily basis. So I found your instructable, opened it in the EasyEDA editor and found I cannot change anything….. The changes I need to make: change R2 into a pot (like R1 in the ATTiny variant) and create a different PCB-layout (so I can mount it in my wall socket).
    How can I make these changes to your design? Would love you to enable me to stay creative on this one ;0)

  20. Thanks alot. Super work, I failed many times and finally got it done after this video. I still dont understand why there are 2 MOSFET?? will it work with one?
    thank you

  21. Awesome video! Thanks for sharing.
    EasyEDA links don't seem to work anymore. Any chance you could update?

  22. Excellent video! Thank you for share.
    I would like to know if you still using the IRF840 on the las PCB with de FL5150?

  23. Is there a commercial dimmer, like the one you made?
    I need one, and I don't know how to make it. A nice one with cover and all.

  24. Hey Mr. Scott! why is R5 connected to the DC GND and the Neutral of the AC in the trailing edge circuit?????? Dosn't that pulls AC current to that DC Ground

  25. Hi Scott very informative tutorial. Can you make a iot alexa dimmer control it will be very interesting and helpful

Leave a Reply

Your email address will not be published. Required fields are marked *