Gyroscope Explorer provides a working open source code example and Android application that demonstrates how to use the gyroscope sensor for measuring the rotation of an Android device.
Acceleration Explorer allows user to easily explore the devices acceleration sensor while visualizing and logging the effects of different filtering algorithms.
FSensor (FusionSensor) is an Android library that (hopefully) removes some/most of the complexity of using Androids orientation sensors (Acceleration, Magnetic and Gyroscope).
With an acceleration sensor alone, it is difficult to reliably sequester the gravity component (tilt) of the signal from the linear acceleration component (the real acceleration) without the addition of a gyroscope (rotation sensor).
A low-pass filter is a type of electronics filter that attempts to pass low-frequency signals through the filter unchanged while reducing the amplitude of signals with a frequency above what is known as the cutoff frequency. They are used for all sorts of things including audio, images, signal processing and digital filters.
All sensors have noise that is sometimes desirable to filter out at a cost to other characteristics of the signal. Continue reading “Android Acceleration Sensor: Mean Filter”
A triple axis accelerometer is standard equipment on almost all Android devices. They can be used to detect the orientation of the device, determine if the device is in free fall, control objects in a game, tap detection, measure acceleration, etc…