3-axis Accelerometer Review » History » Version 2
Mariana Calado, 08/11/2022 00:43
1 | 2 | Mariana Calado | h1. 3-axis Accelerometer |
---|---|---|---|
2 | 1 | Mariana Calado | |
3 | 1 | Mariana Calado | Accelerometer data: |
4 | 1 | Mariana Calado | Acceleration along x - axis |
5 | 1 | Mariana Calado | Acceleration along y - axis |
6 | 1 | Mariana Calado | Acceleration along z – axis |
7 | 1 | Mariana Calado | |
8 | 1 | Mariana Calado | Magnitude of 3-D acceleration data: |
9 | 1 | Mariana Calado | Sqr(acc_x^2 + acc_y^2 + acc_z^2) |
10 | 1 | Mariana Calado | |
11 | 1 | Mariana Calado | Get the difference in this magnitude from the previous value. |
12 | 1 | Mariana Calado | |
13 | 1 | Mariana Calado | If the value is greater than a particular threshold value, then increment the steps count. |
14 | 1 | Mariana Calado | -Threshold for walking = 6 |
15 | 1 | Mariana Calado | -Threshold for running = 10 |
16 | 1 | Mariana Calado | |
17 | 1 | Mariana Calado | Ref: |
18 | 1 | Mariana Calado | [[https://programmerworld.co/android/how-to-create-walking-step-counter-app-using-accelerometer-sensor-and-shared-preference-in-android/ |
19 | 1 | Mariana Calado | ]] |