Introduction: TMP36 Temperature Sensor

Picture of TMP36 Temperature Sensor

There are many options to measure temperature for your projects. One of the easiest method is the use of the TMP36 Chip. It is highly accurate with a temperature range between -40°F to 302°F (-40°C to 150°C), easy to come by, and is very cheap.

Step 1: Parts

Picture of Parts

Here's what you'll need to get started:

Step 2: Connections

Picture of Connections

The TMP36 has three pins. Looking at the flat side of the sensor the leftmost pin is Voltage in (between 2.7V to 5.5V DC). The center pin is Voltage out. This puts out a variable voltage between 0.1V (-40°C) to 2.0V (150°C), and will connect to any of the Analog input pins on the Arduino. The right most pin is Ground.

In this example I have connected the follwoing TMP36 pins to the Arduino respectively, Vin to 5V, Vout to A0, and Gnd to Gnd.

Step 3: The Sketch

Picture of The Sketch

Use the attached sketch (TMP36.ino) and upload it to your arduino. After loading the sketch use the serial monitor (Tools > Serial Monitor) to see how the TMP36 responds to its environment.

Comments

dano9999 (author)2017-05-21

Sensor tmp 36. Do you know if you can attach the tmp 36 a distance from the arduino. i.e. locate the sensor several feet from the circuit board.

accurate reading.

Spaceman Spiff (author)dano99992017-05-21

I haven't tried it myself, but it should work. There is some resistance that comes with running a long distance, but I don't think a few feet will matter too much. You could always try making it wireless by connecting it to the internet or via bluetooth.

codeslayer (author)2017-05-10

Does the read analog value actually depend on the voltage you use for driving the chip?
Do you know a similar sensor that have a higher maximum range like let's say 400°C? I'm currently building a grilling/smoking station and need to monitor the temperature.

Check out this thread: https://arduino.stackexchange.com/questions/615/how-can-i-sense-very-high-temperatures-with-arduino

ŁukaszP2 (author)codeslayer2017-05-10

semiconductor sensors are no good above ~150C. for temperatures above this, you will need to use other sensors, like thermocouples, or resistance thermometers


arthur_muh (author)2017-05-09

nice! that's a simple tutorial wich explain!

Thanks i'm glad you liked it.

About This Instructable

1,830views

50favorites

License:

More by Spaceman Spiff:Snowman Christmas Stocking HolderMake a Mantis Terrarium in a PinchLazy Man's Automatic Plant Watering Robot
Add instructable to: