11 | TMP36 Temperature Sensor

The TMP36 is an integrate circuit (IC) that outputs a voltage based on the ambient temperature. Temperature sensors like the TMP36 are commonly used in thermostats and temperature chambers. In this tutorial we'll learn how read the temperature values from the TMP36 and then learn how the TMP36 VI converts analog voltage into temperature.



Parts List
  • Sparkfun RedBoard

  • 1x TMP36 Temperature Sensor
Circuit Schematic



  • Open the LINX - Analog Read 1 Channel example from the LabVIEW Example Finder.

  • Select the AI channel connected to the TMP36.

  • Run the VI, then place your finger on the TMP36. Notice the output voltage increase.

  • Modify the VI to scale the analog voltage into temperature.
    • Create a Sub VI for reading from the TMP36.
  • Use and LED to indicate when the temperature exceeds a specified value.

  • Use an RGB LED to indicate the temperature using color.