ExperimentMPU9250 · AK8963 magnetometer
MPU9250 heading
The MPU6050's big sibling: nine axes, and a compass.
The story, in 3 stages
- 01Nine axes
- 02North
- 03Heading
(01)The instrument
Heading
042°
Clean field. Believe it.
A simulation of how the part behaves — not a recording of mine. Bench photos go in the evidence below.
(02)Nine axes → North → Heading
- 01 · Nine axes→
Motion, plus a field
A gyroscope, an accelerometer — and an AK8963 magnetometer on board. Three more axes, measuring the magnetic field instead of motion.
- 02 · North→
North, give or take
A magnetometer points at magnetic north, give or take everything metal nearby. Motors, steel and laptops bend the field, which is why compasses need calibrating before you believe them.
- 03 · Heading■
A heading that holds
Combine the magnetometer with the accelerometer's sense of down and you get a heading that stays put even when the board isn't lying flat.
(03)On my bench
What I actually did with it
- 01On the bench next to the MPU6050
[ADD — what you built with it]
(04)Evidence
Related on the bench