AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Sensors, outputs and files

Week 27 · Unit 11: Be a robot controller · 3 lessons
1

Sensors and data loggers

Computing 4: Unit 11, pp. 152–167
GoalName common sensors and what each one detects, and explain how a data logger collects data on its own.
New words
sensor · an input device that detects a change in its surroundingsdistance sensor · a sensor that measures how far away something isinfrared sensor · a sensor that detects invisible infrared light, such as the light a remote control sendsdata logger · a device with a sensor, a processor and storage that is left alone to collect data
Explanation

A keyboard and a mouse are input devices that people use with their hands. Control systems also use sensors. A sensor is an input device that detects something around it, such as temperature, light, movement or distance. A temperature sensor tells a fridge how cold it is. A distance sensor tells a robot how close a wall is. An infrared sensor in a television notices the invisible light that comes from a remote control. Each sensor sends data to the processor. A data logger is a small device with a sensor, a processor and storage. It is left alone for hours or days, and its data is collected later.

temperaturelightmotiondistanceinfrared
Worked examples
MachineSensorWhat it detects
phone screen that gets brighter in sunshinelight sensorhow bright it is
fish tank heatertemperature sensorhow warm the water is
television remote controlinfrared sensora signal sent as invisible light
hand dryermotion sensorhands moving under it
parking aid on a cardistance sensorhow close the wall is
Which sensor does each machine use? In every row the sensor sends its data to the processor, and the processor decides what the output should do.
051015202508:0010:0012:0014:0016:0018:0020:00degrees
A data logger was left in a classroom during the holidays to see how warm it gets. It recorded the temperature every 2 hours. The chart shows the readings. The highest reading is 24 degrees at 14:00 and the lowest is 14 degrees at 08:00. The room was 24 − 14 = 10 degrees warmer in the afternoon.
inside a freezeron a windy hillin a greenhouse
A data logger is useful in places where a person cannot stay for hours. The logger saves each reading in its storage. Later, a person takes the logger back and reads all the data at once.
Class activity

Human data logger (with family): you are the data logger. Choose a place such as your garden, a balcony or a window. At five times during one day, write down the time, whether it is bright, dim or dark and how warm it feels on a scale from 1 (cold) to 5 (hot). If you have a thermometer, record the temperature too. Make a table and a bar chart afterwards. At what time was it the warmest? What is one thing a real data logger can do that you cannot do?

Practice
1
Choose the sensor (distance, light, temperature or motion) for each job: (a) curtains that close by themselves when the sun goes down, (b) a toy car that stops before it hits a wall, (c) a bathroom fan that starts when someone walks in, (d) a heater that switches off when the room is warm enough.
curtains?toy car?bathroom fan?heater?
2
What is the difference between a sensor and a data logger?
3
A logger in a school garden recorded the temperature at 06:00, 09:00, 12:00, 15:00 and 18:00. At what time was it warmest, and how much warmer was it than at 06:00?
AB
1TimeDegrees
206:009
309:0013
412:0018
515:0020
618:0015
4
Name two places where a data logger would be useful and say why.