• Actually scratch that - I just had another go - using just a bandpass filter limited to acceptable step speeds I'd googled online - and it's doing a much better job with the step counts.

    RAM usage is now ~60 bytes vs the 16 before (or 1400 for the oxford counter). I've just committed it to master, so if you try one of the latest builds it should work. All you need is to use a normal pedometer - not the active one.

    The filter does a pretty good job of detecting repetitive steps all by itself now.

    The Oxford step count folks deserve a lot of credit for this though. While I didn't use any of their code, I did use the filter designer website they had found, as well as the idea of brute-forcing through pre-recorded data to get the best values.

    Only thing to note is we still don't have a huge amount of data that includes washing dishes, typing, etc - so probably the coefficients could be better if we had a bunch of that too.


    1 Attachment

    • Screenshot at 2021-04-29 11-44-12.png
About

Avatar for Gordon @Gordon started