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.

4 x 4 x 4 interactive led-cube

4 x 4 x 4 interactive led-cube
«
  • P1010429.JPG
  • P1010408.JPG
  • P1010418.JPG
  • P1010419.JPG
  • P1010412.JPG
  • P1010417.JPG
  • P1010413.JPG
  • P1010414.JPG
  • P1010409.JPG
  • P1010411.JPG
  • last photo ←
»
As my first real Arduino-project I made a 4x4x4 LED-cube. But instead of just copying one of the many led-cubes that are already around, I wanted to make mine interactive!


I didn't want to show the sensors so I started experimenting with using the actual LED's of the cube as the sensors.
Experimenting with LED's is very easy on an Arduino.


It looked like this was going to work, but I noticed that when I made the leads longer, the readings from the LED's where way off. By using a isolated (COAX) cable, this problem was resolved.



I noticed that I didn't need the wire to the cathode (negative) of the LED because I could use the mantle of the COAX-wire for that.

My next experiment would be learning how multiplexing works. The Arduino hasn't got enough ports to connect 4x4x4 = 64 LED's individually. There are more than enough instructables explaining multiplexing, so it was not hard to figure out.



Just multiplexing wasn't enough so I also had to figure out how to charlyplex, to get even more LED's on a few ports. This was also easy to learn on instructables.


Finally I finished the cube. The four top corner LED's are not connected to a multi- or charlyplexed grid but directly to the Arduino with a COAX-wire. These LED's are both LED and sensor. Depending on what LED of the four is the darkest, an other show will perform.


(to make this cube a bit more clear, I now also made a step-by-step instructable of this LED-cube)
4 comments
Oct 25, 2011. 5:32 AMjrotolo says:
ok so here is my idea just lookin for a lil feedback, i want to build a led cube or maybe someother design type i am thinking of making it multi purpose though i want it to respond to BW and F by using BP filters and OP amps and i also would like to run a program through a microprocessor my thought was to have a manuel switch to maybe switch from one logic to the other but now im thinking of just making the cube with density kind of like the outside grid on the bp and the inside grids on the processor this is where i want to take my knowledge of electronics the mixture of lights and music with some science smashed into it is def something i enjoy anyfeedback would be appreciated thank you
Aug 17, 2011. 9:18 AMmaewert says:
Very nice!
I built a 5x5x5 LED cube and found it difficult to keep the LEDs at uniform brightness until I went with an interrupt based scanning routine. From your videos it looks very good. If when you turn them all on you can see variations in the brightness you may want to change the code in this way.

Best Wishes.

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!
23
Followers
8
Author:kenyer(Technisch Speelgoed)
I'm a social-worker, working with 16 - 23 year-olds. I used to be a printer and I worked voluntarily in Romania for a couple of years. One day a week I have a toy-store in technical toys. I have this ...
more »