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 posts:
- 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... - AVR Electronic lock
CodeLock is AVR based electronic combination lock. This security system use microcontroller AT90S2313 or ATtiny2313 as main chip. If... - 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 technologies... - AVR LCD Touchscreen
Is that possible build LCD Touchscreen project using AVR chip? Yes, you can do that. Evert Dekker has build...
Microcontroller based talking key pad for blind people








