Temperature sensor
A temperature sensor is a sensor that measures the temperature of any surface or its surroundings. It is an input device that provides information related to the temperature. We can find temperature sensors around us in a variety of appliances. For example, air conditioning works purely on the value of the surrounding temperature. The temperature sensors inside the appliance measure this temperature, and based on the temperature, the air conditioner’s compressor is turned on or off. The temperature sensor in industrial applications is also known as a thermostat. Most of the temperature sensors are integrated with a display to show the sensor’s output (measure temperature).
The BBC Micro:bit has a temperature sensor inbuilt inside the main processor. The main processor is located on the back of the Micro:bit. Figure 14.2 shows the processor’s location on a Micro:bit:
Figure 14.2 – Location of the main processor...