# Compass 1 Uncalibrated Error

**URL:** <https://discuss.px4.io/t/compass-1-uncalibrated-error/29186>\
**Category:** Pixhawk\
**Created:** [September 27, 2022, 8:41pm UTC](https://discuss.px4.io/t/compass-1-uncalibrated-error/29186 "2022-09-27T20:41:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron1356](https://discuss.px4.io/user_avatar/discuss.px4.io/aaron1356/32/10963_2.png) [@Aaron1356](https://discuss.px4.io/u/Aaron1356)\
**Post date:** [September 27, 2022, 8:41pm UTC](https://discuss.px4.io/t/compass-1-uncalibrated-error/29186/1 "2022-09-27T20:41:52Z")

</div>

Hello I am having an issue with my Pixhawk 6C. The error that I am getting is Preflight Fail: Compass 1 uncalibrated. The both GPS modules i tried are consistently blinking red as well. I already calibrated the compass outside as well as the accelerometer. I tried using a Holybro M8N GPS module connected into the GPS1 slot and a Here3 connected to the CAN1 slot still the same problem. Does anyone have any ideas on how to fix the issue?

Setup:  
Airframe: Generic Quadcopter  
Firmware: PX4 Custom Build from Master Branch (v1.13.0 beta)  
Date: September 27, 2022  
Daily QGC Build

Thank you,  
Aaron Porter

---

<div class="post-metadata">

**Author:** ![Aaron1356](https://discuss.px4.io/user_avatar/discuss.px4.io/aaron1356/32/10963_2.png) [@Aaron1356](https://discuss.px4.io/u/Aaron1356)\
**Post date:** [September 27, 2022, 9:23pm UTC](https://discuss.px4.io/t/compass-1-uncalibrated-error/29186/2 "2022-09-27T21:23:10Z")

</div>

I found a work around to my problem, after each boot up I have to recalibrate the compass again for some reason and that fixed the issue. Please let me know if there is a parameter that is needs to be set. Recalibrating the compass after each use is not ideal.

Thank you again,  
Aaron Porter

---

<div class="post-metadata">

**Author:** ![farhang](https://discuss.px4.io/user_avatar/discuss.px4.io/farhang/32/17881_2.png) [@farhang](https://discuss.px4.io/u/farhang)\
**Post date:** [September 28, 2022, 6:56am UTC](https://discuss.px4.io/t/compass-1-uncalibrated-error/29186/3 "2022-09-28T06:56:18Z")

</div>

Hey,  
Is this master installed with QGC? Or you pulled it yourself?

---

<div class="post-metadata">

**Author:** ![Aaron1356](https://discuss.px4.io/user_avatar/discuss.px4.io/aaron1356/32/10963_2.png) [@Aaron1356](https://discuss.px4.io/u/Aaron1356)\
**Post date:** [September 28, 2022, 2:37pm UTC](https://discuss.px4.io/t/compass-1-uncalibrated-error/29186/4 "2022-09-28T14:37:56Z")

</div>

Thank you, Originally I had it on a build that I pulled from Github. After your question, I tested the master build from QGC and it worked fine without needing to recalibrate the GPS compass every start up.

Out of Curiousity, do you know why the build on Github and the build on QGC are different?

Thank you again

---

<div class="post-metadata">

**Author:** ![AWilkins\_Ascend](https://discuss.px4.io/user_avatar/discuss.px4.io/awilkins_ascend/32/8388_2.png) [@AWilkins\_Ascend](https://discuss.px4.io/u/AWilkins_Ascend)\
**Post date:** [September 28, 2022, 2:55pm UTC](https://discuss.px4.io/t/compass-1-uncalibrated-error/29186/5 "2022-09-28T14:55:40Z")

</div>

per @farhang : It might be that CI tests have to pass before released to QGC’s master. As compared to Github where once merged into master it is just there

---

<div class="post-metadata">

**Author:** ![Aaron1356](https://discuss.px4.io/user_avatar/discuss.px4.io/aaron1356/32/10963_2.png) [@Aaron1356](https://discuss.px4.io/u/Aaron1356)\
**Post date:** [September 29, 2022, 4:25pm UTC](https://discuss.px4.io/t/compass-1-uncalibrated-error/29186/6 "2022-09-29T16:25:41Z")

</div>

As an update, I tried to recreate the Compass 1 Uncalibrated Error yesterday by reflashing the Pixhawk 6C with the cloned firmware that I compiled from main. To get the log files, and post them here. Unfortunately, I was not able to recreate the error, so I am not sure if it was a fluke error on my part.
