Get the latest tech news

How to Debounce a Contact (2014)


Debouncing switches and contacts is surprisingly subtle. This page shows actual bounce characteristics of a number of switches and gives code to debounce them.

Another artifact of this wiping action was erratic analog signals treading in the dreaded no-man's land of TTL uncertainty (0.8 to 2.0 volts), causing the MSO to dither, tossing out ones or zeroes almost randomly, just as your microprocessor would if connected to the same switch. The two from the el cheapo game joystick were nothing more than gold contacts plated onto a PCB; a rubber cover, when depressed, dropped some sort of conductive elastomer onto the board. The raucous clacking of contacts overwhelmed our usual classical fare for a few hours as the MSO accumulated bounce times in storage mode.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Guide

Guide

Photo of contact

contact

Photo of jack ganssle

jack ganssle

Related news:

News photo

CES 2025 tips and tricks: A guide to tech’s biggest trade show

News photo

A Practitioner's Guide to Wide Events

News photo

An iPhone owner’s guide to living off the app grid