Create a pocket pedometer just with accelerometer

  • Thread starter Thread starter rushi121
  • Start date Start date
  • Tags Tags
    accelerometer
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
12 replies · 2K views
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   Reactions: berkeman
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.
 
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
 
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.
 
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: