Subtopic Notes

3.2 Input and output devices

3. Hardware

Input Devices

An input device is a piece of hardware that is used to enter data into a computer or device. Input devices are usually categorized as either manual or automatic.

Manual Input DevicesAutomatic Input Devices
Keyboard
Concept Keyboard
Mouse
Trackball
Touchpad
Touchscreen
Joystick
Scanner
Graphics Tablet
Microphone
Webcam
Digital Camera
Video Digitizer
Light Pen
MIDI Instruments
Remote Control
Barcode Readers
QR Readers
Radio Frequency Identification Device (RFID)
Optical Mark Reader (OMR)
Magnetic Ink Character Recognition (MICR)
Optical Character Recognition (OCR)
Magnetic Stripe Readers
Sensors
Biometric Devices

Barcode scanner

  • Barcode: A sequence of light and dark parallel lines with varying thickness
  • Applications: Supershops, Library, Tickets, Warehouses
  • Advantage:
    • The process of data entry is fast and accurate.
    • Bar codes can be printed by normal printing methods.
  • Disadvantage:
    • Only numbers can be coded.
    • May be misread if there is any dirt or mark on the code

QR code scanner

  • Reads a QR Code to access stored information
  • QR: Consists of a grid filled with dark squares on a white background
  • Applications: Tickets, Advertisements, WiFi, Business Card
  • You can find an example of a QR code in the back cover
  • Advantages:
    • Stores more information than barcode
    • Easy way to send mobile users to online content
    • Relatively small in size
    • The scanner (camera) does not have to be lined-up in a specific manner to read
  • Disadvantage:
    • Users must be equipped with a camera phone and the correct reader software that can scan the image of the QR Code
    • The transfer of data between two devices can always lead to security issues.

Digital camera

  • Captures photos and videos in digital format
  • Generates high-quality visual output
  • Applications: Photography, Smartphones, Webcams

Keyboard

  • Inputs text and commands by pressing keys
  • Found in Computers, Laptops, Tablets or other devices
  • Applications: Data Entry, Documents, Using Software

Microphone

  • Used to capture and input sound into a device by converting it to digital
  • Found in modern smartphones, computers, Recording studios
  • Applications: Voice Communication, Recording Audio

Optical Device

  • Controls the on-screen cursor through hand movements on a surface
  • Provides accurate navigation and interaction with the computer
  • Commonly used with desktop computers and built into laptops

Touch screen

ResistiveCapacitiveInfra-red
Multiple layers of material transmit electric current. When pressure applied to top layer, two conductive layers are pressed together and location is foundCurrent goes out from the corners of the screen. When the stylus/finger touches screen, there is a change in current which detects the location of touchUses a grid of infrared beams across the screen. A touch causes a break in the infrared beams, detecting the touch location
CheapMedium cost techExpensive
Can use stylus/finger/gloved finger/penGloves cannot be usedStylus/finger/gloved finger/pen may be used
Poor visibility in sunlightGood visibility in sunlightSensitive to dust/dirt
Vulnerable to scratchingScreen will crack on impactScreen will crack on impact
Wears through time(very) durable surfaceGood durability
Does not allow multi-touchAllows multi-touchAllows multi-touch facility
Application: ATMs, Older smartphones and tabletsApplication: Modern smartphones, Tablets, Touch monitorApplication: Kiosks, Large touch displays

2D Scanner

  • The hard copy document or image converted into an electronic form for storing, editing, or sharing
  • Optical Character Recognition (OCR): Software converting scanned documents into a text file format
  • If scanned document is a photo, an image file is produced
  • Applications: Hard copy scanning, Passport Scanning, MCQ Checking in offices, libraries and schools

3D Scanner

  • Records precise 3D shapes and measurements of objects
  • Generates digital models for design, testing, or replication
  • Application: Manufacturing, Design, Medical imaging (eg. CT Scan)

Output Devices

Devices that present data from a computer in a usable form, such as sound, images, or printed text.

Actuator

  • A mechanical device or motor which carries out the action or decision made by the control system
  • Transforms energy into mechanical motion
  • Applications: Robotic arm, Opening valve, Flood barrier gates, Rotating motors

Inkjet printer

  • Produces text and images on paper using fine droplets of ink
  • More affordable than many other printer types
  • Applications: Home, Schools, Offices

Laser printer

  • Uses laser heat to fuse toner powder onto paper
  • Produces high-quality prints
  • Offers fast printing speed
  • Applications: Schools, Offices

Liquid crystal display (LCD) screen

  • Shows images and videos using liquid crystals illuminated by a backlight
  • Applications: Television, Computer Monitors, Smartphones
  • Advantages:
    • Low power consumption
    • Runs at cool temperature
    • Bright image/colours
    • High resolution image
    • Cheaper to purchase than LED screen

