Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It seems that a gyroscope sensor is currently not so common amongst Android devices. But does an accelerometer (in conjunction with the compass?) provide enough accuracy to measure angles (tilt, yaw) with high precision?

share|improve this question

Sufficiently for what, how high a precision?

There are a number of apps that will measure levels and angles purely using the accelerometer, that are good enough for everyday use, after an initial calibration.

For examples see the range of Spirit Level apps available on the Market.

share|improve this answer

If you're interested in sensors, you might want to watch this Google Tech Talk - Sensor Fusion by David Sachs.

Accelerometer provides an approximation of angles, but it does not provide a good accuracy. It has a major fault in that it amplifies hand jitters. That can be fixed with a low-pass filter, but that will introduce a delay when there is actual change in angle (which could cause a visible problem in reactive games and sensor log).

However, Gyroscope is not the king of measuring angles either. Gyroscope has a major flaw in that its measurement have a long-term drift. Therefore, accelerometer and compass will need to be used to correct a gyroscope.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.