how to deal the data from mag3110

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

how to deal the data from mag3110

791 Views
172809727
Contributor I

recently i use the magnetometer mag3110, i have read the correct data from the sensor. but how i use these datas effectivly?  i want to calculate the angle.  but i even don`t know what`s the angle really mean as the sensor`s data and how to calculate.  so can someone help me? 

Labels (1)
0 Kudos
1 Reply

571 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Mandy,

I would recommend you to take a closer at my example code where I illustrate a very simple technique to calculate compass heading using the atan2() function.

For a more complex tilt and interference-compensated e-compass, please refer to this article, AN4248 and E-Compass Software|NXP.

Hope it helps.

Best regards,

Tomas

0 Kudos