Light emitting diode (LED) screen

  • Shows images and videos using small LED lights
  • Applications: Television, Computer Monitors, Smartphones
  • Advantages:
    • Reaches maximum brightness quickly
    • Colours are vivid
    • Good colour definition/contrast can be achieved
    • Screens can be thinner/thin
    • More reliable as LED’s are long lasting
    • Consume very little/less energy

Digital light processing (DLP) projector

  • Projects images onto a surface
  • Displays images or videos using light reflected from tiny mirrors
  • Applications: Cinema, Classroom, Large Presentations
  • Advantage:
    • Higher contrast ratio
    • High Quality Image
    • Longer Lasting
    • Quieter
    • Smaller and Lighter
    • Better for smoky atmosphere

Liquid crystal display (LCD) projector

  • Uses light through liquid crystal panels to project images or videos onto a flat surface
  • Advantage:
    • Higher Resolution
    • More accurate color
    • Image usually brighter for same power
    • Cheaper
    • Quieter
    • Any surface can be used as display
    • Produces less heat
    • Longer lasting lamps

Speaker

  • Transforms electrical signals into audible sound to play music
  • Produces analogue sound from electronic devices
  • Applications: TV, Radio, Smartphones

3D printer

  • Builds a 3D object by stacking thin layers of plastic
  • Creates three-dimensional models layer by layer
  • Applications
    • Creating Prototypes
    • Prosthetic limbs made to exactly fit the recipient
    • Items to allow precision reconstructive surgery
    • Custom Parts
    • Making parts for items no longer in production

Control/Monitoring System

Sensors

  • Input devices.
  • It measures/takes (physical) readings of the surrounding environment which is converted to digital using Analogue to Digital Converter (ADC).
  • Factors Determining Quality of Sensors: Accuracy, Range, Resolution
  • Sensors should be insensitive to any other physical conditions
  • Sensors should not influence the measured property in any way

Monitoring System

  • Monitors some state external to the computer system
  • No changes were made to the environment by the system, and hence, no feedback

Control System

  • Regulates the behavior of other devices or systems
  • Event-driven system: The controller alters the system's state in response to some event
  • Time-driven system: The controller takes action at a specific point in time
  • May use microprocessors: General Purpose, Embedded controller or microcontroller, graphical processing unit (GPU)
  • Examples: Automatic doors, heating systems, taxi meters, elevators, washing machines, process control1, device drivers, domestic robots, GPS systems, traffic lights (Fixed time and dynamic control)

Process of Monitoring/Control

  • Sensors send signals to microprocessor
  • Analogue signals are converted to digital (using ADC)
  • Microprocessor compares value to stored value
  • If out of range/matches stored values do one:
    • Microprocessor send signal to cause an action to occur
    • No action taken
  • Output/record readings
  • Monitoring is continuous

Types of Sensor:

TypeDescriptionApplication
Acoustic/ SoundAct like a microphone that converts sound to electric pulses.Detect the noise of liquids dripping in a pipe, Pick up footsteps
AccelerometerMeasures an object's acceleration or deceleration and motion.Gesture recognition, Fitness devices, Airbag
FlowMeasures the flow of liquid or gas.Respiratory devices in medical, manufacturing industries, Washing machine
GasMeasure the amount/level of any gas in the environment.Monitor pollution levels in a river or in the air, Measure O2 and CO2 levels in a greenhouse, Check for gas leaks in a power station
HumidityMeasures the water vapor in the air or any sampleControl/monitor the humidity levels in the air in a greenhouse
Infra-red (Active)Uses an invisible infrared beam. When the beam is broken or disturbed, it changes the amount of infrared light reaching the detector.Detect intruders in a burglar alarm system, count people entering/leaving a building
Infra-red (Passive)Detect the heat emitted by any objectDetect intruders in a burglar alarm system, count people entering/leaving a building
LevelDetects the solids, liquids, or gas levelManufacturing Industries, civil engineering
LightUse light-sensitive cells that generate electric current based on light brightness.Street Lights, Greenhouse Light level, car headlight
Magnetic fieldDetects the change in magnetic fieldCell phones, cd players, Used in anti-lock braking systems in motor vehicles
MoistureDetects the water content wherever this sensor has been installedControl greenhouse soil moisture, Monitor dampness levels in an industrial application (e.g., monitor moisture in a paint spray booth in a car factory)
pHMeasures the acidity or alkalinityMonitor/control acidity/alkalinity levels in the soil in a greenhouse, Pollution/environmental monitoring in rivers
PressureMeasures the pressure appliedIntruder alarm system, Weigh things, monitor gas pressure, automatic door opening
ProximityDetects the nearby objects around the sensorAnti-Lock Braking System, Self Driving car
TemperatureMeasure the temperature of the environmentCentral heating system, Control/monitor a chemical process, Greenhouse

Footnotes

  1. Process control: The control of one or more variables (such as temperature) in a system. It strives to maintain the output of a specific process within a desired range.