I'm working on a project where I use a Raspberry Pi Zero W to track the location and calculate the number of steps the user takes. This is for a step tracking website/app I am working on where people would compete with each other by tracking their steps. Whoever walks the most will get a reward.

My plan is to display the location and step data on a website or app. I have found resources on how I could track location data, but I'm unsure how I would track step data and link that to the website along with the location data.

Is it possible to track step data along with the location data? Is it possible to then display that data together on a website?

Any guidance or direction to any resources will be greatly appreciated.

  • Pretty sure counting steps is a matter of interpreting gyroscope/accelerometer data (and notoriously inaccurate). These are inexpensive and easy to find, e.g., small breakouts based on the MPU-6050, which has an I2C interface that can be used w/ the Pi. Beware that these are mostly, or quite often, made for Arduino and so likely have the logic level stepped up to 5V. You want one at 3.3V (which is the MPU's supply voltage), which is what it must be to connect to the pi (unless you use a shifter in between). – goldilocks Oct 22 '18 at 12:48
  • 1
    ICYI, here's a link to a frequently-cited paper that explains how step counting is done: what sensors are used, and how the data is processed. – Seamus Oct 22 '18 at 16:43
  • @Seamus Thanks you very much. I'll be sure to read this. – ALDNJML Oct 23 '18 at 13:39

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.