Temperature Monitoring system with PIC16F877A and Micro C

This tutorial is to help us on how to design, build, and code with Micro C, a temperature montoring system using the PIC16F877A Microcontroller. This circuit is built to read the input temperature with the help of the LM35 temperature sensor. This temperature is converted into an analog value using the microcontroller , which performs a certain task depending the temperature value.
When the tempearture is beyond the threshold temperature, the fan will automatically turn ON and the heater will turn OFF, and when the temperature is below the threshold value, the fan will turn OFF and the heater will turn ON. The temperature value including the sstatus of the fan and heater are all being displayed with the help of the Liquid Crystal Display.
You need to watch the video above in order to understand how this circuit works.


TempMonitoringPIC16F877A

In this project, you will need

  1. a PIC16F84A microcontroller.
  2. An LM35 Temperature sensor, 2 relays, a fan and a heater.
  3. two capacitors and a crystal oscillator: used to produce an input clock frequency into the microcontroller
  4. 10K resistor and a pushbutton to reset Microcontroller when need.
  5. a 5V dc input voltage source
  6. 2 10K potentiometers: One to vary the LCD contrast and the other one to vary the measured volatge.
  7. Click on the link below to download the