I did the magnetic calibration here on the LSM303DLHC for a field roughly 48 uT. The method seems to have worked in that the
combined bias (b) values went from thousands to hundreds like the tutorial says they should
The readings are around 48uT indeed, but they vary by +/- 50% upon moving the sensor around. Is this the expected behaviour ?
From the comments:
- Calibrated and tested in the same spot.
- Was unable to obtain any better calibration values than those from the second run (meaning the first actual calibration run) - tried running the calibration program again and again but the
combined bias (b)values from
magneto12software did not get any closer to 0 (neither did they stay the same).
I have read today about elevation and bank angle effects (collectively called tilt) on the magnetometer's axial sensitivities. I'll be diving deeper into it. Don't know if that is my issue indeed
Nope, seems that tilt effect is used for correcting heading readings (yaw angle around the z axis) and after doing the correction the overall field magnitude does not change. Just tried again calibrating it with some longer wires running from the Arduino to the module - same deal. Perhaps their accuracy is just not as good as their advertised precision is.