HARDWARE1
HARDWARE1
Notice that the digits on the left have an odd number of dark elements and
always begin with a light bar; the digits on the right have an even number of dark
elements and always begin with a dark bar.
INPUT DEVICES(Cont…)
Now what happens when a barcode is being scanned
The barcode is first read by a red laser or red LED (Light Emitting Diode).
Light is reflected of the barcode; the dark areas reflect (return) little or no
light which allows the bars to be read.
The reflected light is read by sensors.
As the laser or LED light is scanned across the barcode, a pattern is
generated which is converted into digital data (Zeroes and 1s). this allows
the computer to understand the barcode.
For example, the digit 3 on the left generates the pattern LDDDDLD where L is
Light, and D is dark. This has the equivalent in binary of 0 1 1 1 1 0 1 where
L=0 and D=1.
INPUT DEVICES(Cont…)
After the barcode has been read, the barcode
number is looked up or searched in the stock
database to see if the number exists. Each
number is unique because each number uniquely
identifies each stock item. When the barcode
number is found, the item related to the
number is looked up with the price and other
details are sent back to the checkout (to the
person managing payments).
INPUT DEVICES(Cont…)
Advantages of using barcodes to the Advantages of using barcodes to the
management: customers include:
•Much easier and faster to change •Faster checkout queues. We serve
prices on stock items many people in less time. The staff
•Automatic stock control does not need to look up the price of
• No need to price or to indicate the item
price on each item. This reduces •Errors in charging customers are
time and cost to the management. reduced
• Better track of sell by dates so food
should be fresher.
INPUT DEVICES(Cont…)
Digital Camera
INPUT DEVICES(Cont…)
What is a digital camera?
Digital cameras are input devices that capture images (and sometimes
video) digitally.
Digital cameras use an image sensor chip to capture the image, rather than
the film used by a traditional camera.
The images recorded on a digital camera are stored on memory
cards, although some may have a limited amount of external memory of its
own.
Digital cameras feature an LCD screen which allow you to preview and
review your images, plus change menu settings.
INPUT DEVICES(Cont…)
These cameras are controlled by a microprocessor which
can automatically carry out the following tasks:
• Adjust the shutter speed
• Focus the image automatically
• Operate the flash automatically
• Adjust the aperture size
• Adjust the size of the image
• Remove ‘red eye’ when the flash has been used
INPUT DEVICES(Cont…)
The photograph is captured when light passes through the lens onto a light
sensitive cell. This cell is made up of tiny elements known as pixels. The
number of pixels determines the size of the file used to store the
photograph
The quality of the photograph also depends on many other factors, such as:
• The type of lens used
• The lighting
INPUT DEVICES(Cont…)
Benefits of digital cameras
• Images can be reviewed immediately via the screen
• Images can be copied or edited easily on a computer
• Images can be automatically added to sharing sites
Drawbacks of digital cameras
• A good camera is needed to match the quality of traditional film
• Large capacity memory cards are needed if shooting lots of photos
INPUT DEVICES(Cont…)
KEYBOARD
INPUT DEVICES(Cont…)
What is a keyboard?
• Keyboards are input devices that allow the entry of data and commands by
simply pressing down keys on the keyboard.
• Keyboards are a common place input device, often used alongside a mouse.
They can be wired or wireless.
• They are used as the input device on computers, tablets, mobile phones and
many other electronic items.
• In the case of tablets and mobile phones, the keyboard is often VIRTUAL or
a type of TOUCHSCREEN technology.
INPUT DEVICES(Cont…)
Each character on a keyboard has an ASCII value. Each
character pressed is converted into a digital signal, which the
computer interprets. Keyboards are a relatively slow method of
data entry and are also prone to errors. But they are probably
still the easiest way to enter text into a computer. However,
frequent use of these devices can lead to injuries, such as
REPETITIVE STRAIN INJURY (RSI) in the hands and wrists.
INPUT DEVICES(Cont…)
How the keys pressed on keyboard are processed by the computer?
• Circuit board present at base of keys
• A key is pressed that presses a switch
• When a key is pressed it completes a circuit or changes the
current in a circuit
• The location of the keypress is calculated
• An index of characters is searched to find the corresponding
keypress
INPUT DEVICES(Cont…)
• Each character has an ASCII/Unicode value
• The ASCII/Unicode value has a binary value
• Keypress generates interrupt
• Each character/ keypress is added to a buffer to wait to be
processed
• The binary can then be processed by the CPU to action
the keypress
INPUT DEVICES(Cont…)
MICROPHONE
INPUT DEVICES(Cont…)
What is a microphone?
• Microphones are input devices that take analogue sound waves and
converts them into electrical signals, suitable for a computer to
understand.
• Microphones play an important role in speech recognition, a technology
that is gaining in popularity and usage.
• Microphones are either built into the computer or are external
devices connected through the USB port or using wireless
connectivity.
INPUT DEVICES(Cont…)
When a microphone picks up sound, a diaphragm vibrates producing an
electric signal. This signal goes to a sound card and is converted into digital
values and stored in the computer.
If the microphone is being used in a voice recognition system, the user’s
voice is detected and then converted into digital. A few words spoken
produce a digital wave pattern. Software compares this wave pattern to
wave patterns stored in memory to see if they match. If they match, then the
person has been correctly identified. Only certain words can be used since
the system is designed to recognize only a few key phrases (e.g. a user may
be asked to say their name). This technology can be used in security
systems.
INPUT DEVICES(Cont…)
Both voice recognition and speech recognition can be used
in various other applications. For example, voice recognition
is used in cars to allow the driver to say commands: ‘make
warmer’, ‘switch on GPS’ or ‘open window’. Key words have
to be used so that the software can compare voice patterns
with the limited dictionary of words already stored.
INPUT DEVICES(Cont…)
• Benefits of microphones
• Allows disabled users to give instructions to a computer
• Enables the use speech recognition software
• Allows voice calls and the audio in video calls (VoIP)
• Drawbacks of microphones
• Speech recognition accuracy can sometimes be hit and
miss
INPUT DEVICES(Cont…)
OPTICAL MOUSE
INPUT DEVICES(Cont…)
What is a mouse?
• A mouse is an input device that allows you to control the coordinates
and movement of the onscreen cursor/pointer by simply moving the
mouse across a flat surface with your hand.
• Items can be selected or moved using the left mouse button, whilst
the right button usually displays additional menus.
• Most mice are now optical which means they use a laser to detect and
track movement across the surface.
• Mice can be wired or wireless.
INPUT DEVICES(Cont…)
The more modern type that use red LEDs to detect movement in the x-y
direction; are a type of optical mouse.
An optical mouse is a computer mouse which uses a light source, typically a
light-emitting diode, and a light detector, such as an array of photodiodes,
to detect movement relative to a surface.
An optical mouse is an advanced computer pointing device that uses a
light-emitting diode ( LED ), an optical sensor, and digital signal processing
( DSP ) in place of the traditional mouse ball and electromechanical
transducer. Movement is detected by sensing changes in reflected light,
rather than by interpreting the motion of a rolling sphere.
INPUT DEVICES(Cont…)
How does an optical mouse work?
An optical mouse also has a tiny low-resolution camera that
takes a thousand or more pictures every second. In the
camera, the CMOS (complementary metal-oxide
semiconductor) sensor sends a signal to a DSP (digital
signal processor). The DSP can then analyze each picture
for pattern and light changes, and then moves the mouse
cursor on your screen.
INPUT DEVICES(Cont…)
Benefits of a mouse
• Simple and easy to use
• Efficient way to navigate
Drawbacks of a mouse
• Requires a flat surface
• Requires space to operate
INPUT DEVICES(Cont…)
Quick Response(QR) Code scanner
INPUT DEVICES(Cont…)
What is a QR code?
• A QR code is a computer-generated pattern capable of holding a
modest amount of data. This is made up of a matrix of filled-in
dark squares on a light background.
• This data is accessed when the QR code is read by a QR scanner.
• QR codes often store simple data such as a URL address, contact
information, calendar entries and product details (in factories and
warehouses etc).
INPUT DEVICES(Cont…)
Benefits of QR codes
• Data is stored within the pattern, so no need for a connected database
• Simple and quick way to store and retrieve information
• Can store a variety of information
Drawbacks of QR codes
• Changing the data alters the pattern, so not suitable for information
that changes regularly, e.g. prices.
• People need a device (and software) that can read the QR code
INPUT DEVICES(Cont…)
SCANNER (2D)
INPUT DEVICES(Cont…)
What is a 2D scanner?
• 2D scanners perform the task of turning a 2D document or image into a
digital file.
• Converting a hard copy of a document into an electronic / digital form for
storage, sending or editing
• They come in two varieties, flatbed or handheld. Some printers have inbuilt
flatbed scanners.
• The functionality of 2D scanners is enhanced when combined with OMR and
OCR(Optical Character Recognition) software. For example, OCR software
can convert scanned in text into a computer readable form.
INPUT DEVICES(Cont…)
INPUT DEVICES(Cont…)
INPUT DEVICES(Cont…)
Benefits of 2D scanners
• Can produce high quality digital copies of a document
• Digital copies of documents can be sent electronically,
stored securely, or edited on the computer
Drawbacks of 2D scanners
• Scanned documents use a lot of computer storage space
INPUT DEVICES(Cont…)
SCANNER (3D)
INPUT DEVICES(Cont…)
What is a 3D scanner?
• A 3D scanner is an input device that creates a 3D model of
the object scanned.
• Scanning can be achieved either by using lasers, light,
radio waves or x-rays.
INPUT DEVICES(Cont…)
TOUCH SCREEN (RESISTIVE, CAPACITIVE and INFRA-RED)
What is a touchscreen?
• A touchscreen is an electronic visual display that also incorporates an input
device that responds to touch. This allows users to select options from a
screen by simply touching them.
Typical applications for touchscreens
• Smartphones and tablet computers, e.g. easy input of data and selection of
apps/icons
• Ticket / Information kiosks, e.g. allows limited options that can be selected
easily
INPUT DEVICES(Cont…)
Touchscreens are now a very common form of input device. They allow simple touch
to launch an application or to carry out many of the functions of pointing devices
such as a mouse.
Benefits of touchscreens
• Save space as both input and output are combined
• Simple and easy to use
• Works well with icons, allowing options to be selected easily
Drawbacks of touchscreens
• Difficult to complete tasks that require precision accuracy
• Difficult to use if damaged
INPUT DEVICES(Cont…)
At present, there are three major types of touchscreen
technologies applied to mobile phone screens:
• Capacitive
• Infra-red
• Resistive.
INPUT DEVICES(Cont…)
Resistive touchscreens
• Resistive touchscreens use multiple layers of material that
transmit electrical currents.
• When the top layer of the screen is pushed/touched into the
bottom layer the electrical current changes.
• This allows the location of the touch to be found. Signals are then
sent out which are interpreted by microprocessor, the calculations
determine the coordinates of where the screen was touched.
INPUT DEVICES(Cont…)
A resistive touch screen monitor is composed of a glass
panel and a film screen, each covered with a thin metallic
layer, separated by a narrow gap. When a user touches the
screen, the two metallic layers make contact, resulting in
electrical flow. The point of contact is detected by this
change in voltage.
INPUT DEVICES(Cont…)
INPUT DEVICES(Cont…)
Advantages:
• Can activate with virtually any object (finger, stylus, gloved hand, pen, etc.)
• Has tactile feel
• Lowest cost touch technology
• Low power consumption
• Resistant to surface contaminants and liquids (dust, oil, grease, moisture)
INPUT DEVICES(Cont…)
Disadvantages:
• Lower image clarity compared to other touch technologies
• Outer polyester film is vulnerable to damage from scratching, poking
and sharp object
• Does not allow multi-touch
INPUT DEVICES(Cont…)
Capacitive touchscreens
• This is made up of many layers of glass that act like a capacitor,
creating electric field between the glass plates in layers.
• Electrical current is sent from the four corners of the screen.
• When your finger (or stylus) touches the screen, the current
changes and the coordinates where the screen was touched is
determined by an on-board microprocessor.
• This allows the location of the touch to be calculated.
INPUT DEVICES(Cont…)
• This touch screen has multi-touch capabilities
• This touch screen cannot be used whilst wearing gloves
• This touch screen uses the electrical properties of human
body
• This touch screen has a quicker response time
INPUT DEVICES(Cont…)
Capacitive touchscreens
INPUT DEVICES(Cont…)
Surface Capacitive Touch Screen
Surface Capacitive touch screen is the second most popular type of touch screens on
the market. In a surface capacitive touch screen monitor, a transparent electrode
layer is placed on top of a glass panel. This is then covered by a protective cover.
When an exposed finger touches the monitor screen, it reacts to the static electrical
capacity of the human body. Some of the electrical charge transfers from the screen
to the user. This decrease in capacitance is detected by sensors located at the four
corners of the screen, allowing the controller to determine the touch point. Surface
capacitive touch screens can only be activated by the touch of human skin or a stylus
holding an electrical charge.
INPUT DEVICES(Cont…)
INPUT DEVICES(Cont…)
Advantages:
• Better image clarity than Resistive Touch
• Durable screen
• Excellent resistance to surface contaminants and liquids (dust, oil, grease, water droplets)
• High scratch resistance
Disadvantages:
• Requires bare finger or capacitive stylus for activation
• Sensitivity to EMI/RFI (Electromagnetic Interference (EMI) and Radio Frequency
Interference (RFI))
INPUT DEVICES(Cont…)
Projected Capacitive (P-Cap) is similar to Surface Capacitive, but it offers
two primary advantages. First, in addition to a bare finger, it can also be
activated with surgical gloves or thin cotton gloves. Secondly, P-Cap
enables multi-touch activation (simultaneous input from two or more
fingers). A projected capacitive touch screen is composed of a sheet of
glass with embedded transparent electrode films and an IC chip. This
creates a three-dimensional electrostatic field. When a finger comes into
contact with the screen, the ratios of the electrical currents change, and
the computer is able to detect the touch points.
INPUT DEVICES(Cont…)
INPUT DEVICES(Cont…)
Advantages:
• Excellent image clarity
• More resistant to scratching than resistive
• Resistant to surface contaminants and liquids (dust, oil, grease, moisture)
• Multi-touch (two or more touch points)
Disadvantages:
• Sensitive to EMI/RFI
• Must be activated via exposed finger, or thin surgical or cotton gloves
INPUT DEVICES(Cont…)
Infra-red touchscreens
• Infra-red touchscreens use a pattern of LED(Light Emitting
Diode) infra-red beams to form an ‘invisible’ grid on the
screen.
• Sensors detect where the screen has been touched by
detecting a break in the infra-red beams.
• The position of touch is then calculated.
INPUT DEVICES(Cont…)
Infra-red touchscreens
OUTPUT DEVICES
An output device is any device that allows the result of the data
processing to be seen or heard. The objective of output devices is
to turn computer information into human friendly/ readable form.
Common examples of output devices are:
• Actuator
• Digital light processing (DLP) projector
• Inkjet printer
• Laser printer
OUTPUT DEVICES (Cont…)
• Light Emitting Diode (LED) screen
• Liquid Crystal Display (LCD) projector
• Liquid Crystal Display (LCD) screen
• Speaker
• 3D Printer