SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By tourg.st
#197344
Hello! I have recently bought a MAG3110 magnetometer. I connected it to an Arduino DUE and used the Sparkfun library and examples.

The readings are something like this
X:64860 Y:546 Z:1875

I don't really understand these readings... Is it a calibration problem?
By Squatch
#198201
I see no one has answered you yet!
I just started working with the MAG3110 breakout board myself but I have figured out a few things so far.
Download this document it will help a lot: http://cache.freescale.com/files/sensor ... 10FAQS.pdf

As for the question you posted, the answer is raw numbers. You have to calibrate the unit to get anything out that resembles degrees of heading or magnetic field strengths. If I rotate my unit 180 degrees the numbers rise and fall by about 420 digits.
May I ask what you are using to interface with the chip? I have a Raspberry Pi 3 using Python.
The "Simple Manual Magnetometer Calibration" document I found on the "Instructables" site - http://www.instructables.com/id/Simple- ... libration/ is helpful as well as the XLoBorg site mentioned there.

Squatch