contactbounce
Contact bounce, also known as switch bounce, is the rapid making and breaking of electrical contact that occurs when a mechanical switch, relay, or reed switch is actuated. Instead of settling into a single open or closed state immediately, the moving contact flickers against its mate due to mechanical vibrations and surface irregularities. This transient can produce several contact events in a short time before the contact stabilizes.
Causes include the elasticity of the contact springs, inertia of moving parts, surface oxides or contaminants,
Effects include false triggering or miscounts in digital systems, keyboards, controllers, and measurement equipment. Bounce can
Debouncing techniques aim to prevent these spurious transitions. Hardware approaches include RC low-pass filters, Schmitt-trigger buffers,
Software debouncing uses the processor to require a stable reading for a defined interval, typically by periodic
The choice of method depends on response time, power, cost, and the specific switch or relay in