Diagram digital thermostat is built on a PIC16F628 microcontroller. The device allows you to control external circuits through relays, depending on the set temperature. To measure the temperature use the temperature sensor DS1820.
Data is displayed through the LCD module 16X2.
Chart of the operation of the device below:
Download the source code in assembler 1-186_dig_therm.zip