5 ms·
I tried to use my Android phone as a compass for aiming my roof antenna... it was not very accurate.
by Spoom 10y ago
I tried to use my Android phone as a compass for aiming my roof antenna... it was not very accurate.
- knodi123 10y agoIt's too sensitive. the ones attached to a physical pointer have inertia, and therefore resist oscillating or brief interference. Whereas the ones in your phone can actually give you an instantaneous reading, which is way more vulnerable to the odd magnetic fluctuation in the air. If your android compass took a hundred readings a second and gave you a rolling average of the last two seconds, that would probably be better... (note, just a theory, but one that seems consistent with my observations)
- jessaustin 10y agoThe earth's isn't the only magnetic field to which the phone is exposed, but unless one installs an antenna in a problematic location it should certainly be the dominant field. I have a hard time believing that the behavior described is "too good". It seems more likely that the phone is interfering with itself, and the circuitry required to avoid that simply isn't justified from a BOM perspective.
- Piskvorrr 10y agoAlso, any metallic object in the vicinity. Took me a while to realize why the compass goes haywire whenever I hold the phone with my left hand: a ferromagnetic-metal ring right beneath the device.
- caf 10y agoIf that was the problem then it would be easy enough to implement a damping filter in software.
- knodi123 10y agodoes the hardware sensor report the strength of the magnetic field? Can't average out your readings unless they have a magnitude...