HMC5883L mags always return to boot orientation

Post Reply
boaterguy
Posts: 15
Joined: Sun May 17, 2015 4:55 pm

HMC5883L mags always return to boot orientation

Post by boaterguy »

I've had this problem with every single HMC5883L mag I've ever had on a multi running multiwii.
In the gui, it shows a specific orientation, sometimes varying by a degree or so. When I rotate the multi, the compass rotates (I'm assuming it's just picking up a gyro rotation) but then it slowly returns back to the original orientation that it did on boot.
I have my magnetic declination set right (-13.3 for Ottawa, ON, Canada) and have calibrated the mag multiple times. This happens with an external (GPS mounted) mag or an on board mag, on multiple boards. This happens in MW 2.3 and 2.4

I feel like I've seen this happen before on this forum, and I'm assuming I'm just missing something relatively simple. Is there a fix for this?

Arakon
Posts: 196
Joined: Thu Jul 17, 2014 2:22 pm

Re: HMC5883L mags always return to boot orientation

Post by Arakon »

Either you have a strong magnetic field on your Copter near the mag, or you didn't calibrate it properly. I always got exactly that when calibration was wrong or bad.

Post Reply