Lab 8

Lab 8 - debounce, and encode a pressed key on the keyboard....

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Keyboard Interfacing There are several types of keyboards available for computer usage. Some of the most common types are: Mechanical switches Membrane switches Capacitive switches Hall effect key switches
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Keyboard Interfacing Most keyboards are organized as a matrix of rows and columns. Getting data from the keyboard requires the following steps: Detect a key press. Debounce the key press. Encode the key.
Background image of page 2
Keyboard Interfacing
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Keyboard Interfacing This flow chart shows the process necessary to detect,
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: debounce, and encode a pressed key on the keyboard. Detecting a Key Detecting a Row Detecting a Row Encoding a Key Encoding the key press: Find the row and column positions (obtained from the key detection routine). Calculate the offset using the following formula: OFFSET = ( row * 8 ) + column 8 is the number of columns in the keyboard matrix. Find the proper character using the offset, the base address of the conversion table and XLATB instruction....
View Full Document

This note was uploaded on 01/24/2012 for the course EE 3751 taught by Professor Desouza during the Spring '04 term at LSU.

Page1 / 8

Lab 8 - debounce, and encode a pressed key on the keyboard....

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online