Tri-Axis Analog Acceleromter

tri-axis analog accelerometer

Image Courtesy of SparkFun

Tri-Axis analog accelerometers are great for sensing device orientation and movement. Most smartphones have tri-axis accelerometers for detecting orientation. As you move the device in each axes directions, the voltage output from the Xout, Yout, and Zout pins changes accordingly.

Buy a Tri-Axis analog accelerometer from SparkFun or Adafruit.