TMP36 Temperature Sensor

2,305

53

7

Intro: 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

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.

Share

    Recommendations

    • Plastics Contest

      Plastics Contest
    • Optics Contest

      Optics Contest
    • Audio Contest 2018

      Audio Contest 2018

    7 Discussions

    0
    None
    dano9999

    1 year ago

    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
    0
    None
    Spaceman Spiffdano9999

    Reply 1 year ago

    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.

    0
    None
    codeslayer

    1 year ago

    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
    0
    None
    Spaceman Spiffcodeslayer

    Reply 1 year ago

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

    0
    None
    ŁukaszP2codeslayer

    Reply 1 year ago

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