This project gives you a simple DS18B20 based temperature controller with a Real Time Clock. If the Room temperature goes beyond the set temperature then the load the switched on and it gets off only after the room temperature comes below the set temperature.
The set/alarm temperature are stored into the I2C EEPROM chip 24C02. So that the set temperature is restored after the power comes again.
The system is controlled by an AT89C51 microcontroller. You can use any 8051 microcontroller for this project.
The system also have an Real Time Clock which display the time on the lcd display. The time can be changed with help of the switches.
About DS18B20
DS18B20is from Maxim semi conductor. This is an temperature sensor which has inbuilt sensor and a/d converter. The data is transferred through 1 wire. It can sense temperature from –55deg to +125deg. For more details about this sensor please check the datasheet.
Circuit Diagram

Download the Source code and the proteus simulation file from here: DS18B20-Controller-with-RTC.zip (161.69 kb)
Tags: ds18b20, ds1820, 1 wire temperature controller, temperature indicator, rtc