Forums MikroC Pro for PIC Project Discussions Can I use PIC16F877A as the microcontroller for Automatic Temperature Control ? Reply To: Can I use PIC16F877A as the microcontroller for Automatic Temperature Control ?

#2663

Bitahwa Bindu
Keymaster

Hi

  1. Connect ground lead of lm35 via two diodes such as the 1N914 to ground
  2. Measure output of the sensor and ground lead
  3. Subtract grounded voltage from output voltage. That is temperature.
  4. Multiplay the result to ref of the adc then divide by 1023
Attachments:
You must be logged in to view attached files.