Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
learn:tutorials:libraries:linx:sparkfun_inventors_kit:pressure_sensor [2015/02/03 19:08] samkristoff |
learn:tutorials:libraries:linx:sparkfun_inventors_kit:pressure_sensor [2015/05/07 16:09] (current) samkristoff |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== 12 | Pressure Sensor ====== | ====== 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. | + | In this tutorial we'll learn how to read the value from an analog pressure sensor and display it on a graph, then we'll modify the code to store the maximum pressure value and plot it on the same graph. |
==== Prerequisites ==== | ==== Prerequisites ==== | ||
Line 14: | Line 14: | ||
==Circuit Schematic== | ==Circuit Schematic== | ||
+ | {{ :learn:tutorials:libraries:linx:sparkfun_inventors_kit:12_-_pressure_sensor_bb.png?direct&500 |}} | ||
==== Software ==== | ==== Software ==== | ||
Line 19: | Line 20: | ||
* {{page>templates:software:ni:labview#Content&noheader&nofooter}} | * {{page>templates:software:ni:labview#Content&noheader&nofooter}} | ||
* {{page>templates:software:ni:visa#Content&noheader&nofooter}} | * {{page>templates:software:ni:visa#Content&noheader&nofooter}} | ||
- | * {{page>templates:software:makerhub:linx#Content&noheader&nofooter}} | + | * {{page>templates:software:makerhub:linx:linx#Content&noheader&nofooter}} |
==== Procedure ==== | ==== Procedure ==== | ||
---- | ---- | ||
- | <HTML><br /><center><iframe width="640" height="360" src="//www.youtube.com/embed/" frameborder="0" allowfullscreen=""></iframe></center><br /></HTML> | + | {{MakerHub Youtube |
+ | | Code = ekdT5OyhskQ | ||
+ | }} | ||
* Open the **LINX - Analog Read 1 Channel** example from the LabVIEW Example Finder. \\ \\ | * Open the **LINX - Analog Read 1 Channel** example from the LabVIEW Example Finder. \\ \\ | ||
Line 30: | Line 33: | ||
* Modify the VI to graph the current pressure as well as the maximum pressure recorded since the VI started. | * Modify the VI to graph the current pressure as well as the maximum pressure recorded since the VI started. | ||
+ | ==Challenges== | ||
+ | * Use the pressure sensor to control LED brightness. \\ \\ | ||
+ | * Use the pressure sensor as a toggle switch to turn an LED on or off. \\ \\ | ||
+ | * Use the pressure sensor to control the tone of a piezo buzzer. | ||
+ | \\ | ||
+ | {{MakerHub Previous Next Button}} | ||
+ | \\ | ||
==== Related Links ==== | ==== Related Links ==== | ||
---- | ---- | ||
- | [[libraries:linx:]] | + | {{page>templates:software:makerhub:linx:related_links#Content&noheader&nofooter}} |