Technology & Digital Life - Hardware and software - Magnetic compasses - Smartphones
Which smartphone sensor supplies magnetic field readings for the compass function?
Correct!
A magnetometer measures the local magnetic field. Combined with other information, such as the device’s tilt, software can derive a compass heading from it. This is a measurement of the field at the phone’s location, rather than a direct request to a satellite for the direction of north. Magnetic objects and other nearby interfering fields can affect the measurement. A single magnetic field reading is also not a complete geographic position. The other sensors listed provide air pressure, brightness, or proximity information. They can be important for many device functions, but do not perform the magnetic field measurement asked about here.


