An inertial measurement unit uses gyroscopes and accelerometers to measure motion and rotation. Here’s how aircraft, spacecraft and drones use that data.
There are a number of ways to construct accelerometers, but the ones in the iPhone (and probably most other consumer-level equipment) specifically are MEMS accelerometers. As I understand it, a change ...