Title: The Switch Bounce
1 The Switch Bounce Phenomemon
ECET 1200
2Switch Terminology
Types
Mechanisms
Construction
3Switch Terminology
Types
Mechanisms
Construction
4Switch Terminology
Types
Mechanisms
Construction
Single-pole Single-throw (SPST)
Poles are Pivots
Throws are the number of possible contacts the
arm can touch
5Switch Terminology
Types
Single-pole Single-throw (SPST)
Mechanisms
Construction
Single-pole Double-throw (SPDT)
Double-pole Single-throw (DPST)
Double-pole Double-throw (DPDT)
6Switch Interfacing
Will this work?
NO - Inputs float in open position Can pick up
noise Can damage CMOS
7Switch Interfacing
Will this work?
VCC
NO - Inputs float during transition
8Switch Interfacing
Will this work?
YES - open provides high input
VCC
closed provides low input
9Switch Bounce
VCC
Switch Bounce
10Switch Bounce
VCC
11Switch Bounce
Reset
VCC
Glitch caused by bounce
Typically 50-100 ms
12Debouncing a Double Throw Switch
Set
VCC
Transition
Reset
VCC
13Debouncing a Double Throw Switch
Set
VCC
Transition
Reset
VCC
14Debouncing a Double Throw Switch
Set
VCC
Transition
Reset
VCC
15Debouncing a Double Throw Switch
Set
VCC
Transition
Reset
VCC
16 The Switch Bounce Phenomemon
ECET 1200
17Debouncing a Single Throw Switch
One-Shot
Schmitt Trigger
Pulse gt 100 ms
VCC
One-Shot
Retriggerable or Non-Retriggerable?
18Debouncing a Single Throw Switch
One-Shot
Schmitt Trigger
VCC
Similar to POR
19Clock Generators
555 Timer
Schmitt Trigger
Oscillator
20Clock Generators
555 Timer
The most common low-frequency clock generator
Schmitt Trigger
Advantages
Oscillator
Disadvantages
- limited frequency ( 100 kHz)
21Clock Generators
555 Timer
Schmitt Trigger
Oscillator
22Clock Generators
555 Timer
Advantages
Schmitt Trigger
Oscillator
Disadvantages
- not for precision applications
- very dependent on technology
23Clock Generators
555 Timer
Prepackaged clock generator requires only power
and ground connections
Schmitt Trigger
Advantages
Oscillator
Disadvantages
- primarily available ³ 1 MHz
24 The Switch Bounce Phenomemon
ECET 1200