How To Connect MMA7455 Accelerometer 3-Axis Tilt Sensor [Arduino Tutorial]
Tutorial on how to connect a 3-Axis Tilt MMA7455 Accelerometer sensor to Arduino. Supports 5V/3.3V input.
Raw Arduino code link: http://tolsonwinters.com/a/MMA7455_Accelerometer.ino
Link to tutorial: http://arduino-info.wikispaces.com/accelerometer-MMA7455
MMA7455 Three Axis Digital Tilt Acceleration Sensor.
Commonly used in Smartphones to detect how phone is being held. It returns a number for the x-axis tilt, y-axis tilt, and z-axis tilt. You can also use these in hobby/robotics to detect how any device is being tilted for all three axes."