Learn how to construct and calibrate a digital compass using a magnetometer in this comprehensive 26-minute video tutorial. Explore the process of measuring the Earth's magnetic field strength and direction, and understand the challenges posed by hard iron distortions and soft iron distortions. Discover techniques for performing hard iron and soft iron calibration to improve accuracy. Follow along as the instructor demonstrates the calibration process using Adafruit SensorLab and PJRC MotionCal, and learn how to create a calibrated digital compass. Gain insights into incorporating magnetic declination to convert magnetic headings to geographic headings. Access example code, product links, and additional resources to further enhance your understanding of magnetometer calibration and digital compass creation.
Overview
Syllabus
Introduction
Magnetometer Settings
Calculating Headings
Hard and Soft Iron Distortion
Arduino
Jupyter
Motioncal
Soft Iron Calibration
Digital Compass
Magnetic declination
Taught by
Digi-Key