What is the best way to dim AC LEDs Answered
I was wondering what is the best way to control a AC load with a Arduino. I am planning on building a Christmas lights display that will react to music that is playing. I would like to be able to control the rightness of the LEDs to. I know that Triacs are normally used to control AC loads but I've read that they supply inconsistent dimming. Another idea I had was to use a bridge rectifier to turn in to dc, then use a Mosfet to run it at like 10% duty cycle to avoid blowing the LEDs (Not sure if they could take the extended time under high load they might be subjected to). Then just increase or decrease the duty cycle to adjust the brightness. So all in all my question is will that work and is there a better way to do it.