Thread: TOHKBD rev2
View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#623
Originally Posted by juiceme View Post
I might be wrong but I think the internal compass in smartphones is usually not of the magnetic type, it is rather an inertial compass device. Inertial compass is not sensitive to metallic or magnetic objects nearby.

Why I suspect that; I have tried moving powerful magnets around Jolla and that did not affect the compass reading.
Actually, you usually have both - you have mechanical accelerometers (they measure rate of acceleration and its direction) and sometimes also gyroscopes (they measure the rate & direction of rotation) but you also have the magnetic compass that measures orientation in a magnetic field. It is right that you can go an inertial compass with the help of the two above mentioned sensors, but it would accumulate errors over time and would require periodic calibration from an outside source ("north is this way!" to work correctly).

On the other hand, some compass using applications tell you to rotate the device a few times before use to improve compass accuracy. So my theory is that the compass probably measures magnetic field changes and not absolute values, so strong magnets in a constant distance from the sensors might be be an issue as long the sensor can pick up the magnetic filed changes when the device rotates.

But that's just my guess - a more detailed analysis from someone with actual relevant engineering background would be welcome!
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 4 Users Say Thank You to MartinK For This Useful Post: