Hi all,
I'm trying to use a LIS2MDL Magnetometer. So right now I want to calibrate it, so I've found a sketc coming from Adafruit where we have a hard iron calibration in result we get x,y,z min and max.
But how to use it the calibrate value when we reading magnetometer value ?
How to use calibration result for compass
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- sj_remington
- Posts: 998
- Joined: Mon Jul 27, 2020 4:51 pm
Re: How to use calibration result for compass
The min/max calibration method is also called the six point method, described here: (scroll down the page)
When pasting the link, delete the "#" character, required to get around Adafruit's banned word block:
https://chionophilous.word#press.com/20 ... e-methods/
But it does not work very well. A comprehensive tutorial covering the state of the art is
https://thecavepearlproject.org/2015/05 ... r-arduino/
When pasting the link, delete the "#" character, required to get around Adafruit's banned word block:
https://chionophilous.word#press.com/20 ... e-methods/
But it does not work very well. A comprehensive tutorial covering the state of the art is
https://thecavepearlproject.org/2015/05 ... r-arduino/
Please be positive and constructive with your questions and comments.