Data Logging : Sensors

Data that is to be recorded by a data logging system is gathered using sensors. A sensor is a device which measures a physical quantity such as the temperature and then sends a voltage to the computer representing the quantity. Sensors can be either analogue or digital :

There are lots of different sensors available, each of which is designed to measure a specific quantity. Examples of sensors include :

Sensor Type Quantity Measured Application
Temperature sensorAnalogueHow hot/cold it is.Monitoring the temperature of a science experiment.
Light sensorAnalogueHow light/dark it is.Turning street lights on when it is dark.
Pressure PadDigitalIf a pad is being pressed.Detecting cars arriving at a car park barrier.
pH sensorAnalogueThe acidity of a liquid.Monitoring river pollution.
ButtonDigitialIf the button is being pressed.Obtaining a ticket at a car park entry barrier.
Light GateDigitalDetects an object passing through the gate.Measuring the speed or acceleration of objects.
Passive Infra Red (PIR)DigitalDetects when an object moves into an area.Activating a burglar alarm if someone enters a room.

If you are designing a data logging system you will need to decide which sensors to use and where to put them. Many data logging systems will use lots of sensors at the same time.

If you need to use analogue sensors then as well as choosing the type of sensor(s) you want to use you must also make sure the sensor(s) take measurements over ranges that are suitable for the system you are creating. For example you may want to use a temperature sensor and have to make a choice between sensor A that measures temperature in the range -10ºC to 40ºC and sensor B that measures temperature in the range 0ºC to 120ºC. Sensor A would be best for measuring the temperature at which water melts and sensor B would be best for measuring the temperature at which water boils.

GCSE ICT Companion 04 - (C) P Meakin 2004