Facing problem with FXOS8700 magnetometer values

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Facing problem with FXOS8700 magnetometer values

1,316 Views
sankarsalla
Contributor II

Hi All,

1.I am working on FXOS8700 freescale accelerometer  and magnetometer in android kitkat.

2.From driver level am able to get magnetometer values in sysfs entry like x=700,y=800,z=-1398  and based on datasheet i have multiplying with 0.1 microtesla.

3.But i have cross verified with other android mobiles but values are not matched.

4.For getting exact values any calibration needed?

5.If calibration or anything i am missing,please let me know.  

Please help me to solve this issue.

Note:  I am getting proper accelerometer values with  multiplying 0.244.

Thanks & Regards,

Sankar.

0 Kudos
Reply
1 Reply

1,155 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Sankar,

The magnetometer requires calibration not only for its own offset, but also against spurious magnetic fields resulting from any nearby ferromagnetic components.

 

For more information, please refer to both AN4246 “Calibrating an eCompass in the Presence of Hard and Soft-Iron Interference” and AN4248 “Implementing a Tilt-Compensated eCompass using Accelerometer and Magnetometer Sensors”.

Best regards,

Tomas

0 Kudos
Reply