512 LED cube (again)

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.

Comments

  1. Magnet18 says:

    Someone seriously needs to program 3D game of snake for one of these!!

  2. CutThroughStuffGuy says:

    IMHO.

  3. Nippey says:

    @Magnet18
    already did snake on a 5³ cube years ago :D

  4. Sean Gay says:

    Or 3D pong.

  5. AP says:

    Wait, there’s a toll?

  6. CristobalGordo says:

    Do they make a DIP version of that chip (or something similar)? I would never be able to solder those tiny things.

  7. NatureTM says:

    @CristobalGordo

    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.

  8. kernelcode says:

    I heard 3D Tetris can destroy a man’s mind…

  9. slippin says:

    really awesome looking effects. nice work.

  10. bootc says:

    At first I thought “meh” another LED cube. But the demo video is very, very cool. Pipes ffs! Good job. :-)

  11. Just me says:

    Nice Onkyo TX-SR502 there ;)

  12. sneakypoo says:

    @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.

  13. ZeroCool42 says:

    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

  14. Spork says:

    @ZeroCool42
    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!

  15. vonskippy says:

    Next up, tri-color LED’s.

  16. Erik Johnson says:

    @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…

  17. Nick says:

    Cheers For the write up and the comments.

    @Magnet18
    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.

  18. CristobalGordo says:

    @natureTM “Next time search it yourself”- Get off your high horse buddy. If you don’t want to answer don’t answer.

  19. Hitek146 says:

    It would suck if an LED or two burned out right in the center… LOL! Well done!

  20. Bob says:

    The expression is all told, not all tolled.

    http://www.word-detective.com/2008/04/11/all-told/

  21. j says:

    “Next up, tri-color LED’s.” god yes.
    3d Equalizer baby.

  22. C says:

    How about 3d Conway’s game of life.

  23. Jeditalian says:

    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.

  24. baobrien says:

    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.

  25. pRoFlT says:

    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.

  26. Nextuz says:

    Hardcore using the same color on all cables ;)

  27. Stevie says:

    Id like to see a 3D head that talks to you. Is this the next best thing to holograms? Yes.

  28. vespine says:

    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?

  29. Stevie says:

    @vespineL YES! It looks brilliant! You should submit it :)

  30. Stevie says:

    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

  31. j says:

    @vespine: pretty awesome man.

    I think the build posted has more amusing animations, but I mean you got color which is pimp.

  32. Ian Tester says:

    “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…

  33. ZeroCool42 says:

    @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!

  34. 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 .

  35. Frogz says:

    http://gizmodo.com/#!5442217/the-invisible-oled-laptop-to-end-all-laptops

    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)
    _ledpanel___/|
    ””””””\|
    diffuser/\

    but theres better tech than stacking oled displays for a 3d viewable display thats only viewable from front and back

  36. chris says:

    dude , epic upgrade idea
    RGB LEDs =D

  37. Fenaith says:

    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:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 94,612 other followers