Potentiometer as temperature sensor

Hi, you need high resolution, but the analogRead() has limited resolution (0-1023).

I have used (many times) the Dallas temperature sensor. it used only one wire.
Try the <OneWire.h> and <DallasTemperature.h> libraries

The advantages are:

  1. it uses only one wire (with a 4.7k pull-up)
  2. It is accurate and offers good resolution
  3. It returns the temperature value to you as C or F.
  4. There are versions of this that are "waterproof" on the end of a long wire, so it is very simple to incorporate into your project.