Automated systems in lighting
Lights switched on, off or dimmed by sensors and a microprocessor with no one touching a switch, e.g. a street lamp that comes on when its light sensor detects dusk.
Understanding Automated systems in lighting in IGCSE Computer Science Paper 1
What it does: A dimmer is an actuator. Setting it to a lower value makes the microprocessor dim the light instead of switching it fully on or off. At dusk the light sensor reads a low value such as 25. This is less than the stored value 30, so the condition is true and the lamp comes on. An infra-red motion sensor detects the heat given off by a moving person, so it can trigger the light without anyone touching a switch. The actuator is the output part that carries out the action. A switch or dimmer changes the lamp. The sensor is an input.
Common mistakes: The light level must be read from the light sensor, not the lamp. The lamp is the actuator that switches on. The line should be level ← lightSensor.read(). A security light needs an infra-red motion sensor to detect movement. A light sensor only measures brightness. The line should be motion ← irSensor.read().
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 580–607) and word search (Modules 553–607).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
automated lightingFill in the Blanks
Spot the Error
Student with a class code? Join your class →