A sensor is an input device that detects and measures a physical quantity
from the real world and converts it into an electrical signal that a computer
can process.Sensor = A device that detects a physical change in the environment
and sends a corresponding signal to a computer or microprocessor.
2. How Sensors Work โ The Signal Chain#
Sensors produce analogue signals (continuously varying).
Computers only understand digital signals (binary 0s and 1s).
So every sensor signal must pass through an ADC.ADC (Analogue-to-Digital Converter): A component that samples the
analogue signal at regular intervals and converts each sample into a
binary value for the computer to read.
3. Types of Sensors โ On the CIE Syllabus#
4. Each Sensor in Detail#
๐ก๏ธ Temperature Sensor#
Measures heat or cold in the surrounding environment.
Produces a voltage that varies with temperature.
Commonly uses a thermistor (resistance changes with temperature).
| Property | Detail |
|---|
| Measures | Temperature (ยฐC / ยฐF) |
| Output | Analogue voltage |
| Converted by | ADC |
Central heating / thermostat systems
Greenhouses (automated climate control)
Refrigerators and freezers
Industrial ovens and furnaces
๐ก Light Sensor (LDR โ Light Dependent Resistor)#
Measures the intensity of light in the environment.
Resistance decreases as light intensity increases.
The changing resistance produces a varying voltage read by the ADC.
| Property | Detail |
|---|
| Measures | Light intensity (lux) |
| Output | Analogue voltage |
| Converted by | ADC |
Automatic street lighting (turns on when dark)
Burglar alarms (detecting when a light beam is broken)
Greenhouses (monitoring daylight for plants)
๐ Sound Sensor (Microphone)#
Detects sound waves (variations in air pressure).
A microphone converts sound waves into a varying electrical signal.
Signal is analogue and must be converted by an ADC.
| Property | Detail |
|---|
| Measures | Sound level / audio (decibels) |
| Output | Analogue signal |
| Converted by | ADC |
Security systems (detecting breaking glass)
Voice-activated control systems
โ๏ธ Pressure Sensor#
Measures force applied over a surface area.
Uses piezoelectric materials or strain gauges that change resistance under pressure.
| Property | Detail |
|---|
| Measures | Pressure / force (Pascals) |
| Output | Analogue voltage |
| Converted by | ADC |
Airbag deployment systems (detects sudden impact)
Weather stations (atmospheric pressure / barometric)
Industrial machinery monitoring
Tyre pressure monitoring systems
๐ง Humidity Sensor#
Measures the amount of moisture (water vapour) in the air.
Capacitance or resistance changes as moisture levels change.
| Property | Detail |
|---|
| Measures | Relative humidity (%) |
| Output | Analogue signal |
| Converted by | ADC |
Greenhouses (maintaining ideal growing conditions)
HVAC systems (heating, ventilation, air conditioning)
Museums (protecting artwork from damp)
Server rooms (preventing moisture damage)
๐ด Infrared (IR) Sensor#
Detects infrared radiation emitted by warm objects (including humans).
Can detect motion (PIR โ Passive Infrared sensor) or measure distance.
| Property | Detail |
|---|
| Measures | Infrared radiation / motion |
| Output | Analogue or digital signal |
| Converted by | ADC (if analogue) |
Burglar alarm systems (PIR motion detection)
Automatic doors (detecting approaching person)
Proximity sensors in smartphones (screen off during calls)
TV remote control receivers
Body temperature monitoring
๐งฒ Magnetic Field Sensor (Hall Effect Sensor)#
Detects the presence and strength of a magnetic field.
Voltage output changes in the presence of a magnet.
| Property | Detail |
|---|
| Measures | Magnetic field strength |
| Output | Analogue or digital voltage |
| Converted by | ADC |
Detecting whether a door or window is open/closed (security systems)
Speed sensors in vehicles (counting wheel rotations)
Compass applications in smartphones
๐งช pH Sensor#
Measures the acidity or alkalinity of a liquid on the pH scale (0โ14).
Uses a chemical electrode that produces a voltage proportional to pH.
| Property | Detail |
|---|
| Measures | pH level (0โ14) |
| Output | Analogue voltage |
| Converted by | ADC |
Monitoring water quality in fish tanks or swimming pools
Greenhouses (monitoring soil or hydroponic solution pH)
Food and drink manufacturing
Chemical processing plants
๐จ Gas Sensor#
Detects the presence or concentration of specific gases in the air.
Resistance changes when target gas molecules interact with the sensor.
| Property | Detail |
|---|
| Measures | Gas concentration (ppm) |
| Output | Analogue signal |
| Converted by | ADC |
Carbon monoxide detectors (home safety)
Industrial safety monitoring
Greenhouse COโ monitoring
๐ฑ Accelerometer#
Measures acceleration, tilt, and vibration โ detects changes in motion
or orientation.
| Property | Detail |
|---|
| Measures | Acceleration (m/sยฒ), tilt |
| Output | Analogue signal |
| Converted by | ADC |
Smartphone screen rotation (portrait/landscape)
Airbag systems (detects sudden deceleration in a crash)
Fitness trackers (counting steps)
Gaming controllers (motion sensing)
5. Sensors in Control Systems#
Sensors are a critical part of automated control systems and embedded systems.
They form the input side of the sense โ process โ act loop.This loop is called a feedback control loop or closed-loop system.
Worked Example โ Greenhouse Temperature Control#
6. Advantages of Using Sensors in Automated Systems#
| Advantage | Explanation |
|---|
| 24/7 monitoring | Sensors work continuously without breaks |
| More accurate | No human error in reading values |
| Faster response | React in milliseconds โ much faster than humans |
| Safer | Can monitor dangerous environments (toxic gas, extreme heat) |
| Cost-effective | Reduces need for human monitoring staff |
| Consistent | Same measurement process every time |
7. Summary Table โ All Sensors#
| Sensor | Measures | Key Use |
|---|
| Temperature | Heat / cold | Thermostat, greenhouse |
| Light (LDR) | Light intensity | Street lighting, cameras |
| Sound | Audio / noise level | Security alarms, monitors |
| Pressure | Force / pressure | Airbags, weather stations |
| Humidity | Moisture in air | Greenhouse, HVAC |
| Infrared (PIR) | Motion / heat | Burglar alarms, auto doors |
| Magnetic field | Magnetic presence | Door/window sensors |
| pH | Acidity / alkalinity | Water quality, food industry |
| Gas | Gas concentration | CO detector, smoke alarm |
| Accelerometer | Motion / tilt / vibration | Phones, airbags, fitness |
8. Key Vocabulary#
| Term | Definition |
|---|
| Sensor | A device that detects a physical quantity and converts it to an electrical signal |
| Analogue | A continuously varying signal with infinite possible values |
| Digital | A signal represented as discrete binary values (0 or 1) |
| ADC | Analogue-to-Digital Converter โ converts analogue sensor output to digital |
| Actuator | An output device that causes a physical action in response to a signal |
| Feedback loop | A system where output is fed back as input to maintain a set condition |
| PIR | Passive Infrared sensor โ detects infrared radiation from warm bodies |
| LDR | Light Dependent Resistor โ resistance changes with light intensity |
| Thermistor | A resistor whose resistance varies with temperature |
| Set point | The target value a control system aims to maintain |
9. Exam Tips โ
#
Always state what the sensor measures and give a specific use โ
examiners want context, not just the sensor name.
Remember: sensors produce analogue signals โ must use an ADC to convert
to digital before the CPU can process it.
In control system questions, describe the full loop:
sensor โ ADC โ microprocessor โ decision โ actuator โ effect on environment.
A feedback loop means the system continuously re-reads the sensor and
adjusts โ mention this for full marks.
The PIR sensor is the most common infrared sensor in exam questions โ
link it to burglar alarms and automatic doors.
Sensors make systems faster, safer, more accurate, and available 24/7
compared to human monitoring โ these are standard advantages to learn.
Cambridge (CIE) IGCSE Computer Science โ 0478 / 0984 Modified atย 2026-04-03 09:55:16