8gcal.txt A= [ 1055, 1059, -774 ] max= [ 2787, 2318, 2211 ] min= [ -282, -2189, -1154 ] avg= [ 1252.5, 64.5, 528.5 ] amp= [ 1534.5, 2253.5, 1682.5 ] Gain= [ 1.09644835451, 0.74661637452, 1 ] S= [ 0.00013384379, 0.00009113969, 0 ]
For the 8 Gauss range the use of the Gain term reduced the variance in the data.
R1 uses raw readings. R1= sqrt( X1^2 + Y1^2 +Z1^2) R1 uses raw readings - offset R2 uses (raw -offset) * gain .
@ClearMemory041063 started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Result of the QD calibration of the LSM9DS1 magnetometer using the 8 Gauss scale.
The calibration results:
Statistical results of using the calibrations
For the 8 Gauss range the use of the Gain term reduced the variance in the data.
R1 uses raw readings. R1= sqrt( X1^2 + Y1^2 +Z1^2)
R1 uses raw readings - offset
R2 uses (raw -offset) * gain
.