Fork me on GitHub
Translation: de | en

8x8x8 LED Cube

Get the current Codebase as Zip.

Youtube Link

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!

Foto 1 Foto 2

Hardware

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.

Foto 3 Foto 4

Software

The software is composed of 3 parts. The CubeFirmware for the AtMega32, the AudioFirmware for the AtMega8 and CubeControl, the PC software.

CubeFirmware

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.

Foto 7 Foto 8

AudioFirmware

It gets data from the MSGEQ7 and sends it via TWI.

CubeControl

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.

Screenshot Schematic

Hardware Emulator

Allows you to test CubeControl without a real Cube. Unix only!

UploadTest

Small CLI tool to send testdata or stored animations from CubeControl. Unix only!

Download

Get the whole code, as well as schematics and the PCB layout as PNG and Eagle files, from the GitHub Repository.

Foto 5 Foto 6

AVR LED Cube with Java Software and Music Visualization Fork
Print Friendly Version of this pagePrint Get a PDF version of this webpagePDF
comments powered by Disqus
The Dude abides... Mark it zero! Analytics