Electronic – Serial LED driver with individual PWM, compatible with common cathode bargraphs

driverledpwmserialspi

I bought one of these circular bargraphs from Sparkfun. A 16 LED bargraph with two common cathodes.

I'd like to drive it from a single chip to free up I/O on my micro, and not take a bunch of cycles running soft PWM. There are many chips, like the TLC5940 that can do this, but they can only sink current, not source it. A 74HC595 solves the first, but not the second, and is limited to 70mA total.

I've tried every combination of search term I can think of and have only come up with 7 segment drivers, which are overkill and never have individual dimming. So does anyone know of a chip I'm looking for? Or am I better off tossing this and making my own out of individual LEDs?

Thanks.

Best Answer

Looking at the TLC5940 datasheet, it looks like it could work. This probably isn't the best way to do it, but if you put the current limited resistors ahead of the LED pins to Vcc, and then tie the output pins of TLC5940 in between the resistor and LED, when the output is active, the LED will go out. Those outputs are essentially open collector.