Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
Doug Domke
Published © GPL3+

8 x 8 x 8 LED Cube Powered by an Arduino Mega

This cube is easy to build with no circuit board and minimum external components; and it comes with a lot of animations and effects.

IntermediateFull instructions provided22,406
8 x 8 x 8 LED Cube Powered by an Arduino Mega

Things used in this project

Hardware components

Arduino Mega 2560
Arduino Mega 2560
×1
220 ohm resistor
×32
Blue LED
×512
UDN 2981A High Side Driver
×1
ULN2003A Darlington NPN Array (Low-side Driver)
×1
Prototype Board 5.5" X 8.0"
×1
Bare tinned copper wire
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Hot glue gun (generic)
Hot glue gun (generic)
Soldering iron (generic)
Soldering iron (generic)
BlueTack

Story

Read more

Custom parts and enclosures

Base for Main Board

If you have access to a 3D printer, here is a .stl file for the base seen in the pictures of my 8x8x8 cube

Schematics

Basic schematic of the cube and support circuitry

See port chart for pin assignment detail

Port Table

This file show detains on Mega pin assignments. It also shows detail of the memory array where LED status is stored. Together they make refresh of the cube easy with direct transfer of bytes in the array to output ports of the Mega.

Code

Arduino Code for 8x8x8 LED Cube

Arduino
This zip file contains four sketches:
1) diagnostic panel test for use during cube construction
2) The Show - about 4 minutes of different animations to show off the cube
3) Another Show - this is another 9 minutes of animations that are not on the video
4) The Super Show - Everything on both of the above files - a 13 minute show with 35 animations
No preview (download only).

Credits

Doug Domke
39 projects • 106 followers

Comments