2023-01-09 07:18 AM
We are having a few issues with the size of the numbers we are receiving so want to check the units are m/s.
Solved! Go to Solution.
2023-01-20 07:37 AM
Hi @JMorr.5 ,
The output of the H3LIS200DLTR, for all ST accelerometers and sensors in general, is in digit, or LSB, referring to a Full Scale.
For the LSB to g conversion, you have to multiply the 8-bit output for the sensitivity that you can find on the device datasheet:
For the conversion formula, you can refer to the C examples on Github --> h3lis100dl_reg.c
float_t h3lis100dl_from_fs100g_to_mg(int8_t lsb)
{
return ((float_t)lsb / 256.0f) * 780.0f;
}
-Eleon
2023-01-20 07:37 AM
Hi @JMorr.5 ,
The output of the H3LIS200DLTR, for all ST accelerometers and sensors in general, is in digit, or LSB, referring to a Full Scale.
For the LSB to g conversion, you have to multiply the 8-bit output for the sensitivity that you can find on the device datasheet:
For the conversion formula, you can refer to the C examples on Github --> h3lis100dl_reg.c
float_t h3lis100dl_from_fs100g_to_mg(int8_t lsb)
{
return ((float_t)lsb / 256.0f) * 780.0f;
}
-Eleon