Create a pocket pedometer just with accelerometer

  • Thread starter Thread starter rushi121
  • Start date Start date
  • Tags Tags
    accelerometer
AI Thread Summary
Creating a pocket pedometer using only an accelerometer is feasible, but the challenge lies in accurately calibrating it to register steps correctly. To minimize false counts, especially when the device is in a car, programming should focus on filtering frequencies that correspond to human walking patterns. Many existing pedometers utilize simpler mechanisms, such as sprung pendulum systems, rather than accelerometers, which may suggest a more cost-effective approach. Open-source algorithms for pedometers are available, providing valuable resources for development. Overall, while accelerometers can be used, traditional methods and existing technologies may offer simpler alternatives for step counting.
rushi121
Messages
13
Reaction score
0
Can I create a pocket step counter / pedometer just with accelerometer? If yes, can you explain how can I do that?

The device should detect step irrespective of direction of device.
 
Engineering news on Phys.org
Certainly. The easy part is to get it to detect something. The hard part is calibrating it and adjusting it so it properly registers one step per step.
 
Khashishi said:
Certainly. The easy part is to get it to detect something. The hard part is calibrating it and adjusting it so it properly registers one step per step.
Will that device give false alarm if it is in the car?
 
You would want to program it so that it only counts jounces in a certain range of frequencies corresponding to normal human paces. It wouldn't eliminate false counts but it would cut them down.
 
rushi121 said:
Will that device give false alarm if it is in the car?
Depends on what you do in the car.
 
  • Like
Likes berkeman
I would think all electronic pedometers work this way already.
 
The algorithms to extract footsteps from accelerometers is a high art. Everyone who builds such a product has their own secret sauce for the filters, correlations, etc. There are open source examples for android.
https://www.openhub.net/p/pedometer for example.

Lots of helpful information if you search for "open source pedometer" or "pedometer algorithms"

What about "that's the way everybody does it" and "the hard part is calibrating it" are considered as useful answers?
 
meBigGuy said:
What about "that's the way everybody does it" and "the hard part is calibrating it" are considered as useful answers?
You're saying "everybody does it that way" isn't a useful answer? The OP asked if it can be done that way, so saying "everybody does it that way" is a resounding "yes". It's a clear answer to exactly the question asked.
 
You can buy pedometers with LCD displays and battery included on alibaba.com for $0.275 each. The cheapest accelerometer chip I can find costs $0.81. That suggests that there must be a much simpler, less expensive, eclectronic way to do it.
 
  • #10
my wife has owned a number of pedometers (5 - 6) and having looked inside them when doing battery changes
NONE of them use accelerometers
ALL of them used a sprung pendulum arrangement to generate pulses either by a magnet on the pendulum and a hall sensor or a physical switch
being activated as the pendulum bounced up and downDave
 
  • #11
davenn said:
my wife has owned a number of pedometers (5 - 6) and having looked inside them when doing battery changes
NONE of them use accelerometers
ALL of them used a sprung pendulum arrangement to generate pulses either by a magnet on the pendulum and a hall sensor or a physical switch
being activated as the pendulum bounced up and down
My mistake - I would have expected that's obsolete technology that had gone away. So I guess they are still around, though reviewers seem to be steering people away from them:
https://www.walkingwithattitude.com...eter-vs-accelerometer-pedometer-piezoelectric

A lot of people are using mobile phones as pedometers; those as well as fitbit type fitness bands use accelerometers.
 
  • #12
russ_watters said:
My mistake - I would have expected that's obsolete technology that had gone away. So I guess they are still around,

no mistake made ... just an observation on my part :)
it would still be the simplest way to DIY build one

russ_watters said:
A lot of people are using mobile phones as pedometers; those as well as fitbit type fitness bands use accelerometers.

yup indeed :smile:
 
  • #13
Back
Top