1 of 61

Peripheral Devices

1

krraju.in

2 of 61

  • What are the input/output devices connected to the computer?
  • How the bus is connecting different modules in a computer?

2

Memory and I/O Organization Memory Hierarchy, Associative Memory, Cache Memory, Virtual memory.

I/O Organization: Peripheral devices, I/O interface, Asynchronous data transfer, Modes of transfer, Priority interrupt, direct memory access and IOP

Unit-4

What you’ll learn

krraju.in

3 of 61

  • Any component, inside or external, that adds new hardware capabilities to the basic design of a computer.
  • For example: hard drives, printers, mouse etc.

3

Peripheral

krraju.in

4 of 61

  • Facsimile (FAX): Application that converts and sends the white and black areas of a page over telephone wires or wireless networks to a receiving machine that converts the coding back into white and black areas and prints the message.
  • Basically a fax machine is a remote copying device that transmits/receives copy to/from a remote location.

4

Fax (Facsimile)

krraju.in

5 of 61

5

Joystick

An Input device that positions cursor on a screen

  • Used primarily for dynamic graphics at workstations and for video games.

krraju.in

6 of 61

  • A keyboard (which commonly resembles a type writer’s keyboard) provides input capability in most terminals.
  • Keyboard equipped terminal converts the character(s) indicated by the pressed key into a serial bit stream for transmission over a data link.
    • Each character is represented by a code, generally either ASCII or EBCDIC

6

Keyboard

krraju.in

7 of 61

  • Text keys: A to Z, the numbers 0-9 and special characters.
  • Control keys: Communication control codes, such as START, STOP, DELETE, and END OF TRANSMISSION.
  • Function keys: which include carriage return, backspace and horizontal tab. Some terminals:
    • Use auxiliary function keys to enable the user to program special operations (WWW key which connects directly to internet).
    • Have only function keys, each key represents an item, key pressing actually enters its identification and additional information.

7

Keyboard Keys

krraju.in

8 of 61

Virtual/soft/touch screen keyboard: On handheld computers, the keyboard is displayed right on the computer screen.

  • Text can be entered by tapping the keys with finger or a pen like stylus.

Ergonomic keyboard:

  • Repeated use of keyboards over long periods will result in physical stress on wrists and arms.
  • By incorporating ergonomic designs, keyboards can be designed to have less physical stress.

8

Other Keyboards

krraju.in

9 of 61

Stylus: It is a pen style device that allows the user either to touch parts of a predetermined menu of options or to hand write information into the computer.

  • The technology may respond to pressure of the stylus, or the stylus can be a type of light pen that emits light that is sensed by the computer.

Light pen: It is a pen shaped I/O device. It can be used to write or sketch or erase certain lines on the video monitor of the computer. It is also used for inputting graphics and reading bar codes.

9

Stylus and Light Pen

krraju.in

10 of 61

Track stick: Pencil eraser type pointing device located in the center of the keyboard, often found in notebook computers.

Numeric pad: Which will have only number keys.

  • It facilitates rapid entry of numeric data to the terminal or the application may be dialing a number as in telephone handset

10

Track Stick and Numeric Pad

krraju.in

11 of 61

Converts a digital data stream into an analog form for transmission across an analog telephone network.

  • Modulation: Prior to transmission of the data.
  • Demodulation: Reconvertion of the received signal back into its form.

Each access port to the network requires a full duplex (two way simultaneous) capability, the device must perform both the modulation and demodulation functions; hence the name MODEM.

11

Modem (Modulator and Demodulator)

krraju.in

12 of 61

Hand held device used to point a cursor at a desired place on a computer screen;

  • a click instructs the computer to take some action.

12

Mouse

krraju.in

13 of 61

Mouse without having a wire connection to the computer.

  • It senses hand motion and transmits a signal to the computer to move the mouse pointer in the same direction.
  • Buttons on the cordless mouse allow clicking, double clicking and dragging.

13

Cordless Mouse

krraju.in

14 of 61

  • It has a beam of light that shines onto a special mouse pad that has lines on it.
  • By moving the mouse across these lines, the crossing is picked up by the light from the mouse hitting the pad and reflecting back to a sensor in this mouse.
  • Since there are no moving parts, the rate of failure is low and has higher reliability than mechanical mouse.

14

Digital Mouse/ Optical Mouse

krraju.in

15 of 61

