1138 User Guide: Difference between revisions

From Phidgets Support
(Created page with "Category:UserGuide {{UserguideTOC|1138.jpg|1138}} ==Getting Started== ===Checking the Contents=== {{UGbox| '''You should have received:''' * A differential gas pressure s...")
 
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOINDEX__
<metadesc>The Phidget Differential Air Pressure Sensor plugs into an Analog Input or VINT Hub port and measures pressure from 0 kPa to 50 kPa.</metadesc>
[[Category:UserGuide]]
[[Category:UserGuide]]
{{UserguideTOC|1138.jpg|1138}}
==Getting Started==
==Getting Started==
{{UgSensorIntro|1138|Differential Air Pressure Sensor 50 kPa|Voltage Ratio Input port}}


===Checking the Contents===
{{UGbox|
'''You should have received:'''
* A differential gas pressure sensor
* A sensor cable
|
'''In order to test your new Phidget you will also need:'''
* A PhidgetInterfaceKit 8/8/8 or PhidgetTextLCD
* A USB cable
||}}


===Connecting the Pieces===
Next, you will need to connect the pieces:
{{UGbox|
[[Image:1138_0_Connecting_The_Hardware.jpg|400px|right|link=]]
#Connect the Gas Pressure Sensor to one of the Analog Inputs on the PhidgetInterfaceKit 8/8/8 using the sensor cable.
# Connect the 1138 to the HUB0000 with the Phidget cable.
#Connect the PhidgetInterfaceKit to your PC using the USB cable.  
# Connect the HUB0000 to your computer with the USB cable.
|
[[File:1136_0_Connecting_The_Hardware.jpg|400px|link=]]
||}}


===Testing Using Windows 2000 / XP / Vista / 7===
<br clear="all">
{{UGIntroDone|1138}}


{{UGwin}}
==Using the 1138==
{{UGcontrolpanelSensor|1138|HUB0000}}


===Running Phidgets Sample Program===
{{UGSensorVoltageRatioInput|1138|pressure (kPa)}}
 
{{UGwin2|'''InterfaceKit-full'''}}
 
{{UGbox6|
Double Click on the [[File:Ph.jpg|link=]] icon to activate the Phidget Control Panel and make sure that the '''Phidget InterfaceKit 8/8/8''' is properly attached  to your PC. 
|[[File:Control_Panel_Screen.jpg|400px|link=]]
|
#Double Click on '''Phidget InterfaceKit 8/8/8''' in the Phidget Control Panel to bring up InterfaceKit-full and check that the box labelled Attached contains the word True.
#Make sure that the Ratiometric box is Ticked.
#When the sensor is plugged in, the value in Analog In should be close to 40.
#You can adjust the input sensitivity by moving the slider pointer.
#Click on the Sensors button to bring up the Advanced Sensor Form.
|
[[File:Sensor_InterfaceKit_Screen_38.jpg|400px|link=]]
|
#In the Sensor box of the input you attached the sensor to, select the 1138 - Differential Gas Pressure Sensor from the drop down menu.
#This is the pressure differential between the sensor ports, measured in Pascals and pounds per square inch.
#Formula used to convert the analog input SensorValue into.
|
[[File:1138 0 Advanced Sensor Form Screen.jpg|link=|400px]]
}}
 
===Testing Using Mac OS X===
 
{{UGmac| | }}
 
===Using Linux===
 
{{UGlinux}}
 
===Using Windows Mobile / CE 5.0 / CE 6.0===
 
{{UGce}}


==Technical Details==
==Technical Details==
 
===General===
The Differential Gas Pressure Sensor uses bipolar processing to provide an accurate, high level analog input signal that is proportional to the applied pressure.
The 1138 uses bipolar processing to provide an accurate, high level analog input signal that is proportional to the applied pressure. When the sensor is plugged in, the sensor voltage should default to about 0.2V, which corresponds to 0 kPa between the two ports.
When the sensor is plugged in, the SensorValue should default to about 40, which corresponds to 0 kPa between the two ports.


===Ports===
===Ports===
The sensor comes with a positive top port and a negative bottom port. These ports have a diameter of 2.79mm to 3.30 mm (nominal 3mm).  
The sensor comes with a positive top port and a negative bottom port. These ports have a diameter of 2.79mm to 3.30 mm (nominal 3mm). Take caution when connecting the pressure ports, this sensor only measures a positive pressure differential, and you could damage the sensor if you connect it in reverse. Ensure that the upper port is always at an equal or higher pressure than the lower port.  
 
Take caution when connecting the pressure ports- this sensor only measures a positive pressure differential, and you could damage the sensor if you connect it in reverse. Ensure that the upper port is always at an equal or higher pressure than the lower port.  


[[File:1138_0_Ports.jpg|300px|right|link=]]
[[File:1138_0_Ports.jpg|300px|right|link=]]


For hosing, we recommend using polyurethane tubing.  We have had good results with 2.4mm ID tubing from Emiplastics.com. In imperial measurement, 3/32” ID tubing is equivalent. This is available through laboratory supply stores such as Cole Parmer.
For hosing, we recommend using polyurethane tubing.  We have had good results with 2.4mm ID tubing from [http://www.emicorp.com/ EMI]. In imperial measurement, 3/32” ID tubing is equivalent. This is available through laboratory supply stores such as [https://www.coleparmer.com/ Cole Parmer].
 
<br clear=all>


===Formulas===
===Formulas===
The Formula to translate SensorValue into Pressure is:
{{UGSensorFormula|pressure (kPa)}} The Formula to translate voltage ratio into Pressure is:




:<math>
:<math>
\text{Pressure (kPa)}= \frac{\text{SensorValue}}{18}  - 2.222
\text{Pressure (kPa)}= (\text{VoltageRatio} \times 55.56) - 2.222
</math>
</math>


Line 88: Line 41:


:<math>
:<math>
\text{Pressure (psi)} = \frac{\text{SensorValue}}{124.14} - 0.322
\text{Pressure (psi)} = (\text{VoltageRatio} \times 8.055) - 0.322
</math>
</math>


 
<br clear="all">
'''Note:''' 1.0 kPa = 0.145 psi
 
{{UGotherint}}


{{UGasens}}
{{UGasens}}


==API==
{{UGnext|}}
{{SensorAPI}}
 
==Product History==
{{UGhist}}
{{UGrow|Oct 2012 |0 |N/A |Product Release }}

Latest revision as of 20:50, 10 May 2018


Getting Started

Welcome to the 1138 user guide! In order to get started, make sure you have the following hardware on hand:


Next, you will need to connect the pieces:

1138 0 Connecting The Hardware.jpg
  1. Connect the 1138 to the HUB0000 with the Phidget cable.
  2. Connect the HUB0000 to your computer with the USB cable.


Now that you have everything together, let's start using the 1138!

Using the 1138

Phidget Control Panel

In order to demonstrate the functionality of the 1138, we will connect it to the HUB0000, and then run an example using the Phidget Control Panel on a Windows machine.


The Phidget Control Panel is available for use on both macOS and Windows machines. If you would like to follow along, first take a look at the getting started guide for your operating system:


Linux users can follow the getting started with Linux guide and continue reading here for more information about the 1138.

First Look

After plugging in the 1138 into the HUB0000, and the HUB0000 into your computer, open the Phidget Control Panel. You will see something like this:

HUB0000 Panel.jpg


The Phidget Control Panel will list all connected Phidgets and associated objects, as well as the following information:

  • Serial number: allows you to differentiate between similar Phidgets.
  • Channel: allows you to differentiate between similar objects on a Phidget.
  • Version number: corresponds to the firmware version your Phidget is running. If your Phidget is listed in red, your firmware is out of date. Update the firmware by double-clicking the entry.


The Phidget Control Panel can also be used to test your device. Double-clicking on an object will open an example.

Voltage Ratio Input

Double-click on a Voltage Ratio Input object in order to run the example:

1018 Sensors VoltageRatioInput.png


General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:

  • Modify the change trigger and/or data interval value by dragging the sliders. For more information on these settings, see the data interval/change trigger page.
  • Select the 1138 from the Sensor Type drop-down menu. The example will now convert the voltage into pressure (kPa) automatically. Converting the voltage to pressure (kPa) is not specific to this example, it is handled by the Phidget libraries, with functions you have access to when you begin developing!


Technical Details

General

The 1138 uses bipolar processing to provide an accurate, high level analog input signal that is proportional to the applied pressure. When the sensor is plugged in, the sensor voltage should default to about 0.2V, which corresponds to 0 kPa between the two ports.

Ports

The sensor comes with a positive top port and a negative bottom port. These ports have a diameter of 2.79mm to 3.30 mm (nominal 3mm). Take caution when connecting the pressure ports, this sensor only measures a positive pressure differential, and you could damage the sensor if you connect it in reverse. Ensure that the upper port is always at an equal or higher pressure than the lower port.

1138 0 Ports.jpg

For hosing, we recommend using polyurethane tubing. We have had good results with 2.4mm ID tubing from EMI. In imperial measurement, 3/32” ID tubing is equivalent. This is available through laboratory supply stores such as Cole Parmer.

Formulas

The Phidget libraries can automatically convert sensor voltage into pressure (kPa) by selecting the appropriate SensorType. See the Phidget22 API for more details. The Formula to translate voltage ratio into Pressure is:




Phidget Cable

Analoginput.jpg

The Phidget Cable is a 3-pin, 0.100 inch pitch locking connector. Pictured here is a plug with the connections labelled. The connectors are commonly available - refer to the Analog Input Primer for manufacturer part numbers.

What to do Next

  • Programming Languages - Find your preferred programming language here and learn how to write your own code with Phidgets!
  • Phidget Programming Basics - Once you have set up Phidgets to work with your programming environment, we recommend you read our page on to learn the fundamentals of programming with Phidgets.