Update your browser to view this website correctly. Update my browser now
A weatherproof Dallas One Wire DS18B20 is connected. Then putting the current temperature into a variable, an if comparison is conducted and depending on the temperature an LED is set HIGH. The PNP Transistor is used in place of the DS18B20 Sensor as there is no component in the library for it at the moment and the 3 legs, and shape match the sensor.