Home > Electronic Compass > Application Notes > Method for converting compass/digital type magnetic sensor's measurements to magnetism

Method for converting compass/digital type magnetic sensor's measurements to magnetism

 

Physical quantities (milligauss) from magnetic data (*LSB) as below:

 

datax[×LSB] = DATAX –(※1) (FINEOUTPUT_X * ( OFFX - OFFOTPX) )

Hx[milli gauss] = datax * 1000 / SENSX

(※1)Whether it becomes a - (minus) or + (plus) varies based on the sensor type and axis as written below.

(※2)Not stored in the sensor's OTP

 As such, SENSX,Y,Z is 300 and FINEOUTPUTX,Y,Z must be individually measured and found.