Determining steps

Hi everyone,

I am building a small device where one of its features is to display to a user the amount of steps taken.

I am using the MPU 9250 (3 axis accelerometer, gyroscope, and magnetometer).

I was wondering if anyone had any ideas on the best value, calculations, and filters to use in order to calculate steps taken by the user. I want to be able to calculate steps when a user is walking slowly but not when they are brushing their teeth.

I currently am using quaternion rotations and a IIR filter but it just is not working as well as I would like it to.

Can I use one of the following: Kalman filters, Euler angles, acc/gyr values, quaternions, IIR/FIR filters

Thank you for all your help.

Have you googled “arduino pedometer”? There’s like a gazillion links.

Hi, many of the online projects are not accurate enough and only use simple accelerations to calculate steps. These projects are very prone to errors.

If you are looking for specific answers here, you should read the "How to use this forum" thread and provide the information requested therein. Otherwise, that as good as it's gonna get.