Jump to content

Hardware Devices: Input devices

From Wikibooks, open books for an open world

PAPER 2 - ⇑ External hardware devices ⇑

← Input and output devices Input devices Output devices →


Pay special attention to devices with an orange background, you need to be able to describe exactly how they work!

Input Device - Devices that send data or instructions into a computer


A mouse is a pointing device used on the screen of a computer. Enables the user to execute commands or issue instructions to the computer by controlling a pointer on the screen.

The keyboard is one of the most popular ways of inputting data information and instructions into a computer. The basic mechanical keyboard relies on springed keys being pressed down to complete an electrical circuit. This circuit then transmits a binary signal (commonly using ASCII) to the computer to represent the key pressed.

Stylised cross-section of a Chiclet keyboard (there are other technologies out there used to make keyboards). The bottom right hand button has been pressed, completing the circuit shown in red.

There are many different keyboard layouts, with differences between languages and countries. The most popular layout is the QWERTY keyboard. Other layouts include:

  • AZERTY - for countries such as France and Belgium
  • QWERTZ - for countries such as Germany and Austria
  • Arabic - different values to most keys
  • Ukrainian
  • Chinese - laid over a QWERTY keyboard

There are variations QWERTY keyboard with the UK and the USA having very slight differences in layout. There also variations in English language keyboards such as the Dvorak layout, which followers claim to be superior to QWERTY.

QWERTY keyboard

Microphone connected to software that converts human speech into commands or text.

Pros

plus pointNatural interface with a computer allowing for new users to execute commands without having to learn complex command set

Cons

minus point Speech recognition might not recognise the difference between similar words i.e. "their" and "they're" or be able to understand regional accents
microphone
  1. Light is focused through the lens onto the image sensor at the back of the camera
  2. The image sensor is made up of an array of Red, Green and Blue photosensors, called a Bayer filter. Each sensor will only record values for that particular colour.

And became these:

3. The different colour arrays are combined to form an image and makes this:

4. Once the RGB values have been captured, they can then be stored digitally using SD or compact flash cards. Save formats include JPEG or TIFF.

Pros

plus pointYou can preview images taken without having to get them developed
plus pointYou can apply filters and images to add special effects

Cons

minus point Some people argue that the quality of photos taken using the traditional film medium is better
Camara2sig

Used in supermarkets,warehouses,libraries keeping track of produce etc. They allow for quick reading of product details so that prices and information can be retrieved and/or stock levels updated. However the amount of data stored in a barcode is very limited

barcodes are very common
  1. A laser is directed towards the barcode, scanning across it and the reflected light is captured by the reader
  2. The intensity of light reflected back is read by a sensor in the bar code reader
    • High intensity = white bar
    • Low intensity = black bar
  3. The pattern received is translated into a code which gives the identity of the barcode being scanned
  4. This code is checked against a product database and the product details displayed
Plessey code is one way to encode barcodes

To make sure that the number you have received is correct barcodes employ check digits. Read on to find out more

Pros

plus pointCheap to produce as all you need to do is print a black and white image
plus pointQuick to read, and with multi-direction scanners, can be read from different angles


Cons

minus point Only a limited amount of data can be stored
barcode reader

Used in things like multi choice question papers. The student would be given a selection of answers and then mark the ones they thought correct with a pen or pencil. When finished, the forms would be fed into a machine that would look for black marks. The position of these marks correspond to answers and the form could be marked at some speed.They can also be used for student registration

multi choice exam paper ready for OMR

Used in scanning printed or written text into a digital format. Used by Amazon and Google to scan books.

Sketch of a typical manual book scanner

Used to read data from bank cards and access cards. Data is stored in the magnetic, generally black, strip on the back of these cards

An example of the reverse side of a typical credit card.: Green circle #1 labels the Magnetic stripe

Used in bank cards, often known as part of 'chip and pin'. More secure than Magnetic stripes though more expensive to produce.



Used to read data without physical contact. Examples include the London Oyster Card System. Where the card has a Radio Frequency Identification(RFID) chip.

  1. The card is then placed above a reader and the magnetic field produced by the reader creates a current in the card's circuitry (no physical contact is required)
  2. This current powers a small radio transmitter that transmits a radio wave with the details about the card to the reader
  3. If the details of the card are legitimate (checked on database) then it lets the person through the gate

