# TMP36 Temperature Sensor

2,706

53

7

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.

### Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

## Step 1: Parts

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

## Step 2: 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

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.

Participated in the
Untouchable Challenge

## Recommendations

• ### Internet of Things Class

22,695 Enrolled

## 7 Discussions

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.

1 reply

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.

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.

2 replies

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

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