LED Matrix
FredBlais
Posts: 370
I built a custom LED matrix with 56 red 56 green and 56 blue LEDs for a total of 168 (12x14). I have a total of 12 cathodes and 14 anodes.
For the LEDs I have, I made some tests for optimal brightness and it's between 15-20mA. At 25mA they slowly fade and die at about 40-50mA.
My questions are :
1. what refresh time should I use if I have to alternate between 12 column continually?
2. I'm putting a current limiting resistor at each anode to protect the LEDs. This resistor is chosen so that when I am steady on one column, the current in each LEDs is about 20mA. Because I have to allocate some time between 12 columns, should I choose a lower resistor so that the current is a bit higher on each refresh?
Fred
For the LEDs I have, I made some tests for optimal brightness and it's between 15-20mA. At 25mA they slowly fade and die at about 40-50mA.
My questions are :
1. what refresh time should I use if I have to alternate between 12 column continually?
2. I'm putting a current limiting resistor at each anode to protect the LEDs. This resistor is chosen so that when I am steady on one column, the current in each LEDs is about 20mA. Because I have to allocate some time between 12 columns, should I choose a lower resistor so that the current is a bit higher on each refresh?
Fred
Comments
1. You will have to refresh your array at about 24-30 Hz to eliminate flicker and fuse motion. Say 28 Hz. That's 36 ms per frame or 3 ms per column. Doesn't sound like much until you think 3,000 uSec or 60,000 Propellor cog instructions. Might even be able to do it in spin.
2. Since you have the anodes of the various colors tied together, you cannot have separate resistors for each color. You will have to control the relative brightness by making the "on" times different. I think you will find the blue will have to be on longer than green which in turn will have to on longer than red to match brightness.
-1. I assume you know about store-bought RGB arrays. They only come in 8 x 8 which may be a show-stopper for your application.
Thanks for the info Tom. I use 12V on the LEDs, so 470ohm is about 20mA on the 3 colors. Rather inefficient but solve the brightness matching problem.
It's not just about the forward voltage across and current through the three colors of leds, it's also about the efficiency of the individual leds and and the response of our eyes to the various wavelengths emitted, so Tom has a valid point.