Go to Post Meanwhile I'm over here with with my completely see-through poly-carbonate blocker prototype laughing. - JohnFogarty [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-02-2007, 23:42
skippy178 skippy178 is offline
Registered User
AKA: Jason A
FRC #0178 (The Enforcers)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Farmington, CT
Posts: 14
skippy178 is infamous around these partsskippy178 is infamous around these parts
Driving LEDs straight from Relay outputs

OK, here's the scenario:

We want to do some software testing using a minimalist FRC controller plus an electronics board with some switches, potentiometers and LEDS.

The switches will go to digital inputs

The potentiometers will use the analog inputs

So far, all easy to do

But the LEDS, I would like to drive from the Relay outputs on the controller directly, using the FWD and REV outputs to drive two separate LEDs e.g. green for FWD and red for REV.

Normally the Relay outputs go to a SPIKE, but I would really like to do away with them to make the test rig setup smaller and less expensive.

Is it possible to drive LEDs directly from the Relay FWD / REV outputs ?

Is there any good technical reference that explains the FRC Controller's Relay output signal drive characteristics, i.e. voltage and max current source/sink per output channel ?

Thanks in advance

Jason
  #2   Spotlight this post!  
Unread 11-02-2007, 23:52
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: 7,019
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: Driving LEDs straight from Relay outputs

First, have a look at the RC specs especially regarding the relay outputs, then have a look at the spike specs, taking note of the two solenoid example.

Give it a bit of thought and you'll figure out how to drive an LED off the 5 volts that comes out of the FWD and REV pins of the Relay outputs, with the black wire being Ground/Negative/Cathode. Do not forget the dropping resistor.

Alternative would be to use a spike, since then you could drive 20 Amps of lights, but the RC can drive an LED at perhaps 10 mA

Have fun,

Don
__________________

I am N2IRZ - What's your callsign?
  #3   Spotlight this post!  
Unread 12-02-2007, 00:04
skippy178 skippy178 is offline
Registered User
AKA: Jason A
FRC #0178 (The Enforcers)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Farmington, CT
Posts: 14
skippy178 is infamous around these partsskippy178 is infamous around these parts
Re: Driving LEDs straight from Relay outputs

Thanks Don

I did have a look at the RC and Spike specs, but neither gave definitive figures on the amount of current (if I am wrong, please point me to specific page numbers !).

The page on the RC at IFI Robotics site

http://www.ifirobotics.com/rc.shtml

mentions 7mA for the Digital I/O pins, but says nothing about the Relay ones.

In response to your message, the short answer to my question should be that with 5V on the FWD and REV pins of the RC when they are switched on, and assuming a 1.5V drop across an LED (being a typical figure), that leaves 3.5 volts to drop across the series resistor. For a 10mA current, that would require a resistor of 350 ohms (or higher to give a lower current).

The nearest E12 resistor value is 390 ohms - the next lowest, at 330 ohms is too low and would give too high a current.

OK ?

Jason
  #4   Spotlight this post!  
Unread 12-02-2007, 10:44
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Driving LEDs straight from Relay outputs

Skip,
A hint would be that the input side of a Spike is an LED opto coupler. This in no way means I am telling you to use the RC for this purpose.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #5   Spotlight this post!  
Unread 16-02-2007, 15:13
skippy178 skippy178 is offline
Registered User
AKA: Jason A
FRC #0178 (The Enforcers)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Farmington, CT
Posts: 14
skippy178 is infamous around these partsskippy178 is infamous around these parts
Re: Driving LEDs straight from Relay outputs

I got an answer "straight from the horses mouth" thanks to the people at IFI Robotics.

See

http://www.ifirobotics.com/forum/vie....php?p=951#951

In a nutshell LEDs can be driven directly. The outputs have 330 ohm resistors internally as current limiters. 8mA or so of drive should be easily accomplished.

Perfect for what I want :-)
Closed Thread


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
pic: Ted Boucher from Team 237 with straight hair Elgin Clock Extra Discussion 19 09-04-2006 14:55
Military robots straight from the hobby store! mechanicalbrain Chit-Chat 9 16-08-2005 16:03
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:40.

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