Hello,
I actually have made some progress. They were originally running at about 25% their full brightness.
Hardware Change
The first thing I did was modify the 8x8x8 cube to that each column had its own feed from a decoder chip. This allowed me to select any single column using 6 output bits on the Arduino (3 for x location and 3 for y location). I then took eight outputs from the Arduino and connected one to each layer of the cube. Since these output are independent of each other this configuration allows me to light any combination of LEDs in the column in one pass. (10%) brighter
Capacitor
The second thing I did was put a capacitor in to keep the LED on during the downtime between changes. Each of the 8 feeds from the Arduino that power a layer of the cube have a limiting resistor. I put the capacitor parallel with the resistor and they got a little (5%) brighter. Not sure why this worked?
Software
The third thing I did, which seemed to help a lot was modified my software. I have animations that run at about 2 FPS. I had the entire cube render nearly every processing cycle. Not sure how fast this is but I am guessing about 30 FPS which is why they are dim or flicker.
What I found was a lot of time was taken to change the status of the outputs on the Arduino for reach new LED. This is dark time since I have to turn the cube off or you would see the LED move it x and y coordinates one at a time.
Now knowing this is processor intensive, I rewrote it to render only one column per cycle rather than the entire cube. I also modified the loop to only change the outputs it needs rather than reconfigure the entire x,y and z output for the cube every time. Now the cycle when an LED is on is longer than the time cycle when one is off. This gave a huge brightness increase. I would say they are running at near 60%-70% now.
“If you only light 1 LED at a time, you can see that the peak current needs to be quite high to have it appear at a reasonable average brightness.”
Steve, your quote above is exactly what I was asking. I haven’t taken that step yet. I am not quite confident yet that the cube won’t get stuck on one LED too long and burn it out on me. If I do boost the power I’ll have to think of a way to protect my LEDs in case I get stuck on one for some reason. This is why I was trying the capacitor route. I figure it would give them a little boast of power that would never be sustained.
Well my RGB LEDS just came in, so now I have to redo my entire bread board to support 3 colors. This should keep me busy for a couple of weeks. At least they seem brighter.
