Go Down

Topic: 4x4x4 Cube? - Is it possible? (Read 1 time) previous topic - next topic

joe426

Since the arduino has 14 digital outputs...and 4x4x4 cube has 16 leds, is it possible to create a 4x4x4 cube using the arduino?  Perhaps you'd need to use 2 atmel168's to accomplish it?

madworm

#1
Aug 01, 2008, 11:43 pm Last Edit: Aug 01, 2008, 11:45 pm by madworm Reason: 1
there's tons of videos of this on youtube, so yes it is possible - even in full rgb.

have a look at www.instructables.com, maybe even search for led cube :-)

or look at this and start drooling: http://www.youtube.com/watch?v=Aj3_v7xCyJ0
I wish I had that thing :-)
• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

justfred

#2
Aug 02, 2008, 12:07 am Last Edit: Aug 02, 2008, 12:08 am by justfred Reason: 1
A 4x4x4 cube has 64 LEDs; but I believe can be driven with 12 pins (4row  + 4column + 4layer) if you wire it properly; it's a lot easier to wire with 20 pins (4x4 matrix + 4layer); my 3x3x3 uses 12 pins (3x3matrix + 3layer) - a lot easier to wire and only "costs" 3 pins more.  Though, I'm trying to imagine the schematic and it's blowing my mind.  In theory, you could do a 5x cube with only 15 pins.

Different colors, of course, adds another dimension to the equation.

follower

Quote
Since the arduino has 14 digital outputs..

FWIW keep in mind the analog pins can also be used as digital outputs.

--Phil.

joe426

I've seen a few on instructables and youtube.  The problem is, the only one's that use arduino are 3x3x3.  This one is probably the best tutorial I've found, but doesn't use the arduino:

http://www.instructables.com/id/E103BSEFE7ITU0C/

This place has some good stuff too, but again, doesn't use the arduino!

http://coilgunpower.com/picproj/444cube.asp

Can anyone find a 4x4x4 that uses the arduino?

Thanks!

Delta

4x4x4 = 64 LED's

The MAX7219 can control 64 leds with one chip and only uses 3 pins on the arduino. More info is available in the playground on how to use it and either the matrix or ledcontrol libraries. I've been using these and the ledcontrol library in particular does everything I want.

joe426

Sweet, found tons of great info about that MAX chip.  I copied the URLS for anyone else who's interested:

http://www.arduino.cc/playground/Main/LEDMatrix
http://www.arduino.cc/playground/LEDMatrix/Max7219
http://pdfserv.maxim-ic.com/en/ds/MAX7219-MAX7221.pdf
http://www.arduino.cc/playground/Main/MAX72XXHardware
http://www.arduino.cc/playground/Main/MultiplexMAX72xx
http://www.arduino.cc/playground/Main/LedControl
http://www.wiring.org.co/reference/libraries/Matrix/index.html
http://tomekness.files.wordpress.com/2008/01/max7219_tutorial_pre_c.pdf
http://www.electro-tech-online.com/micro-controllers/34271-anyone-playing-led-cubes.html
http://blog.makezine.com/archive/2007/09/make_a_pocket_led_cube_we_1.html
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1145204941/

Go Up