Max. range: 9.950 meters with two digits
Slip it in pants' pocket for walking and jogging
This circuit measures the distance covered during a walk. Hardware is located in a small box slipped in pants' pocket and the display is conceived in the following manner: the leftmost display D2 (the most significant digit) shows 0 to 9 Km. and its dot is always on to separate Km. from hm. The rightmost display D1 (the least significant digit) shows hundreds meters and its dot lights after every 50 meters of walking. A beeper (excludable), signals each count unit, which occurs every two steps. A normal step is calculated to span approx. 78 centimeters, thus the LED signaling 50 meters lights after 64 steps or 32 mercury switch's operations, the display indicates 100 meters after 128 steps and so on. For low battery consumption the display lights only on request, pushing P2. Accidental reset of the counters is avoided because to reset the circuit both pushbuttons must be operated together. Obviously this is not a precision meter, but its approximation's degree was found good for this kind of device. In any case, the most critical thing to do is placement and sloping degree of the mercury switch inside the box.
IC1A & IC1B form a monostable multivibrator providing some degree of freedom from excessive bouncing of the mercury switch. Therefore a clean square pulse enters IC2 that divide by 64. Q2 lights the dot of D1 every 32 pulses counted by IC2. IC3 & IC4 divide by 10 each and drive the displays. P1 resets the counters and P2 enables the displays. IC1C generates an audio frequency square wave that is enabled for a short time at each monostable count. Q1 drives the piezo sounder and SW2 let you disable the beep.
author: RED Free Circuit Designs
circuit from http://www.redcircuits.com/