© Warren Gay 2017

Warren Gay, Custom Raspberry Pi Interfaces, 10.1007/978-1-4842-2406-9_5

5. MC14490 and Software Debouncing

Warren Gay

(1)St Catharines, Ontario, Canada

This chapter examines input devices with mechanical contacts. Switches, buttons, relays, and rotary controls all have contacts that cause trouble for electronic circuits; electronic circuits are so fast that they see contacts make and break thousands of times per second. If you ignore this aspect of input controls in your design, you could wind up with dysfunctional custom controls for your Pi.

This chapter looks at two major approaches to this problem. The first approach applies hardware, while the second is related to software. Figure 5-1 illustrates the hardware solution. Either ...

Get Custom Raspberry Pi Interfaces: Design and build hardware interfaces for the Raspberry Pi now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.