1EAS1

Ok so I just ordered an Arduino (Arduino UNO SMD and it comes in Saturday) and I want to make a digital thermometer. I have never even touched one before or seem one in person. I have the 4-digit 7 segment LED, thermometer and a small red bread board with male to male jumper wires. So can anyone explain to me how to hook it up right and where or what is the code to run it on? I already know how to download the software and stuff (connecting it) but I don't know how to set it up right and what's the code to use.

This depends entirely on which temperature sensor you have bought. Do you have the model? If it's a TMP36 (say) googling "TMP36 Arduino tutorial" will more often than not find you a step-by-step guide. If you don't find it that way, find a datasheet for the model you have and you might find it's a drop-in replacement for another component where you'll find a guide.

Alternatively, you'll find a lot of history with sensing temperature in the playground on this site, and in this forum.

Cheers ! Geoff

"There is no problem so bad you can't make it worse" - retired astronaut Chris Hadfield

evolion

//TEMP in deg C ~ /10000//The sensor isn't very accurate - the data sheet says ±10°C. But once you've worked out the offset and correct for it, accuracy improves//This sensor is pretty useless unless you calibrate it against a known temperature. //The sensor outputs in approximately 1°C steps.

I just ran the code last night and it gave me an avg temp (on the arduino board) of 26 C ~ 78.8 F. I'm going to compare the arduino value to another digital thermometer (infared? I think) for accuracy as soon as I can find it. You may not have much use for this because it measures the temp of the board, but you never know when it might be useful.