shackspace hacker @4RM4 was looking for something to hack when he visited 29c3. He found someone who was selling RGB-LED stripes with individually addressable LEDs which was (understandably) irresistible and he already had a RaspberryPi to control it with. Controlling the stripe is done via one of the Pi’s SPI ports. However there was nothing to mount the stripe to… except for a trash bin.  Luckily the trash bin had a circumference of exactly 1 meter resulting in a 10 row high tubular display when he wrapped the 10 meters of LED stripe around it.

One of the first hacks was a text scroller which was nice but not quite there yet. But soon after that was done 4RM4 was off to the land of classic games and quickly hacked together a snake clone.  Playing snake on a tubular display was quite a challenge and since the trash bin had to stay at the congress center once 29c3 was over he opted to go for a more familiar and usable form factor by cutting the 10 meter LED stripe into smaller pieces to build a rectangular display.

He improved his snake clone by adding a high-score feature, auto-play bot, support for free dot placement for debugging, and a clock display in idle mode.

Playing it got even more fun with a Wii-Nunchuck hooked up to the RasPi which was quite easy since he could use the Pi’s GPIO port to talk to the Nunchuck’s I2C interface.

Of course the full code is available on GitHub and there’s some documentation (in German) on the shackspace wiki.

flattr this!



Reader's Comments

  1. Mad Trix | Januar 22nd, 2013 at 22:39

    Thumbs up!
    Sehr geile Idee und feine Umsetzung.

  2. I-Catch | Januar 23rd, 2013 at 13:59

    Wie viel haben dich die 10m gekostet? und welcher LED Controller ist den verbaut?

    mfg

  3. Robert | Januar 23rd, 2013 at 14:15

    Der Stripe wurde für 15 Euro pro Meter auf dem 29c3 verkauft. Demnach habe ich 150€ bezahlt.
    Für je 2 LEDs ist ein LDP8806 verbaut. Er hat 6 7-Bit PWM-Kanäle und lässt sich per SPI ansteuern, ähnlich dem WS2801.

  4. Rom Hargrave | Januar 23rd, 2013 at 15:00

    Looks like a great project – I like the section of the video where you have the LED snake follow the pointer.

    I bought three of the Raspberry Pi and I just started digging into what one will do.

    Thanks, Tom
    Huntsville, Alabama, USA

  5. rigid | Januar 23rd, 2013 at 19:02

    Vielleicht interessiert ihr euch für niftyled ( http://wiki.niftylight.de ) um euer Display mit pixeldaten zu füttern oder um es mit anderen Displays kombinieren zu können (oder mehrere solcher Displays zu einem größeren zusammenzufassen).

  6. Jorge Falcon | Januar 24th, 2013 at 03:20

    This looks like a great project… can this this be used to play animations or video?

  7. Robert | Januar 24th, 2013 at 09:18

    It can in fact be used to play animations. I’m probably going to use the software the user “rigid” posted right above you.
    I’ve also got a converter that allows me to display *.gif files.

Leave a Comment