My first attempt at using an Arduino to control a 3W RGB LED (1W per color).
The LED is being driven by three separate 1W drivers, powered by a 9V DC "wall wart". The Arduino is generating three PWM signals, fed into the drivers, to dim each color of the LED independently.
The drivers are configured to shut off the output until they receive PWM. The code first tests each color of the LED separately, then loops a fade through all of the secondary colors at full brightness, pausing for one second on each primary/secondary color i.e. red - yellow - green - cyan - blue - magenta - red etc...
The colors look better in real life! It also looks a lot brighter...
LED's and drivers are from DealExtreme (sku 4530 and sku 13553)
btw. did you check 9V battery? how long does it work your circuit?
piterXdT 1 month ago
good work.. i am not working on rgb' s yet. but i have done to dimm a 1W led with pwm out of arduino. and i am using ul2003A IC to drive, that IC has 500 mA limit for each output. I want to use two 1W led, i think it will work, seems to be within limits..
piterXdT 1 month ago