Touchpad: It is a flat rectangular pad that senses the movement and pressure of fingertip to control the mouse point.

  • Using finger gestures, one can click, double click, and drag just as with a mouse

Trackball: It is an upside down mouse, which is common in laptop computers.

15

Trackball and Touchpad

krraju.in

16 of 61

A touch pad used to create drawings using the same kind of hand motion used for sketching and tracing drawings.

  • It uses a pencil like stylus instead of finger as in touchpad.

16

Graphics Tablet

krraju.in

17 of 61

With digital cameras and camcorders direct digital entry is available for graphics and full motion video.

  • Light enters the camera through the lens.
  • The light is focused on the charge coupled device (CCD), a solid state chip made up of tiny, light sensitive photosites.
  • When light hits the CCD, the photosites convert light into electrons, which are then converted into digital information and is stored in the camera’s memory.

17

Digital Camera

krraju.in

18 of 61

Using microphone converts speech into digital form. It compares the patterns produced by the speaker’s voice with a set of pre-recorded patterns.

  • Radiologists can dictate their interpretations of X-rays directly into transcription machines.
  • Nurses can fill out patient charts by talking to computer.
  • Warehouse workers are able to speed inventory taking by recording inventory counts verbally.

e.g., Viavoice form IBM

18

Voice Recognition System

krraju.in

19 of 61

Biometric devices identify a person through a fingerprint, voice intonation, or other biological characteristic.

  • Fingerprint readers in keyboards and smartphones, so fingerprints could replace passwords.
  • Retinal identification devices use a ray of light to identify the distinctive network of blood vessels at the back of one’s eyeball.

19

Biometric

krraju.in

20 of 61

There are varieties of scanners depending on the utility, resolution and colour depth (the number of colours that a scanner can sense and recreate)

  • Flatbed scanner
  • Sheet fed scanner
  • Drum scanner
  • Hand held scanner
  • Card scanner
  • 3D scanners (medical CAT scanners)
  • Barcode scanner

20

Scanners

krraju.in

21 of 61

Variety of barcode scanners:

  • A wand is an inexpensive scanner that requires physical contact as it is scanned across a bar code.
  • Charge coupled device (CCD) scanners have a reading head. It is placed over a bar code and the trigger is pulled.
  • Fixed focus optics (FFO) scanners are aimed at a bar code up to 20 inches away.
  • Laser scanners use a laser beam to read a barcode.

21

Barcode Reader/Scanner

krraju.in

22 of 61

In Universal Product Code one can cross check the correct operation of scanner by tallying with “check digit” printed at the extreme right bottom corner on the label.

There is a variety of bar code scanners are in use:

  • A wand is an inexpensive scanner that requires physical contact as it is scanned across a bar code.
  • Charge coupled devices (CCD) scanners have a reading head. It is placed over a bar code and the trigger is pulled.
  • Fixed focus optics (FFO) scanners are aimed at a bar code up to 20 inches away.
  • Laser scanners use a laser beam to read a barcode, when the trigger is pulled.

22

Barcode Scanners

krraju.in

23 of 61

MICR (Magnetic Ink Character Recognition): Recognition of characters printed with a special magnetic ink.

e.g., Characters printed at the bottom of the bank checks.

OMR (Optical Mark Recognition): Reads pencil marks and converts them into computer usable form.

e.g., Reading of answers from GRE paper.

23

MICR and OMR

krraju.in

24 of 61

It is accomplished using scanner and OCR software as follows:

  • Scanned document is converted to a bitmapped image.
  • The OCR software analyses the light and dark areas on the page, making a guess at how the page is laid out.
  • The software looks up each character in its library of character templates trying to find a match for it.
  • Unidentifiable characters are displayed as special symbols.
  • After the conversion, the document can be saved in the format of word processing program and it can be edited.

24

OCR (Optical Character Recognition)

krraju.in

25 of 61

A monitor is an output device capable of displaying text and graphics.

Flat panel display: A very narrow display that uses one of several technologies, such as electroluminescence, LCD, or thin film transistors.

25

Display Monitors

krraju.in

26 of 61

26

CRT Monitors

krraju.in

27 of 61

  • The Cathode Ray Tube consists of a glass vacuum tube that contains one electron gun for a monochrome display, or three (red, green, and blue) electron guns for a colour display.
  • Electron beams from these guns sweep rapidly across the inside of the screen from the upper left to the bottom right of the screen.
    • Low price and easy implementation of colour displays.
    • Bulky size and high power consumption.

