Microtalk
What the FAQ is Switch Bounce & Debounce?
Clive "Max" Maxfield
15:51
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.











No comments or questions yet. Be the first to start the conversation!