SCHS047M August 1998 – November 2024 CD4051B , CD4051B-MIL , CD4052B , CD4052B-MIL , CD4053B , CD4053B-MIL
PRODUCTION DATA
One application of the CD4051B is to use it in conjunction with a microcontroller to poll a keypad. Figure 8-1 shows the basic schematic for such a polling system. The microcontroller uses the channel select pins to cycle through the different channels while reading the input to see if a user is pressing any of the keys. This application is a very robust setup, allowing for multiple simultaneous key-presses with very little power consumption. This setup also uses very few pins on the microcontroller. The down side of polling is that the microcontroller must continually scan the keys for a press and can do little else during this process.