3-axis Accelerometer Review » History » Version 1
Version 1/2
-
Next » -
Current version
Mariana Calado, 08/11/2022 00:38
3-axis Accelerometer Review¶
Accelerometer data:
Acceleration along x - axis
Acceleration along y - axis
Acceleration along z – axis
Magnitude of 3-D acceleration data:
Sqr(acc_x^2 + acc_y^2 + acc_z^2)
Get the difference in this magnitude from the previous value.
If the value is greater than a particular threshold value, then increment the steps count.
-Threshold for walking = 6
-Threshold for running = 10