Skip to main content
Visitor II
December 8, 2017
Question

ISM330DLC EU Calculation

  • December 8, 2017
  • 1 reply
  • 731 views
Posted on December 08, 2017 at 19:04

Can someone explain how to calculate the mg, dps, and temperature for the data read from the corresponding registers?  I'm trying to understand how to determine the scaling.  The datasheet eludes to using the rate and FS settings to determine this. 

    This topic has been closed for replies.

    1 reply

    Graduate II
    December 11, 2017
    Posted on December 11, 2017 at 15:50

    Yes, the Full Scale (FS) setting determines ''range'' of the 16-bit values, ie for +/-16G into +32767/-32768

    16 / 32768 = 488E-6 or 0.488mG

    int16_t LA; // register content

    double la;

    la = (double)LA * 0.488e-3; // Linear Acceleration in G

    0690X0000060PGGQA2.jpg