View Single Post
  #2   Spotlight this post!  
Unread 22-01-2009, 09:21
sircedric4's Avatar
sircedric4 sircedric4 is offline
Registered User
AKA: Darren
no team (The SS Prometheus)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Lousiana
Posts: 245
sircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond repute
Re: Wiring LED to Driverstation

Quote:
Originally Posted by Alan Anderson View Post
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.
I originally tried it this way, from the center pin (indicator, signal) through to ground in the direction where the signal wire went into the positive side of the LED and it didn't do anything when I commanded it to. I thought I was just wiring it wrong. I may have to check to make sure the PWM cable was hooked to the correct pin. Couldn't FIRST have bothered to label their pins, its so easy to miscount!

Thanks everyone, I imagine with the info here I can get it to work. I'll let you know after I get a chance to try it tonight. I can't exactly bring the control system to work so have to wait till the evening to play with it.