How Digital Compass Sensors Work
Modern mobile devices determine orientation using a microscopic tri-axis Hall-effect magnetometer paired with solid-state MEMS gyroscopes and accelerometers.
The magnetometer measures the local magnetic flux density of the Earth's geomagnetic field in microteslas (µT). The device fusion algorithm combines these readings with gravitational accelerometer vectors to compute the precise tilt-compensated azimuth bearing relative to Magnetic North.
True North vs. Magnetic North
- True North (Geodetic North): The northern axis of rotation of the Earth (the North Pole).
- Magnetic North: The location where the geomagnetic field points vertically downwards into the Earth. The magnetic pole currently wanders near the Arctic Ocean.
- Magnetic Declination: The angular difference between True North and Magnetic North at your specific location. Navigators add or subtract declination to convert magnetic compass bearings to true paper map headings.