Compatible Led Constant current sink driver

Hi All.

I have a project that has a lot of Leds on it. 329 to be exact. there are 28 led rings with 11 led each and 21 for buttons and stuff. The TLC5940 would be a great option for this but the library isnt compatible without heavy modding (So i've heard) and I need something more generic that's going to work out the box as I am very new to programming. maybe the ws2801 would work ? what's everyones opinion. any advice would be very much appreciated.

MAX7219 is a cheap and good choice but you can not control the brightness of each LED but only all connected to the chip - you did not say whether it is necessary. This is just a guess because you haven't said anything about your LEDs. One MAX7219 chip can control 64 LEDs and several MAX7219 can be wired in serial, so you need very few pins to control many LEDs. Also smart LEDs like WS2812B, PL9823 or SK6822 maybe.

Are these LED rings you have bought? If so they normally use WS2812 addressable LEDs in them. This means you can drive them all with just one Arduino pin. So what sort of LED rings do you have?

the LEDs are just singular 10ma white LEDs that I plan to arrange onto a PCB. But the purpose of them would be to act as led rings. (my own custom led rings) They would be showing the position of an encoder. So only one led of each bank of 11 would ever be on st any one time. Then I would also have 21 LEDs for buttons that could all be on at the same time. so 50 in total would ever be on at once. Control of overal led brightness would be great . No need for individual control of that but I would need to control every individual led to beable to decide whether it was on or off etc I'm powering them from a 9v 2a power supply.

@Grumpy_Mike @flashko

Since you already have LEDs and they work with a current of 10mA, I think the MAX7219 chip is a good choice. This way you have total brightness control with 32 brightness levels and you can choose whether each LED is lit or not.

Thanks so much. ill take a look at that.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.