Go to Post The proper way to advance forward is by bringing the bottom up, not by limiting how high the top can fly. - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Control System
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
  #4   Spotlight this post!  
Unread 15-03-2008, 20:36
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,991
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Can Relay Outputs Directly Drive LEDS ? (for testing)

Quote:
Originally Posted by de_ View Post
All 8 relay ports are in use this year (that's a lot of Spikes & PWM cables !). We like to test our software out first on a table test board as much as possible. We would prefer to not have to dedicate 8 more spikes and pwms just to have visual confirmation of the state of the relay outputs.

If I read Kevin Watsons CPU to RC I/O mapping chart and the CPU spec also posted by KW, it appears each pin might be able to provide 25ma, enough to power a led (with an appropriate dropping resistor). We would probably limit it to 10-15ma (just enough to see reliably).

Anyone one know for certain this is doable or more importantly if its a bad idea ? I would hate to blow our test RC. (We asked Innovation First but did not hear back.)
For the price of an RC I would research the spec myself; however if an LED draws 15 mA and the output can source 15 mA or more, then the answer is yes.

While you are looking at those specs, also see what the output can "sink" - that is, how much current can it allow to flow when it acts as a ground (and not a power 'source'). Most circuits can sink two or more times the current that they can source. If you want to do this, connect the anode of the LED to +5v, and the cathode (through a dropping resistor, maybe 82 to 120 Ohms) to the digital (relay) output pin.

Don

[EDIT]Digital pins can only source 7 mA. I'd test them by allowing them to sink the current instead, maybe ask IFI
__________________

I am N2IRZ - What's your callsign?

Last edited by DonRotolo : 16-03-2008 at 14:22. Reason: Thanks for the IFI link "The" Lucas
 


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
Using Kevin's PWM outputs for a quieter drive system. PhilBot Control System 20 09-03-2008 16:10
Driving LEDs straight from Relay outputs skippy178 Electrical 4 16-02-2007 15:13
relay and pwm outputs nick_champ_2 Electrical 1 31-01-2003 13:08
Relay outputs on rc jdawson Electrical 4 26-01-2003 12:51
Relay Outputs OddOne Technical Discussion 3 01-02-2002 19:52


All times are GMT -5. The time now is 20:34.

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