Introduction: DIY Digital Thermometer

Picture of DIY Digital Thermometer

This instructable will show you how to make a thermometer that displays the temperature of the air.

It's not the most accurate thermometer in the world, but for this price and the fact that it was homemade...

Step 1: Parts

You will need:

1x ATMega8
2x7 segment display
1x1800 ohm resistor
7x160ohm resistors
1x KTY-13-5 (temperature sensor)

Step 2: Circuit

Picture of Circuit

I tried to make the circuit as simple as I could without over complicating the program.

Step 3: Software

You can change the resistor you use with the sensor and the formula for calculating the temperature if you got a different sensor.

Step 4: Uses

Picture of Uses

Now you might wonder where you could use this thermometer.

You can use it in your computer, but you should have plexi glass.
You could also use it for measuring the temperature in a room.
And what about putting it in a greenhouse and monitoring the temperature?

You should just remember that it isn't very accurate.


Vitor Reppen (author)2015-06-09

The board is damage on eagle, can you replace it with a good one ?
Or just send the diagram on eagle.

CatherineDavis (author)2014-10-16

I am just curious if this kind of thermometer can measure the temperature of a human body?

J. Davis

cocok (author)2014-09-27

can you share ATmega8 end ATmega8L Fuse bits?

a_b_siddique (author)2010-11-30

I cant seem to find the sensor chip anywhere, is there any other name for it? Can you send me a link for where i can buy it from? Thanks.

Also is the 7 Segment Display and Anode or a Cathode one?

Leonelf (author)a_b_siddique2014-09-01

that should be a common cathode display.

mnedal (author)2013-02-25

Hello , Have a good day ...

I'm interested in this nice work , I want to know How to record the results on memory card similar to what existing in the mobile phones and please send me the diagram or sketch for that ?

Sincerely , ...

tot54 (author)2012-10-23

I want to build a thermometer. I can not download the hex file to operate. Can anyone help.
thank you

circuit_question (author)2009-06-23

I've been trying to build this circuit and I had a number of questions. Does a ATMega8L work? Do you need to program this? I was wondering what "This part is optional" meant? Does this mean connect all of this together? I was trying to order the KTY-13-5 temperature sensor. The KTY135 surface mount temperature sensor kept popping up. This is extremely small and hard to use. Do you know of an equivalent sensor that is much easier to use? What does the Vcc arrow connect to from the diagram? What does GNDIC1 mean? And as for power, is 1 positive? I'm excited about this project. I'm hoping to get it to work. Any help would be much appreciated.

I think that a ATMega8L should work and yes, you need to program it.

That optional part is for connecting a programmer, so you can program it.
I didn't mark the pins in the schematic, but they are like this (from 1 to 5): POWER, MOSI, MISO, SCK, RESET, GROUND.

The pins above are the pins from the programmer. I personally use the STK200/300. You can also buy an avr ISP programmer.

I know the sensor is surface mount. When I ordered it, I didn't know. Luckily I managed to solder it. I guess you could use any sensor of the same family. Check the datasheet, there are more models inside. They all change their resistance with temperature and use the same formula to calculate the temperature. The only thing you might need to change is the resistance at 25°C (it's in the source code (i think the name of the variable is r25)).

It was not the best idea to add both the power symbols and plugs into the schematic, it only makes it confusing. The Vcc arrow is supposed to indicate that a 5V power supply is connected to that wire. The GNDIC1 is normal ground (eagle named it like that).

Yes, pin 1 of the plug is positive.

I hope you'll make it. If you have any trouble, don't be afraid to ask. If I don't answer in a while, write me a PM.

chetanrana (author)DemonDomen2012-08-05

actually i m new in electronics.there is a symbol of ground in the diagram the problem is that i dont know where to connect that wire plz help

ertxz18 (author)2012-03-29

Great tutorial, just one question: so you said its not very accurate, is it due to the sensor used or just the design itself?

finalxxx37 (author)2011-12-21

