Notice: This page contains information for the legacy Phidget21 Library. Phidget21 is out of support. Bugfixes may be considered on a case by case basis. Phidget21 does not support VINT Phidgets, or new USB Phidgets released after 2020. We maintain a selection of legacy devices for sale that are supported in Phidget21. We recommend that new projects be developed against the Phidget22 Library.
|
1031 User Guide: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
__NOINDEX__ | |||
[[Category:UserGuide]] | [[Category:UserGuide]] | ||
{{UserguideTOC|1031.jpg|1031}} | {{UserguideTOC|1031.jpg|1031}} |
Latest revision as of 14:24, 9 May 2018
Go to this device's product page |
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 LED-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 LED 64 Advanced 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 Phidget LED 64 Advanced is properly attached.
- Double Click on Phidget LED 64 Advanced in the Phidget Preference Pane to bring up the LED-full 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
For a step-by-step guide on getting Phidgets running on Windows CE, check the Windows CE page.
Technical Details
The 1031 uses four controller chips that allow you to vary the current and voltage supplied to each channel. It does not use pulse-width modulation, another common control method for LEDs.
Multiple LEDs on a Single Channel
You can have multiple LEDs hooked up to a single channel on the 1031, (for example, a short string of LEDs) to reduce the amount of wiring, although keep in mind that you'll lose control of the individual lights, and can only toggle or dim the entire string. When using multiple LEDs on a single channel, you'll need to increase the voltage limit for that channel. If the LEDs are too dim at the maximum voltage, you should spread them out to other channels.
High-Current Considerations
If you're using high-current LEDs, you should spread your load evenly across the board to avoid having one of the controller chips overheat. There are four controller chips, each controlling the channels on a quarter of the board.
Controller 1: 0, 1, 2, 3, 4, 5, 6, 7, 24, 25, 26, 27, 28, 29, 30, 31
Controller 2: 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
Controller 3: 32, 33, 34, 35, 36, 37, 38, 39, 56, 57, 58, 59, 60, 61, 62, 63
Controller 4: 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
Board Connector Diagram
The connector used on the 1031 LED board is a Molex 70543-0003. The mating connector used on our LED cables is the Molex 50-57-9404.
Further Reading
For more information, take a look at the LED Primer.
API
We document API Calls specific to this product in this section. Functions common to all Phidgets and functions not applicable to this device are not covered here. This section is deliberately generic. For calling conventions under a specific language, refer to the associated API manual in the Quick Downloads section for that language. For exact values, refer to the device specifications.
Functions
int LEDCount() [get] : Constant
- Returns the number of LEDs that this board can drive. This may not correspond to the actual number of LEDs attached.
int DiscreteLED(int LEDIndex) [get,set]
- Sets/Gets the brightness of an LED. Valid values are 0-100, with 0 being off and 100 being the brightest. This 0-100 value is converted internally to an 7-bit value (0-127).
int CurrentLimit() [get,set]
- Sets/Gets the current limit. Valid current limits are 20mA, 40mA, 60mA and 80mA, these will generally be delimited with an enumerator where possible, or an integer where not. The default current limit is 20mA.
int Voltage() [get,set]
- Sets/Gets the output voltage. Valid voltages are 1.7V, 2.75V, 3.9V and 5V, these will generally be delimited with an enumerator where possible, or an integer where not. The default voltage is 2.75V.
Events
Error(String errorDescription, int errorCode) [event]
- 1031 uses the generic error event to stream back fault conditions. The fault can be identified by the errorDescriptionstring. The only fault currently reported is Thermal Shutdown (TSD).
Product History
Date | Board Revision | Device Version | Comment |
---|---|---|---|
March 2010 | 0 | 100 | Product Release |
May 2011 | 0A | 101 | getLabelString fix for labels > 7 characters |
January 2013 | Product Discontinued. Succeeded by the 1032 - PhidgetLED Advanced. The main improvement of the 1032 is the ability to set the current limit of each channel separately. |