3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

LED Cube 8x8x8

Step 5How does a LED cube work

How does a LED cube work
«
  • IMG_6062.JPG
  • IMG_6034.JPG
  • IMG_6035.JPG
  • IMG_6049.JPG
This LED cube has 512 LEDs. Obviously, having a dedicated IO port for each LED would be very impractical. You would need a micro controller with 512 IO ports, and run 512 wires through the cube.

Instead, LED cubes rely on an optical phenomenon called persistence of vision (POV).

If you flash a led really fast, the image will stay on your retina for a little while after the led turns off.

By flashing each layer of the cube one after another really really fast, it gives the illusion of a 3d image, when int fact you are looking at a series of 2d images stacked ontop oneanother. This is also called multiplexing.

With this setup, we only need 64 (for the anodes) + 8 (for each layer) IO ports to control the LED cube.

In the video, the process is slowed down enough for you to see it, then it runs faster and faster until the refresh rate is fast enough for the camera to catch the POV effect.


« Previous StepDownload PDFView All StepsNext Step »
3 comments
Dec 23, 2011. 3:56 PMlifeforce4 says:
This uses multiplexing, so you can have a single LED even though they are all connected.
Jan 6, 2011. 8:53 PMB.F.L.M says:
how come the lights in the center arent on? or are they?
Jan 8, 2011. 6:05 PMbryan3141 says:
They're demonstrating the persistence effect by lighting the edges to make a 3D cube outline. They could have just as easily decided to make the cube in the middle of the array.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
651
Followers
7
Author:chr
I like microcontrollers and LEDs :D