Pages: [1]   Go Down
Author Topic: 7x7x7 RGB LED Cube  (Read 4999 times)
0 Members and 1 Guest are viewing this topic.
Netherlands
Offline Offline
Newbie
*
Karma: 1
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So, I decided the first thing to do with my Arduino was to create a LED cube (I love those things) and seemed to underestimate the work (and money) it took. Never soldered a thing in my life and only vaguely remembered electronics from high school. Great thinking. smiley-confuse

However, after some very long days, it seems to have worked out quite nicely. I used 10 TLC5940 chips, multiplexed over 7 planes using the TlcMux library (thanks acleone!) and the ghosting fix provided by denos in this topic.

Here are some demos:
Fireworks - http://youtu.be/443NAIOpqbA?hd=1 (my favorite)
Conway's Game of Life - http://youtu.be/oeHtHfTVGjA?hd=1
Planes sequential - http://youtu.be/oyVlG9YYHsU

Hope you like the show :-)

Why 7x7x7 you ask? I simply ran out of money to buy the extra 169 leds and 2 extra TLC's to upgrade to 8x8x8. Good reason, huh?
Logged

Newcastle, England
Offline Offline
Sr. Member
****
Karma: 3
Posts: 489
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It looks good!
I would be intrested to see the source code...
Logged

My website: http://www.harryrabbit.co.uk/electronics/home.html Up and running now! (Feel free to look round!) smiley-grin

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Why 7x7x7 you ask? I simply ran out of money to buy the extra 169 leds and 2 extra TLC's to upgrade to 8x8x8. Good reason, huh?

I watched a ton of videos of led cubes before I settled on a 5x5x5 blue led cube. I think that cubes with odd numbers give more 'artistic' options for pattern development as there is a true center line for every surface. Just subjective, but that's my thoughts. And yes, even 5x5x5 was a challenge to solder up and keep alignment straight and lots or interfacing wires needed from the cube to electronic parts.

Lefty
Logged

Netherlands
Offline Offline
Newbie
*
Karma: 1
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The odd number indeed served me well in the end. Especially the Conway's Game of Life benefits from this by giving very nice patterns because of the true center line. My alignment is off by up to half a centimeter in some lines by the way. I can still fine-tune quite a few, but it won't be perfect (but I didn't expect 'perfect' anyway smiley-wink)

I'll open-source the code in a few days, when a few bugs are resolved.
Logged

Milano, Italy
Offline Offline
Faraday Member
**
Karma: 11
Posts: 3091
Sideralis Arduino!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Cool work, nice result!
Thanks for pointing me to the "gosth fix", I am getting mad about multiplexing a circuit and I experience the same thing. I have to give it a try...

What is the "shiftPower" function? Could you post it?


Fede
« Last Edit: February 09, 2011, 07:40:28 am by Federico » Logged

Federico - Sideralis
Arduino &C: http://www.sideralis.org
Foto: http://blackman.amicofigo.com

ottawa, canada
Offline Offline
God Member
*****
Karma: 6
Posts: 991
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very nice work.  7X7X7 is impressively large.  I wonder if you couldn't do a crude 3D bust of someone famous and have it be recognizable.  Maybe a video game character.  The color would help a lot in making it pop.

What about something like a 3D letter rotating inside the cube.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
What about something like a 3D letter rotating inside the cube.

Well I thought that the building of a led cube was a challenge, but that was nothing compared to the tedious and time consuming task of coding in new or additonal light patterns. What is really needed is a PC based GUI pattern editor/generator that could allow one to click and point led lights on and off and build a script of patterns and then generate a hex code or possible even a C array(s) that could then be easily pasted into a sketch and recompiled.

 I really liked building, testing and debugging my cube project, but I don't have a clue how people can have the time and patience to manually create complex patterns just using the Arduino IDE?

Lefty
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Well I thought that the building of a led cube was a challenge, but that was nothing compared to the tedious and time consuming task of coding in new or additonal light patterns. What is really needed is a PC based GUI pattern editor/generator that could allow one to click and point led lights on and off and build a script of patterns and then generate a hex code or possible even a C array(s) that could then be easily pasted into a sketch and recompiled.

 I really liked building, testing and debugging my cube project, but I don't have a clue how people can have the time and patience to manually create complex patterns just using the Arduino IDE?

Lefty

i'm trying to make somthing like this but what i really need to make it work is a way to make my laptop hold the code that determins the patterns. my laptop would send the signals to an arduino mega,(1280) and haveing my Arduino contain an onboard code that can make sense of what the computer tells it then send the signals to the shift registers/demultiplexers/i2c's then to the cube. the problem i face is communicating between my laptop and the mega..

how should i do this?

Thanks
Logged

As always... Thanks for posting!!!

Pages: [1]   Go Up
Jump to: