@jeffmer - like your dc filter a lot. This is one of my samples, about 10 seconds in once I am up and walking. I can clearly see any bias being corrected. Very nice. I will run some tests to see where RAW_THRESHOLD could be set.
That’s a very nice demonstration of it in action. I have now dispensed with calibration as the results I get using the filter are exactly the same as I got with calibrating the accelerometer. I am using a threshold of 15 which gives accurate walking while reducing the count from other activities.
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.
@jeffmer - like your dc filter a lot. This is one of my samples, about 10 seconds in once I am up and walking. I can clearly see any bias being corrected. Very nice. I will run some tests to see where RAW_THRESHOLD could be set.
1 Attachment