CPro Magnetometer Data
I can't make sense of the data coming from the magnetometer off the C Pro board:
1) In theory, if you hold the board one direction then flip it and turn it 180 degrees, you should get the inverse magnetometer vector as you had in the starting position. This is not the case. It actually seems impossible to even get the y or z axis to even produce positive numbers.
2) the numbers seem very small, I know almost any algorithm is going to require them to be normalized first, but most magnetometers produce much larger numbers and these low ones are suspicious.
From working with other magnetometers, my guess is an error made in firmware when converting unsigned integer data off the magnetometer to a signed floating point number. But that is just a guess...
This discussion has been closed.
Comments
The coin cell holder is made of nickel plated phosphor bronze and is non magnetic. There may be ferrous material in the EMI shield on the radio module, or there may be residual polarization in the battery.
For best results an AC type demagnetizer should be used, as these can completely remove the polarization. As there may be ferrous material in the EMI shield, the entire sensor device should be demagnetized. Here is an example of this type of demagnetizer: https://www.amazon.com/Farmunion-Screwdriver-Electrical-Demagnetise-Demagnetizer/dp/B016TK6LGQ/ref=sr_1_1?s=industrial&ie=UTF8&qid=1471551446&sr=1-1&keywords=watch+demagnetizer