acceleration sensors: which one do you use ?

Werner Almesberger werner at openmoko.org
Fri Jun 26 15:06:44 CEST 2009


Patryk Benderz wrote:
> Will one accelerometer be sufficient to detect that FR is in position
> with screen is downward?

Yes. The acceleration the sensor reports is basically a superimposition
of earth's gravitational pull and any forces moving the phone. So if
you apply a low-pass filter to the data stream (or if the phone isn't
being moved), you can determine its orientation.

- Werner



More information about the devel mailing list