27

CRT Monitor

krraju.in

28 of 61

  • It uses electric current to align crystals in a special liquid.
  • The rod shaped crystals are contained between two parallel transparent electrodes, and when current is applied, they change their orientation, creating a darker area.
  • Applications: Watches, calculators, notebook computers and many other devices where small sized displays are needed.

28

LCD (Liquid Crystal Display)

krraju.in

29 of 61

  • Plasma panels consist of two glass plates separated by a thin gap filled with a mixture of argon and neon gas.
  • Advantage: High resolution, very bright, high contrast and very large panels can be built.
  • Disadvantage: Very expensive.
  • Applications: Found in applications where display quality is important and the bulky size of a cathode ray tube is undesirable.

29

Plasma Display

krraju.in

30 of 61

A special monitor that lets the user make choices by touching icons or graphical buttons on the screen. Touch screen systems are used for interactive displays in museums and in automatic teller machines.

30

Touch Screen

krraju.in

31 of 61

Output device that transforms digital computer content into a printed, paper based form.

Impact printer: Output device that uses striking action to make impressions on paper.

Character printer: These printers print on character at a time.

e.g., Daisy wheel printer.

31

Printers

krraju.in

32 of 61

Dot matrix printer: In these printers, a collection of dots forms each of the printed characters.

Advantages:

  • Inexpensive.
  • Produces draft quality and near letter quality.
  • Can output some graphics.
  • Can print multipart forms.

Disadvantages:

  • Noisy.
  • Cannot produce high quality output of text and graphics
  • Limited fonts.

32

Dot Matrix Printer

krraju.in

33 of 61

Non-impact printer: Uses laser beams or streams of ink, rather than striking action, to make images on paper.

Thermal printers/ Dye sublimation printers: They use coloured waxes and heat to produce images by burning dots on special paper.

Advantages:

  • Quite
  • High quality colour output of text and graphics
  • Can also produce transparencies.

Disadvantages:

  • Special paper required
  • Expensive
  • Slow

33

Non-impact Printer

krraju.in

34 of 61

Inkjet/Bubble jet printer: It is a non-impact printer that shoots fine streams of ink onto paper. Each drop is produced by contracting the nozzles which out the liquid.

  • These are less expensive than laser printers, but offer somewhat less resolution quality.
    • Liquid inkjet: uses liquid ink.
    • Solid inkjet: uses solid ink sticks

34

Inkjet/Bubble Jet Printer

krraju.in

35 of 61

  • Removable ink cartridges are attached to printheads with firing chambers and nozzles apiece.
  • As the print heads move back and forth across the page, software instructs them, where to apply dots of ink, what colours to use, and in what quantity.
  • A matrix of dots forms characters and pictures. Colours are created by layering multiple colour dots in varying densities

35

How Inkjet Printer works?

krraju.in

36 of 61

  • It is a non impact printer that uses laser beams to write information on photo sensitive drums, over which paper and toner pass, making images on paper.
  • Laser printers are high speed, high quality devices which produce very high-resolution text and graphics, making them suitable for desktop publishing.

36

Laser Printer

krraju.in

37 of 61

  • A laser beam is turned on and off by the stream of 1s and 0s.
  • A rotating mirror deflects the blinking beam and paints a line across an electrically charged revolving drum.
  • If the beam is on when it passes a point on the drum, it charges the dot that can attract toner. The toner is transferred from the drum to the paper under heat and pressure.

37

How Laser Printer works?

krraju.in

38 of 61

Line printer: Prints a complete line at a time, rather than printing one character at a time (dot matrix or daisy wheel printer), or one page at a time (laser printer).

  • Line printers are very high speed printers, and are common in the corporate environment where they are used with mainframe computers.

Label printer: A printer specifically designed to print names and addresses onto continuous labels.

Photo printer: A printer designed to print photographic quality snapshots from digital cameras etc.

38

Line Printer

krraju.in

39 of 61

Uses computer directed pens to create high quality images.

  • Flatbed plotter: Moves a pen up and down across a flat drawing surface.
  • Drum plotter: Paper is fixed on a drum and pen moves only from side to side.
  • Multicolour plotters use multiple pens to produce colours.

