Hardware

Hardware

Sensors

Input and Output Devices Paper 1 9 min read

On this page
  1. In this note
  2. What you should already know
  3. What a sensor is
  4. The fourteen sensors you must know
  5. Sensor + microprocessor: how a system reacts
  6. Summary
  7. Ways they test it
  8. What the examiner looks for
  9. Past-paper questions, solved
  10. Common mistakes
  11. Practice
  12. Can I do this?
  13. Quiz

In this note

Syllabus 3.2 Input and output devices
  • 3.2.3Understand what is meant by a sensor and its purposes; identify the type of data captured by each sensor and where each is used: acoustic, accelerometer, flow, gas, humidity, infra-red, level, light, magnetic field, moisture, pH, pressure, proximity, temperature.

Before this: Input and output devices. Next: Primary and secondary storage.

Part 1Learn the topic

The notes: every idea from the start, with our own examples.

What you should already know

Input devices

An input device captures data and sends it to the computer.

Quick check: is a sensor input or output?

Input.

What a sensor is

A sensor is an input device that measures a physical quantity from its surroundings (temperature, light, sound …) and sends the reading to a computer or microprocessor. It captures data automatically, with no person entering it. If the reading is analogue it is converted to digital before the microprocessor can process it.

Why use sensors?
data is collected without human interventionnobody has to stand and watch
readings are taken continuously (24/7)the system reacts the moment something changes
readings are accurate and taken faster than a humanno human error
they work in dangerous placese.g. inside a chemical plant or a nuclear reactor

The fourteen sensors you must know

For each sensor, learn what it measures and one use. Exam questions give a scenario and ask for "the most appropriate sensor", so match the quantity that changes.

SensorMeasuresExample use
Acousticsounddetecting breaking glass in a burglar alarm; a dripping, leaking pipe
Accelerometeracceleration / movement and tiltrotating a phone screen; fitness trackers; air-bag deployment in a crash
Flowrate of flow of a liquid or gasmonitoring water through a pipe; fuel flow in an engine
Gaspresence / level of a gas (e.g. CO₂, carbon monoxide)carbon monoxide alarm; gas leak detector
Humiditywater vapour in the airgreenhouse; spray-painting room; museum display case
Infra-redinfra-red radiation (heat / a broken beam)motion detection in a security system; automatic doors
Levelhow full a container isfuel tank gauge; refilling a water tank or an animal's water bowl
Lightlight intensitystreet lights switching on at dusk; phone screen brightness; barcode scanner
Magnetic fieldchanges in a magnetic fieldcounting vehicles over a bridge / into a car park; phone compass
Moisturewater in a substance (e.g. soil)automatic watering of plants
pHacidity / alkalinitysoil in a greenhouse; water in a swimming pool or a fish tank
Pressureforce applied / pressurea car on a car-park barrier; weighing; burglar alarm pad under a carpet
Proximityhow close an object isparking sensors on a car; phone screen turning off at your ear
Temperaturetemperaturecentral heating; a kettle; a freezer; a climate-controlled room
Moisture vs humidity: moisture is water in a solid (soil); humidity is water vapour in the air. Level vs pressure vs moisture can all detect an empty water bowl, and the mark scheme accepts any of them.

Sensor + microprocessor: how a system reacts

In an automated system the sensor and a microprocessor work in a loop. Questions often ask for this as a 6-mark description, so learn the steps.

SensormeasuresMicroprocessorcompares withstored valueActuatoractsdatasignalrepeats continuously until the system is switched off
The control loop used by almost every automated system.

General methodDescribing a sensor-controlled system

  1. The sensor continually takes readings and sends the (digitised) data to the microprocessor.
  2. The microprocessor compares the reading with a stored value (or range).
  3. If the reading is outside the range, the microprocessor sends a signal to an actuator (e.g. to open a valve, switch on a heater).
  4. If the reading is within the range, no action is taken.
  5. The process repeats continuously until the system is switched off.

Example A greenhouse that keeps the soil damp

Describe how a moisture sensor and a microprocessor keep the soil damp.

  1. The moisture sensor continually sends readings of the soil moisture to the microprocessor.
  2. The microprocessor compares each reading with the stored minimum moisture level.
  3. If the reading is below it, the microprocessor sends a signal to an actuator to open the water valve.
  4. When the reading reaches the stored level, the microprocessor signals the actuator to close the valve.
  5. This repeats continuously.

Answer Five marking points: sensor · compare · actuator opens · stops · repeats.

Try it yourself

1
Which sensor counts cars entering a car park?
Show answer

Answer Magnetic field (or pressure)

2
Which sensor measures the acidity of soil?
Show answer

Answer pH

3
Which sensor turns a phone's screen sideways?
Show answer

Answer Accelerometer

Summary

  • A sensor is an input device that measures a physical quantity and sends the data to a microprocessor.
  • Benefits: no human needed, continuous, accurate, fast, works in dangerous places.
  • 14 sensors: acoustic, accelerometer, flow, gas, humidity, infra-red, level, light, magnetic field, moisture, pH, pressure, proximity, temperature.
  • Control loop: sensor → microprocessor compares with stored value → signal to actuator → repeat.

