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:

[php]
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
[/php]

Spec Sheet Below pictures.

TMP35-36-37 Spec Sheet

Advertisements

Author: Helicopter Jeff

I'm a vinyl decal cutting and designing, Astrophotography and general photography capturing, RC helicopter/quad copter pilot, Arduino and Raspberry Pi hardware/software developer, network, scripting and troubleshooting ninja living in the metro NY area. I am passionate about my hobbies so much I do them for a living. There's nothing better than getting paid to do what you love.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s