TMP37 Temperature Sensor

Description

This is nifty little temperature sensor in a TO-92 package. It was designed to be super easy to read out by converting an analog output voltage converts directly to degrees celsius. There is a Arduino sketch below, but it would be just as easy to use on the Basic Stamp or another microcontroller.

The TMP37 does not require any type of external calibration, and is accurate to 1ºC from 5ºC to 100ºC. The supply current runs low enough that it does not heat itself a significant amount. All you need to do to interface this sensor is to connect ground, power (+3 to 5 volts) and route the output into A/D pin (Arduino analog pin.

The one caveat is that the pinout is not correct for just sticking it into the analog block on a BBB. You need to do a little switcheroo on two leads. The pinout is in images above. Remember that it’s a bottom view of the device.

The temperature reads out directly in 20 mV / degree C. An Arduino sketch is below.