cool project!! Now, i'm trying to build it , but i'm not able to program C. If i use a LM35 sensor what is the formula for calculate the temperature? What resistor i have to use ?

Gernerakos (author)2011-05-25

What is the ,,ATM mega 8

kyismaster (author)Gernerakos2011-09-15

Its a ATMEL mega chip. This usually comes with the arduino platform. ( arduino uno ATM 328. the chip is ATM (atmel) 32 bit 8 ) ref:

marteloficina (author)2010-09-10

which supply voltage?

godofal (author)2009-11-14

if ur saying its not that accurate, how should i think of that? like 5 degrees(celcius) or less than 1?

DemonDomen (author)godofal2010-03-06

I think it's something like +/- 2°C

A.C.E. (author)2009-08-11

is there a way for this to be Fahrenheit? im no good at interpreting Celsius.. or programming microchips for that matter. never mind lol.

DemonDomen (author)A.C.E.2010-03-06

Sure, you'd just have to convert the number, but you'd need 3 displays.

diydept (author)2009-08-16

Very nice 5*,This capacitor is very familiar to me. Is it Iskra Slovenia?

DemonDomen (author)diydept2010-03-06

Sure is.

achelblack (author)2010-02-04

hi.i went to the store today to purchase the atmega8..but they asked me 'what number?' and i didnt know what to me please..what did they mean by that?

geoper2 (author)achelblack2010-02-07

from the picture he posted i see that he is using an ATMEGA8-16PU so thats wat u can buy

achelblack (author)2010-02-04

hi..can i ask sumthing? can i use any type of atmega8 for this project?

pipp (author)2009-11-04

ooo you used iskra capacitators :D i haven't seen them in years (and this is the first time on instructable)

Livyo (author)2009-10-31

It's work whit an DS18B20 sensor ?

albylovesscience (author)2009-08-28

thats brilliant im going to radio shack soon so how much did all the components cost

circuitmage (author)2009-06-18

How 'bout a shot of the back of the board? :)

circuitmage (author)2009-06-18

Nice project. Gets a vote from me for application. +/- 1 deg accuracy is a must for work applications. I need to build one for work to check IC temps. Check my entry for similar display project!

odiekokee (author)2009-06-07

What is your total component cost for the project?

DemonDomen (author)odiekokee2009-06-08

I think it is safe to say that I paid about 15€. But you should know that I had to pay something like 5 € for the avr -.-

PKM (author)DemonDomen2009-06-08

Is that under the normal price? It certainly doesn't sound like much for a large uC.

Do you know how much heat the temperature sensor will stand up to? I'm looking for a circuit like this to monitor the running temperature of my (air-cooled) motorbike engine, but can't use a temperature sensor that will melt as soon as it hits 90oC.

DemonDomen (author)PKM2009-06-08

I checked on ebay, they cost 1,50€. The datasheet says it can survive up to 150°C.

PKM (author)DemonDomen2009-06-08

OK, cool, that's good to know. Still need to get set up with a programmer, stripboard, common components etc. Hey, how do you get euro symbols? When I try to put the sterling symbol, the site goes mad and won't let me post comments.

DemonDomen (author)PKM2009-06-08

I just press Alt + E. If you want to make your own programmer, you should build the STK200/300. That's what I'm using and so far it worked quite well.

Kiteman (author)2009-06-07

Nice little project. You say it is "not very accurate" - how close to true is it? Also, quite a few people would find it useful if you included a layout for soldering the perf-board.

zaketus (author)Kiteman2009-06-08

With that thermistor accuracy would be about +-3% in 25C (about 75F) temperature. Accuracy might vary with different sensors or packages.

DemonDomen (author)Kiteman2009-06-08

I'll try to check the accuracy when I find the time. Expect it to be in 1-2 weeks. About the layout... There's a lot of wires under the board, but you can't see it on the pictures. There was no way to make it with less wires. I'll upload a pcb.

About This Instructable




More by DemonDomen:Simple electronic diceDIY Digital ThermometerEPROM reader
Add instructable to: