I am making a DIY LED light and need to know if it is possible to control four different colors of the LEDs and have them go from 0 to 100% and back down to 0% to resemble the sun. I have the drivers to give power to the LEDs, I just need the dim-able drivers to be controlled. How would I go about making it? :~ :~ :~ :~
PWM (Pulse Width Modulation). It's a very common method of controlling the intensity of LEDs.
Great. Can that be done with Arduino?
I went to the link. How do I build it?
Arduino Power stuff here: http://arduino-info.wikispaces.com/ArduinoPower
You might consider these opto-isolated Power FET boards: http://goo.gl/4RQFy
DISCLAIMER: Mentioned stuff from my own shop...
I like that but being new to electronics I would need help with it being explained as far as building it.
I would need help with it being explained
Look at: http://arduino-info.wikispaces.com/ArduinoPower#DC which shows an example of dimming an incandescent 12V lamp, and sample code to test it. Same thing can be done with LEDs, with the right circuit arrangement and current limiting resistors.
Could you provide a link or more details as to what type of "dimmable driver" you're using?
I am using 4 of the dimmable drivers you see in this kit. (I got two more to add to the kit.)
Those power packs support dimming via an external resistor, no need to muck around with mains voltages etc. A simple and cheap digi pot can interface i2c/spi/(some wacky shift register thing) to get the nice power supply to do the dimming. Something like a Mixed-signal and digital signal processing ICs | Analog Devices has 4 outputs on a chip that costs a couple bucks and does not involve being exposed to mains voltages (though something with more than 64 levels might be better I just looked quick for a through hole 5v part)