Facing problem with FXOS8700 magnetometer values

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Facing problem with FXOS8700 magnetometer values

1,414 次查看
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 项奖励
回复
1 回复

1,253 次查看
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 项奖励
回复