Switch DebouncingTurning a burst of contact bounce into one press event, without blocking.Electrical EngineeringA mechanical contact bounces for milliseconds, so the pin sees many edges.1Confirm it really is bounceA scope shows a burst of edges lasting roughly 1 to 20milliseconds.2Choose hardware or softwareAn RC filter into a Schmitt input, or a periodic check in firmware.3Sample, do not waitRead the pin every few milliseconds rather than blocking on adelay.4Require agreementAccept a new level only after several consecutive equal samples.5Debounce the release tooContacts bounce on opening as well, and a missed release repeatsthe press.Never debounce with a blocking delay inside an interrupt: it stallseverything else the device was part-way through.Switch Debouncinglearnposters.com
Switch Debouncing — printable engineering wall chart from LearnPosters. Free vector PDF, US Letter and A4.

Switch Debouncing, step by step

A mechanical contact bounces for milliseconds, so the pin sees many edges.

  1. Confirm it really is bounceA scope shows a burst of edges lasting roughly 1 to 20 milliseconds.
  2. Choose hardware or softwareAn RC filter into a Schmitt input, or a periodic check in firmware.
  3. Sample, do not waitRead the pin every few milliseconds rather than blocking on a delay.
  4. Require agreementAccept a new level only after several consecutive equal samples.
  5. Debounce the release tooContacts bounce on opening as well, and a missed release repeats the press.

Never debounce with a blocking delay inside an interrupt: it stalls everything else the device was part-way through.

Questions about the Switch Debouncing poster

What’s on the Switch Debouncing poster?
5 numbered steps. A mechanical contact bounces for milliseconds, so the pin sees many edges. Confirm it really is bounce — A scope shows a burst of edges lasting roughly 1 to 20…; Choose hardware or software — An RC filter into a Schmitt input, or a periodic check…; Sample, do not wait — Read the pin every few milliseconds rather than blocking on a d…; Require agreement — Accept a new level only after several consecutive equal samples.; Debounce the release too — Contacts bounce on opening as well, and a missed release r…. Never debounce with a blocking delay inside an interrupt: it stalls everything else the device was part-way through.
Who is the Switch Debouncing poster for?
Switch Debouncing belongs to the Electrical Engineering section rather than to a school year, because engineering is not something one grade owns. Anyone learning embedded systems can pin it up — a beginner, a student mid-course, or someone revising years later.
When should you use the Switch Debouncing poster?
Apply it to every mechanical input: buttons, limit switches, relays and encoders. A wall chart earns its place by being glanceable from where the work is happening, so Switch Debouncing belongs on the wall where that engineering work actually happens, within glancing distance, rather than filed away.
What other posters go with Switch Debouncing?
ADC Resolution, Driving Loads and GPIO & Pull Resistors sit alongside Switch Debouncing in the Electrical Engineering section. Printed together they make a wall rather than a single sheet, which is how a reference set actually gets used.ADC ResolutionDriving LoadsGPIO & Pull Resistors
Is the Switch Debouncing poster free to download and print?
Yes. Switch Debouncing downloads as a free PDF with no account, no email and no watermark, like everything else in the Electrical Engineering section. Print as many copies as you like for a home, a classroom, a library or a tutoring group; reselling the file is the only thing the licence rules out.Read the licence
What size does the Switch Debouncing poster print at?
Switch Debouncing is a vector PDF laid out for US Letter, and prints on A4 with Fit to page — the same file, no separate download. Because every mark on it is drawn rather than photographed, it stays sharp enlarged to A3, A2 or A1 at a copy shop. Colour carries emphasis only, so a greyscale print of Switch Debouncing loses nothing.Printing guide

Related posters

Charts that sit alongside Switch Debouncing on the same wall.

Browse every Electrical Engineering poster, or start from the full catalogue.