# Unable to setup compass

Source: https://forum.modalai.com/topic/2435/unable-to-setup-compass
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2
Posted: 2023-07-17 21:39:37 UTC by RiveraDn
Replies: 5 · Views: 893

## RiveraDn · 2023-07-17 21:39:37 UTC

Hello there!

I tried to configure my VOXL2 (1.0.0) with a custom airframe using QGC. However, I encountered an error message when attempting to calibrate the compass:

"Start the individual calibration steps by clicking one of the buttons to the left.
[cal] calibration started: 2 mag
No mags found
[cal] calibration failed: mag"

Any information or assistance would be greatly appreciated!

Cheers.

## Reply by Eric Katzfey (ModalAI staff) · 2023-07-18 16:33:29 UTC

@RiveraDn What magnetometer are you using? It appears that your magnetometer driver is not working properly.

## Reply by RiveraDn · 2023-07-18 17:15:09 UTC (in reply to Eric Katzfey)

Hey @Eric-Katzfey, I'm using the GPS included with the VOXL2 Flight Deck (https://www.modalai.com/products/voxl-2-gps-mag-rc-assembly?variant=40673762836531).
Do you have any tips on how to update/fix the driver? Just a side note, it was working perfectly fine before I updated to 1.0.0 (previous suite was 0.9.4).
Thanks in advance!

## Reply by Eric Katzfey (ModalAI staff) · 2023-07-18 17:20:55 UTC (in reply to RiveraDn)

@RiveraDn What about the GPS, is that working fine? And the big LED on top of the unit, is it illuminating?

## Reply by RiveraDn · 2023-07-21 22:44:12 UTC (in reply to Eric Katzfey)

@Eric-Katzfey As for now, it is blinking with a red color. I was able to do a compass calibration, but it does not show the location in the map. I'll try to investigate on the matter. Thank you for your responses.

## Reply by kailyGen · 2025-10-30 06:33:36 UTC (in reply to RiveraDn)

I have the same problem before — turns out the compass setup finally worked after I did a full sensor recalibration in QGroundControl and made sure the GPS/compass was facing the right direction. Worth a try if you haven’t done that yet!
You can also try this tool for free. https://123compass.org/
