Skip to main content
Visitor II
January 9, 2023
Solved

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

  • January 9, 2023
  • 1 reply
  • 636 views

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

    This topic has been closed for replies.
    Best answer by Eleon BORLINI

    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

    1 reply

    ST Employee
    January 20, 2023

    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