I always wanted to make my own LED cube, and now I share with you my project.
Step 1The first thing to do is create the LED matrix.
In this case I have created seven 7x7 LED matrixes.
I have divided anodes and cathodes and I have soldered them in rows and columns, so at the end I have 7 anodes and 7 chatodes for each led matrix.
Now you need the necessary hardware to use the LED cube.
This is the most difficult part if you don't know quite well the electronic.
But I try to explain this part clearly.
I have used seven 74HC574.
This IC is a 8-bit D Flip Flop, it is a 8 bit memory. In this way I can load some bits on they to see the image on the cube. I need seven 74HC574 because there are seven LED matrix.
I need also 7 NPN transistor to decide which layer turns on.
In this way with the technique of multiplexer I can visualize an image on all cube.
Finally I need also an 74LS138, it is a 3 to 8 line decoder demultiplexer, so with it I can control all Flip Flop with only 3 bits because they need also a pulse to save the data.
This is the block diagram of the hardware:
I made by myself the circuit, and I used ATmega328P standalone of Arduino.
You can see all the circuit diagram below.
You need also a structure for hardware and LED cube. I have used some pieces of wood to make it.
After that you can assemble everything, each LED matrix must be placed in front of the other and the cathodes of each layer are connected to the same transistor.
Finally, you can write the code to make the cube on, the block diagram above can help you to write the code.
This part can be a lot of confused but with some practice it will be easier.
The code below represent the easiest animations because the others are too much long but with a little fantasy you can do what ever you want.
Comments