1 / 5

EE292 Fall2012 Awesome Project: Keypad Reader

EE292 Fall2012 Awesome Project: Keypad Reader. Brendan Morris 12/06/2012. Abstract/Goal/Motivation/Introduction. Accept user input from a 9 digit keypad This should be non-blocking to allow the processor to do other calculations Output key is illuminated on an 7-segment LED . Description .

mills
Télécharger la présentation

EE292 Fall2012 Awesome Project: Keypad Reader

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EE292 Fall2012Awesome Project:Keypad Reader Brendan Morris 12/06/2012

  2. Abstract/Goal/Motivation/Introduction • Accept user input from a 9 digit keypad • This should be non-blocking to allow the processor to do other calculations • Output key is illuminated on an 7-segment LED

  3. Description • Usage: A user presses on a single keypad button and the button that is pressed gets displayed on the LED array • Keypad numbering • Keypad is interrupt driven • Must set keypad to pulse operation and have the AND enabled interrupt button active • Number of the pressed key is written to the 7-segment display

  4. Implementation • Hardware • External Keypad • 7-segmentLED • Enable/initialize external interrupt • Main program waits for key press • On key press • Run external interrupt service routine (ISR) • Poll keypad to find which key was pressed • Output number of key pressed to illuminate 7-segment display • Issues/subtleties • Still have to poll keys even under interrupt (software decoding) • Must be sure to enable/disable interrupts during ISR • Software design

  5. Results Demo • <show a movie here of your project in action> • http://youtu.be/bi9vrCkJWHg

More Related