ST意法半导体
直播中

寇昕

7年用户 248经验值
私信 关注
[问答]

LIS3DH步数如何计算

亲爱的先生,
请告诉我如何计算步数,距离,速度,卡路里。基于X,Y,Z值..
问候,
Manoj Hiwarkar

以上来自于谷歌翻译


以下为原文




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)

曾玲娟

2019-4-3 14:24:40
这不是那么容易,但作为开始你应该使用我们的计步器(MotionPM)或计步器用于腕式设备(MotionPW)库
http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-mems1.html
这些库能够根据加速度数据计算步数,然后你可以将步数乘以平均步长并得到不动,类似于速度。

以上来自于谷歌翻译


以下为原文




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.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分