ET-73 Meat probe thermistor and 3.3v arduino

Hey,
I'm trying to build an arduino based meat thermometer for my BBQ project.
Almost all the instructions i have found are based around 5v arduino's. I am using a 3.3v version, and wanted to know if this should effect my setup.

I am using a 10k resistor, and have found the A, B, C coefficients online (and reference in a tangential post here)
I have the 10k resistor connected between 3.3v and pin A4. Then I have the two legs of the thermistor connected to GND and pin A4.

Here is my code:

#include <math.h>
void setup()
{
Serial.begin(57600);
}

void loop()
{
    thermister_temp(analogRead(0));
    delay(1000);
}

void thermister_temp(int aval)
{
	double R, T;
        R = (1 / ((1024 / (double) aval) - 1)) * (double) 10000;
	Serial.print("Resistance:");
	Serial.println(R);
       R = log(R);
	T = (1 / ((0.00023067431) + (0.00023696594) * R + (1.2636415e-7) * R * R * R)) - 273.25;  // formula for Celsius (actually Kelvin, then celsius)
	Serial.print("Temperature:");
        Serial.println((int) ((T * 9.0) / 5.0 + 32.0)); // C to F math
}

The output at room temp looks like the following:
Resistance: 85700.93
Temperature: 181

im glad its not actually 181 in here.... :sweat_smile:

any thoughts on what i need to modify??