Direct Input Devices
Magnetic stripe, chip and PIN, barcode, RFID, QR code and optical readers: how each is used, with pros and cons.
Key words (11)
direct input, automatic input, magnetic stripe reader, chip and PIN reader, barcode reader, RFID reader, QR code, optical mark reader, OMR, optical character reader, OCR
Lesson Objectives
What are direct input devices?
Direct input devices are also sometimes called automatic input devices.
They differ from manual input devices by the amount of work they require the user to do:
- Manual - data entered into the computer by hand. The user does most of the work
- Direct/Automatic - data entered automatically by a machine or device. There is minimal work done by the user


Which direct input devices do we need to know?
You should have an understanding of the following input devices:
- Magnetic Stripe Reader
- Chip and PIN Reader
- Barcode Reader
- Radio Frequency ID Reader (RFID)
- QR Code Scanner
- Optical Mark Reader (OMR)
- Optical Character Reader (OCR)
For each of these devices you should be able to describe:
- Characteristics
- How they are used in real-world scenarios
- Compare using advantages and disadvantages.
Image showing direct input devices

1. Magnetic Stripe Reader - Characteristics
Read information from magnetic stripes found on bank cards, membership cards and hotel door cards etc.
The stripe on the card holds information such as:
- Bank account number
- Name of the card holder
- Expiry date of the membership
- Etc.

Data stored on the stripe is read by pulling the card through the magnetic stripe reader.
The magnetic stripe reader then sends data from the card into the computer for processing.

Uses of a magnetic stripe reader
- ATMs use these readers to process the information on bank cards.
- EFTPOS (Electronic Funds Transfer Point of Sale) use readers to transfer customers’ money from their bank accounts when they purchase goods in stores.
- Hotel rooms sometimes use magnetic stripe readers in place of door keys:

Advantages and disadvantages of magnetic stripe readers
| Advantages (compared with chip + PIN) | Disadvantages (compared with chip + PIN) |
|---|---|
| Entering data is very fast. You just swipe the card through the machine. | The magnetic stripe on cards can only hold a small amount of data. |
| No possibility of data entry errors as there is no typing involved. | The cards need to be in contact with the reader in order to be used (cannot be used over the internet for example). |
| The stripes on cards are not affected by water and so quite robust (not easily damaged). | If the stripe does get damaged then the data is lost (unreadable). |
| Data held on the card cannot be read by eye so bank details etc. are safe | Magnetic stripes on cards are easily duplicated. This is known as card cloning and can result in thieves stealing money. Chip and PIN readers are more secure as the thieves still need to know the PIN. |
2. Chip and PIN Reader - Characteristics
These allow people to pay for goods and services electronically at EFTPOS terminals (Electronic Funds Transfer Point Of Sale)
The chip and PIN reader works by inserting a bank/credit card into a slot and then entering a Personal Identification Number (PIN):

If the correct PIN is entered, the cost of goods and services will be taken from the card holder's bank and transferred to the companies bank.
Common places that accept payment by chip and PIN cards are:
- Supermarkets
- Restaurants
- Retail stores.

Uses of chip and PIN readers
They are used to make secure payments for goods/services in places such as:
- Supermarkets
- Restaurants
- Cafés
- Buying petrol in gas stations
- Clothing stores
- Just about everywhere!

Advantages and disadvantages of chip and PIN readers
| Advantages (compared with magnetic stripe readers) | Disadvantages (compared with magnetic stripe readers) |
|---|---|
| More secure than magnetic stripe readers as the user needs to know the correct PIN. | It is possible to forget your PIN which means you cannot make payments with your card. |
| Information contained on the chip is harder to clone (copy) than it is to copy magnetic stripes | People can look over your shoulder as you enter your PIN. This makes it possible to access your money if they ever stole your card. |
| Chips can hold more data than magnetic stripes can. | |
| Chip and PIN Readers are portable so they can be brought to you (waiter in a restaurant for example) |
3. Barcode Reader - Characteristics
Used to read information that is stored on product barcodes.
The scanner reads information stored on the barcode using a red light which is reflected and translated into digital information.
Barcodes are placed on products and store the item’s product id:

Barcode Reader - Characteristics (continued)
It is important to note that barcodes do not store the price of a product. This is stored in a computer database and accessed using the product id:
- By storing the price in a database instead of on individual bar codes, it is easier to change.
- All you would do is change the price in the database instead of having to replace the barcodes on each of the items.
- The product id on the barcode allows the computer to locate the new price in the database and use this to create the customer bill.

Barcode scanners are built into POS (Point Of Sale) terminals in shops:
The person working the checkout moves the product and barcode through the scanner which sends the product id to a computer for processing.
Handheld scanners can also be used to read bar codes if items are too large and heavy to move to the scanner.

