Go to Post Why is it whenever you tell someone there is a million billion stars in the universe they believe you, but if you tell someone that the bench over yonder has wet paint, or if usfirst.org comes up as the 1st result in Google people have to try it for themselves? - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 22-01-2009, 08:31
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Wiring LED to Driverstation

Quote:
Originally Posted by sircedric4 View Post
So to repeat I go from red 5V from digital output through my LED and then to the signal pin on the digital output? Is this correct? And then my program can turn it off and on by cycling the digital output in code?
It will work that way, though the LED will be off for a "1" value and on for a "0". Since the DS's output can source current as well as sink it, I'd connect from the digital output through the indicator to ground instead. That way the LED will be off for "0" and on for "1".

The way you connect it should depend on whether you want the LED to be on or off when the system is reset, before the cRIO software has a chance to control it.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing to DriverStation cRio screen alexjplant NI LabVIEW 2 17-01-2009 10:59
Wiring an LED from the OI Windward Electrical 6 21-01-2007 13:54
Team LED Gamer930 Control System 1 18-02-2006 15:57
Led tyguy2021 Electrical 7 15-11-2005 21:30
LED Flashlights Justin Chit-Chat 3 06-08-2004 05:35


All times are GMT -5. The time now is 03:17.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi