How can we use 3-D accel data to calculate the acceleration value?
We get three 16-bit value from the register of ISM330DLC, how to use the three values to calculate the acceleration? Please help.
We get three 16-bit value from the register of ISM330DLC, how to use the three values to calculate the acceleration? Please help.
Hi, you can check the datasheet for the conversion formula and the sensitivities, but I found a C sample code on GitHub that if maintained by ST, and where you can find the conversion formula. The "lsb" are the raw data to be inserted in:
float_t ism330dlc_from_fs2g_to_mg(int16_t lsb)
{
return ((float_t)lsb * 0.061f);
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.