cancel
Showing results for 
Search instead for 
Did you mean: 

LIS3DH Step count calculation

Manoj Hiwarkar
Associate III
Posted on May 17, 2018 at 11:50

Dear sir,

Please tell me how to calculate the step count, distance,speed,calories. On the basis of X,Y,Z Values..

Regards,

Manoj Hiwarkar

1 REPLY 1
Miroslav BATEK
ST Employee
Posted on May 22, 2018 at 21:11

It is not so easy, but as start you should use our Pedometer (MotionPM) or Pedometer for wrist devices (MotionPW) libraries which are available in

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-mems1.html

package.

These libraries are able to count steps based on accleration data, then you can multiply the step count by average step lenght and get disctance, similarly the speed.