Tilt Sensor Exploration - Nick Gentle
My exploration with the tilt sensor was pretty basic in terms of what I made it do. I essentially just twist-tied the breadboard to the protoshield and arduino, then wired it the specifications I found on a website (I'll post the link/code below), pasted the code, and played with it. Basically, when the arduino/tilt sensor was upright, the LED was off. Then, when you turned it upside down, or at least until the ball in the tilt sensor moved, the LED turned on. Simple but groundbreaking. It was fun..
If you scroll down in the link, you'll find some decent diagrams on how to wire the board and there is a code at the way bottom that you can literally paste in the Arduino program.