• Great! The step counting is itself pretty simple - it basically looks at the magnitude of the acceleration and then detects when it varies from 1G by more than a certain amount (which is configurable by stepCounterThreshold*). accel readings come in at 12.5 Hz so shouldn't be too painful to work with. Maybe you could consider keeping the last 10/20 readings in an array and then plotting that array whenever you get a step event.

    I'd be interested in other methods of doing it, but it would appear to be the normal way these things work.

About

Avatar for Gordon @Gordon started