# Pixhawk 2 mag calibration failure with here GPS module

**URL:** <https://discuss.px4.io/t/pixhawk-2-mag-calibration-failure-with-here-gps-module/2869>\
**Category:** Uncategorized\
**Created:** [March 26, 2017, 4:47am UTC](https://discuss.px4.io/t/pixhawk-2-mag-calibration-failure-with-here-gps-module/2869 "2017-03-26T04:47:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![smgoza](https://discuss.px4.io/user_avatar/discuss.px4.io/smgoza/32/6335_2.png) [@smgoza](https://discuss.px4.io/u/smgoza)\
**Post date:** [March 26, 2017, 4:47am UTC](https://discuss.px4.io/t/pixhawk-2-mag-calibration-failure-with-here-gps-module/2869/1 "2017-03-26T04:47:58Z")

</div>

If I plug in the Here GPS module into my Pixhawk 2 then I get the following error in QGC in the calibration compass.

Start the individual calibration steps by clicking one of the buttons to the left.  
[cal] calibration started: 2 mag  
[cal] Skipped scale calibration, sensor 1  
[cal] Skipped scale calibration, sensor 2  
[cal] Mag 3 no device id, abort  
[cal] calibration failed: mag

If I remove the module, then I can calibrate the compass without issues.

What is the problem here? I thought this module was designed to work with the PH2.

---

<div class="post-metadata">

**Author:** ![dagar](https://discuss.px4.io/user_avatar/discuss.px4.io/dagar/32/22_2.png) [@dagar](https://discuss.px4.io/u/dagar)\
**Post date:** [March 26, 2017, 5:07am UTC](https://discuss.px4.io/t/pixhawk-2-mag-calibration-failure-with-here-gps-module/2869/2 "2017-03-26T05:07:43Z")

</div>

I think it might have to do with the 3 other internal mags. I’ll open an issue on Github.

---

<div class="post-metadata">

**Author:** ![dagar](https://discuss.px4.io/user_avatar/discuss.px4.io/dagar/32/22_2.png) [@dagar](https://discuss.px4.io/u/dagar)\
**Post date:** [March 26, 2017, 5:11am UTC](https://discuss.px4.io/t/pixhawk-2-mag-calibration-failure-with-here-gps-module/2869/3 "2017-03-26T05:11:27Z")

</div>

> <https://github.com/PX4/Firmware/issues/6898>

---

<div class="post-metadata">

**Author:** ![raphydaphy](https://discuss.px4.io/letter_avatar_proxy/v4/letter/r/f04885/32.png) [@raphydaphy](https://discuss.px4.io/u/raphydaphy)\
**Post date:** [June 7, 2017, 12:49am UTC](https://discuss.px4.io/t/pixhawk-2-mag-calibration-failure-with-here-gps-module/2869/4 "2017-06-07T00:49:52Z")

</div>

I’m having a similar issue with my Pixhawk Mini and the GPS it came with. Anyone know how to solve this?

---

<div class="post-metadata">

**Author:** ![smgoza](https://discuss.px4.io/user_avatar/discuss.px4.io/smgoza/32/6335_2.png) [@smgoza](https://discuss.px4.io/u/smgoza)\
**Post date:** [June 8, 2017, 12:25pm UTC](https://discuss.px4.io/t/pixhawk-2-mag-calibration-failure-with-here-gps-module/2869/5 "2017-06-08T12:25:05Z")

</div>

Mine appears to be solved when I downloaded the latest from master, merged, and then recompiled with my code. It at least let me go through the mag calibration without issues. I have yet to try it IRL.

---

<div class="post-metadata">

**Author:** ![Kaiserollz](https://discuss.px4.io/letter_avatar_proxy/v4/letter/k/22d042/32.png) [@Kaiserollz](https://discuss.px4.io/u/Kaiserollz)\
**Post date:** [July 25, 2017, 4:58am UTC](https://discuss.px4.io/t/pixhawk-2-mag-calibration-failure-with-here-gps-module/2869/6 "2017-07-25T04:58:41Z")

</div>

Sorry, im a bit new with all of this, but I’m having a very similar problem. Where did you download the latest from? And was it a different version than a program like qgroundcontrol downloads automatically? And how exactly did you get the better version on your pixhawk?

Thanks

---

<div class="post-metadata">

**Author:** ![Joseph\_Marrone](https://discuss.px4.io/user_avatar/discuss.px4.io/joseph_marrone/32/3916_2.png) [@Joseph\_Marrone](https://discuss.px4.io/u/Joseph_Marrone)\
**Post date:** [November 29, 2017, 4:55pm UTC](https://discuss.px4.io/t/pixhawk-2-mag-calibration-failure-with-here-gps-module/2869/7 "2017-11-29T16:55:32Z")

</div>

Having trouble calibrating Pixhawk mini. First calibrated the Pixhawk mini by itself using QGC. Everything looked good and I could see it moving on the QGC screen. Then I added the GPS unit and telemetry Tx/Rx and put the whole system on a breadboard to test everything out as a system. I got error message mag 0 and mag 1 not calibrated. So I then tried a re-calibration of the entire breadboard with every thing attached. The calibration procedure stopped after the first axis rotations with the Pixhawk beeping, then an error log displayed in QGC. It would not let me continue with the rest of the 6 axis calibration.

What’s the problem?

Joe
