Input Devices
Input Devices
Barcode scanner
. What is a barcode?
A barcode is a series of dark and light parallel lines of varying thickness. The numbers 0 to 9 are each represented by
3
a unique series of lines.
4. Explain how the barcode is read at the supermarket checkout and how the price of the product is found.
– A barcode is read by a barcode scanner
– It shines a laser light at the barcode and the light is reflected back
– The black bars reflect less light than the white bars
– Sensors are used to capture the amount of reflected light
– Different reflections are converted to binary values and different patterns give different binary values
– Microprocessor detects the data
– It uses check digit error checking
Uses of barcodes
. Supermarket checkouts
. Libraries
QR code scanner
. What is a QR code?
A quick response (QR) code consists of a block of small squares (light and dark) known as pixels. The three large
squares at the corners of the code are for alignment. The remaining small corner square is used to ensure the correct
size and correct angle of the camera shot when the QR code is read.
. How a QR code is read
– QR code is read by a built-in camera on a mobile smartphone or tablet and by downloading a QR app
– The phone or tablet camera is pointed at the QR code
– The app processes the image taken by the camera
– It also converts the squares into readable data
– The browser software on the mobile phone or tablet reads the data from the app
– It also decodes any web addresses within the QR code
– (if it is a web address) the user is sent to a website automatically
– (if it is a phone number) the user is sent to the phone app automatically
Digital camera
Keyboard
Advantages of keyboards
– cheap
– easy method for data entry
– ergonomic keyboards can be used to prevent repetitive strain injury (RSI).
Disadvantages of keyboards
– slow method for data entry
– prone to errors
– frequent uses can lead to repetitive strain injury (RSI) in hands and wrists
Microphone
2D scanners
*2D scanners with optical character recognition OCR can convert the scanned text into a text file*
3D scanners
Touch Screen
3 types of touch screens are
. Capacitive
. Infrared
. Resistive (surface and projective)
Capacitive
How it works
– An electrical field spreads across the screen
– Sensors are used to read the electrical field
– When a user touches the screen, the charge is transferred to the user as it is affected by the conductivity of
the object
– Coordinates of touch are calculated
2 types of capacitive:
. Surface
. Projective
Infrared
How it works
– Infrared touch screens use a glass screen with an array of sensors and infrared transmitters
– The sensors detect the infrared radiation
– When the user touches the screen, the infrared beams are broken
– The infrared radiation reaching the sensors is reduced
– Coordinates of touch are calculated
Resistance
How it works
– The screen has two layers
– When the user presses the top layer, the top layer is connected to bottom layer
– This creates a circuit
– Coordinates where the layers are connected are calculated