A peripheral device is any piece of hardware used for input, output, storage, or communications purposes.

The Keyboard

The keyboard formats found on any DOS or Windows PC can be grouped into one of four catagories:
     Two types of key mechanisms are used in PC keyboards: mechanical and capacitive. A mechanical keyboard provides a more positive tactile click to the key action. A capacitive keyboard, also called a membrane keyboard, is common on name-brand keyboards. It is more reliable than a mechanical keyboard but more expensive as well. In place of metallic contacts, it uses a capacitive membrane module to generate signals.

     A keyboard is connected to the PC with one of two connector types: a DIN 5 pin connector or a mini DIN 6 pin, also known as a PS/2 connector. These connectors are also called DIN-5 and mini-DIN-6 connectors, respectively. DIN connectors have a notch or key slot that prevents an incorrect connection. The keyboard is typically assigned IRQ 1 and I/O address 060h.

     Keyboards, like all peripheral devices, require several types and layers of software to help them work. One of these software layers is the device driver. Keyboards and other input devices are relatively unsophisticated as a rule and don't require much beyond the two fundamental layers: firmware and device driver.
To determine whether a keyboard electrical failure is in the keyboard or on the system board, do the following:
     If any voltages are out of range, in the vicinity of +2 volts to +5.5 volts, depending on the pin, the problem is likely in the keyboard circuits of the motherboard. Otherwise, the problem is likely in the keyboard.

     Keyboard related problems may also occur during the POST process. Should the problem occur early in the POST process, you hear beep codes for the particular BIOS on that computer. If the failure occurs later in the POST or boot sequence, an error code in the 300 - 399 number range displays, indicating a keyboard error. The most common reason for this error is a keystroke detected during the POST processing. This could be a stuck key.


The Mouse

     Four types of mouse units are available for the PC. These units differ in how they connect to the computer. The four mouse types are:
     The most commonly used mouse units are the serial and PS/2 types. In addition to connecting the mouse to the PC, the mouse needs to have a device driver. The mouse is typically assigned IRQ 12 and an I/O address of 238h. IRQ 12 is actually assigned to the motherboard's in-port, but because that is where the mouse is typically plugged, it defaults to the mouse. The mouse, like most input devices, is not assigned a DMA channel.