Digital Thermostat with PIC16F877

(2 customer reviews)

3 Credits


SPICE simulation of a DS1621 digital Thermometer and Thermostat interfaced with a microcontroller PIC16F877 measures the temperature from -55 C to +125C in 0.5°C increments and shows the result on a LCD display. Setting a TH, high temperature and a TL, low temperature, the output of thermostat becomes active when the temperature measured exceeds TH, and stay active until the measured temperature falls below TL.The power supply ranges from 2.7V to 5.5V.

  • For-Credits
  • Intermediate
  • 11-20
  • Proteus
  • 7.7+
  • Yes
  • This project uses the i2c bus, with a master and a slave device. The master is the device that drives the clock, in this case the microcontroller PIC16F877, the DS1621 is the slave device and respond to the master. the DS1621 has a 2-Wire Serial Data Input/Output called SDA and 2-Wire Serial Clock, SCL.When the master want communicate with the slave begins a start sequence on the i2c bus, sending on SDA the address of slave with write or read operation code, and a series of commands, and ends with the stop sequence.The temperature is written/read from DS1621 as two bytes, the second byte contain the value of the least significant bit of the temperature (0.5 C). TH and TL can be set with or without the 0.5 C.The output of thermostat is set active high, and the 1SHOT bit of configuration register is set low, so the DS1621 will continuosly perform temperature conversions.

  • thermostat output operation with hysteresis output of thermostat is active when temperature meets or exceeds 40.5C output of thermostat becomes inactive when temperature falls below 37.5C

2 reviews for Digital Thermostat with PIC16F877

  1. Abdennaser

    Programme plz

  2. rana_jee773

    Where is the download?

Only logged in customers who have purchased this product may leave a review.