1122 User Guide: Difference between revisions
Line 77: | Line 77: | ||
The formula to translate SensorValue into Current is: | The formula to translate SensorValue into Current is: | ||
<math>DC | |||
<math> | ::<math> | ||
\text{DC Current (A)} = \frac{\text{SensorValue}}{13.2} - 37.8787 | |||
</math> | |||
::<math> | |||
\text{AC Current (RMS)} = \text{SensorValue} \times 0.04204 | |||
</math> | |||
{{UGotherint}} | {{UGotherint}} |
Revision as of 15:45, 9 August 2012
Getting Started
Checking the Contents
You should have received:
|
In order to test your new Phidget you will also need:
| |
Connecting the Pieces
|
| |
Testing Using Windows 2000 / XP / Vista / 7
Make sure you have the current version of the Phidget library installed on your PC. If you don't, follow these steps:
- Go to the Quick Downloads section on the Windows page
- Download and run the Phidget21 Installer (32-bit, or 64-bit, depending on your system)
- You should see the icon on the right hand corner of the Task Bar.
Running Phidgets Sample Program
Double clicking on the icon loads the Phidget Control Panel; we will use this program to ensure that your new Phidget works properly.
The source code for the InterfaceKit-full sample program can be found in the quick downloads section on the C# Language Page. If you'd like to see examples in other languages, you can visit our Languages page.
Updating Device Firmware
If an entry in this list is red, it means the firmware for that device is out of date. Double click on the entry to be given the option of updating the firmware. If you choose not to update the firmware, you can still run the example for that device after refusing.
Double Click on the icon to activate the Phidget Control Panel and make sure that the Phidget InterfaceKit 8/8/8 is properly attached to your PC. |
||
|
| |
|
|
Testing Using Mac OS X
- Go to the Quick Downloads section on the Mac OS X page
- Download and run the Phidget OS X Installer
- Click on System Preferences >> Phidgets (under Other) to activate the Preference Pane
- Make sure that the is properly attached.
- Double Click on in the Phidget Preference Pane to bring up the Sample program. This program will function in a similar way as the Windows version.
Using Linux
For a step-by-step guide on getting Phidgets running on Linux, check the Linux page.
Using Windows Mobile / CE 5.0 / CE 6.0
Technical Details
The 30 Amp Sensor measures alternating current (AC) up to 30 Amps and direct current (DC) between –30 and +30 Amps. The AC output will give the RMS (Root Mean Square) value of an alternating current assuming the current is sinusoidal, and the sine wave is varying equally across the zero point. The AC output can also be used for signals that are not varying evenly around the zero point but the value will be the RMS plus a DC component. If a DC signal is being measured, the AC output will produce a signal that can be used to calculate the current but without the value representing direction of current flow.
Measuring Current
The Phidgets Current Sensor should be wired in series with the circuit under test, as shown in the following diagrams.
In the diagrams above, the voltage source is represented by the battery symbol. The load is represented by a light bulb or schematic resistor symbol. The current flowing from the battery to the load is measured through the current sensor.
Formulas
The formula to translate SensorValue into Current is:
Phidget Cable
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.