Go to Post ummm who is John V Neun....? - Korbin [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2006, 01:09
tpc's Avatar
tpc tpc is offline
Registered User
AKA: Tom Convery
FRC #0623 (Cougar Robotics)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Falls Church, VA
Posts: 7
tpc is on a distinguished road
Attaching LED's to OI joystick ports?

Hi all,

Has anyone attached LED's to the OI's joystick ports? Page 5 of the OI reference guide seems to indicate that I can attach LED's directly to the joystick port pins, without needing to put a resistor in series. Can anyone confirm that this is true? (I'd like to avoid turning any LED's into DED's (dark emitting diodes) if possible. )

Thanks!
-tpc
  #2   Spotlight this post!  
Unread 14-02-2006, 07:41
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,112
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: Attaching LED's to OI joystick ports?

Confirmed. You get no more than 10 milliamps out of the LED driver pins, which will safely light one LED without destroying it.
  #3   Spotlight this post!  
Unread 15-02-2006, 00:28
tpc's Avatar
tpc tpc is offline
Registered User
AKA: Tom Convery
FRC #0623 (Cougar Robotics)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Falls Church, VA
Posts: 7
tpc is on a distinguished road
Re: Attaching LED's to OI joystick ports?

I tried it this afternoon and it worked like a charm. No DED's.

Thanks!
  #4   Spotlight this post!  
Unread 15-02-2006, 00:46
ForgottenSalad's Avatar
ForgottenSalad ForgottenSalad is offline
In search of a home...
AKA: Michael Wessler
no team
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Bethlehem, NH
Posts: 136
ForgottenSalad will become famous soon enoughForgottenSalad will become famous soon enough
Send a message via AIM to ForgottenSalad
Re: Attaching LED's to OI joystick ports?

Is there a way to have them controlled by robot feedback? Like how the feedback LED's on the OI are, but plugged into a joystick port pin so we can have them somewhere else on the controller....
  #5   Spotlight this post!  
Unread 15-02-2006, 06:51
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,112
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: Attaching LED's to OI joystick ports?

That's exactly what the OI's LED outputs are. They duplicate the state of the pwm and relay LEDs.
  #6   Spotlight this post!  
Unread 15-02-2006, 08:03
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,631
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: Attaching LED's to OI joystick ports?

I have not confirmed this but I believe that the OI has an internal LED driver of 10mA (something like the STP16C596 perhaps).

The nice thing about constant current LED drivers is that they provide 10mA regardless of the LED's internal voltage drop, resistance, etc. You can test this out by stacking 2 LED's series. If 2 LED's in series still pull 10mA just like the 1 LED does, then odds are IFI isn't just using an internal resistor to limit current.

Joe J.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
  #7   Spotlight this post!  
Unread 15-02-2006, 08:19
tpc's Avatar
tpc tpc is offline
Registered User
AKA: Tom Convery
FRC #0623 (Cougar Robotics)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Falls Church, VA
Posts: 7
tpc is on a distinguished road
Re: Attaching LED's to OI joystick ports?

Quote:
Originally Posted by Alan Anderson
That's exactly what the OI's LED outputs are. They duplicate the state of the pwm and relay LEDs.
See http://ifirobotics.com/docs/oi-ref-guide-11-21-05.pdf pp. 7 & 9 for the details.

-tpc
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
Joystick Ports as Duplex Data Port zachriggle Control System 9 07-02-2006 18:19
Free programming help Cuog Programming 24 24-01-2006 16:43
Change joystick to pwm mapping Joe Lewis Programming 3 30-03-2005 19:27
Changing 1 joystick code to 2 (rookie team) Brawler006 Programming 5 20-02-2004 17:00
robot goes haywire with the one joystick default code Miles Programming 7 24-01-2003 14:58


All times are GMT -5. The time now is 09:24.

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