Skip to Content
Interfacing PIC Microcontrollers
book

Interfacing PIC Microcontrollers

by Martin P. Bates
April 2011
Intermediate to advanced
312 pages
9h 32m
English
Newnes
Content preview from Interfacing PIC Microcontrollers
Switch Debouncing
When the contacts close in any mechanical switch or push button, they tend to
bounce open before settling in closed position. In normal life, this is not notice-
able or significant, but in microsystems it is liable to cause circuit misbehaviour
if ignored. The effect generally lasts a few milliseconds, but if the switch is sam-
pled at high speed, it can appear that it has been operated several times.
On the other hand, the sequence of the program may be such that the switch
bounce does not adversely affect the correct operation of the system. For ex-
ample, if the program does not recheck the input until the bouncing has fin-
ished ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Interfacing PIC Microcontrollers, 2nd Edition

Interfacing PIC Microcontrollers, 2nd Edition

Martin P. Bates

Publisher Resources

ISBN: 9780750680288