This post shows how to use the tilt sensor module with the Arduino.Using a tilt sensor is a simple way to detect orientation or inclination.