PDA

View Full Version : LED Light Controller



lightwaveengine
- 18th June 2006, 16:46
I would like to build a lighted movie poster display. I want to use K2 white LEDs from lumileds. They draw 1A of current. So I would like to pulse them so they do not use as much power as they would running on DC also they would not get as hot. Since I have two strings of 8 LEDs (3.72v*8=29.76) I would like them to be driven with PWM since I would like to dim them with a POT that the PIC would read and send out a duty cycle that responds to the POT's setting. I could not have more then one string of LEDs on at the same time since the power supply I am using has an output of 30v @ 1A. So I would alternate power to the two strings with two different outputs form the PIC. So pin1 is not pin2 but both have the same PWM signal. The PIC would then drive the LEDs with a power FET. I am new to this and would love to see some code ideas.
I am useing the free MELabs PICBASIC Compiler right now. I have worked with the PIC16F84A before and I like it so far.
Thanks for any ideas!