Hello all,
First of all, I love "...I wonder what would happen if...", moments. That's when you look at something and get an idea that, in theory at least, should work.
Second, I'm an idiot. At least according to my wife. I'll look at something and think, theoretically that should work, and end up causing maximum havoc on a scale of zero to WTF idiot !
So it should come as no surprise to learn that, after recently starting to play around with my birthday gifted Arduino Uno and building my first successfully working 3x3x3 led cube, I started investigating the
possibility of expanding to a bigger cube. The problem was, I started thinking.
Unfortunately, that meant delving into the realms of Shift Registers, amongst other things, and I found both the resultant code and the wiring to be massive headache material.
However, my "... I wonder what would happen if..." moment came when I thought why can't an 8x8x8 led cube be driven by just 2 x 74HC595 shift registers?
Here's the theory:
Using Red LEDs with 1.8v forward voltage, and using appropriate current limiting resistors to limit max current to, arbitrarily, 8mA per column, use one Shift Register to address 8 common anode Columns. Then use another Shift Register to address the 8 common cathode Rows. The Register that addresses the Rows is connected to individual BC547 transistors and this Register is subsequently multiplexed via software, so are continually cycling sequentially.
Register 2's Output pins are connected via appropriate resistors to the Base of each transistor, the Rows of the cube are connected to Collector, and the Emitters to common ground.
IN THEORY, it should work, but there MUST be a reason it's not been done. Is it current handling of either or both the Arduino and the Registers in this situation ? The way I look at it, if all 8 LEDs of a column are active, 8 LED x 8mA = 64mA, and if I read the datasheet correctly the HC595 can handle up to 70mA across all 8 pins. So if the Rows are continually multiplex cycling there should never be more than 8 LEDs illuminated at once, as the multiplexing produces a POV display. Admittedly, at 8mA the LEDs will never produce full brightness, but I connected a 3mm LED to a current resistor to produce 8mA, and it was fine for what I need. I'm after a fair illumination of the LEDs for a cube, not a backup lighthouse for coastal shipping.
As I said, it's theory only, but the wife won't let me test it out, threatening withdrawal of marital services if I blow up my birthday gifted Arduino and / or other equipment to go chasing another one of my mad schemes.
I have a schematic of the system, but it's on my local hard drive and I can't post it under the Insert an Image function because I don't have a URL for it. Why can't we have the facility to Paste an image ? I've created an attachment for it instead, for those who are curious.
Anyway, let me know why I shouldn't go ahead and build it, I'm always receptive to constructive criticism from those in the know.
Regards

