Go Down

Topic: Temperature readings (Read 1 time) previous topic - next topic

uink

I'm having a little trouble hooking up my 10k themistor and resistor to my UNO, but I think i got it.  I am trying to sense the ambient temperature.  I am using a code that i used in a LilyPad project, so i know the code works.  However, when i run the code with my UNO, this is what I get:

Temp reading = 1023 - 3.30 volts
279.68 degress C
535.42 degress F

Anyone have any advice?
Thanks

CrossRoads

Assuming 1023 is the analog reading you are getting from the A/D converter, looks like it is just reading 5V, and not doing any resister-divider kind of function.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

uink

How do i fix that?
I'm totally new to arduino!

liudr

Since you are new, you need to provide your code and picture of your connections. That's typically needed for an answer. We don't have crystal balls.

AWOL

Maybe it is just a bit warmer than usual.

Maybe you could post your code and your circuit.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up