This is an old revision of the document!


12 | Pressure Sensor

In this tutorial we'll learn how to read the value from an analog pressure sensor and then modify the code to show the value on a vertical slider.

Prerequisites

Hardware


Parts List
  • Sparkfun RedBoard

  • 1x Pressure Sensor
Circuit Schematic

Software

Procedure




  • 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 graph the current pressure as well as the maximum pressure recorded since the VI started.