Reference

Notes on Geomagnetic Sensor

Direction may not be measured correctly due to effects of the surrounding environment.