Menu bar

Temel donanım bilgileri
© Copyright Brian Brown, 1992-2001. All rights reserved.
menu next


GİRİŞ/ÇIKIŞ AYGITLARI
The objective of this section is to

At the end of this section, you should be able to


TopInput Devices
The following section discusses the functioning of a number of input devices. Input devices allow the user to input information (data) into the computer for analysis or storage, as well as give commands to the computer. Examples of input devices are keyboards, scanners, mice, bar-wands, and touch screens.

Keyboards
The keyboard is the most widely used means of entering information into a computer. Pressing a key on the keyboard generates a code that represents the character associated with the key.

The two main codes associated with computers are ASCII and EBCDIC. ASCII is a seven bit code, so characters generated by the keyboard are made available as a seven bit code (a total of 128 different combinations). ASCII stands for American Standard Code for Information Interchange. EBCDIC stands for Extended Binary Coded Decimal Interchange Code, and is used primarily by IBM.

  00 10 20 30 40 50 60 70
00 NULL DLE space 0 @ P ` p
01 SOH DC1 ! 1 A Q a q
02 STX DC2 " 2 B R b r
03 ETX DC3 # 3 C S c s
04 EOT DC4 $ 4 D T d t
05 ENQ NAK % 5       u
06 ACK SYN & 6 F V f v
07 BEL ETB ' 7 G W g w
08 BS CAN ( 8 H X h x
09 HT EM ) 9 I Y i y
0A LF SUB * : J Z j z
0B VT ESC + ; K [ k {
0C FF FS , < L \ l |
0D CR GS - = M ] m }
0E SO RS . > N ^ n ~
0F SI US / ? O _ o DEL

The ASCII table (values show in hexadecimal)

Control codes are used to control devices like printers and modems, and to position the cursor. For instance, FF stands for form feed, and HT stands for horizontal tab. Control codes are generated on a standard keyboard by holdng down the Ctrl key, and whilst it is depressed, pressing another key.

For example, pressing the key combination CTRL-A generates the code sequence SOH, and pressing CTRL-R generates the code sequence DC2.

QUESTION: What ASCII value is generated by pressing the ESC key?


Top Keyboard Interface
The majority of keyboards interface to the computer system using a serial interface. The typical connections are

Basic Keyboard Types
The basic keyboard used in computers today is the QWERTY keyboard. It gets it name from the key arrangement (note the diagram below). It is very similar to the type-writer keyboard layout used on most type-writers.

PC Keyboard
Fig 6.1: PC Keyboard

Ergonomically, the QWERTY keyboard has been found to be slow and possibly contribute to repetitive strain injuries (RSI). There have been some attempts to revise the keyboard layout. An alternative is the DVORAK keyboard.

Dvorak keyboard
Fig 6.2: Dvorak Keyboard

Another attempt is the Microsoft Ergonomic Keyboard.

MS Natural keyboard
Fig 6.3: Microsoft Ergonomic Keyboard


Top PC Klavyeleri
There are two main types of keyboards used with the IBM-PC and compatible computers. The standard keyboard is found on PC and XT machines, and the extended keyboard found on 286-486 machines. The extended keyboard has the function keys aligned along the top.

PC Extended Keyboard
Şekil 6.4: Genişletilmiş PC klavye


Top Keyboard Switch Types
The following discusses the key switch types commonly used to implement keyboards.


Top Keyboard Encoders

Keyboard Encoder
Şekil 6.10: Keyboard Encoder
The keyboard encoder controls the keyboard switches and generates a unique code for each key.

It is an integrated circuit or small processor, and handles the key switches in a matrix of rows and columns.

The encoder has the task of detecting when a key has been depressed, identifying the key, and generating the code for the key.

 

The encoder enables each row in turn, and checks for a change in state in the column lines. If there is a change in state, this means a key has been depressed. The row and column values are used to look up a table which returns the key value.

The encoder continually repeats the scanning cycle for all the rows in the matrix. Problems occur when more than one key in a column is depressed simultaneously. These situations are handled in the following manner,


Top Summary
The standard PC has a QWERTY keyboard which uses ASCII codes. Control codes are used to control devices like printers and modems and are generated using the CTRL key.

A keyboard encoder is a device which handles the key presses and converts them to an ASCII code.


menu next
Ana sayfa | Other Courses | Notlar | Tests | Videos
© Copyright Brian Brown, 1992-2001. All rights reserved.

Hosted by www.Geocities.ws

1