Pros

plus pointCan be read without physical contact (health and safety concerns)
plus pointFast way to pay for things


Cons

minus point Thieves could read your card remotely, stealing your details
minus point Having multiple RFID cards together, means that they can interfere with each other and none of them can be read
A damaged card, revealing the microchip in the lower right corner, and the aerial running around the edge of the card.
Oyster card readers on London Underground ticket barriers at Canary Wharf.

Touch sensitive

[edit | edit source]

More and more devices are relying on touch technologies.

  1. Each of the four corners of a screen emits a uniform electric field which covers the screen
  2. When you place your finger on or near the screen it disrupts this field and draws current
  3. Measuring the amount of current pulled from each corner you can triangulate the position of the finger

Pros

plus pointNatural, intuitive interface with devices
plus pointThe ability to remap screen functions to suit the task (for example bringing up a keyboard when necessary

Cons

minus point Cold weather can affect the functioning of touch screens
minus point Won't work through standard gloves, as this stops your fingers conducting electricity


Used in the design and architectural industries. This allows for people to draw on the tablet in a natural way (as they would with a pencil and paper) and for their drawing to appear on the computer.

Wacom Pen-tablet
Exercise: Inputs

What input device might a multi-choice questionnaire writer use to input completed forms into a computer. Why?

Answer:

OMR - optical mark recognition software, as it will allow for input of papers with marks on them

Describe the functioning of a bar-code reader:

Answer:

  1. A light or laser is directed towards the barcode, scanning across it and the reflected light is captured by the reader
  2. The intensity of light reflected back is read by a sensor in the bar code reader
    1. High intensity = white bar
    2. Low intensity = black bar
  3. The pattern received is translated into a code which gives the identity of the barcode being scanned

Describe the functioning of digital camera:

Answer:


  1. Light is focused through the lens onto the image sensor at the back of the camera
  2. The image sensor is made up of an array of Red, Green and Blue photosensors, called a Bayer filter. Each sensor will only record values for that particular colour.
  3. The different colour arrays are combined to form an image
  4. The image is stored as a TIFF or a JPEG

Why might it beneficial for professional photographer to use a digital camera instead of a film camera?

Answer:


Digital images allow you to edit and manipulate them, adding software filters. Digital cameras allow you to take pictures and preview the results, discarding those that you don't want. Film cameras wouldn't show you the image until you had developed it, and such a process is very expensive

Give two benefits of using RFID cards to pay for produce over using hard cash. What is a draw back?

Answer:


plus pointCan be read without physical contact (health and safety concerns)
plus pointFast way to pay for things


minus point Thieves could read your card remotely, stealing your details, without you even knowing it


Give a benefit of having a touch screen phone over a phone with a hardware keyboard. Why might some people prefer a hardware keyboard?

Answer:

A touch screen phone would allow you to have a keyboard on the screen that could be hidden when not needed. Meaning the screen space can be used for other purposes

Some people might prefer the hardware keyboard as they like to feel the response of keys being pressed and improve their typing (advances are being made in haptic technology to bring this to touch screens)

Describe the functioning of a touch sensitive screen:

Answer:


  1. Each of the four corners of a screen emits a uniform electric field which covers the screen
  2. When you place your finger on or near the screen it disrupts this field and draws current
  3. Measuring the amount of current pulled from each corner you can triangulate the position of the finger


Scanners

[edit | edit source]

Several of the scanners featured here record biological (bio) measurements (metrics) about human beings. Physical data such as finger prints are unique to each person.

Flat bed scanners are used to convert images and text into a digital format.

The main components of a flatbed scanner
  1. Place the object you want to scan on the glass pane, face down
  2. the light moves to the start of the document and illuminates a slice
  3. The slice is reflected into the CCD (an array of optical sensors) where its image is stored as digital data
  4. the light and mirror move down to the next slice and so on
  5. once all the slices are completed they are put together into a digital image
Flatbed Scanner
A finger print

The ridges and troughs on a person's finger and toes are unique to that person. Using a scanner a finger print pattern can be recorded and compared to others on a database, allowing a computer to match finger prints from crimes to a suspect, or to allow people into restricted areas.

Fingerprint scanner in Tel Aviv
The blood vessels in a normal human retina form a unique pattern for each person

Retina scanners are used to record the pattern of blood vessels at the back of someone's eye. As everyone has different pattern of vessels, retina scanners can be used to uniquely identify people.

Iris patterns can be different colours and form a unique identifier for each person

By taking a picture of the blood vessels and colouring of someone's eye, we can get a unique pattern that can be used to identify individuals. People might try and circumvent this by using contact lenses

A U.S. Marine Corps Sergeant uses an iris scanner to positively identify a member of the Baghdadi city council prior to a meeting with local tribal leaders, sheiks, community leaders and U.S. service members.
Exercise: Scanners

Explain how a flat bed scanner works:

Answer:


  1. Place the object you want to scan on the glass plane, face down
  2. the light moves to the start of the document and illuminates a slice
  3. The slice is reflected into the CCD where it's image is stored
  4. the light and mirror move down to the next slice and so on
  5. once all the slices are completed the image is assembled using them

Give two examples of devices that collect biometric data:

Answer:


  • Retina scanners
  • Finger print scanners
  • Iris recognition

Check digits

[edit | edit source]
Check Digit - an additional digit added to a data string and depending on that string, used for checking that the string has been sent correctly

With input devices we have a lot of data being sent into the computer, with image capture devices we could be talking about billions of ones and zeroes. How can we make sure that they all get from the input device to the computer safely, without becoming corrupted? There are many error checking methods out there and you will cover some of them in more detail in Unit 1, however, for the moment we will learn a little about check digits:

An example of using check digits (The exam will not expect you to know this technique) is the final digit of a Universal Product Code computed as follows:

  1. Add the digits (up to but not including the check digit) in the odd-numbered positions (first, third, fifth, etc.) together and multiply by three.
  2. Add the digits (up to but not including the check digit) in the even-numbered positions (second, fourth, sixth, etc.) to the result.
  3. Take the remainder of the result divided by 10 (modulo operation) and subtract this from 10 to derive the check digit.
Example: Check Digits

For instance, the UPC-A barcode for a box of tissues is "036000241457". The last digit is the check digit "7", and if the other numbers are correct then the check digit calculation must produce 7.

  1. Add the odd number digits: 0+6+0+2+1+5 = 14
  2. Multiply the result by 3: 14 * 3 = 42
  3. Add the even number digits: 3+0+0+4+4 = 11
  4. Add the two results together: 42 + 11 = 53
  5. To calculate the check digit, take the remainder of (53 / 10), which is also known as (53 modulo 10), and subtract from 10. Therefore, the check digit value is 7. Correct!
Exercise: Check digits

Calculate the check digit for the following food item "01010101010":

Answer:

  1. Add the odd number digits:
  2. Multiply the result by 3:
  3. Add the even number digits:
  4. Add the two results together:
  5. To calculate the check digit, take the remainder of (5 / 10), which is also known as (5 modulo 10), and subtract from 10 i.e. (10 - 5 modulo 10) = 5. Therefore, the check digit value is 5.
  6. If the remainder is 0, subtracting from 10 would give 10. In that case, use 0 as the check digit.

Did the following barcode scan correctly: "01234567890 6"?

Answer:

  1. Add the odd number digits: 0+2+4+6+8+0 = 20
  2. Multiply the result by 3: 20 * 3 = 60
  3. Add the even number digits: 1+3+5+7+9 = 25
  4. Add the two results together: 60 + 25 = 85
  5. To calculate the check digit, take the remainder of (85 / 10), which is also known as (85 modulo 10), and subtract from 10 i.e. (10 - 85 modulo 10) = 5. Therefore, the check digit value is 5.
  6. If the remainder is 0, subtracting from 10 would give 10. In that case, use 0 as the check digit.

Therefore the check digit given, 6, shows that the code is incorrect.

Why do we use check digits?

Answer:

We use check digits to make sure that data received has been received correctly