ADXL335 accelerometer

Dodgydave

Joined Jun 22, 2012
11,305
Accelerometers measure force in Gravity mv/g you have to be moving in one of the axis X, Y,Z.

You need an Inclinometer to measure angular displacement.
 

BillB3857

Joined Feb 28, 2009
2,571
An accelerometer, when placed with the motion axis in a vertical position, will output a value representing 1g, even when stationary. For various angles, use the COS function.
 

sirch2

Joined Jan 21, 2013
1,037
Just to expand on BillB3857's post, with the accelerometer axis vertical you will get an output proportional to +/- 1g. With it horizontal you will get an output proportional to 0g (expect some noise on the output). The output you get when the accelerometer is between horizontal and vertical is related to the angle by the standard trigonometric functions.
 
Top