Solved
Hi, We use High-accuracy, ultra-low-power, 3-axis digital output magnetometer for a project and I wanted to detailed information about x,y,z values and how can we calculate the amplitude value?
..
..
Hi @ABulu.2 ,
you might check the iis2mdc_reg.c driver on github for the LSB to milliGauss conversion formula. I'm reporting them here for simplicity:
// Magnetometer raw data conversion
float_t iis2mdc_from_lsb_to_mgauss(int16_t lsb)
{
return ((float_t)lsb) * 1.5f;
}
// Temperature sensor raw data conversion
float_t iis2mdc_from_lsb_to_celsius(int16_t lsb)
{
return (((float_t)lsb / 8.0f) + 25.0f);
}-Eleon
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.