TMP36 Analog Temperature Sensor

The TMP36 was my first sensor and is pretty simple. 3 pins, 1 analog port.

Available from SparkFun.

It’s a low voltage temperature sensor. It provides a voltage output that is linearly proportional to the Celsius temperature. It also doesn’t require any external calibration to provide a typical accuracy of ±1°C at +25°C and ±2°C over the −40°C to +125°C temperature range. Give the it a ground and 2.7 to 5.5 VDC and read the voltage on the Vout pin. The output voltage can be converted to temperature easily using the scale factor of 10 mV/°C. For Example:

int intTempReading = analogRead(intTempPin); //get temp from the internal sensor
// converting that reading to voltage, for 3.3v arduino use 3.3
float voltage = intTempReading * 5.0;
voltage /= 1024.0;
float intTemperatureC = (voltage – 0.5) * 100 ; //convert the voltage to the temp in C
float intTemperatureF = (intTemperatureC * 9.0 / 5.0) + 32.0; //convert the temp in C to F

Spec Sheet Below pictures.

TMP35-36-37 Spec Sheet

Leave a Reply

Your email address will not be published. Required fields are marked *