Uses of barcode readers
- Used in supermarkets, stores and warehouses where goods are marked with a barcode.
- Used in libraries to scan in library cards and read ISBN numbers on books to find out which ones are on loan.
- Keeping track of packages that are being delivered to different locations.
- Organising luggage in airports to ensure that bags are loaded onto the correct plane.
- POS terminals in supermarkets have built-in barcode scanners.

An everyday use of a barcode reader - EPOS terminals
Barcode readers are used in stores when you checkout:
- Step 1 - scan the barcode:
Barcode reader scans the barcode and inputs the digitized numbers into a computer. - Step 2 - the computer identifies the product id number:
The computer interprets the barcode information and uses this to identify the product id. - Step 3 - find the product’s data in the database:
The computer uses the product id to find out the price of the product. - Step 4 - return the product’s information:
The product price is returned to the Electronic Point Of Sale (EPOS) and added to the customer’s bill. The customer pays using cash or card. - Step 5 - computer updates the database:
The computer deducts the number of products you bought from the ‘quantity’ field in the database.
An image showing how EPOS terminals work

Advantages and disadvantages of barcode readers
| Advantages | Disadvantages |
|---|---|
| Quick and easy to change product prices. There is no need to change individual prices on each of the item's bar codes. | Expensive as each item needs a barcode. You also need to buy the scanner, database and computer. |
| Quicker checkout at supermarkets. Staff just scan the barcode to add the price to the bill. | Bar codes can be swapped on items which means people may pay less for more expensive items. |
| Very accurate as there is no manual typing involved and therefore fewer mistakes. | Rely on undamaged bar codes in order to function. If a bar code is damaged, item numbers have to be typed into the system by hand. |
4. Radio Frequency Identification Reader - Characteristics
Radio Frequency Identification (RFID) readers consist of:
- An integrated circuit
- An aerial
- The aerial sends and receives data.
They can track data about individual items which have been fitted with an RFID tag:
- An RFID tag is attached to the surface of an item (or even sometimes inside the item).
- The RFID reader is used to read the data held on the tag and input this data into a computer for processing.

Radio waves transmit the digital data held on the RFID tag to the reader:
The RFID reader does not need a direct line of sight in order to read the tag. Information on the tag can even be read through wallets or clothing:
Radio waves are used to transmit data from the RFID tag to the RFID reader. The reader picks up the signal with an aerial.

Uses of RFID readers
RFID readers and tags are used in supermarkets and retail stores in order to track products:
They are also used on bank cards to communicate with payment terminals:
Other uses include the identification of animals and passenger verification in airports.

An everyday use of RFID readers - Identifying lost pets
RFID readers/tags are used to identify pets. The list below explains how:
An RFID tag is inserted under the skin of the animal. The tag contains details about the animal such as:
- Name
- Address of owner
- Medication needed.
Information held on the tag can be read by the reader and used to help identify the animal if it ever strayed away from home. This helps safely return the pet to the correct owner.
RFID tags/readers are also used in animal passports when importing animals into countries. The tags contain details about the animal's vaccinations so they can be checked to ensure that they are not carrying diseases.
Identifying lost pets - Images


An everyday use of RFID readers - Airport control
RFID readers/tags are also being used in passports to help improve and speed up the process of identifying passengers in airports:
- The passenger places their passport against the RFID reader.
- A fingerprint scanner or an eye scanner is used to scan the passenger's biometric features (fingerprints and/or eyes).
- The passenger's fingerprints/eyes are compared with those stored on the RFID tag on their passport.
- The passenger is successfully identified and allowed to pass through.
Airport control - Images


Advantages and disadvantages of RFID readers
| Advantages (compared to barcode reader) | Disadvantages (compared to barcode reader) |
|---|---|
| RFID tags can hold more data than barcodes. This allows more detail about products or objects to be stored. | If thieves have access to a handheld scanner then it is possible to steal information on bank cards and passports etc. |
| Data held on RFID tags can be read from longer distances compared to barcodes/scanners. | RFID tags and readers are more expensive than barcodes/barcode readers. |
| Tags can be read even without a direct line of sight. This makes them easier to use. (barcode readers have to be directly in front of the barcode in order to read their data) | The radio signals used to transmit data from the tag to the reader can experience interference from other devices. This can cause the reader to fail when trying to read a tag. (barcode readers use infrared light which is less likely to experience interference) |
| Information stored on RFID tags can be read much faster than barcodes (30 to 40 per second). | |
| RFID tags are writable. This means that you can add to or alter information already on the tag. (barcodes are read only and data stored on them cannot be changed). | |
| RFID tags can be made very small (the size of a grain of rice) which means they can be placed within objects rather than on their surface. For example - under the skin of pets. |
5. Quick Response (QR) codes - Characteristics
QR or ‘Quick Response’ codes are an array of black and white pixels arranged into a grid.
They can be added to almost anything such as web pages, presentations, and even t-shirts.
They can be read by any device that has a QR reader app and a digital camera:

