Build Your Pocket Distance Counter!

The maximum range is 9.950 meters with two digits

Place it in your pants’ pocket for walking and jogging

Circuit diagram

Digital Step-Km Counter-Circuit diagram

Components:

  • R1, R3 22K 1/4W Resistor
  • R2 2M2 1/4W Resistor
  • R4 1M 1/4W Resistor
  • R5, R7, R8 4K7 1/4W Resistor
  • R6 47R 1/4W Resistor
  • R9 1K 1/4W Resistor
  • C1 47nF 63V Polyester Capacitor
  • C2 100nF 63V Polyester Capacitor
  • C3 10nF 63V Polyester Capacitor
  • C4 10µF 25V Electrolytic Capacitor
  • D1 Common-cathode 7-segment LED mini-display (Hundreds of meters)
  • D2 Common-cathode 7-segment LED mini-display (Kilometers)
  • IC1 4093 Quad 2 input Schmitt NAND Gate IC
  • IC2 4024 7 stage ripple counter IC
  • IC3, IC4 4026 Decade counter with decoded 7-segment display outputs IC
  • Q1, Q2 BC327 45V 800mA PNP Transistors
  • P1 SPST Pushbutton (Reset)
  • P2 SPST Pushbutton (Display)
  • SW1 SPST Mercury Switch, also known as a Tilt Switch
  • SW2 SPST Slider Switch (Sound on-off)
  • SW3 SPST Slider Switch (Power on-off)
  • BZ Piezo sounder
  • B1 3V Battery (2 AA 1.5V Cells in series)

Device purpose:

This circuit measures the distance traveled during a walk. The hardware is housed in a small box placed in a pants’ pocket and the display is designed as follows: the leftmost display D2 (the most significant digit) shows 0 to 9 Km, and its dot remains illuminated to separate Km from hm. The rightmost display D1 (the least significant digit) shows hundreds of meters and its dot lights after every 50 meters of walking. An audible signal (optional), indicates each counting unit, which occurs every two steps. A normal step is approximately 78 centimeters long, so the LED signaling 50 meters lights after 64 steps or 32 mercury switch operations, the display shows 100 meters after 128 steps, and so on. To minimize power consumption, the display lights only when P2 is pressed. Accidental resetting of the counters is prevented because to reset the circuit, both pushbuttons must be operated simultaneously. Clearly, this is not a precision meter, but its approximation degree was considered sufficient for this type of device. In any case, the most critical factor is the placement and slope angle of the mercury switch inside the box.

Circuit operation:

IC1 and IC1B form a monostable multivibrator, providing some degree of freedom from excessive bouncing of the mercury switch. Consequently, a clean square pulse enters IC2, which divides by 64. Q2 illuminates the dot of D1 every 32 pulses counted by IC2. IC3 and 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 activated for a short time at each monostable count. Q1 drives the piezo sounder, and SW2 allows you to disable the beep.

Notes:

  • Experiment with the placement and slope angle of the mercury switch inside the box: this is very critical.
  • Try to achieve a pulse every two walking steps. Listening to the beeper is extremely helpful during this stage.
  • Adjust R6's value to modify the beeper's sound power.
  • Press P1 and P2 to reset the counters.
  • This circuit is primarily intended for walking purposes. For jogging, additional caution must be exercised with mercury switch placement to avoid undesired counts.
  • The current consumption with the display disabled is negligible, therefore SW3 can be omitted.
author: RED Free Circuit Designs
circuit from http://www.redcircuits.com/