Get the current Codebase as Zip.
My friends Max (hutattedonmyarm@me.com) and Felix built this single-color 8x8x8 LED Cube with me. On this page, you can get the Software as well as Schematics and the PCB Layout licensed under the GPLv3. Have fun!
An AtMega32 controls 8 8bit Latches. These 64 bits control, via a PNP Transistor, the anodes of 8 LEDs, each.
There are also 8 N-Channel MOSFETs connected to the AtMega32. They each control the cathodes of 64 LEDs on a Y-Plane.
It can talk to a PC via USB with a FT232RL. A 1Mbit FRAM is accessed over TWI (or I2C).
There's also an AtMega8 which acts as a TWI Slave and sends audio data to the AtMega32. This data comes from a MSGEQ7.
An extensive part list can be found in the Github repository, in Hardware, called parts.txt.
The software is composed of 3 parts. The CubeFirmware for the AtMega32, the AudioFirmware for the AtMega8 and CubeControl, the PC software.
It's main work is to load images from the FRAM or the AtMega8 and display it. It also monitors the serial Port and reacts accordingly.
It gets data from the MSGEQ7 and sends it via TWI.
Depends on Java3D. It renders a rotatable 3D View of the cube. You can then create animations, load and save them, and upload them to the Cube. It has it's own C Library for Windows and Unix to talk to the serial port.
Allows you to test CubeControl without a real Cube. Unix only!
Small CLI tool to send testdata or stored animations from CubeControl. Unix only!
Get the whole code, as well as schematics and the PCB layout as PNG and Eagle files, from the GitHub Repository.
AVR LED Cube with Java Software and Music Visualization Tweet comments powered by Disqus