An accelerometer sensor reports the acceleration of the device along the three sensor axes.
The measured acceleration includes both the physical acceleration (change of velocity) and the gravity.
The measurement is reported in the x, y, and z fields of sensors_event_t.
subplot.mp4
The Android
platform supports three
broad categories of sensors:
Motion sensors
These sensors measure acceleration forces and rotational forces along three axes.
These include:
Accelerometers
Gravity sensors
Gyroscopes
Rotational vector sensors
Environmental sensors
These sensors monitor various environmental properties.
These include:
Ambient humidity
Illuminance
Ambient pressure
Ambient temperature
Position sensors
These sensors determine the position of the device.
These include:
Geomagnetic field sensor
Accelerometer sensor
Some other sensors in a smartphone include:
Barometer
Thermometer
Light intensity sensor
GPS
Gyroscope
Complementary metal-oxide semiconductor (CMOS) image sensor
Finger Print Sensor
Magnetometer
Microphone
Near Field Communication Sensor