3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Multifunction Digital Thermometer

Step 3Calibrate the Thermistor

Calibrate the Thermistor
«
  • DSCN0255.JPG
  • DSCN0245.JPG
To calibrate the thermistor, you need to take readings from the microcontroller at different temperatures (the more the better).

I have attached the hex file to be loaded into the microcontroller's flash to display the analog input from the thermistor. If it reads with a line in the output, it is because the thermistor input is too high to be displayed on two digits (example the output -5 could be from 155 to 105).

The points should then be plotted in excel as a scatter plot, not connected by lines (for an example see my temperature readings attached below).
You then need to right click the data points on the graph and click "Add Trendline".
Next choose the type of equation that is closest to the apparent line created by the sample points (I used a linear equation because my thermistor is made to have a linear output). Next click the "options" tab and select "display equation on chart" and click OK. This equation should be entered in the place of the formula in the source code, where x is "analogRead(tempPin)". The spot to do this is indicated in the source code(found in the intro).

The editor I used for the source code is Arduino 0007. The program also creates the hex files in the applet sub folder of the project when you click the compile button in the program. These hex files can then be loaded into the flash of the microcontroller using any method(such as the AVRIsp mkII).
« Previous StepDownload PDFView All StepsNext Step »
1 comment
Jan 21, 2008. 9:01 AMTomP says:
You could easily replace the thermistor with a DS18x20 thermometer chip, which is precalibrated and gives a direct digital temperature reading accurate to 0.5 C. A number of people have written about how to use these with Arduino. You can pick up a DS1822 for less than $4 (or sample one for free from Maxim) and save yourself the joy of having to calibrating thermistors.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
98
Followers
11
Author:J_Hodgie
Currently doing masters in Mechatronics Engineering, but still create in my spare time