Fork me on GitHub

Project Notes

#537 Schmitt Switch Debouncer

Testing a simple Schmitt Trigger debounce circuit using a 74HC14.

Build

Notes

The hysteresis of a Schmitt Trigger used in conjunction with a suitable RC filter provides effective switch debouncing:

  • the RC time constant for charge/discharge filters most of the switch bounce
  • Schmitt Trigger hysteresis can help with ensuring positive on and off transitions

The circuit demonstrated here is based on Experiment #125 from ARRL’s Hands-On Radio Experiments Volume 3.

Construction

I’ve put double-inversion in the circuit; the result is that the LED is normally on, and turns off while the pushbutton is depressed.

Time constants are purposely large:

  • on, a function of R2=10kΩ, C1=1µF: 10ms
  • off, a function of R1=100kΩ, C1=1µF: 100ms

R2 needs to be much less than R1, else pressing the button will not pull down the voltage sufficient to switch the inverter.

Breadboard

Schematic

Build

Behaviour

The on-off cycle is captured in the following scope trace where

  • CH1 (Yellow) - switch output
  • CH2 (Blue) - inverter input
  • CH3 (Red) - output to LED

scope

Credits and References

About LEAP#537 SchmittCMOS/TTL

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

Project Source on GitHub Return to the LEAP Catalog
About LEAP

LEAP is my personal collection of electronics projects - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting.

Projects are often inspired by things found wild on the net, or ideas from the many great electronics podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know or send a pull-request.

NOTE: For a while I included various scale modelling projects here too, but I've now split them off into a new repository: check out LittleModelArt if you are looking for these projects.

Project Gallery view the projects as an image gallery Notebook reference materials and other notes Follow the Blog follow projects and notes as they are published in your favourite feed reader