cancel
Showing results for 
Search instead for 
Did you mean: 

ISM330DLC EU Calculation

Steven Keeter
Associate III
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. 

1 REPLY 1
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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..