Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Create a pocket pedometer just with accelerometer

  1. Dec 15, 2015 #1
    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.
     
  2. jcsd
  3. Dec 15, 2015 #2
    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.
     
  4. Dec 15, 2015 #3
    Will that device give false alarm if it is in the car?
     
  5. Dec 15, 2015 #4
    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.
     
  6. Dec 15, 2015 #5

    A.T.

    User Avatar
    Science Advisor
    Gold Member

    Depends on what you do in the car.
     
  7. Dec 15, 2015 #6

    russ_watters

    User Avatar

    Staff: Mentor

    I would think all electronic pedometers work this way already.
     
  8. Dec 16, 2015 #7

    meBigGuy

    User Avatar
    Gold Member

    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?
     
  9. Dec 16, 2015 #8

    russ_watters

    User Avatar

    Staff: Mentor

    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.
     
  10. Dec 16, 2015 #9

    anorlunda

    User Avatar
    Science Advisor
    Gold Member

    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.
     
  11. Dec 16, 2015 #10

    davenn

    User Avatar
    Science Advisor
    Gold Member

    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


    Dave
     
  12. Dec 17, 2015 #11

    russ_watters

    User Avatar

    Staff: Mentor

    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.
     
  13. Dec 17, 2015 #12

    davenn

    User Avatar
    Science Advisor
    Gold Member

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

    yup indeed :smile:
     
  14. Dec 17, 2015 #13

    meBigGuy

    User Avatar
    Gold Member

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Create a pocket pedometer just with accelerometer
  1. Pedometer-like device (Replies: 7)

  2. Accelerometer display (Replies: 13)

Loading...