Home > On-Demand Archives > Microtalks >

What the FAQ is Switch Bounce & Debounce?

Clive "Max" Maxfield - Watch Now - EOC 2022 - Duration: 15:51

What the FAQ is Switch Bounce & Debounce?
Clive "Max" Maxfield
Switches bounce -- that's what they do. To ensure our processors don't "see" multiple events, we have to debounce these signals, which we can do in hardware or software. Unfortunately, this is something of an arcane area because there are as many different approaches as there are engineers (some of them even work). In this MicroTalk, we will plunge into this esoteric topic with gusto and abandon, so please ensure you are wearing appropriate attire.
1 / 3
Please log in or create an account to test your knowledge and see the answers.

What is the fundamental reason the speaker says you must debounce mechanical switches before feeding their signals to a microcontroller?

A Mechanical switches generate multiple rapid make/break events (bounces) on both closing and opening, which can make the MCU see multiple false events.
B Switches slowly change voltage because they are analog devices, so you must convert them to digital first to avoid misreads.
C Debouncing is only necessary for normally-closed switches; normally-open switches do not bounce.
D Debouncing prevents the pull-up resistor from overheating due to continuous current flow through the switch.
E Debouncing is only needed if the switch is used to generate time-critical signals like PWM.
M↓ MARKDOWN HELP
italicssurround text with
*asterisks*
boldsurround text with
**two asterisks**
hyperlink
[hyperlink](https://example.com)
or just a bare URL
code
surround text with
`backticks`
strikethroughsurround text with
~~two tilde characters~~
quote
prefix with
>

No comments or questions yet. Will you be the one who will break the ice?

OUR SPONSORS & PARTNERS