This paper suggests that you get a 10% error rate when using a 10Hz sampling rate, this reduces to 2.5% for a 50Hz sampling rate. In the chart below magnitude is the algorithm Bangle is using.
Having said that the problem is still down to the detection of steps when basically sat still.
So its not filtering out the one off movements whens sleeping, sat at a desk etc.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
This paper suggests that you get a 10% error rate when using a 10Hz sampling rate, this reduces to 2.5% for a 50Hz sampling rate. In the chart below magnitude is the algorithm Bangle is using.
https://www.researchgate.net/publication/321413174_Sampling_Frequency_for_Step_Detection_Based_on_Smartphone_Accelerometry
Having said that the problem is still down to the detection of steps when basically sat still.
So its not filtering out the one off movements whens sleeping, sat at a desk etc.
1 Attachment