You are reading a single comment by @jeffmer and its replies.
Click here to read the full conversation.
-
@jeffmer - could you attach the Espruino/libs/misc/stepcount.c file. I'd like to have a look at RAW vs DCfilter output on a graph. Also just easier to see the full context by looking at the whole code etc.
Thanks, here are the results for those files. First the current algorithm with threshold 17:
and next the algorithm with the DCFilter and threshold 15:
It's marginal but in my view, the DCFilter helps here.