3
\$\begingroup\$

The 74LS192 IC's up count (pin 5) needs a logic 0 in order to count up. I'm trying to debounce the switch so that it doesn't give multiple inputs to the IC.

I've tried this circuit that is used for normally open switches, but my circuit uses a normally closed one.

enter image description here

\$\endgroup\$
3
  • 1
    \$\begingroup\$ Try redicomt R9 to about 100 Ohms. You need to sink about 0.4mA to drive it low. \$\endgroup\$
    – Gil
    Commented Nov 24, 2022 at 2:29
  • 1
    \$\begingroup\$ The RC circuit helps both in switch open and close transitions. The difference being different time constants while charging and discharging the cap ( Switch open and close respectively). The cap discharges through the 1K resistor ( 1 time constant = 1k*1u) and charges through 11k resistor ( 1 tc = 11k*1u). The rise time of signal at IC7 will be slow. You might have to check if there are any rise time requirements on input of IC7. \$\endgroup\$
    – Nirmala
    Commented Nov 24, 2022 at 3:42
  • 1
    \$\begingroup\$ Why does it needs any different debouncing than normally open switch? Because in either case the switch closes or opens. The problem is more that it's a LS TTL chip, not the normally closed switch. \$\endgroup\$
    – Justme
    Commented Nov 24, 2022 at 7:30

1 Answer 1

3
\$\begingroup\$

As in the comments the simple cap on the input pin and two resistors may work fairly well to give some bounce reduction. Also in the comments is the fact that the arrangement will not be symmetrical for the rising and falling switching edges. That is not necessarily a problem, but there is a simple way to get both edges about equal (if that were desired). Just add a diode in parallel with R9 (anode towards the switch), then make R9 the same value as R8. With that arrangement the charging of the cap is mainly through R8 (the diode by-passes R9). The discharge of the cap is then through R9. Because some logic families differ on their switching points you could adjust R8 and R9 for best operation. With that said there is still the issue of slow rising and falling edges that might cause problems. That condition could be improved by using a logic gate with hysteresis. Yet another option would be to use an SR latch, (but then those options do start to become more complicated).

schematic

simulate this circuit – Schematic created using CircuitLab

\$\endgroup\$
2
  • 1
    \$\begingroup\$ Debouncing with an SR latch can only be done with changeover switches, not the SPST switch the OP has. \$\endgroup\$
    – TonyM
    Commented Nov 24, 2022 at 9:22
  • 2
    \$\begingroup\$ Just a note that while a good explanation in general, the 10k in series won't work because the logic gate input is LS TTL type. \$\endgroup\$
    – Justme
    Commented Nov 24, 2022 at 10:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.