I have been using a MAG 3110 magnetometer to try and find the readings on three axis. However, when I used the sample magnetometer program that gets the basic reading from the sensor using Wire.h, I get readings way off the charts, especially for the x-axis.
Ranges from one run: x: 64945 - 64337 y: 24092 - 670 z: 1152 - 994
Ranges from second run: x:64917- 64375 y:1016 - 481 z:1165 -1030
I've programmed in a manual scaling to get ranges close to 0, however x is still abnormally high. Since it is a 16 bit processor, the max x can go is 65536, and it is pretty close to that point. Could you please explain to me why x is so high and how to fix it / get it into the correct range? Any help would be appreciated.
Thanks :) -AtomicDragon