Nobody is able to understand what you're trying to do.
1) You can't measure temperature with a potentiometer. A potentiometers value (resistance) only changes when you turn it. Its used for human interface. Go to these links for more details https://en.wikipedia.org/wiki/Potentiometer, http://www.wisegeek.com/what-is-a-potentiometer.htm.
2) For measuring temperature you need temperature sensors. Like LM35 which gives an analog value just like a potentiometer but the value is proportional to the temperature.
Now answer or do the following
1) Post a picture of the potentiometer or temperature sensor. 2) Does the thing you call potentiometer look like the one in the Wikipedia link? 3) Or does it look like a transistor? 4) What is written on it? 5) Post the picture of the circuit or the circuit itself.
If you don't clarify the above we will not be able to help you.