e.g., Pen plotters, electrostatic plotters, dot matrix impact plotters.

39

Plotters

krraju.in

40 of 61

Digital press: It is designed to print a large number of copies of magazines or books. They eliminate the need to make ready copies as in offset printing.

3D printer: Squeez out molten plastic through a tiny nozzle that it moves around precisely under computer control. It prints one layer, waits for it to dry, and then prints the next layer on top

40

Digital Press

krraju.in

41 of 61

Sound output devices produce digitized sounds, ranging from beeps and chirps to music.

Voice synthesizers or voice output devices convert digital data into speech like sounds.

41

Voice Synthesizers

krraju.in

42 of 61

VR Player: A media player designed specifically to watch immersive content with an head mounted display.

AR glasses: Augment the perceived reality of users with information via light displays in the users' view.

  • The system is hands-free and support even when the user is actively performing tasks with their hands

42

Virtual and Augmented Reality

krraju.in

43 of 61

Buses

43

krraju.in

44 of 61

A shared communications path consisting of one or a collection of lines and the circuitry and chips that manage the transfer of data from one device to another on these lines.

Examples:

  • Omnibus (PDP-8),
  • Unibus (PDP-11),
  • Multibus (8086),
  • IBM PC bus (PC/XT),
  • ISA bus (PC/AT),
  • EISA bus (80386),
  • Microchannel (PS/2),
  • PCI bus (many PCs),
  • SCSI bus (many PCs and workstations),
  • Nubus (Macintosh),
  • Universal serial bus (modern PCs),
  • Firewire (Consumer electronics),
  • VME bus (Physics lab equipment) and
  • Camac bus (high energy physics).

44

Bus

krraju.in

45 of 61

  • Advantages of the bus organization are versatility and low cost.
    • By defining a single connection scheme, new devices can easily be added, and peripherals can even be moved between computer systems that use the same kind of bus.
    • Buses are cost effective because a single set of wires is shared in multiple ways.
  • The major disadvantage of bus is that it creates a communication bottleneck, limiting the maximum I/O throughput.

45

Bus Organisation

krraju.in

46 of 61

In some computer systems, a common bus connects CPU, memory and I/O components.

  • Since the lines are shared by all components, only one component at a time can successfully transmit.

A PC’s motherboard has a bus, such as ISA or PCI, but there are also buses between memory and the processor and external components, such as a SCSI or Universal serial bus.

46

Bus Organisation contd..

krraju.in

47 of 61

  • Single bus structure
  • Compatible input/output bus structure
  • Multiple bus structure

47

Bus Structures

krraju.in

48 of 61

Bus performance is evaluated with the following parameters:

  • Programmed I/O data rate
  • Interrupt processed I/O data rate
  • Direct Memory Access speed
  • Memory bus data rate
  • I/O bus data rate
  • System overloading (task cannot be performed because the bus is busy)
  • System overhead (activity required, but that is not part of the data transmission)

48

Bus Performance

krraju.in

49 of 61

Synchronous bus: A bus that includes a clock in the control lines and a fixed protocol for communicating that is relative to the clock.

Asynchronous bus: A bus that uses a handshaking protocol for coordinating usage rather than a clock; can accommodate a wide variety of devices of differing speeds.

Backplane bus: A bus that is designed to allow processors, memory and I/O devices to coexist on a single bus. It is a printed circuit on which many connectors are used to plug in functional boards.

49

Buses

krraju.in

50 of 61

System bus: A bus used to interconnect major computer components (CPU, memory, I/O) consisting of shared signal paths and utility lines, is built on the backplane bus. This system bus provides a common communication path among all plug in boards.

e.g., VME bus, Multibus II, Futurebus+.

VME (Versa Module Europe) bus: It was designed by Motorola to provide a high performance bus for 68000 based systems (IEEE P1014)

Multibus: It was designed by Intel to provide a system bus for 8080 (IEEE 796).

50

Buses

krraju.in

51 of 61

ISA bus: (Industry Standard Architecture bus) 1984. This is a 16 bit bus standard which runs at 8.33 MHz. The vast majority of peripheral add –in cards like modems, sound cards, CD ROM interfaces and other low bandwidth applications are still ISA based. It is also called as Advanced Technology bus (AT bus)

EISA bus: (Extended Industry Standard Architecture bus) 1988. This 32-bit bus standard runs at a speed of 8.33 MHz.

