Hi there 👋
Welcome to my blog
This blog post covers how to automatically and continuously calibrate a magnetometer so that it can be used to calculate accurate headings. Calibration The samples from each axis usually have a different scale and offset from zero. One of the easiest ways for calibration to remove the offset and rescale the measurements. This requires knowing the minimum and maximum reading on each axis. Usually one collects samples while rotating the magnetometer in all directions, e....