stainless steel temperature probe

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
ronny1969
Posts: 3
Joined: Tue Oct 23, 2007 8:29 pm

stainless steel temperature probe

Post by ronny1969 »

Hello,

I bought the stainless steel temperature probe, and I managed to get measured values on my LCD display. Values between 0 and 1024.
My question is: how can I get the right values in degrees Celcius
from these?
Is there somewhere a table with the right values?

Best regards,
Ronny

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

The formula for getting the temperature can be found in this document, but be warned that is is a bit complex:

http://www2.vernier.com/booklets/tmp-bta.pdf

ronny1969
Posts: 3
Joined: Tue Oct 23, 2007 8:29 pm

how do I get the value for the 'R' that is used in the...

Post by ronny1969 »

How do I get the value for the 'R' that is used in the formula?
With flowcode I read a value between 0 and 1024.
How can get from this the value for the 'R' that is neede
in the formula?

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

Sorry, I haven't got time to give a thorough answer because I'm about to go away for a week. But I can point you in the right direction.

From my memory, the sensor is connected to the PIC with a pull-up to Vcc - I think this is 10k or 20k. This forms a potential divider with the R value of the probe internally connected to ground. The PIC's ADC input value is approx 1023/2 (i.e. 511) for a 2.5V input (assuming a 5V power supply). This voltage will be present when the resistance of the probe is the same as the pull-up resistance.

User avatar
goldwingers
Posts: 118
Joined: Wed Sep 06, 2006 1:22 pm
Location: London
Been thanked: 1 time
Contact:

Answer to R

Post by goldwingers »

Hi Ronny,
The value of R (in Kohms) is the relative resistance value of the temperature probe at a given temperature. This value as stated is non linear so you will need to decipher the equation in the document in the previous reply.

Post Reply