Electronic Thermostat and Relay
Here is a simple thermostat circuit that can be used to control a relay and supply power to a small space heater through the relay contacts. The relay contacts should be rated above the current requirements for the heater. Temperature changes are detected by a (1.7K @ 70F) thermistor placed in series with a 5K potentiometer which produces about 50 millivolts per degree F at the input of the LM339 voltage comparator. The two 1K resistors connected to pin 7 set the reference voltage at half the supply voltage and the hysteresis range to about 3 degrees or 150 millivolts. The hysteresis range (temperature range where the relay engages and disengages) can be adjusted with the 10K resistor between pins 1 and 7. A higher value will narrow the range. Electronic Thermostat and Relay Circuit Diagram In operation, the series resistor is adjusted so that the relay just toggles off at the desired temperature. A three degree drop in temperature should cause the relay to toggle back on and remain on