Humidity sensor
An input device that measures the amount of water vapour (moisture) in the air. Used in weather stations, greenhouses and air conditioning systems.
Understanding Humidity sensor in IGCSE Computer Science Paper 1
What it does: When the air is too dry, the humidity reading is low, so the microprocessor switches on an actuator to add moisture. A high humidity reading means too much water vapour, so the system acts to dry the air. Sensors capture data from the environment and send it to a processor, so they are input devices. Weather stations record humidity as part of the weather data. A barcode checkout uses a barcode scanner instead. The sensor sends air moisture readings to the microprocessor, which can switch on misters or vents. Measuring sound would need an acoustic sensor. A humidity sensor captures how much moisture is in the air, not in soil or liquid.
Common mistakes: The message says the air is too humid, so the test must catch HIGH readings. It should be IF humidity > 70 THEN. The humidifier should only switch on when the air is too dry, which means a LOW reading. It should be IF h < 40 THEN.
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 283–292) and word search (Modules 283–303).
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
humidity sensorFill in the Blanks
Spot the Error
Student with a class code? Join your class →