Home > Miscellaneous > Interfacing PIC16F877A with Thermistor

Interfacing PIC16F877A with Thermistor

Components Needed

Microcontroller PIC16F877A  – {1}

Reset Circuitry (Tactile Switch – {1} + 1K Resistor – {1})

Oscillator Circuitry (20MHz Crystal {1}, 15pF Capacitor {2})

10K Thermistor – {1}, 10K Resistor –{1}

Connecting Components

Connect Components as shown in the schematic below.


We will connect a 10KΩ Thermistor in series with a 10KΩ Resistor, the Resistor is used for protection, as the resistance of thermistor may get very low which can cause most of the current to flow through it resulting in damage of thermistor. So a 10KΩ Resistor is used to ensure that the resistance remains at least 10KΩ.

Now the voltage at the junction of thermistor and resistor will vary according to the voltage at thermistor, so this will be a variable analog output proportional to the temperature.

Now configure Port A as analog and give the output from junction on the analog channel , this input could be stored in any variable in program and could be used for further analysis.

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: