1134 User Guide: Difference between revisions

From Phidgets Support
No edit summary
No edit summary
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOINDEX__
<metadesc>The Phidgets Switchable Voltage Divider lets you interface with all sorts of non-Phidgets resistance sensors, just select the desired resistance.</metadesc>
[[Category:UserGuide]]
[[Category:UserGuide]]
{{UserguideTOC|1134.jpg|1134}}
==Getting Started==
==Getting Started==
{{UgSensorIntro|1134|Switchable Voltage Divider|Voltage Ratio Input port}}
*variable resistance sensor


===Checking the Contents===
{{UGbox|
'''You should have received:'''
* A Switchable Voltage Divider board
* A Sensor cable
|
'''In order to test your new Phidget you will also need:'''
* A PhidgetInterfaceKit 8/8/8
* A USB cable
* A variable resistance sensor or any resistor (we are using a 27K resistor)
||}}


===Connecting the Pieces===
Next, you will need to connect the pieces:
{{UGbox|
[[Image:1134_0_Connecting_The_Hardware.jpg|400px|right|link=]]
#Connect the Switchable Voltage Divider to an Analog Input on the PhidgetInterfaceKit 8/8/8 board using the sensor cable.
# Connect the 1134 to the HUB0000 with the Phidget cable.
#Connect the variable resistance sensor to the terminal block on the Voltage Divider.
# Connect a variable resistance sensor to the terminal block on the 1134.
#Select an appropriate measurement range for your application by toggling the desired DIP switch. We are toggling the 27.4K switch. When the switch is down, the associated measuring resistor is selected. It is possible to have more than one switch toggled and have the resistors in parallel. For our purpose only toggle one switch.
# Select an appropriate measurement range for your application by toggling the desired DIP switch. We are toggling the 27.4K switch. When the switch is down, the associated measuring resistor is selected. It is possible to have more than one switch toggled and have the resistors in parallel.  
#Connect the InterfaceKit board to your PC using the USB cable.
# Connect the HUB0000 to your computer with the USB cable.
|
[[File:1134_0_Connecting_The_Hardware.jpg|400px|link=]]
||}}


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


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


===Running Phidgets Sample Program===
{{UGSensorVoltageRatioInputUnitless|1134|0 and 1|}}


{{UGwin2|'''InterfaceKit-full'''}}
==Technical Details==
===General===
The 1134 is a voltage divider with switches. The switches can be used to control which resistors are used in the voltage divider. From left to right, the resistance values (in Ohms) are 249, 820, 2.61K,8.45K, 27.4K, 91K, 300K and 1M. It is possible to have multiple switches flipped, putting the corresponding resistors in parallel.


{{UGbox6|
===Formulas===
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. 
The Formula to translate voltage ratio from this sensor into resistance is:
|[[File:1018_2_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.
#The Analog In box displays a number corresponding to the resistor value.
#You can adjust the input sensitivity by moving the slider pointer.
#Click on the Sensors button to bring up the Advanced Sensor Form.
|
[[File:1134 0 InterfaceKit Screen.jpg|link=|400px]]
|
#In the Advanced Sensor Form, select the 1134 - Switchable Voltage Divider from the drop down menu.
#Select the appropriate resistor from the drop-down menu that has been selected with the DIP switch on the board.
#The resistance measured by the sensor is shown here.
#Formula used to convert the analog input SensorValue into resistance.
|
[[File:1134 0 Advanced Sensor Form Screen.jpg|link=|300px]]
}}


===Testing Using Mac OS X===


{{UGmac| | }}
::<math>\text{Resistance (Ohms)} = R_{eq} \times \frac{1}{\text{VoltageRatio} - 0.001}</math>


===Using Linux===


{{UGlinux}}
Where R<sub>eq</sub> is the equivalent resistance of the switches that are flipped on in Ohms. The Switchable Voltage Divider has an internal buffer on the output.  This allows the output to be read without distortion caused by the device reading the measurement, such as the HUB0000 (or {{CT|HasAI|compatible product}}).


===Using Windows Mobile / CE 5.0 / CE 6.0===
===Configuring the Voltage Divider===
To optimize the 1134 to meet your needs, you have to adjust the switchable resistance to match the characteristics of your chosen variable resistor. First, adjust the resistance for no stimuli on your sensor, then apply maximum stimuli and make sure that the voltage stays within a range that gives you an acceptable resolution. The formula is most accurate at a voltage of 2.5V, with an error of 0.4%. At 0.5V and 4.5V, the error increases to approximately 1.1% and at 0.25V and 4.75V, it increases to 2.1%. As a general rule, if the voltage is over 4.5V, a lower resistance should be switched in. If the voltage is below 0.5V, a higher switch should be toggled. Continue adjusting the switches until you find an acceptable range.


{{UGce}}


==Technical Details==
[[File:1134 0 InternalDiagram.jpg|link=|center]]
The 1134 Switchable Voltage Divider is a voltage divider with switches. The switches can be used to control which resistors are used in the voltage divider. From left to right, the resistance values (in Ohms) are 249, 820, 2.61K,8.45K, 27.4K, 91K, 300K and 1M.  It is possible to have multiple switches flipped, putting the corresponding resistors in parallel.


===Formulas===
The Formula to translate SensorValue into resistance is:


 
Warning: It is possible for the 1134 to apply up to 5V to the variable resistor. If the resistor cannot handle this voltage, it can be damaged. The 1134 is a very simple way of measuring resistance. When interfacing to sensors with small resistances (like 100Ω RTDs, for instance), large currents can flow - up to 30mA. This level of current may cause substantial heating in the variable resistor, distorting the measurement or even possibly permanently damaging it.
::<math>\text{Resistance (Ohms)} = R_{eq} \times \frac{1000}{\text{SensorValue} - 1}</math>
 
 
Where R<sub>eq</sub is the equivalent resistance of the switches that are flipped on in Ohms. The Switchable Voltage Divider has an internal buffer on the output.  This allows the output to be read without distortion caused by the device reading the measurement, such as the PhidgetInterfaceKit.
 
===Configuring the Voltage Divider===
{|
|To optimize the voltage divider to meet your needs, you have to adjust the switchable resistance to match the characteristics of your chosen variable resistor. First, adjust the resistance for no stimuli on your sensor, then apply maximum stimuli and make sure that the Sensor Value stays within a range that gives you an acceptable resolution. The formula is most accurate at a SensorValue of 500, with an error of 0.4%. At 100 and 900, the error increases to approximately 1.1% and at 50 and 950, it increases to 2.1%. As a general rule, if the SensorValue is over 900, a lower resistance should be switched in. If the SensorValue is below 100, a higher switch should be toggled. Continue adjusting the switches until you find an acceptable range.||[[File:1134 0 InternalDiagram.jpg|link=|400px]]
|}
'''Warning:''' It is possible for the 1134 to apply up to 5V to the variable resistor. If the resistor cannot handle this voltage, it can be damaged. The 1134 is a very simple way of measure resistance. When interfacing to sensors with small resistances (like 100 ohm RTDs, for instance), large currents can flow - up to 30 mA. This level of current may cause substantial heating in the variable resistor, distorting the measurement or even possibly permanently damaging it.


===Variable resistance sensors===
===Variable resistance sensors===
Here are some interesting variable resistance sensors that could be used with the Voltage Divider.
Here are some interesting variable resistance sensors that could be used with the 1134.
 
{|class ="wikitable" style="text-align: center;margin:auto"
{| border = 1
|style="background:#f0f0f0;"|'''Manufacturer'''
| align="center" style="background:#f0f0f0;"|'''Sensor Type'''
|style="background:#f0f0f0;"|'''Sensor Type'''
| align="center" style="background:#f0f0f0;"|'''Manufacturer'''
|style="background:#f0f0f0;"|'''Example'''
| align="center" style="background:#f0f0f0;"|'''Example'''
|style="background:#f0f0f0;"|'''Digikey Search'''
| align="center" style="background:#f0f0f0;"|'''Digikey Search'''
|-
| Light Sensors||Advanced Photonics||PDV-P9003-1||photcell
|-
|-
| Force Sensors||CUI Inc.||IESP-12||force sensor
| [http://www.cui.com/ CUI Inc.] || Force Sensors || IESP-12 || force sensor
|-
|-
| Thermistors||US Sensor||615-1037-ND||termistor radial
| [http://www.ussensor.com/ U.S. Sensor] || Thermistors || 615-1037-ND || thermistor radial
|-
|-
| Bend Sensors||imagesco.com||FLX-01||n/a
| [http://www.imagesco.com/ IMAGES] || Bend Sensors || FLX-01 || n/a
|}
|}


{{UGotherint}}


===Analog Input Cable Connectors===
{{UGasens}}
{{UGasens}}


==Product History==
{{UGnext|}}
{{UGhist}}
{{UGrow|March 2010 |0 |N/A |Product Release }}

Latest revision as of 16:40, 7 June 2018


Getting Started

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


Next, you will need to connect the pieces:

1134 0 Connecting The Hardware.jpg
  1. Connect the 1134 to the HUB0000 with the Phidget cable.
  2. Connect a variable resistance sensor to the terminal block on the 1134.
  3. Select an appropriate measurement range for your application by toggling the desired DIP switch. We are toggling the 27.4K switch. When the switch is down, the associated measuring resistor is selected. It is possible to have more than one switch toggled and have the resistors in parallel.
  4. Connect the HUB0000 to your computer with the USB cable.


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

Using the 1134

Phidget Control Panel

In order to demonstrate the functionality of the 1134, 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 1134.

First Look

After plugging in the 1134 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 1134 from the Sensor Type drop-down menu. The Sensor Value will now return a value between 0 and 1.


Technical Details

General

The 1134 is a voltage divider with switches. The switches can be used to control which resistors are used in the voltage divider. From left to right, the resistance values (in Ohms) are 249, 820, 2.61K,8.45K, 27.4K, 91K, 300K and 1M. It is possible to have multiple switches flipped, putting the corresponding resistors in parallel.

Formulas

The Formula to translate voltage ratio from this sensor into resistance is:



Where Req is the equivalent resistance of the switches that are flipped on in Ohms. The Switchable Voltage Divider has an internal buffer on the output. This allows the output to be read without distortion caused by the device reading the measurement, such as the HUB0000 (or compatible product).

Configuring the Voltage Divider

To optimize the 1134 to meet your needs, you have to adjust the switchable resistance to match the characteristics of your chosen variable resistor. First, adjust the resistance for no stimuli on your sensor, then apply maximum stimuli and make sure that the voltage stays within a range that gives you an acceptable resolution. The formula is most accurate at a voltage of 2.5V, with an error of 0.4%. At 0.5V and 4.5V, the error increases to approximately 1.1% and at 0.25V and 4.75V, it increases to 2.1%. As a general rule, if the voltage is over 4.5V, a lower resistance should be switched in. If the voltage is below 0.5V, a higher switch should be toggled. Continue adjusting the switches until you find an acceptable range.


1134 0 InternalDiagram.jpg


Warning: It is possible for the 1134 to apply up to 5V to the variable resistor. If the resistor cannot handle this voltage, it can be damaged. The 1134 is a very simple way of measuring resistance. When interfacing to sensors with small resistances (like 100Ω RTDs, for instance), large currents can flow - up to 30mA. This level of current may cause substantial heating in the variable resistor, distorting the measurement or even possibly permanently damaging it.

Variable resistance sensors

Here are some interesting variable resistance sensors that could be used with the 1134.

Manufacturer Sensor Type Example Digikey Search
CUI Inc. Force Sensors IESP-12 force sensor
U.S. Sensor Thermistors 615-1037-ND thermistor radial
IMAGES Bend Sensors FLX-01 n/a


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.