Skip to main content
Visitor II
May 10, 2019
Question

LIS3DHTR, HOW TO ?G" CONVERSION

  • May 10, 2019
  • 0 replies
  • 549 views

Hi, All!

I'm using LIS3DHTR with range:2G, sensitivity:1mg/digit, HR:1.

Now I get the raw value like these:

X=-4800 Y=432 Z=15136

These value are from the sensor which quietly placed on the table(sensor faced -Z on the table).

If I get the "g" value ...

float x[g] = (float)X / 16 / 1000 ... Is this calculation correct ???

    This topic has been closed for replies.