摘要
设计了一种基于STM32和LIS3DSH的高精度计步器。为了提高计步器的准确性,充分利用加速度传感器输出的三轴加速度信号,经数据预处理,采用动态阈值和峰值检测的改进算法。根据人体运动特征检测人体运动时加速度的变化,实现准确计步,并具备数据传输功能。实验结果表明,该计步器具有体积小、功耗低、精度高的特点。
A high-precision pedometer based on STM32 and LIS3DSH is designed. In order to improve the accuracy of the pedometer,the three axis acceleration signals output by the acceleration sensor are processed by data preprocessing,then the improved algorithm of dynamic threshold and peak detection are used to detect the change of acceleration when the body moves, According to the characters of the body movement, the pedometer can accurately calculate the steps and has the data transmission function. The experiment results indicate that this pedometer has the characteristics of small size, low power consumption, high precision.
出处
《单片机与嵌入式系统应用》
2016年第3期70-73,共4页
Microcontrollers & Embedded Systems