Instruments LM35. It
is one of the most widely used, low-cost temperature sensors in
measurement and control systems in industry. Its output voltage is linearly
proportional temperature, so the relationship between the sensor output and the
temperature is straightforward.
We will use an RGB LED to light in different colors and blink
at different rates to
indicate the temperature and make alerts. This type of LED is a combination of a red
LED, a green LED, and a blue LED in one package. By adjusting the intensity of each
LED, a series of colors can be made. In this example, we will light
the LED in blue
when a temperature is lower than the optimal range, in green when the temperature
is within the optimal range, and in red when the temperature is higher than the
optimal range. In addition, the further the temperature has deviated from the optimal
range, the faster the LED will blink. In this way, we alert the caretakers that
a heating
or cooling action needs to be taken and how urgent the situation is.
Figure
2.1.9
: Texas Instruments LM35 precision centigrade temperature sensor in the LP
package and its pin configuration and functions (from LM35 datasheet
http://www.ti.com/lit/ds/symlink/lm35.pdf
).
Dostları ilə paylaş: