PreArm: Compass not calibrated

Hello everyone,
I am using Pixhawk 2.4.8 AND MISSION PLANNER, I am getting PreArm: Compass not calibrated error.
Can anyone help me out with this issue. Also, I am using Ublox M8N compass.


Updated the connections for Ublox M8N but still showing the same error.

3/8/2021 3:37:21 PM : PreArm: Compass not calibrated
3/8/2021 3:37:21 PM : PreArm: Compass not calibrated
3/8/2021 3:37:21 PM : PreArm: Hardware safety switch
3/8/2021 3:36:51 PM : PreArm: Compass not calibrated
3/8/2021 3:36:51 PM : PreArm: Compass not calibrated
3/8/2021 3:36:51 PM : PreArm: Hardware safety switch
3/8/2021 3:36:21 PM : PreArm: Compass not calibrated
3/8/2021 3:36:21 PM : PreArm: Compass not calibrated
3/8/2021 3:36:21 PM : PreArm: Hardware safety switch
3/8/2021 3:36:15 PM : RCInput: decoding PPM
3/8/2021 3:35:52 PM : u-blox 1 HW: 00080000 SW: 2.01 (75331)
3/8/2021 3:35:51 PM : PreArm: Compass not calibrated
3/8/2021 3:35:51 PM : PreArm: Compass not calibrated
3/8/2021 3:35:51 PM : PreArm: Hardware safety switch
3/8/2021 3:35:51 PM : PreArm: Throttle below Failsafe
3/8/2021 3:35:50 PM : GPS: u-blox 1 saving config
3/8/2021 3:35:43 PM : RCOut: PWM:1-12
3/8/2021 3:35:43 PM : Frame: HEXA
3/8/2021 3:35:43 PM : Pixhawk1 0053002A 3039510A 36373532
3/8/2021 3:35:43 PM : ChibiOS: d4fce84e
3/8/2021 3:35:43 PM : ArduCopter V4.0.7 (0bb18a15)
3/8/2021 3:35:42 PM : Frame: HEXA
3/8/2021 3:35:42 PM : RCOut: PWM:1-12
3/8/2021 3:35:42 PM : Pixhawk1 0053002A 3039510A 36373532
3/8/2021 3:35:42 PM : ChibiOS: d4fce84e
3/8/2021 3:35:42 PM : ArduCopter V4.0.7 (0bb18a15)

So calibrate it…

1 Like

Can you please help me with the exact way to calibrate Ublox M8N? There are multiple things available on the internet and I am confused.
P.S: I am beginner and just getting into DIY drone system.

Also I tried using localhost port 500 but it is showing wrong location in mission planner

Compass calibration issue is resolved. I started the process from scratch and it worked.

How did you solved the problem can you help

You go outside away from any steel or electrical interference, wait for a good GPS 3D fix and then do the compass calibration.