Hi all I am quite new to arduino and lately I have been experimenting about led strip lights for arduino. I am currently doing a project where I need to control 14 rgb led strips that need 12V to operate. Since I need to control each of them individually I am planning to use uln2003a darlington array ICs to switch ground connections to the strips. But I will need 42 pwm pins from my arduino mega to control the strips. So I decided to chain 3 of PCA9685 servo motor drivers together. I want to know if it is possible to control uln2003a ics using this type of driver and if it is possible how should I wire the ic to the PCA9685 driver,
All your contribution will certainly be appreciated.
The outputs of the PCA9685 can be connected to the ULN2003 directly.
But note the current limitations of this chip. About 150mA per output when all outputs are in use. Meaning your LED strips can only be a few LEDs long.
14 LED strips... Is this for two 7-segment displays?
Why didn't you use addressable LED strips.
They don't need drivers or PWM pins, and one Arduino pin can drive them all.
Leo..
Hi, thanks for the advice, really appreciate it. When I connect uln2003a in to the servo driver what voltage do I need to put into the v+ pin in the servo driver?
AFAIK, you can put any voltage you want on V+ as long as it doesn't burn out the devices connected to the servo power pins. Is 12v your goal? Shouldn't be a problem. Just don't connect a servo.
That sounds right. V+ is connected to the servo power bus (top pins) ONLY!
What that is stating is don't connect V+ with Vcc. It will overpower the IC.
Thanks very much for clearing my doubt up Mr surfer tim. But another question I have is rgb strips tend to need a current of like 150ma to run and if all pins are turned on is it safe to power it through the board then?
Ok Mr surfer Tim thanks for contributing your time to my project. I will try what you have suggested and let you know if it works out right and again I really do appreciate it.
But I need to control 14 of these with one arduino but the arduino does not have 42 pins (3*14). So, I am using the servo driver now to get pwm for all the strips.