Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Calibrate a Magnetometer

Digi-Key via YouTube

Overview

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.

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

Reviews

Start your review of How to Calibrate a Magnetometer

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.