About me
Find out who's in charge of all this happy horse shit:
Advertisement
Twitter feed
- @devbisme Right, of course. 06:18:17 PM April 06, 2012 in reply to devbisme ReplyRetweetFavorite
- @devbisme Good question, I'll bring that up at the next meeting. 06:13:22 PM April 06, 2012 in reply to devbisme ReplyRetweetFavorite
- @devbisme Close! We decided that my family will not be allowed to look at people protesting online about cats run over by steamrollers. 06:09:07 PM April 06, 2012 in reply to devbisme ReplyRetweetFavorite
- Another meeting, another doodle... http://t.co/5aJMxhfa 05:57:48 PM April 06, 2012 ReplyRetweetFavorite
Hello and welcome to Lol Shield Theatre – Behind the Scenes!
This is a project that I put together after wondering what I could do with the blinky, shiny, wonderful Lol Shield. Who couldn’t love an Arduino covered in tons of leds? (Rhetorical question, the answer is people who hate fun.)
The Lol Shield Theatre is a combination of software and hardware, a web site and an arduino Lol Shield.
If you’d like to jump right into the fun without lots of boring exposition, head straight to: http://falldeaf.com/lolshield/.
Otherwise, let me take you through the steps that made this project possible. First I built a web app that allows you to create and view animations using 9 x 14 pixels, the same amount of pixels on the Lol Shield. The interface is pretty much all javascript, no crazy flash and Jquery was an enormous help in this project. The site builds an xml file that is stored in a database and can be reached through a rest API. There’s two feeds, one for humans and one that is read by my Lol Shield code.
This site looks a bit (exactly) like this:

Here's where you'll view other peoples animations and vote down their work out of jealousy. (It's cool, we all do that)

This is the build page where you'll have to figure out how to make animations pretty much on your own. Reading instructions are for suckers.
Next, I wrote two pieces of software, one is an Arduino sketch that uses the Lol Shield library, downloadable here. The other is a python program that communicates with my site and then to the Arduino through the usb or serial port.
Here is all my code: LolShieldtheatreProject-update
The Arduino sketch just needs to be uploaded to any shield compatible Arduino. Check out Lady Ada’s lovely tutorial if the previous sentence frightened or confused you.
The python program connects to the Lol Shield Theatre site and downloads animations using an API with the following options:
API: http://falldeaf.com/lolshield/robot_xml.php?
- feed= ( pop, new, all, user ) – for the most popular, the newest, all/random animations or animations from a specific author, respectively
- user= ( ‘author name here’ ) – Set the feed to pull from a specific author (you?); feed must be set to user
- items= ( int ) – The maximum number of animations to pull down
It’s run from the command line and needs three arguments, or use -h to get help:
- -u : This is the url of the xml feed that has the animations. (http://falldeaf.com/lolshield/robot_xml.php is the default)
- -t : The amount of time to wait before updating from the next with new animations, it will default to 30 minutes
- -d : This the device to try and use i.e. ‘/dev/ttyUSB0′
Have a look at the shield in action:

Yah, that's my girlfriend IM'ing me and yes she's real, I'm a nerd with an awesome girlfriend, no big.

Another lol shield shot, I'm waiting to move into a new home so that crappy, belkin, wireless stick is how I connect to the internet, now. Seriously :/

HI, Human. Do not be scared. There is a high probability that you will be spared in the coming robot apocalypse.
I felt a bit like George Washington Carver on this project. He worked hard to invent uses for the peanut in an attempt to make them more valuable; which helped poor southern farmers. Lady Ada, Sparkfun and Jimmie P Rodgers aren’t poor *or* farmers, they’re all cool people. And while, just like the peanut, the Lol Shield is awesome on it’s own merits, hopefully I’ve just made it more valuable! :)
And just to make sure I overdo it with media, here’s a link to the overlong video showing how it all works! :)
Update: Holy cow I made it on Lady Ada’s blog! http://www.adafruit.com/blog/2011/03/02/the-lol-shield-theatre/
Check out these cool animations that her readers have made :)
- Cannibal – by Flickerfly
- Fireworks Animation – by Fireworks
- SMD LOL – by Solarbotics
Update 2: Jimmie Rodgers got a chance to see my project, neat! Even cooler he had a pro-tip for me to fix my LED ghosting problem. “Oh, and if you want to get rid of the ghosting LEDs, just cut out either the resistor or LED connected to pin13 on your Duemilanove Arduino.”
References
- Lol Shield Theatre, hosted here at falldeaf.com : http://falldeaf.com/lolshield/
- Pagination Code : http://www.strangerstudios.com/sandbox/pagination/diggstyle.php
- Icons on Lolshield pages : http://www.iconfinder.com/
- The Lol shield : http://jimmieprodgers.com/kits/lolshield/
--
This entry was posted in Software and tagged arduino, lol shield, php, python, webapp. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.







3 Comments
Wow, fantastic project!!!!!!!!!!!!!! It will be fun to see what people make.
Can you add a rotation feature? Would be great for portrait purposes. :D
Oh and we have the same wacom tablet! Sweet!
Hey Thank you for saying so! A rotation feature is an awesome idea. I had a few others; Besides rotation, translation would be cool, too. And being able to clone and re-arrange frames would be helpful. I’m definitely gonna do some updates, thank you for the compliment and the advice!
P.S. I love my wacom, I even have a cintiq at work! … so anyways, we’re pretty much wacom bff’s now.
9 Trackbacks
[...] The Lol Shield Theatre. Falldeaf writes – This is a project I’ve been working hard on. It’s a web app, python program and arduino sketch that work together to make it easy to make animations, vote on them, then view them on an Arduino Lol Shield, like the type you sell on your site. Hope you like it! Filed under: arduino — by adafruit, posted March 2, 2011 at 8:21 am Comments (0) [...]
[...] Lol Shield Theatre - [Link] Tags: Arduino, Led, Lol, Shield Filed in Arduino | 1 views No Comments [...]
[...] This is a cool project that is based on the LOL Shield for the Arduino. [...]
[...] This is a cool project that is based on the LOL Shield for the Arduino. [...]
[...] This is a cool project that is based on the LOL Shield for the Arduino. [...]
[...] In a really slick fusion of hardware, software, and the power of the Internet, he has created what he calls, “Lol Shield Theatre”. [...]
[...] In a really slick fusion of hardware, software, and the power of the Internet, he has created what he calls, “Lol Shield Theatre”. [...]
[...] In a really slick fusion of hardware, software, and the power of the Internet, he has created what he calls, “Lol Shield Theatre”. [...]
[...] technical, advanced or interesting project try Hack-A-Day , or even some of my other write-ups: web based LED Matrix drawing application for Lol Shield, mostly from scratch mp3 player. This article is a bad example of DIY’ing and hopefully some [...]