We’ve seen LED cubes before, but [nick] upped the ante with his 8x8x8 LED cube that uses only three pins on his microcontroller.
Previous LED cubes we’ve covered drove the LEDs with shift registers and latches, but [nick] used STP16CP LED sink drivers to reduce the component count. The STP16CP can control 16 LEDs each, can be cascaded off of each other, and can operate up to 30Mhz. With a component like this, you’re limited by your microcontroller and not your patience or soldering skills.
While he was waiting for his LEDs to arrive in the mail, [nick] decided he would get a head start on the animation code by plunging into MATLAB. After getting an idea of what would look good on the cube, [nick] wrote the code on his PC to send commands to the arduino controlling the sink drivers. To wrap up the project, [nick] put the cube on a very attractive wooden box stuffed with the electronics. All tolled, a very efficient and elegant build.
37 thoughts on “512 LED Cube (again)”
Someone seriously needs to program 3D game of snake for one of these!!
already did snake on a 5³ cube years ago :D
Or 3D pong.
Wait, there’s a toll?
Do they make a DIP version of that chip (or something similar)? I would never be able to solder those tiny things.
A quick digikey search of “STP16CP” returned some LED drivers in DIP packages. They aren’t sold in small quantity, but I bet you can find them somewhere else. Next time search it yourself ;-)
I could see myself spending hours over days making one of these and having my cat tear it apart in seconds. I don’t think I have the patience anyway.
I heard 3D Tetris can destroy a man’s mind…
really awesome looking effects. nice work.
At first I thought “meh” another LED cube. But the demo video is very, very cool. Pipes ffs! Good job. :-)
Nice Onkyo TX-SR502 there ;)
@CristobalGordo: Have you ever tried? I too was intimidated at first and thought I could never solder tiny little surface mount parts. But, after trying it a few times I’m never going back, in some ways it’s actually easier than through hole. Buy some random super cheap chips and give it a try!
DE-soldering is another story though but there are tools for that, both cheap and expensive.
Anyone else love the idea of this, but have the laziness problem like me?
I mean, I love the idea of having one, and the build process for this one seems pretty straightforward, but when it came to programming animations, I just would never be bothered enough to do it :P
1) Nice hackers reference with the name. — Great movie.
2) I built a 3x3x3 cube and never programmed it, seems like 8x8x8 wouldn’t be any better. The only saving grace of this setup is that you can send serial commands to the driver chips to handle display. Unlike charliplexing which basically takes commands in parallel straight from the registers!
Next up, tri-color LED’s.
@kernelcode It’s not too different, at least on my Virtual Boy
@vonskippy and 2048 LEDs at that! Lead poisoning here you come. there are vids on youtube of some chinese co making those…
Cheers For the write up and the comments.
I’m glad some one mentioned 3D snake, I am currently working on a windows application with interactive animations. Here is a video of version 1 with me playing (and failing) 3D snake.
@natureTM “Next time search it yourself”- Get off your high horse buddy. If you don’t want to answer don’t answer.
It would suck if an LED or two burned out right in the center… LOL! Well done!
The expression is all told, not all tolled.
“Next up, tri-color LED’s.” god yes.
3d Equalizer baby.
How about 3d Conway’s game of life.
all this talk about 3D snake/pong/tetris, makes you think.. real 3dtv’s that would be a giant, smaller version of this, a crystal lattice of nanoLEDs, which would make this kind of 3dtv have depth again, like crt’s at first, then expanding, if they were made in a form factor that could stack like legos and the inputs would link up, you could custom-build your iMAx-sized 3D screen to your specifications, length, height, DEPTH. fixing dead pixels could be as easy as digging down a giant pile of legos replacing a cube as a f.r.u. and swabbing the faulty one’s connections because if they’re stacking like legos some dirt could block connections.. now i await the day when i can stroll down to the optometrist and purchase a brand new, HD3D eyeball. once these displaycubes become lego sized cubes that orient themself magnetically to properly align their connections..
-written by John Titor, who was transported back to his home-time mid-sentence. He also said that in AD 2101, war was beginning.
I would have used TLC9540s instead of STP16CP. PWM is way more awesome than just plain on/off. Oh well, this is still pretty freaking cool and beyond my mechanical skill level.
I tried to put a 3x3x3 together. i think i had one layer, 9 leds, soldered before i gave up. It would be neet to have on your desk or something but i dont think i have the patience to finish a cube.
Someone needs to build a SMT cube, with tiny leds. Not sure how you would connect them. maybe small bus wire.
Hardcore using the same color on all cables ;)
Id like to see a 3D head that talks to you. Is this the next best thing to holograms? Yes.
i made a 3d 8x8x8 color cube, but my write up is not so great and I don’t have much code on it at the moment, i keep meaning to program it more before submitting it here but i’m not much of a programmer..
check out my site and click on 8x8x8 cube, does anyone think it’s good enough to submit?
@vespineL YES! It looks brilliant! You should submit it :)
Oh btw, if you want to see one of the most impressive LED cubes ever (well, it’s a sphere but lets not be anal), you should check out the LED Sphere outside Mall of Asia in the Philippines. I can never help but slow right down when approaching this, to enjoy the impressive view!
Here’s a sample video (not mine) – http://www.youtube.com/watch?v=yb3puN4RqkQ&feature=player_embedded#at=20
@vespine: pretty awesome man.
I think the build posted has more amusing animations, but I mean you got color which is pimp.
“With a component like this, you’re limited by your microcontroller and not your patience or soldering skills.”
Um, shouldn’t this be the other way around?
And yes, the “all tolled” mistake. Do some proof reading or something guys…
@Spork – Thanks, it’s always good when someone gets the reference ^_^
@Stevie – 3D head that talks to you… sounds a bit like Viki from I, Robot to me (http://2.bp.blogspot.com/_3i6ROTVOQZk/SMRMPfFKm_I/AAAAAAAABg8/ZxbpRnmBKr8/s1600/I+robot+Viki.jpg). I mean sure, it’d be fun at first, but when she builds a robot army and quarantines you in your house, then you’re in trouble!
This is remarkably similar to a work I showed in March/April of 2010. I am an artist working in new media – I do interactive light sculptures. “Caged” is an 8 x 8 x 8 cube that interacts with the surrounding sound. Being an artist – the aesthetics of the work were of vital importance to me. Instead of using a stand, I manufactured and incorporated small boards on each of the eight levels. The drivers used were Maxim 7219’s. Processing was via a boarduino using C++ programming, and like in the above project I used three pins to drive it. I used Game of Life programming with a twist – the program wraps side to side to keep things going. For more information and documentation the project page is http://interpolations.org/caged_doc.php .
stack a bunch of oled screens
you’ll have 1024 by 768 minimum on xy axis
and each 1 is probably a minimum of 4 mm thick so call it 80 layers of depth for a 1 foot cube?
the 1 problem with all this, its a big fragile heavy block of glass that you can only view from the front and back(i dont THINK it’d be possible to view the sides but maybe can find a way to position all electrical connections at the bottom and use difusers between layers(reducing depth resolution but making it side viewable, especially if the ends fan out to cover the edges of the screens)
but theres better tech than stacking oled displays for a 3d viewable display thats only viewable from front and back
dude , epic upgrade idea
RGB LEDs =D
think the processing speed is fast enough to do a FFT of a soundwave?
so play your favourite music, and get the LEDs to bounce like:
Please be kind and respectful to help make the comments section excellent. (Comment Policy)