Local bus: Buses implemented on printed circuit boards are called local buses.

51

Buses

krraju.in

52 of 61

MCA: (Micro channel Architecture) 1987. IBM introduced MCA along with the PS/2 computer. It handles 32 bits of data at a time, and it has a primitive intelligence to allow it to adjust to the system automatically.

52

Buses

krraju.in

53 of 61

PCI: (Peripheral Components Interconnect) 1992.

  • It is a 64 bit standard, but is currently only implemented as 32 bits.
  • It performs asynchronously to the main CPU, meaning that the PCI bus operates at 33 MHz regardless of the CPU clock.
  • It also allows more than two devices on the bus, unlike VLB.
  • Maximum bus length is 0.5 m.
  • The maximum number of devices that can be connected to PCI bus is 1024 with multiple bus segments and at most 32 devices/bus segment.

53

PCI

krraju.in

54 of 61

AGP: (Accelerated Graphics Port) 1997. Intel introduced it as an improvement over the PCI bus. It is designed for a special type of video card.

VESA Local Bus (VLB): Video Electronics Standards Association local bus is a 32-bit bus originally designed to provide higher bandwidth for video cards than is available with the ISA bus. It is optimized for the 486 CPU and can run at speeds up to 40 MHz with one card on the bus or up to 33 MHz with two cards on the bus. The speed of the VLB is dependent, and runs synchronously with the main system CPU.

54

Buses

krraju.in

55 of 61

SCSI: (Small Computer System Interface). An input and output bus that provides a standard interface between the processor and peripheral devices. Basic data bus width is 8-32 bits and maximum bus length is 25 meters.

  • Introduced by Apple in 1984
  • Used to interface a wide variety of high speed devices to the computer system.
  • While called a bus it is really a mechanism to daisy chain devices together.

55

SCSI Bus

krraju.in

56 of 61

  • SCSI-I
    • Used 8 bit data bus width
    • 5 MHz clock – transfer rate of 5 MB/sec
    • Supported up to 7 devices (compare to the 2 of a typical IDE configuration)
  • SCSI-2
    • Current standard
    • Expands the bus width to 16 or 32 bits
    • Clock rate of 10 MHz
    • Supports a wide variety of device types, making I/O software in the host simpler.

56

SCSI Bus contd..

krraju.in

57 of 61

  • IDE: (Integrated Drive Electronics): It is a hard disk interface standard. In this, the hard disk controller circuit is located on the drive itself.
  • EIDE: (Enhanced Integrated Drive Electronics)
  • GPIB (General Purpose Interface Bus) (IEEE 488): It is a 24 pin parallel interface bus used to connect scientific instruments together or to a computer.

57

IDE

krraju.in

58 of 61

USB: (Universal Serial Bus) 1997. It is designed for low speed devices such as keyboards, mice, still cameras, snapshot scanners, digital telephones and so on. There are two kinds of USB ports: USB1, that supports up to 12 Mbps data speeds and USB2, that supports up to 480 Mbps data speeds. They have the following salient features:

  • Users need not set switches or jumpers on boards or devices and open the case to install new I/O devices and reboot after installing a new device (plug and play)
  • There will be only one kind of cable for connecting all devices.
  • I/O devices will get their power from the cable.
  • Up to 127 devices can be attached to a single computer.
  • The system will support real time devices (e.g., sound, telephone)
  • Devices can be installed when the computer is running.
  • Transfer data much faster than the serial and parallel ports.

58

USB

krraju.in

59 of 61

Firewire (IEEE 1394): Designed to connect devices such as digital camcorders, digital cameras, digital video disc players, CD-ROM drives, printers, scanners and hard drives. It also enables high speed data communication, such as video conferencing and video editing, and gives data transfer speeds up to 1.6 Gbps.

  • High speed, low cost serial link
  • Gaining support in consumer electronics products as well as computer systems
  • Deliberately move away from parallel connections with associated high cable and connector costs
  • Provide high speed serial link (25-400 Mbps) that is able to connect to many devices
  • Daisy chain up to 63 devices together on 1 bus, interconnect up to 1022 buses together through bridging techniques
  • Communication is based on a 3 layer protocol
  • Physical layer
  • Link layer
  • Transaction layer

59

Firewire

krraju.in

60 of 61

Recap

60

krraju.in

61 of 61

Video Links

61

krraju.in