If you see …

  • "identify the most appropriate sensor"name the quantity that changes
  • "describe how the sensor and microprocessor are used" [6]continually · digital data · compare · stored value · signal · actuator · repeats
Part 2How it is examined

Question types, what the examiner gives marks for, and real past-paper questions solved.

Ways they test it

Type 1 Which sensor?

"Identify the most appropriate sensor for this system" [1]

Spot it a scenario.

  1. One word: the sensor's name from the list of 14.

Type 2 Sensor uses table

"Complete the table by giving a suitable use for each type of sensor" [4]

Spot it a table.

  1. A specific use: "monitoring the temperature in a greenhouse", not just "measures temperature".

Type 3 Benefits

"Give two benefits of using sensors in this type of system" [2]

Spot it "benefits".

  1. no human needed · continuous · accurate · fast · dangerous places

Type 4 Control loop

"Describe how the sensor and the microprocessor are used to …" [6]

Spot it "describe how".

  1. Follow the five-step method, using the scenario's own words (water bowl, valve).

What the examiner looks for

"Describe how the sensor and the microprocessor are used to automatically refill the water bowl" [6]

Marking points (one mark each, up to the marks shown)

  • Sensor continually sends digitised data to the microprocessor
  • Microprocessor compares the data to stored value(s)
  • If the value is outside the range / matches, the microprocessor sends a signal to release water
  • … bowl filled by a set amount // for a certain time
  • Actuator used to release the water
  • Whole process repeats until turned off

Keywords continually compares stored value signal actuator repeats

Too vague "the sensor decides to refill the bowl" (the microprocessor decides); "the sensor sends a signal to the actuator"

Past-paper questions, solved

0478/13/M/J/24 Q6Paper 1 · Computer systems9 marksFull size
Input devices, benefits of sensors, uses for four sensors

How to start (a) cross out storage and outputs. (c) give a specific situation for each sensor.

Show a full-mark answer and the mark scheme

(a) touch screen · microphone · keyboard

(b) Data can be collected without human intervention; readings can be taken continuously, 24/7.

(c) Temperature: monitoring the temperature in a climate-controlled room. Humidity: checking the air in a greenhouse is moist enough. Infra-red: detecting a person approaching automatic doors. Magnetic field: counting vehicles that cross a bridge.

PartAnswer / workingMarksGuidance
6(a)touch screen · microphone · keyboardB3
6(b)Any two: no human intervention · faster · accurate · continuous · dangerous environmentsB2
6(c)One suitable use per sensor (temperature, humidity, infra-red, magnetic field)B4
Total: 9 marks
2210/11/M/J/23 Q5Paper 1 · Computer systems7 marksFull size
Automated drinking system for farm animals

How to start (a) What changes when the bowl empties? (b) Use the control-loop method.

Show a full-mark answer and the mark scheme

(a) A level sensor.

(b) The level sensor continually sends digitised readings to the microprocessor. The microprocessor compares each reading with the stored value for an empty bowl. If they match, the microprocessor sends a signal to an actuator to open a valve and release water. The bowl is filled for a set time or until the stored full level is reached, then the valve is closed. The whole process repeats until the system is turned off.

PartAnswer / workingMarksGuidance
5(a)Any one: level · pressure · moistureB1
5(b)Any six: continually sends digitised data · compares to stored value · if outside range / matches sends signal · filled by set amount / for a set time · actuator releases water · repeats until stoppedB6
Total: 7 marks

Common mistakes

  • ✗ "Heat sensor"✓ "Temperature sensor"Use the syllabus names.
  • ✗ "Motion sensor"✓ "Infra-red sensor" (or accelerometer if the device itself moves)
  • ✗ "The sensor turns on the heater"✓ "The microprocessor sends a signal to the actuator"Sensors only measure.
  • ✗ Forgetting the loop repeats✓ "The process repeats continuously"It is a mark every time.

Practice

Practice: easy, medium, hard

Easy

1
Which sensor detects carbon monoxide?
Show answer

Answer Gas

2
Which sensor would switch on street lights at night?
Show answer

Answer Light

3
Which sensor helps a driver park without hitting a wall?
Show answer

Answer Proximity

Medium

1
Give two benefits of using sensors instead of people to monitor a chemical tank.
Show answer

Answer Works continuously; no human in a dangerous place (also: accurate, fast)

2
Give a use for a flow sensor.
Show answer

Answer e.g. monitoring the rate of water through a pipe

Hard

1
Describe how a temperature sensor and a microprocessor keep a freezer below −18 °C. [5]
Show answer

Answer Sensor continually sends readings; microprocessor compares with −18 °C; if above, signal to actuator to switch on the compressor; when below, switch off; repeats

Can I do this?

Anything unticked: revise that section first. All ticked: take the quiz.

Quiz

The multiple-choice and guided questions need JavaScript. The concept checks and exam practice below work without it.

Your progress on this note is saved when JavaScript is on.

⬇️ Download this chapter as a PDF: Full notes