cancel
Showing results for 
Search instead for 
Did you mean: 

Could someone please let me know what units the H3LIS200DLTR Accelerometer transmits data in please

JMorr.5
Associate

We are having a few issues with the size of the numbers we are receiving so want to check the units are m/s.

1 ACCEPTED SOLUTION

Accepted Solutions
Eleon BORLINI
ST Employee

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:

0693W00000Y8mgWQAR.png 

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

View solution in original post

1 REPLY 1
Eleon BORLINI
ST Employee

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:

0693W00000Y8mgWQAR.png 

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