SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By nikbjo
#194228
I have trouble getting useful data from a 9DoF Razor M0.
Using the "default" firmware to display heading it changes between 50 and 130 (eg. when rotating in any direction it never become <50 or >130)
And if i look at the magnetic values, when flat on the desk i have an x=63.62 and y=-2.7, and if i rotate it 90° ccw so that y should be in the direction of x (as printed on the circuit board), i get x=67.37, and y=-8.25.
Shouldnt the new magnetic y-value be the same as the old x-value?

When rotating around all axis the x-values goes between 20 to 120, the y-values beween -45 to 40 and z-values beween -90 to 10.