- #1
Silence
- 5
- 0
Hello all,
I'm trying to set up a system to calculate how far I've run (more accurately than a pedometer, which just counts steps). I basically need a sensor in each shoe, and one of the sensors sends a signal that tells how far apart the two sensors are. Whenever the distance decreases, I take the previous (and largest) value and add it to the total distance. If the end result is off for whatever reason (like a weird gait, for example) I can divide the distance by a scalar.
I've been looking for small sensors that can detect the distance between themselves. If they exist (in a small size - hopefully the circuit board isn't more than 1 square inch/6.5 square centimeters), one would probably ping the other using some frequency and time how long it takes to get a response. I'm only trying to measure distances no greater than about a meter, so these sensors would have to be somewhat precise. And finally, as this is my first project of this sort, I'll probably be using an Arduino, unless somebody has a better suggestion.
Are these devices sold? Does anybody know what they'd be called? I could probably find where to get them if I knew the term to search for. :)
Thanks in advance for any help. :)
I'm trying to set up a system to calculate how far I've run (more accurately than a pedometer, which just counts steps). I basically need a sensor in each shoe, and one of the sensors sends a signal that tells how far apart the two sensors are. Whenever the distance decreases, I take the previous (and largest) value and add it to the total distance. If the end result is off for whatever reason (like a weird gait, for example) I can divide the distance by a scalar.
I've been looking for small sensors that can detect the distance between themselves. If they exist (in a small size - hopefully the circuit board isn't more than 1 square inch/6.5 square centimeters), one would probably ping the other using some frequency and time how long it takes to get a response. I'm only trying to measure distances no greater than about a meter, so these sensors would have to be somewhat precise. And finally, as this is my first project of this sort, I'll probably be using an Arduino, unless somebody has a better suggestion.
Are these devices sold? Does anybody know what they'd be called? I could probably find where to get them if I knew the term to search for. :)
Thanks in advance for any help. :)