Skip to main content
KJ_it
Visitor II
May 8, 2023
Question

I'm trying to build a data acquisition system using ISM330DHCX and a Raspberry pi 3. The output values that I'm getting through i2c is very high. What's the conversion formula to convert register output(16-bit) to the final output

  • May 8, 2023
  • 1 reply
  • 777 views

..

    This topic has been closed for replies.

    1 reply

    niccolò
    ST Employee
    May 10, 2023

    Hi @KJ.2ose​ ,

    the formula to apply is:

    data[mg] = data[LSB] * Sensitivity

    where the sensitivity depends on the Full Scale you are using.

    you can find all the possible values in table 2, page 10 of the datasheet.

    If this is what you were looking for, please, flag this post as Best Answer =)

    Niccolò