Interrupt-driven keyboard for MCS-51


Posted on Sep 17, 2012

Designers of microcontroller-based products that require a keypad for user data entry can select from dedicating an input line for each key, continuously polling the keypad`s x and y lines, or generating an interrupt whenever a user presses a key. Although conceptually simple, dedicating lines to a keypad can tie up most of the microcontroller`s I/O resources. Continuously polled keypads can burden the microprocessor`s resources and consume excessive amounts of battery power.



The third method, an interrupt-driven keypad, offers several benefits. First, using interrupts frees the microcontroller to perform other tasks or to switch into an idling or power-down mode while awaiting the next key closure. Second, using interrupts he




Leave Comment

characters left:

New Circuits

.

 


Popular Circuits

Beat Balance Metal Detector
Whats the third wire on a piezo buzzer
high capacity dc power relays
24V Battery Charger Schematic
fm digital radio development board
1 mA CURRENT SINKl
SEISMIC RADIO 500mHz - 200Hz frequency range
2SC2922 and 2SA1216 or 2SC3264 and 2SA1295 power amplifier circuit



Top