I have collected data and cannot get it to point to the correct heading. Its off quite a bit and I cannot adjust as the amount it is off is non-linear. For example, at 0 degrees it shows 100 degrees. But at 45 degrees it shows 170 degrees. Z axis is level and remain constant for the most part.
Here is the data I collected, does it makes sense? I used a compass on my phone and compared to the readings I am getting.
0 degrees North
X 0
Y 155
Z -530
Calculated heading: 100
90 degrees east
X -165
Y 100 (shouldn't this read 0 since it is pointing in same direction X was just at?)
Z -530
Calculated Heading: 224
180 degress South
X: 0
Y: -290
Z: -540
Calculating Heading: 286
270 degrees West
X: 250
Y: -100
Z: -550
Calculated Heading: 252
One thing I am thinking is odd, if at 0 degrees north X axis reads 0, if I rotate 90 degrees to right, would Y axis now read 0?
I am not sure what the axis is measuring, I thought it was force and it I point x axis in one direction, then Y axis in same direction, they would show the same reading...
X and Y are 90 degrees in parallel plane.
I ordered another magnometer hoping a different brand will help. Its still 5883L but different maker of breakout.