Syllabus Content:: Input, Output and Storage Devices
Syllabus Content:: Input, Output and Storage Devices
Syllabus Content:: Input, Output and Storage Devices
Syllabus Content:
1.3.1 Input, output and storage devices
Computer System:
A computer is an electronic machine that accepts data, stores and processes data into
information. The computer is able to work because there are instructions in its memory
directing it, instructions that direct the computer are called software or computer
program. The physical parts of the computer that you can see and touch, such as the
keyboard, monitor and the mouse are called hardware. There are four major categories
of computer hardware:
1. Input devices: used to enter data into the computer
2. Processing devices: manipulate the data.
3. Storage devices: store data and program.
4. Output device: show results of the process.
Input devices:
An input device is any hardware component that allows you the user to enter data
or instruction into the computer. There are many manual/automatic input devices.
Most widely used input devices are:
Keyboard
Pointing devices
Tracker ball mouse
Laser mouse
2D, 3D Scanners
Keyboards:
The keyboard is the most common and widely used input device. It is made up of
buttons called 'keys'. The keys are arranged into sections:
Alphabet keys
Function or F keys (F1, F2, F3)
Numeric keys
Arrow keys
Command keys (insert, delete, home, end, page up/down)
Most keyboards are called 'QWERTY' keyboards. This name comes from the first six
letters on the top row of the alphabet keys.
What actually happens behind the scenes is that, there are three separate layers of
plastic. Two of them are covered in electrically conducting metal tracks, and there's an
insulating layer between them with holes in it. You can see dots at the places where the
keys press the two conducting layers together. There are lines, which are electric
connections allowing tiny electric currents to flow when the layers are pressed tight to
one another by a key moving down from above.
1. When you type or press any key, a switch is pressed, which completes the circuit
(closes an open circuit) and allows a tiny amount of current to flow.
2. A processor (on keyboard) analyses the position of the keys pressed and sends
this information to the computer, where it is sent to something called the
'keyboard controller'.
3. This controller processes the information that is sent by the keyboard's
processor, and, in turn, sends it to the operating system (OS).
4. The OS then checks this data to analyze if it contains any system level
commands, like Ctrl+Shift+Esc, which is the keypress to bring up the Task
Manager. If such system level commands are present, the computer executes
them; if not, it forwards the information to the current application.
5. The application then checks if the keypresses relate to commands in the
application, like Ctrl+P, which is the keypress for the print command. Again, if
there are such commands, they are executed first, and if not, then these
keypresses are accepted as content or data.
6. All this happens in a fraction of a second, so even if you press many keys, there
is no lag in the system.
Character Mapping
The key matrix has a corresponding chart or character map that is stored in the read-
only memory (ROM) of the computer. When you press a key, the processor looks up the
position of the circuit that was closed, or completed, with the character map, and
determines which key was pressed. All the keys are mapped and stored in the memory.
To put it simply, keyboards use switches and circuits to change keystrokes to a format
the computer understands. Every keyboard contains a processor that does the work of
translating the keystrokes, or the keys pressed, to the computer.
2D-Scanner:
The scanner’s embedded computer repeatedly scans the signals from the sensors
as they move across the document. The embedded computer then digitizes, processes
them and sends them to the computer.
Mouse:
A light beam and detector are arranged so that the intermittent transmission of the light
through the holes in the disc is recorded as the disc rotates and the circuitry attached to
the pair of detectors then sends the appropriate data to the computer to activate
movement of the screen cursor.
More recently the tracker ball mouse was phased out and the optical mouse was
introduced. This technology dispenses with the mechanical aspects associated with the
movement of a rubber
Compared with a mouse, a trackball has no limits on effective travel; at times, a mouse
can reach an edge of its working area while the operator still wishes to move the screen
pointer farther. With a trackball, the operator just continues rolling, whereas a mouse
would have to be lifted and re-positioned. Some trackballs, such as Logitech's optical-
pickoff types, have notably low friction, as well as being dense (glass), so they can be
spun to make them coast. The trackball's buttons may be situated to that of a mouse or
to a unique style that suits the user.
Laser Mouse:
The CMOS sensor sends each image to a digital signal processor (DSP) for analysis.
The DSP, operating at 18 MIPS (million instructions per second), is able to detect
patterns in the images and see how those patterns have moved since the previous
image.
Based on the change in patterns over a sequence of images, the DSP determines how
far the mouse has moved and sends the corresponding coordinates to the computer.
The computer moves the cursor on the screen based on the coordinates received from
the mouse. This happens hundreds of times each second, making the cursor appear to
move very smoothly.
Touch Screen
A touch screen is an alternative to a
separate pointing device. With a
touch screen the user selects items
on the screen by touching the surface.
This makes touch screen systems
very intuitive and simple to use.
Capacitive
Infra-red
Resistive.
We will consider how each of these technologies work and what their main benefits and
drawbacks are.
Microphone
An input device that converts sound into a signal that can be fed into a computer.
The signal from a microphone is usually analogue so, before it can be processed by a
computer, it must be converted into digital data. An Analogue-to-Digital Convertor
(ADC) is used for this (usually built into the computer’s sound card)
Many headphones now come with microphones to allow them to be used with chat and
phone applications
3D- Scanners:
A 3D scanner is a device that analyses a real-world object or environment to collect
data on its shape and possibly its appearance (e.g. colour). The collected data can then
be used to construct digital three-dimensional models using 3D-printers.
Many different technologies can be used to build these 3D-scanning devices; each
technology comes with its own limitations, advantages and costs. Many limitations in the
kind of objects that can be digitised are still present, for example, optical technologies
encounter many difficulties with shiny, mirroring or transparent objects.
Contact 3D scanners:
Contact 3D scanners probe the subject through physical
touch, while the object is in contact with or resting on
a precision flat surface plate, ground and polished to a
specific maximum of surface roughness. Where the object
to be scanned is not flat or cannot rest stably on a flat
surface, it is supported and held firmly in place by a fixture.
The scanner mechanism may have three different forms:
Non-contact 3D-scanners:
Active scanners emit some kind of radiation or light and detect its reflection or radiation
passing through object in order to probe an object or
environment.
Possible types of emissions used include
light, ultrasound or x-ray.
Each slice is built up by use of X-rays, radio frequencies or gamma imaging; although a
number of other methods exist. Each ‘slice’ is then stored as a digital image in the
computer memory.
The whole of the solid object is represented digitally in the computer memory.
Depending on how the image is formed, the type of tomographic scanner can have
different names. For example:
Output devices
An output device is a piece of hardware that is used to display or output data which has
been processed or has been stored on the computer.
There are many different kind of output devices such as inkjet, laser and 3D printers;
2D and 3D cutters; speakers and head phones; actuators; flat panel display screens
including Liquid Crystal Display (LCD) and Light-Emitting Diodes (LED); LCD
projectors and Digital Light Projectors (DLP)
Printer:
Printer is an output device that prints character and graphics on paper or other
materials.
Laser Printer:
LASER PRINTERS differ greatly from inkjet printers in the way they print pages. They
use dry powder ink rather than liquid ink and make use of the properties of static
electricity to produce the text and images. Unlike inkjet printers, laser printers print the
whole page in one go (inkjet printers print the page line by line).
The following steps describes briefly the stages that occur when a document is printed
using a laser printer:
1. Laser printer uses a laser scanning a drum to print with powdered ink, known as
toner.
2. The printer places an even, negative, static charge on a photoconductive drum.
3. It scans a very narrow laser beam across the surface of the rotating drum.
4. The laser beam causes the negative charge to leak away wherever it shines on the
drum.
5. The drum revolves past a supply of toner which is also charged negatively. The
toner is attracted onto those regions of the drums surface where no charge remains.
6. Toner particles are repelled by those regions that remain charged because they
were not lit by the laser’s beam.
7. The printer rapidly switches the beam on and off to draw the required pattern of
output.
8. A roller presses a sheet of paper against the rotating drum and the toner particles
are attracted to the positively charged paper with greater force due to laws of
physics.
9. Another roller presses the paper against a heated ‘fuser’ roller. The heated
toner melts and bonds to the paper, producing a printed copy.
10. If there are four drums with four different colors of toner the printer can print in color.
Inkjet printer
An inkjet printer uses a print head to propel differently sized droplets of ink, measuring
just Pico liters, from a number of fine nozzles onto a sheet of paper. The printhead
scans from side to side on stabilizer bar and rollers feed the paper forward.
Speakers:
To make these vibrations, speakers have a set of magnets. One of them is called
the permanent magnet. It doesn’t move or change polarity and is made of a
magnetic metal like iron. The other magnet is an electromagnet.
It is a coil of metal wire like
copper or aluminum. When an
electric current is sent through
the electromagnet, it is either
attracted to or repelled away
from the permanent magnet.
3D- Printers:
It was made from many layers (0.1 mm thick) of powdered metal using a technology
known as BINDER 3D PRINTING.
Various types of 3D printers exist; they range from the size of a microwave oven up to
the size of a small car.
3D printing would produce the same item by building up the object from layers of
powdered metal.
Direct 3D printing uses inkjet technology; a print head can move left to right as in
a normal printer. However, the print head can also move up and down to build up
the layers of an object.
Binder 3D printing is similar to direct 3D printing. However, this method uses two
passes for each of the layers; the first pass sprays dry powder and then on the
second pass a binder (a type of glue) is sprayed to form a solid layer.
Newer technologies are using lasers and UV light to harden liquid polymers; this
further increases the diversity of products which can be made.
How to create a solid object using a 3D printer There are a number of steps in the
process of producing an object using these 3D printers. The steps are summarised
below
Backing storage:
Backing storage (also called auxiliary storage) stores programs and data for future use.
In order to store data while the electricity is switched off or unavailable storage must be
non-volatile. Access to backing storage is slower than internal memory. Operating
systems and program files are loaded into RAM form backing storage when required for
execution.
It is important to distinguish between a storage device and storage medium. The
storage device is the machine that stores data; the storage medium is the material on
which the device stores data. There are three different types of backing storage device:
1. Magnetic storage device
2. Optical storage device
3. Solid state storage device.
Magnetic media stores data by assigning a magnetic charge to metal. This metal is then
processed by a read head, which converts the charges into ones and zeros. Historically,
magnetic media has been very popular for storing programs, data, and making backups.
It looks set to continue in this role for some time. However, solid state technology is
starting to be used more and more, storing programs and data on new devices such as
mobile phones and cameras.
Platter - Metallic disks where One or both sides of the platter are magnetized,
allowing data to be stored. The platter spins thousands of times a second around
the spindle. There may be several platters, with data stored across them
Head - The head reads magnetic data from the platter. For a drive with several platters
there may two heads per platter allowing data to be read from top and bottom of each
Actuator Arm - used to move the read heads in and out of the disk, so that data can
be read and written to particular locations and you can access data in a Random
fashion, you don't need to read your way through the entire disk to fetch a particular
bit of information, you can jump right there. Seek time is very low.
Power connector - provides electricity to spin the platters, move the read head and run
the electronics IDE connector - allows for data transfer from and to the platters
Jumper block - used to get the disk working in specific ways such as RAID
For the exam you must be able to explain how a hard disk works:
4. Once the data sector that is required has spun around and under the read
head, data is read
3. the actuator arm moves the write head to the track that will be written to
4. Once the data sector that is required has spun around and under the write
head, data is written to the platter
Optical media
Optical media
works by creating a
disc with a pitted
metallic surface.
There are several
different types of
disk out there
ranging from 650
MB to 128 GB, with
the pits and lands
getting closer
together for higher
volume disks. The
principle behind
how each of them
works is the same.
seen in Figure, both systems use a single, spiral track which runs from the centre of the
disk to the edge.
The data is stored in ‘pits’ and ‘bumps’ on the spiral track. A red laser is used to read
and write the data. CDs and DVDs can be designated R (write once only) or RW (can
be written to or read from many times).
1. A single track runs in a spiral pattern from the center of the disc to the
outside, this track is made of pits and lands to represent the ones and
zeroes of binary data
2. A low-powered laser is shone onto the CD-ROM, burning pits into the metal
3. The disc spins and the laser follows the track, putting the binary data onto
the CD in a spiral track
1. A single track runs in a spiral pattern from the center of the disc to the
outside, this track is made of pits and lands to represent the ones and
zeroes of binary data
4. The binary data (the 1s and 0s) are put together and the CD-ROM has been
read
a blue laser, rather than a red laser, is used to carry out read and write operations;
the wavelength of blue light is only 405 nanometres (compared to 650 nm for red
light)
using blue laser light means that the ‘pits’ and ‘bumps’ can be much smaller;
consequently, Blu-ray can store up to five times more data than normal DVD
Blu-ray uses a single 1.1 mm thick polycarbonate disk; normal DVDs use a
sandwich of two 0.6 mm thick disks
using two sandwiched layers can cause BIREFRINGENCE (light is refracted into two
separate beams causing reading errors); because Blu-ray uses only one layer, the
disks don’t suffer from birefringence
Blu-ray disks automatically come with a secure encryption system which helps to
prevent piracy and copyright infringement.
650 - 900 MB
CD-RW re-Writable
4.7 - 9.4 GB
DVD-RW re-Writable
DVD-RAM re-Writable
Since a SSD has no moving parts, it handles shock and vibration much better that a
rotating disk drive. Without the spindle motor needed to rotate platters and an actuator
to move the heads to the correct location, a SSD generally uses much less power than
its mechanical HDD counterpart.
Smaller Physical Size – which could also be removable in the case of CompactFlash,
SD Card, etc.
Lower Power Usage
Higher Performance – especially small block transfers used for transactional
processing
Lower Absolute Cost – if only a small amount of memory is needed
A Solid State Drive emulates a hard disk drive in a host computer or embedded system.
It does this with a specially designed controller
which has the same electrical interface as a
rotating hard disk drive. In many cases it has
the exact same connector and physical form
factor as the hard drive as well.
The life of a SSD depends on the application which it is being used. Unlike rotating hard
disk drives which SSD were designed to replace, the SSD memory has a finite number
of write/erase cycles. This makes the management of data written to the SSD extremely
important.
As an example, a consumer 2.5” SATA SSD could last for decades in low intensity
application, but may only last a few weeks in a high intensity data logging application.
Solid state storage devices are electronic and made as integrated circuits or chip. The
currently predominant technology is flash memory, which like ROM holds data that are
non-volatile but can be erased and rewritten in large blocks. We often refer to this as
non-volatile memory.
Memory cards
These memory cards allow photos to be transferred from camera to computer via the
USB port. Many printers and computers also have card slots allowing the device to read
the memory card directly.
Each memory card is made up of NAND chips (see Section 6.4.2) and, as with all solid-
state memories, there are no moving parts. All solid-state memories need to be treated
with some care.
If they are removed from a device before being made safe (for example, while still in the
middle of a read–write operation), data on the memory card or stick can be corrupted. In
extreme cases, the memory card or stick become totally unusable. It is essential to wait
for the message: ‘it is now safe to remove your device’ if plugged into a computer. With
mobile phones or digital cameras, it is usually advisable to switch them off before
removal of the card.
Flash works using an entirely different kind of transistor that stays switched on (or
switched off) even when the power is turned off. A normal transistor has three
connections (wires that control it) called the source,
drain, and gate.
A flash transistor is different because it has a second gate above the first one. When the
gate opens, some electricity leaks up the first gate and stays there, in between the first
gate and the second one, recording a number one. Even if the power is turned off, the
electricity is still there between the two gates. That's how the transistor stores its
information whether the power is on or off. The information can be erased by making
the "trapped electricity" drain back down again.
That's a very glossed over, highly simplified explanation of something that's extremely
complex. If you want more detail, it helps if you read our article about transistors first,
especially the bit at the bottom about MOSFETs—and then read on.
The transistors in flash memory are like MOSFETs only they have two gates on top
instead of one. This is what a flash transistor looks like inside. You can see it's an n-p-n
sandwich with two gates on top, one called a control gate and one called a floating gate.
The two gates are separated by oxide layers through which current cannot normally
pass:
In this state, the transistor is switched off—and effectively storing a zero. How do we
switch it on? Both the source and the drain regions are rich in electrons (because
they're made of n-type silicon), but electrons cannot flow from source to drain because
of the electron deficient, p-type material between them. But if we apply a positive
voltage to the transistor's two contacts, called the bitline and the wordline, electrons get
pulled in a rush from source to drain. A few also manage to wriggle through the oxide
layer by a process called tunneling and get stuck on the floating gate:
The presence of electrons on the floating gate is how a flash transistor stores a one.
The electrons will stay there indefinitely, even when the positive voltages are removed
and whether there is power supplied to the circuit or not. The electrons can be flushed
out by putting a negative voltage on the wordline—which repels the electrons back the
way they came, clearing the floating gate and making the transistor store a zero again.
Not an easy process to understand, but that's how flash memory works its magic!
References:
www.wikipedia.com
https://www.explainthatstuff.com/flashmemory.html
https://courses.cs.washington.edu/courses/cse370/01au/minirproject/BAH/bah_cdpage.html
Cambridge International AS & A level by Silvia Langfield and Dave Duddell.
IGCSE Computer Science by Hodder Education.