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.

Arduino Thermometer(7-Segment)

Arduino Thermometer(7-Segment)
Using a dual 7-segment display, a DS18B20 temperature sensor and a couple of shift registers I figured that I could build a digital thermometer.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Temperature Sensor

Temperature Sensor
The sensor I'm using is the DS18B20, it's a 3pin sensor that just requires a single input pin from the arduino. Multiple sensors can be hooked together, however I'm just using one for this project. As with a lot of different sensors there's a handy library that makes it particularly easy to get the temperature in centigrade or fahrenheit, it's the Dallas_Temperature library available here and a spec sheet for the sensor available from maxim.

To connect it to the arduino connect the ground pin on the sensor to a ground pin on the arduino, put a 4.7k resistor between pin 2 and pin 3 on the sensor, connect pin 3 to 3.3v from the arduino and then connect pin 2 to digital input on the arduino. Once this is done, we're ready to read the temperature!
« Previous StepDownload PDFView All StepsNext Step »
3 comments
Nov 24, 2011. 6:42 PMmmendoza10 says:
hello,

nice project, i wonder if i can put an interrupt on this program. I will greatly appreciate if you can help me making it work.Thank you.
Nov 8, 2011. 1:49 PMrho2k10 says:
Hello Rahul,
Could you please help out with the schematics? The schematics pic you posted seems very blur.. cant make out what the pinouts are. Thanks!
Nov 7, 2011. 3:22 PMSimpson_jr says:
Hi,
I like your design, using shift registers to free arduino pins is nice and expandable should one want to display really hot or cold temperatures or 1/10 of a degree.

One small detail, you do use Shift-registers, but haven't told which ones, several different ones exist...

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!
0
Followers
1
Author:rkar(Rahul Kar)