Pixels - small black and white squares where the data is stored in the form of binary:
Position squares - 3 large squares at top left/right and bottom left corners:
Alignment square - small square at bottom right corner:

What is the difference between barcodes and QR codes?
The main difference between QR codes and barcodes is the amount of data that they can store:
This allows QR codes to be used for more tasks.
The more data a barcode holds, the larger it becomes:


Everyday uses of QR codes
QR codes are used to automatically execute tasks such as:
- Taking users to specific web pages for advertising purposes or data collection
- Downloading content to a device
- Giving out a message
- Sending an email to a specific recipient
- Showing a digital ticket for an event or a journey on a phone
- Adding a new contact to your phone
- Adding an event to your device’s calendar
- Checking in at airports
- Giving out Wi-Fi passwords to shop customers
- Showing specific geolocations
- Paying for products (such as MPay).
More examples of QR codes



Advantages and disadvantages of QR codes
| Advantages (compared to barcode) | Disadvantages (compared to barcode) |
|---|---|
| Hold more information than barcodes. | Some QR tasks require an internet connection. For example - sending users to a web page. |
| They don’t need expensive LED or laser readers like barcodes do. An everyday device with a digital camera will work. | QR codes can easily be created to send users to malicious or fake websites. |
| Stored data is more secure than with barcodes because it can be encrypted. | QR codes can be purposefully infected with malicious software or viruses which will then be downloaded onto user’s devices. |
6. Optical Mark Readers (OMR) - Characteristics
Optical Mark Readers (OMR) automatically read marks made in pen or pencil.
Typically used to read multiple choice tests:
- Students answer questions by shading answer boxes they think are correct.
- Test papers are fed into the OMR and a light is shone onto the paper.
- Light reflects back less strongly on areas where there is a pencil mark. This allows the reader to tell which options have been chosen.
- Results are sent to a computer which calculates the grade.

OMR - Characteristics (continued)
Optical mark readers can read and input the data held on forms very fast.
Up to 4000 sheets per hour can be processed this way.

Uses of OMR
Used to read shaded areas on documents such as:
- Multiple choice examinations.
- Multiple choice questionnaires.
- Lottery tickets.
OMR can be used on any document that has multiple choice responses that are shaded in.


Advantages and disadvantages of OMR
| Advantages | Disadvantages |
|---|---|
| Extremely fast way of inputting information into a computer. (around 4000 forms can be read per hour). | Areas for marking need to be in the correct position to be read by the device. (if marks are shaded in the wrong place, the reader won't pick them up). |
| Very accurate as document's data is fed into the computer automatically with no manual typing. (accuracy relies on the forms being filled in correctly) | If forms have been incorrectly filled in they cannot be read properly. (in this case documents would have to be read manually, by eye, which would take a long time). |
| Can save money as there is no need to employ workers to enter form information into a computer. | Can only read shaded areas (cannot input or read text). |
| Forms can jam in the machine as they are fed through. |
7. Optical Character Readers (OCR) - Characteristics
OCR stands for ‘Optical Character Reader’.
OCR consists of a 2D scanner along with special software:
- The scanner is used to input the text characters into a computer
- Software in the computer will convert the scanned text into digital text
- Once digitized, text can be edited, copied or used in software applications such as presentations or word-processed documents.

OCR - Characteristics (continued)
The process of Optical Character Reader:
- Hard copy scanned into a computer
- OCR software used to convert scanned text into digital (digitizes)
- Digital text can now be saved and used in computer devices and applications.
OCR scanners can be either flatbed or handheld.
Flatbed and handheld scanners can be used to input printed text ready for digitizing.
Software is then used to digitize the scanned text.


Uses of OCR
Used to digitize printed text:
- Processing passports and identity cards.
- Digitizing books (preserving old books).
- Converting printed text to editable digital text for use in presentations, word processors etc.
- Converting handwriting to editable digital text.
- Reading car number plates (to send fines to the owner if caught speeding by cameras)
Book digitizing is where printed books are converted to digital format:

Advantages and disadvantages of OCR
| Advantages | Disadvantages |
|---|---|
| Very fast way of entering hard-copy text into a computer. | The system can have difficulty reading handwriting (especially if it is messy). |
| Cheaper than paying an employee to manually re-type printed text into a computer. | Not 100% accurate. (relies on being able to read the original text) |
| Avoids typing errors as the process is automatic (no typing involved). | As it is not 100% accurate, information needs to be manually checked for errors. This is time consuming. |
End of the topic
You've completed the topic: lesson 3 of 7 published in this unit, and already 45% of the way through. Keep it up!
When you are ready, click the Next button below to move on to Sensors as Input Devices.