Circuit Lake

Electronic Project and Circuit Collection

Interrupt-driven keyboard for microcontroller

5:44 am


Interrupt-driven keyboard for microcontroller
by Sandeep M Satav, Indian Institute of Technology, Bombay, India

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 helps reduce electromagnetic interference produced by continuously scanning the keypad’s lines.

Link: EDN magazine



Related Electronics Project:
Interfacing Keypad and Microcontroller AVR
People still use 16-key keypad as input device for any embedded project. I could be used as code input...
ATir AVR IR Keyboard Interface
Steven Savage from Us has winned AVR 2006 Design Contest held by circuit cellar.The well-designed ATtiny45-based ATir interface device...
SecureLED: Better Access Control based on microcontroller AVR
Secure LED based on microcontroller avr is an optical access control device which replaces current RFID or Magnetic Strip...


Keypad Interface | Interfacing Keypad with AVR Microcontroller (Atmega16), interrupt driven i o, atmega168 interrupt keypad, Microcontroller Interrupt Circuit, keypad interrupt circuit