You are on page 1of 27

Quaid -E- Awam University of Engineering, Science and

Technology Nawabshah

#9

EMBEDDED SYSTEMS

Department of Computer Systems Engineering


NON STANDARD KEYBOARD
KEYBOARD TYPES

 Soft Keyboard

 Hard Keyboard

 Standard Keyboard

 Non Standard Keyboard


ON-SCEEN KEYBOARD

 Instead of relying on the physical keyboard to


type and enter data, On-Screen Keyboard can
be used.

 On-Screen Keyboard displays a visual


keyboard with all the standard keys.

 The soft keys can be selected by using


mouse or another pointing device.

 A single key or group of keys may be used to


entering the data.
KEYBOARD MATRIX

 Keypads Matrix are commonly


used in calculators, telephones.

 Push button switches in row and


columns.

 To connect a 4×4 keypad to a


microcontroller need 16 inputs
pins.
STANDARD KEYBOARD
QWERTY KEYBOARD LAYOUT
HOME KEYS
HOME KEYS
KEY STATE

Depending on whether a key is pressed are not, the key


can be at different states such as
 Key Not Pressed
 Key Pressed
 Key Debounce
 Continuous Key Press
 Key Released
BOUNCING AND DEBOUNCING
 Bouncing is an inherent property of mechanical buttons and switches
that introduce electrical noise when they are turned on or off.
 when a button is pressed or released there is a small amount of time
where the electrical signal can fluctuate anywhere from 0V to 3.3V-5V).
This caused by the physical material of the switch or button reverberating
and finally winding down to a steady state.

 Bouncing: two metal contacts in an electronic device to generate


multiple signals as the contacts close or open.

 Debouncing: hardware device or software that ensures that only a single


signal will be acted upon for a single opening or closing of a contact.
NON-STANDARD KEYBOARD
KEYBOARD SWITCHES
KEYBOARD SWITCHES
KEYBOARD SWITCHES
NON-STANDARD KEY SWITCHES
KEYS SCANING
KEYS SCANING
EXAMPLE
64-KEYS INTERFACE
C CODE
ROW SCANING
COLUMN SCANING
SCANNING CODE
SCANNING CODE
SCANNING CODE
Allah Hafiz

You might also like