This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How does the magnetometer exactly work?
#2
The magnetometer measures the three components individually. For an analysis of uncertainties in your measurement, you should keep in mind a number of things
– first and foremost: unless you switched to “raw data” in the three dots menu, the data is calibrated in order to compensate for magnetic fields that are fixed to the smart device‘s orientation like internal currents,
– the calibration process typically involves data from the gyroscope (rotation rate sensor) and the accelerometer,
– the data is provided by the smartphone and/or sensor firmware, so we cannot definitely say that it is not averaged, for instance.

You could obtain accuracy information from the sensor‘s technical specification. On Android, you find the sensor identification by tapping the encircled “i” in the menu and “Device Info”. For Apple devices, you might find details on tear-down sites like iFixit or others. Then you need to search for details by the sensor manufacturer – if public. The sensors are driven in different modes, though, and you cannot be entirely sure which of these is used.
Reply


Messages In This Thread
RE: How does the magnetometer exactly work? - by Jens Noriʇzsɔɥ - 01-10-2025, 12:49 PM

Forum Jump: