chapter  15
8 Pages

Digital inputs and outputs

The problem of obtaining digital signals from switches is that a switch is a mechanical component. When a switch is closed, the contacts should ideally come together and stay together, but in fact they usually bounce. Each bounce will generate another pulse, so that the output can consist of a series of pulses each time the switch is closed (Figure 15.1).