OK, bear with me, I'm not the greatest at electronics, but I'm learning.
Here's the setup. I have a Light-O-Rama light controller for my Christmas light display. This controller can dim the Christmas lights with settings between 0 and 255. From what I understand this is done with PWM instead of varying the voltage like you would with DC. I want to make a custom set of RGB LED lights, but I'm thinking of running them off of something like a 12v source instead of trying to add up enough LEDs to make them run off the 120 with diodes. This would allow me to make each section of lights to a custom length instead of having to have a fixed number of LEDs in the set.
So, my question is, how would I take the PWM on the AC source and convert that to a variable DC output? Ideally whatever varies the DC voltage would not be restricted to one voltage (of course it would have a max), but could be used with perhaps 5v or 12v and have enough current for maybe 200-300 LEDs.
Any ideas would be appreciated.
Thanks,
Jeff
NOTE: I do have some experience with PIC controllers if there is some way of the PIC reading the PWM from the AC and then controlling a LED control chip. It's the reading the PWM that I don't know how to do.
Here's the setup. I have a Light-O-Rama light controller for my Christmas light display. This controller can dim the Christmas lights with settings between 0 and 255. From what I understand this is done with PWM instead of varying the voltage like you would with DC. I want to make a custom set of RGB LED lights, but I'm thinking of running them off of something like a 12v source instead of trying to add up enough LEDs to make them run off the 120 with diodes. This would allow me to make each section of lights to a custom length instead of having to have a fixed number of LEDs in the set.
So, my question is, how would I take the PWM on the AC source and convert that to a variable DC output? Ideally whatever varies the DC voltage would not be restricted to one voltage (of course it would have a max), but could be used with perhaps 5v or 12v and have enough current for maybe 200-300 LEDs.
Any ideas would be appreciated.
Thanks,
Jeff
NOTE: I do have some experience with PIC controllers if there is some way of the PIC reading the PWM from the AC and then controlling a LED control chip. It's the reading the PWM that I don't know how to do.
Last edited: