Product Manual 1002 - PhidgetAnalog 4-Output
Phidgets 1002 - Product Manual For Board Revision 0 © Phidgets Inc.
Contents 5 Product Features 5 Programming Environment 5 Connection 6 Getting Started 6 Checking the Contents 6 Connecting all the pieces 6 Testing Using Windows 2000/XP/Vista 6 Downloading the Phidgets drivers 6 7 Running Phidgets Sample Program Testing Using Mac OS X 8 If you are using Linux 8 If you are using Windows Mobile/CE 5.0 or 6.
13 Product History 13 Support
Product Features • Produces a set voltage from -10V to +10V • You can connect up to 4 devices • Current limited to ±20mA per channel • Can be used to control devices such as Incandescent and LED dimmers, valve actuators, motor controls, etc. Programming Environment Operating Systems: Windows 2000/XP/Vista/7, Windows CE, Linux, and Mac OS X Programming Languages (APIs): VB6, VB.NET, C#.NET, C++, Flash 9, Flex, Java, LabVIEW, Python, Max/MSP, and Cocoa.
Getting Started Checking the Contents You should have received: • A PhidgetAnalog 4-Output In order to test your new Phidget you will also need: • A device requiring a 0 to 10V signal • A Mini-USB cable • A Hardware Mounting Kit • A multimeter could also be used to monitor the output voltage Connecting all the pieces 1. Connect your device to the PhidgetAnalog board using one of the terminal blocks. 2. Connect the PhidgetAnalog 4-Output to your computer using the Mini-USB cable.
Double Click on the icon to activate the Phidget Control Panel and make sure that the Phidget Analog 4-output is properly attached to your PC. 1 1. Double Click on Phidget Analog 4-output in the Phidget Control Panel to bring up Analog-full and check that the box labelled Attached contains the word True. 2. Enable the Channel to which your device is connected. 3. Use the slider to set the voltage. Your device should react according to the set voltage.
If you are using Linux There are no sample programs written for Linux. Go to www.phidgets.com >> Drivers Download Linux Source • Have a look at the readme file • Build Phidget21 The most popular programming languages in Linux are C/C++ and Java. Notes: Many Linux systems are now built with unsupported third party drivers. It may be necessary to uninstall these drivers for our libraries to work properly. Phidget21 for Linux is a user-space library.
Programming a Phidget Phidgets’ philosophy is that you do not have to be an electrical engineer in order to do projects that use devices like sensors, motors, motor controllers, and interface boards. All you need to know is how to program. We have developed a complete set of Application Programming Interfaces (API) that are supported for Windows, Mac OS X, and Linux. When it comes to languages, we support VB6, VB.NET, C#.NET, C, C++, Flash 9, Flex, Java, LabVIEW, Python, Max/MSP, and Cocoa.
Documentation Programming Manual The Phidget Programming Manual documents the Phidgets software programming model in a language and device unspecific way, providing a general overview of the Phidgets API as a whole. You can find the manual at www. phidgets.com >> Programming. Getting Started Guides We have written Getting Started Guides for most of the languages that we support. If the manual exists for the language you want to use, this is the first manual you want to read.
Events OnError(int ErrorCode, String ErrorDescription) The PhidgetAnalog will throw error events under certain circumstances: ErrorCode = EEPHIDGET_OVERCURRENT - An overcurrent condition has occured on an output. Under this condition, the output is clamped to 20mA. ErrorCode = EEPHIDGET_OVERTEMP - A Thermal Shutdown state has occured. The outputs will be shut down under this condition. When overcurrent or overtemperature state have ended, there will be an error event with the EEPHIDGET_OK code.
Technical Section General Produces a voltage over -10V to +10V. This voltage will be asserted up to +-20mA (short-circuit). An error will be reported when this current is exceeded, and the voltage the customer is getting is no longer accurate. The voltage is produced with 12 bit resolution (4.8mV). Isolation The 1002 is not isolated. All 4 channels use the same ground. Current The PhidgetAnalog board will limit the available current per channel at approximately 20mA.
Device Specifications Characteristic Value Output Current Limit per channel 20 mA Output Voltage Resolution 4.8 mV (12bit) Output Impedance (channel enabled) 0.5 Ω Output Impedance (channel not enabled) 4 kΩ Expected Load 2 kΩ USB Voltage Range 4.5 - 5.