Digital Thermometer with 10-foot Temperature Sensor Probe and Humidity $24.99 Add to Cart `.
Hardware components | |||||
| × | 1 | |||
| × | 1 | |||
| × | 1 | |||
Software apps and online services | |||||
|
Story
Connect the IO Expander to LabView and Monitor a 1-Wire Temperature Sensor.
Use the IO Expander to quickly and easily add sensors and control to your LabView project. Here's an example of reading a DS18B20 sensor into LabView and graphing the results.
LabView example of reading a DS18B20 using the IO Expander
![Measurement Measurement](http://www.ni.com/images/gettingstarted/neutral/sensor_80.jpg)
To run this code snippit, drag and drop the above image into LabView.
DS18B20 temperature graph
Wiring Diagram
DS18B20 wiring to the IO Expander
So why use the IO Expander?
- Simpler to Design.
- Off-The-Shelf Parts.
- No 1-Wire Code to Write in LabView.
- Less Than a Day to Write the Code.
- Easy to Wire Using Standard RJ11 Phone Cable.
- No Sensor Cable Length Issues.
- Cheaper to Build/Interface Than Commercial Systems.
- Easy to Make Changes to Adapt to Individual Requirements.
- Single Power Supply.
- Simple Serial Interface to use all IO Expander Sensors.
LabView Temperature Sensor
Use LabView to read a DS18B20 Temperature Sensor connected to an IO Expander.
Code
Use LabView to monitor a DS18B20 Temperature Sensor connected to the IO Expander