Template:UgDigitalOutputLED: Difference between revisions

From Phidgets Support
No edit summary
Line 1: Line 1:
===Digital Output (LED)===
===Digital Output (LED)===
Double-click on a Digital Output object labelled ''LED Driver'' in order to run the example:
[[Image:{{{1}}}_DigitalOutputLED_Example.jpg|center|link=]]


[[Image:{{{1}}}_DigitalOutputLED_Example.jpg|right|link=]]


When you double click on an LED object, a window like the one pictured will open.
{{UGExampleDescription}}
 
*From the ''Forward Voltage'' drop-down menu, select the appropriate voltage for your LED. It is recommended to set the forward voltage to the first setting above the maximum voltage specified by your LED's datasheet.
* At the top of the window, information about your device and the properties of this particular channel will be listed.
*Use the ''Current Limit'' slider to set an appropriate limit for your LED. The current limit will be specified in your LED's datasheet.
* In the middle, the on/off button will toggle the state of the LED. The duty cycle slider will control the effective power supplied to the LED, where 0.0 is "none" and 1.0 "full power".
*Use the large button to toggle power to the LED.
* At the bottom there's a selection for the current limit and forward voltage mode. Set the current limit to whatever the forward current is specified as in the LED's datasheet. When choosing a forward voltage setting, higher settings will make the LED glow brighter until the LED reaches the set current limit. Past that point, setting the voltage limit higher will simply burn more power in the controller chip to limit the current. It is recommended to set the forward voltage to the first setting above the maximum voltage specified on the LED's datasheet.
*Use the ''Duty Cycle'' slider to precisely control the amount of power supplied to the LED.
<br clear="all">
<br clear="all">

Revision as of 16:23, 14 June 2017

Digital Output (LED)

Double-click on a Digital Output object labelled LED Driver in order to run the example: [[Image:{{{1}}}_DigitalOutputLED_Example.jpg|center|link=]]


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

  • From the Forward Voltage drop-down menu, select the appropriate voltage for your LED. It is recommended to set the forward voltage to the first setting above the maximum voltage specified by your LED's datasheet.
  • Use the Current Limit slider to set an appropriate limit for your LED. The current limit will be specified in your LED's datasheet.
  • Use the large button to toggle power to the LED.
  • Use the Duty Cycle slider to precisely control the amount of power supplied to the LED.