Sensors

Motion sensor: Accelerometer -> An acceleration sensor measures the acceleration applied to the device, including the force of gravity. Linear Accelerometer -> The linear acceleration sensor provides you with a three-dimensional vector representing acceleration along each device axis, excluding gravity. Gyroscope -> Measures the rate of rotation in rad/s around a device's x, y, and z axis. Accelerometer vs Gyroscope -> Accelerometers measure linear acceleration (specified in mV/g) along one or several axis. A gyroscope measures angular velocity (specified in mV/deg/s). Rotation Vector -> The rotation vector represents the orientation of the device as a combination of an angle and an axis, in which the device has rotated through an angle θ around an axis (x, y, or z).

Position Sensor: Magnetic Field -> Azimuth and geomagnetic inclination data. Orientation (Deprecated, now Rotation) -> Accelerometer, Geomagnetic Proximity -> Lets you determine how far away an object is from a device. Ex: Whatsapp, Call, Instagram, basically all VoIP app.

Environmental Sensor: Temperature Light -> Adaptive brightness Pressure -> Google Pixel 3 squeeze to open Assistant Humidity -> Awair, Nest Protect

Others: GPS -> Google Maps Camera -> Instagram Microphone -> All VoIP app Network -> The whole phone

Gyroscope and Accelerometer Usage

  1. Game Control
  1. Remote Control
  1. Detect Tilt
  1. Shake for Action
  1. Earthquake Detector
  1. Theft Protection
  1. Auto On/Off

Sensor Error

  1. Human error, systematic error, random error
  1. Noise
  1. Drift
  1. Zero Offset
  1. Time Delay, Dropped Data