I/O Devices Overview for Students
I/O Devices Overview for Students
8.0 Introduction
8.1 Objectives
8.2 Mouse
8.2.1 Classifications of Mice
8.3 Keyboard
8.3.1 Features of Keyboard
8.4 Monitors
8.4.1 Cathode Ray Tube
8.4.2 Liquid Crystal Display
8.4.3 Light-Emitting diode
8.5 Video Cards
8.5.1 Resolution
8.5.2 Color Depth
8.5.3 Video Memory
8.5.4 Refresh Rates
8.5.5 Graphic Accelerators
8.5.6 Video Card Interfaces
8.6 Sound Cards
8.7 Digital Camera
8.7.1 Webcam
8.8 Voice Based Input Devices
8.8.1 Siri
8.8.2 Alexa
8.9 Printers
8.9.1 Impact Printers
8.9.2 Non-impact Printers
8.10 Scanners
8.10.1 Resolution
8.11 Modems
8.12 Summary
8.13 Solutions /Answers
References
80
I/O Technology
8.0 INTRODUCTION
In the previous unit, you have studied the concept of input/output interfaces and I/O
techniques. The previous unit discussed three I/O techniques i.e., programmed I/O, Interrupt-
driven I/O and DMA were discussed along with the evolution of I/O processor. A computer
supports a number of I/O devices in order to perform data transfer with external environment.
This unit provides a brief introduction to the various I/O devices such as mouse, keyboard,
monitor, printer, scanner, video & sound cards etc. It also discusses the modern voice-based
input devices. The unit does not attempt to provide all the details of these devices, but attempts
to introduce you the characteristics, basic functions and use of the devices in the context of the
processor.
8.1 OBJECTIVES
After study of this unit, the students ought to be able to:
Explain the features of mouse and its classifications;
List the basic characteristics, functioning and interfacing requirements of keyboard;
Explain different types of monitors
Explain video Cards, sound cards, and digital camera
Explain different types of printers;
Explain the basic characteristics of Modems and scanners;
Explain the concept of voice-based input
8.2 MOUSE
Douglas C. Engelbart at Stanford Research Institute (now SRI International) proposed the
basic concept of mouse in order to use it with computer system. Xerox Corporation is first
organization which developed the first Mouse. It is hand-held hardware input pointing device,
which gives user a cursor (pointing mark) on monitor screen and this cursor is used to send the
input to computer system. The purpose of mouse is to detect two-dimensional movement
relative to surface. Typically, mouse is available with two or three buttons but a single button
is sufficient to control the movement of cursor. There exist different types of mice namely
Wired, Wireless, Bluetooth, Trackball, Optical, Laser, Magic, USB etc.
The unit of mouse resolution is Counts Per Inch (CPI) which represents the number of signals
per inch of physical travel of mouse. The value of CPI may range from 400 to 1600. The
mouse also sends CPI data to computer with some frequency which is known as polling rate.
The polling rate may range from 60 Hz to 1000 Hz. The large value of CPI will result in faster
movement of cursor which requires sending much data to computer demanding high polling
rate. Therefore, it will be difficult to control the accuracy for large value of CPI.
8.2.1 Classifications of Mice
The classifications of mice are based on connectors, number of buttons and position sensing
technologies. Two classifications are discussed-
1. Connectors: This category deals with categorization of computer mice based on
ports/physical channels which are used to connect the mouse and computers.
a) Bus Mouse-Bus was used to connect the first mouse with PC. Thus, it has been called
as the bus mouse. It was used with IBM-compatible personal computers in its early
days. A specialized bus interface was used to connect them with PC which was
implemented via an ISA add-in card.
b) Serial Mouse-In Serial mouse, serial port was used for connection. It is basically an
interface present physically on computer for communication. Bit by bit information
goes in and taken out of the computer through this port. It is a male port of D-type
having 9 pin (DB9M) which is found at the back of the motherboard. However, this
category of mice is no longer in use.
c) PS/2 Mouse-The green colored PS/2 port is used to connect the mouse. Introduced in
1987, PS/2 uses 6-pin mini-din connector. It is the successor of serial connectors.
PS/2 ports were first used in the PS/2 systems and they are still being used in modern
designs. Green color of PS/2 port is for mouse and purple colored is for keyboard.
d) USB Mouse-USB mouse are same in terms of shape and appearance but the
difference lies in terms of connector. They are connected to a USB port. USB stands
81
for universal serial bus has superseded the PS/2 ports, though some of the computers I/O Technology
still have the PS/2 ports. This standard defines the cables, connectors and
communication protocols for connection and communication between computers and
attached peripheral devices. The objective of this standard was to standardize
computer devices connection.
e) Wireless Mouse-These are the modern mouse that does not require any cable for
connection. Eliminating the clutter of cables, it provides a neat type of mouse to use.
Some of its key features are- comfortable ergonomic design, improved battery life,
Plug-and-Play, multi-function and wide compatibility
2. Sensing Technology: There are two types of mice based on sensing technologies i.e.,
mechanical mouse and optical mouse.
a) Mechanical mouse has a rubber or metal ball in middle, which is used to control the
movement of cursor. The sensors inside the ball detect the rotation of ball. When the
ball rolls with the movement of mouse, it causes sensors to detect the rotation of ball
along the two axes which consequently send signals to monitor screen. Figure 8.1(a)
depicts the mechanical mouse.
b) Optical mice use light emitting diodes (LEDs), optical sensors and digital image
processing. The optical mouse detects by sensing the changes in the reflected light.
The change in reflected light is measured by analyzing the images and the cursor
moves on screen accordingly. Figure 8.1(b) shows the optical mouse.
(a) (b)
Figure-8.1: Difference between (a) Mechanical Mouse and (b) Optical Mouse
8.3 KEYBOARD
A keyboard is an input device, which is used since the inception of the computer systems. The
keyboard allows manual input of alphabets, numbers, special characters, which are available as
keys on a board. Figure 8.2 depicts a keyboard. In general, users use a keyboard to transfer a
meaningful sequence of characters or numbers to a computer. Thus, a keyboard can be used to
send input data into a computer from the external world.
8.4 MONITORS
A monitor is an output display device connected to processor and it displays the vision into the
brain of the processor. It allows a user to graphically interact with the processor which is
helpful to send output as well as to receive input to/from the user. Technically speaking, it is
display device which provides a graphical vision by converting the digital/analog signals into
the visual form.
83
The monitor looks like a television set but both the devices are different with each other. The I/O Technology
monitors have greater sharpness, lower input lag, higher refresh rates, color purity, and operate
at higher frequencies in comparison to TV sets. The TV set consists of tuner or demodulator
circuit to convert the signals
Whenever users are interested to buy a monitor, they search for the better configurations in
minimum possible budget. The configuration of monitors consists of display size, resolution,
supported frequencies, the size of the picture tube and the type of connector used to connect to
the computer. Monitors are manufactured by many manufacturers like LG, Samsung, Acer,
Dell, HP, Lenovo, Sony, Asus, BenQ, etc. The monitors are available with different sizes i.e.,
14’’, 15’’, 17”, 19’’, 21.9’’, 24’’ or even higher. The monitors are also available with different
screen form factor i.e., flat and curved screens. The monitors can be categorized into three
categories based on the design technology. These categories are discussed in next sub-sections.
X deflects
Connector Pins
84
reflector is used to produce images in color or monochrome. An LCD blocks the light to I/O Technology
display patterns. LCDs are lightweight screens and are mainly used for portable computers.
They are known for low power consumption, good resolution and bright colors. The LCDs can
be divided into following three categories based on display generation techniques.
1. Reflective LCDs: The display is generated by selectively blocking reflected light.
2. Backlit LCDs: The display is generated due to a light source behind LCD panel.
3. Edgelite LCDs: The display is generated due to a light source that is adjacent to LCD
panel.
LCD Technology
To manufacture the LCD screens, Nematic technology is used. The molecules of liquid
crystals (rod-shaped crystals) which are known as Nematic cells are used. Figure 8.5 depicts
Nematic cells. The Nematic cells are packed (sandwich) between two thin plastic membranes.
The Nematic cells have special properties i.e., these cells can change the polarity and bend of
the light. The electric current is used to control these properties by applying the electric on
grooves in the plastic membranes.
85
I/O Technology
........................................................................................................................................................
........................................................................................................................................................
........................................................................................................................................................
........................................................................................................................................................
........................................................................................................................................................
........................................................................................................................................................
86
I/O Technology
Pixels
The display memory which is used to store the data for images is known as frame buffer. At
any moment, the frame buffer consists of data for bit-map representation of current image on
screen and the next image. The frames are read dozens of times per second and sent to the
monitor using a cable in serial manner. Upon receiving the stream of data, the monitor forms
and displays it on the screen by scanning raster movement from first up to down one row at a
time. Based on this raster movement CRT, the monitor will illuminate its small phosphor dots.
It is shown in Figure 8.9 and Figure 8.10.
Figure-8.9: Frame Buffer and the corresponding image displayed on the system
The greater number of dots leads to better resolution of the image as well as the sharper the
picture. The number of dots directly correspond to the richness of the image (or gray levels for
a monochrome display) displayed by the system. The higher the number of colors, the more is
the information required for each dot. Therefore, higher resolution and color depth of the
system required bigger memory storage by the system to store the frame buffers.
87
image and (ii) resolution of the image. An image will be sharper on a smaller screen in I/O Technology
comparison to bigger screen. For instance, an image may appear sharp on a 15" monitor and
may be a little jagged on a 12” monitor display. Figure 8.11 shows a circle with different
sharpness on different size monitor screens.
The computer system with a 3-bit RGB color planes utilized 1 bit for each of the red, green
and blue color components. Therefore, every color component can exist only in “ON" or
"OFF" state. The three-bit RGB ‘ON’ or ‘OFF” color components result in 8-colors consisting
of three primary RGB colors i.e., red, green and blue; two pure colors i.e., white and black;
and three complementary colors i.e., magenta, cyan, and yellow colors. The RGB values (ON"
or "OFF") of 3-bits color are given in Table 1 and the colors are displayed in Figure 8.13.
88
Bit-values (‘ON’ or ‘OFF’) Color I/O Technology
0 0 0 Black
0 0 1 Blue
0 1 0 Green
0 1 1 Cyan
1 0 0 Red
1 0 1 Magenta
1 1 0 Yellow
1 1 1 White
89
It implies that minimum RAM required for resolution 800 600 and 8 color depth is 180 KB. I/O Technology
But the memory is available in exponential power of 2 and the next minimum size of memory
is 256 KB. It implies that minimum size RAM required for resolution 800 600 and 8 color
depth is 256 KB.
Now-a-days, a very odd-looking resolution i.e., 1152×864 has become popular. Could you
guess why this is so? The following are the reasons behind its popularity. There are nearly one
million (9,95,328) pixels for VGA with 1152×864 resolution. For color depth value 8, nearly 8
million bits or 1 MB memory is required. Further, human eyes perceive only a few million
colors and this resolution is more suitable. In addition, a square pixel that has a ratio of 4: 3
allows easier programming.
Please note that the calculations shown above are not applicable for 3-D displays, which
requires more memory due to the issues like “Double Buffering” and/or “Z-Buffering”.
90
PCI- It is introduced by Intel and also known as Peripheral Component Interconnect. It is I/O Technology
a high-speed common bus which is used to attach the computer peripherals to the
motherboard. It is used to attach sound cards, network cards and video cards. The
computers may use now some modern technologies like PCI-Express (PCIe), USB and
AGP.
AGP-It is also known as Advanced Graphics Port. It is a standard connector port used to
connect the video card with the microprocessor and the main memory. It is a dedicated
high-speed connection interface which is used by only graphics subsystem. AGP employs
pipelining, isolated data and address buses and high-speed mode to improve the
performance of graphics card.
In specific computers, the video card is directly connected with the microprocessor and
may use direct memory access (DMA) I/O technique to send data from main memory to
frame buffer.
The three basic issues relating to sound cards are - Compatibility, Connections and Quality.
Compatibility: Sound cards must be compatible for hardware as well as for software
to meet the current industry standards/protocols. Some specific software like games
need sound cards to be compatible with industry standards. You may refer to further
readings to know about these standards.
Connections: The sound card must provide different connections in order to perform
various functions. It should provide MIDI port (Musical Instrument Device Interface)
which allows user to produce music directly by using synthesizer circuit in the sound
card. It also allows connecting a Piano keyboard to the computer system.
Quality: There exist different sound cards which provide sounds with different
qualities. The quality of sound differs due to the noise control, digital quality and the
ranges of frequency supported by the sound card.
1. Explain the concept of a frame buffer in the context of Video Card interfaces.
.................................................................................................................................................
.................................................................................................................................................
.................................................................................................................................................
2. What do you understand by horizontal and vertical frequencies?
.................................................................................................................................................
.................................................................................................................................................
.................................................................................................................................................
3. Compute the minimum required video memory for 16 color depth and a monitor screen
with the highest possible resolution 7680x4320.
91
................................................................................................................................................. I/O Technology
.................................................................................................................................................
.................................................................................................................................................
4. Explain sound card. What are the functions of sound card?
.................................................................................................................................................
.................................................................................................................................................
.................................................................................................................................................
8.7.1 Webcam
A digital camera without storage connected to computer system or network is referred as
Webcam. In modern computers, the webcam can either be a separate component which is
plugged into the computer or be an in-built integrated camera. In order to use webcams, it is
necessary to install the required software. A webcam is an input device which is used to
capture the images/videos and then send it to the computer. Webcams are used for
videoconference or video calling or online meeting using Google Meet, Zoom, MS Team and
others services.
92
I/O Technology
8.8 Voice Based Input Device
Modern devices are capable to take human voice as input using speech recognition processes
and execute applications accordingly. These devices are known as Voice Based Input devices.
As compared to microphone, the speech recognition process of these devices recognizes
human voice; converts it into machine-language and execute programs/applications
accordingly. Figure 8.15 two devices which use speech recognition process to recognize
human voice.
Figure-8.15: (a) Siri (b) Echo Dot 3 Smart Speaker with Alexa
The Voice Based Input Devices can recognize spoken words in two ways. The spoken words
can either be recognized from a pre-defined vocabulary or be recognized from a known
speaker after training of the input device. Whenever speaker utters a word from the pre-defined
vocabulary, the Voice Based Input device may display the characters of monitor screen for
verification by the speaker. However, some of these devices may process the speech without
verification from the speaker. The process of speech recognition compares each uttered word
with the words stored in pre-defined vocabulary table.
8.8.1 Siri
Apple Inc. offers a built-in, voice-controlled virtual assistant with most of products i.e.,
iPhone, iPad, Apple Watch or Mac (macOS Sierra and later) etc. This voice-controlled
personal assistant is known as Siri. The users may talk to Siri as they talk to their friends. Siri
allows a seamless interaction with Apple devices such that user speaks to Siri and Siri speaks
to user. Siri helps users to get their job done after receiving user commands. Siri can help to
open a file, send messages, open a web browser, open a website, booking a ticket, watch
movies, and many other activities.
Siri works based on the Artificial Intelligence and Natural Language Processing fields. It
consists of three components -Conversational interface, personal context awareness and
service delegation systems. The conversational interface understands the user word-for-word
manner and the semantic of text is produced using personal context awareness which is based
on habit and language of the user. The service delegation helps to deliver services using built-
in apps and their inner workings.
8.8.2 Alexa
Amazon offers virtual interactive voice-based AI powered digital assistant known as Alexa.
This device has been designed in association with Alexa Voice Service (AVS) in order to
simulate real conversations. “Alexa” is basically the “wake word” which is used to alert the
device to start listening the voice to perform some tasks. Alexa employs intuitive voice
commands to provide services to perform some specific tasks. Figure 8.15(b) depicts the
Amazon Alexa. It is available as Echo speakers, smart thermostats, lamps and lights, and right
on your phone through the Alexa app. Alexa can do quick math, play music, check news and
weather updates, read emails and control many of the smart products.
Alexa also works based on the Artificial Intelligence and Natural Language Processing fields.
It Alexa consists of speakers, microphone and a processor which is used to activate the device.
It receives input and sends it to cloud where Alexa Voice services (AVS) interprets and
understands the user input. Accordingly, AVS sends the appropriate output back to user
device. The internet connection is the basic requirement to use Alexa.
8.9 PRINTERS
93
Printers are devices that accept textual and graphical contents as output from a computer I/O Technology
system and print contents on paper in a controlled manner. The text and photographic images
are produced by printers. Printers differ in technology used, memory, speed, resolution, color
supported, size, hardware compatibility, cost and others factors. The present-day printer
technologies include the dot matrix printer, Inkjet or tank printers, Laser Printers etc. to serve
different needs. The available printers can be divided into two classifications-Impact and Non-
impact printers. Figure 8.16 shows the classifications of printers.
(b)
(a)
Figure-8.17: (a) Dot-matrix printer (b) Local Railway ticket
94
Laser printers are very common page printers and print one page at once. Laser printers I/O Technology
employ a focused light beam to transfer image or text onto paper. The modern laser printer use
Resolution Enhancement Technology (RET) which is introduced by Hewlett-Packard. This
technology smoothens the edges of character, diagonal lines etc. to produce better quality
printouts. To produce high quality print, the basic requirement is the memory which increases
as a square of resolution i.e., dots per inch (DPI). For 600 dpi, approximately 3.5 MB
(600x600 bits) memory is required whereas 14 MB (1200x1200 bits) is required for 1200 dpi.
Figure 8.18 depicts a single function monochrome laser printer.
8.10 SCANNERS
A scanner is an electronic device which is used to capture images from tangible sources like
photographic images, paper, posters, slides and others. The scanner converts the captured
images into electronic form and stores them in computer memory in order to view/modify
later. The scanner employs light sensors arranged in the form of an array in scan-able area. The
light sensors detect differences in brightness of reflections from an image and then scan the
source.
The existing scanners differ in many factors such as compatibility, resolution, support for
different media and interfaces, etc. Two popular types of scanners are - Flatbed Scanners and
Handheld Scanners.
Flatbed Scanners are used to scan high-resolution tangible images into detailed and sharp
electronic images. The images are placed on a flat glass tray and movable sensors are used to
scan the images. Figure 8.19(a) shows a flatbed scanner. Handheld scanners are used to scan
the physical documents, and require good hand control for high quality scanning. These are the
most portable and cheapest scanners and shown in Figure-8.19(b).
Scanning is used for many different applications. The scanners are used as Magnetic Ink
Character Recognition (MICR) scanner in order to scan cheques and Bar-Code readers to
identify different objects. One more application is Optical Recognition of Characters (OCR).
The OCR software use character/pattern matching algorithms to recognize characters and
converts the scanned text to a text file. The OCR technology is very much useful in digitizing
the ancient text written in old scripts.
8.10.1 Resolution
The resolution of scanner is the quality of image achieved by scanner. It is measured in dots
per inch (dpi) and it indicates the number of dots per inch scanned horizontally and vertically.
95
It implies that the more is the dpi of a scanner, the more details a scanned electronic image will I/O Technology
have. The scanned file size increases with increased resolution. There are various ways to
measure the resolution.
Optical Resolution - The upper resolution limit of a scanner which is used to scan the images
is known as optical resolution (hardware resolution). For example- if the optical resolution of
a scanner is 300 dpi, it means 90000 (300x300) pixels per square inch can be captured by the
scanner. The scanners may be available with optical resolutions of 300, 600, 1200, 2400 dpi or
even more.
8.11 MODEMS
Modem (i.e., modulator-demodulator) is a device that connects two computers using telephone
lines in order to exchange data with each other. The modem receives digital signals from
computer, puts them into analog circuit by modifying a constant wave (known as carries) and
then analog signals are transmitted over the telephone lines. This process is known as
modulation. It occurs whenever user connects to the Internet. Demodulation is the inverse
process of modulation in which the digital signals are derived from the modulated wave. It
occurs whenever user receives data from a website, which is then displayed by your browser.
Figure 8.20 shows the process of modulation and demodulation performed by the modem. You
may refer to further readings for more details on modulation and demodulation techniques.
96
2. How characters are recognized by voice-based input devices? I/O Technology
.................................................................................................................................................
.................................................................................................................................................
.................................................................................................................................................
3. Compare impact and non-impact printers.
.................................................................................................................................................
.................................................................................................................................................
.................................................................................................................................................
4. Explain Interpolated resolution.
.................................................................................................................................................
.................................................................................................................................................
.................................................................................................................................................
5. How many pixels can be captured by a scanner with 600 dpi optical resolution?
.................................................................................................................................................
.................................................................................................................................................
.................................................................................................................................................
8.12 SUMMARY
This unit discussed several input/output devices and the technologies behind them. This unit
covers different input device along with different components or types or features. It is
discussed Mouse and classifications of Mice, Keyboard along with its features, voice-based
input devices, scanners and webcam its different types. This unit also discussed output devices
along with other components or types or features. It discussed computer monitors with three
different categories i.e., CRT, LCD and TFT screens. The printers with their different
categories have also been discussed. The video cards have also been discussed with their
characteristics like resolution, color depth, video memory, refresh rates, graphic accelerators
and video card interfaces. It also discussed sound cards with its functions and different
characteristics. At last, the modem device is discussed in brief manner.
2. Scan Codes-When a key is pressed on a keyboard, it transfers the scan code relating to
those keys to the processor. Scan code of every key is unique. The scan codes are used to
communicate the desired data or action to the processor. A keyboard of processor is
connected through interrupt driven I/O mechanism. Therefore, when a key or several keys
are pressed together on the keyboard, it interrupts the processor, provided processor has
enabled interrupts. The processor receives the scan code/codes and identifies the key or
keys that were pressed using the scan code table stored in the ROM BIOS.
3. LCD monitors and LED monitors differ only in terms of backlighting; typical LCD
monitors uses fluorescent backlights whereas an LED monitor uses light-emitting diodes.
The earlier LCD monitors used CCFL instead of LEDs to illuminate the screen.
97
Check Your Progress 2 I/O Technology
1. The display memory which is used to store the data for images is known as frame buffer.
At any moment, the frame buffer consists of data for bit-map representation of current
image on screen and the next image. The frames are read dozens of times per second and
sent to the monitor using a cable in serial manner. Upon receiving the stream of data, the
monitor forms and displays it on the screen by scanning raster movement from first up to
down one row at a time. Based on this raster movement CRT, the monitor will illuminate
its small phosphor dots.
4. Sound card is used to convert digital audio data into analog audio in order to play back
through the speakers or headphones. The Sound card can either integrated into
motherboard (built-in sound card) or connected through expansion slot. The major
functions of a modern sound card are as follows:
a) Conversion from digital sound signals to analog form to play back the sound.
b) Amplifiers to augment the strength of sound signals
c) Sound recording.
d) Built-in synthesizer
e) Sound mixer circuits.
2. These devices recognize spoken words in two ways. The spoken words can either be
recognized from a pre-defined vocabulary or be recognized from a known speaker after
training of the input device. Whenever speaker utters a word from the pre-defined
vocabulary, the Voice Based Input device may display the characters on monitor screen
for verification by the speaker. However, some of these devices may process the speech
without verification from the speaker.
3. Impact printer uses mechanical components for printing i.e., the characters and graphics
are produced on a paper by striking whereas non-impact printer don’t strike or impact the
ribbon to print on paper. Impact printers produce banging noise during printing while non-
impact printers work silently.
98