« Tilt Sensor | Main | Touch Prototype Presentation October 20th »

Tilt Sensor Exploration - Nick Gentle

Photo on 2009-10-15 at 15.17.jpg

Photo on 2009-10-15 at 15.17 #2.jpg

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

http://www.ladyada.net/learn/sensors/tilt.html
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.