For this assignment, i decided to build an LED Cube.
They used to be all the rage at some point. I remember every arduino book i have read had one LED cube project near the end. They have a pretty simple layout (that actually took me a while to properly comprehend!) :
It goes like this: All the LED’s in each layer, share the same cathode, and every LED in each column share an Anode. Simple? Right.
So that way, if you have a wire running through each column and a wire attached to each layer, you can individually light up any LED you want. My goal was to simply put a potentiometer dial in the circuit to control X,Y,Z of which LED is lit up. But that turned out to be difficult:
You see, i wanted the LEDs to fade-in and out into each other whenever i turned the knob. But addressing all the LEDs AND adding 3 Analog inputs and 9 Digital Outputs and 3 Analog Outputs proved problematic. I tried using the “analogWrite” function, but that even has its own limits.
Solution? Multiplexer… which i don’t have at the moment.
So with what i have now, i can address any LED i want and fade it in and out. Getting inputs is a problem.
But forget about the inputs! What’s next for this project is 3D!
What if we were able to spin this cube real fast? That way it’s not impossible to think we might be able to create Psuedo-Holograms if it’s fast enough to get past the human eye’s Flash-Lag effect.
Things we will need for that:
1. Some design for a brush connection to the rotating cube
2. definitly multiplexers. i don’t want to create 12 brush lines for the connection!
3. Is the a library for rotating stuff? There’s a few for LED Cubes and a few for rotating 2D RGB LED strips…