Go to Post The minibot horse is dead. Stop trying to beat it. Glue is too cheap. - Taylor [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 09-03-2015, 12:26
jbernardis jbernardis is offline
Registered User
FRC #1403
 
Join Date: Sep 2014
Location: United States
Posts: 7
jbernardis is an unknown quantity at this point
Maximum current draw through DIO port

What is the maximum current draw through a DIO port. Our team is planning on adding some LED's for visible signal indicators, and the LED's I have found draw 80ma. Is that too much to drive using 5 volts directly from the roborio DIO port, or would it be better to operate these off of 12 volts via a spike?
  #2   Spotlight this post!  
Unread 09-03-2015, 12:32
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,905
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Maximum current draw through DIO port

The 5v rail allows a max of 1a (combined so all other 5v pins are included).
https://decibel.ni.com/content/servl...20Overview.pdf
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 09-03-2015, 12:34
mac mac is offline
Registered User
AKA: Thomas (just give me a crabcake)McCubbin
FRC #0686 (Bovine Intervention/Jagbots)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2005
Location: Mt.Airy Md.
Posts: 53
mac is a name known to allmac is a name known to allmac is a name known to allmac is a name known to allmac is a name known to allmac is a name known to all
Re: Maximum current draw through DIO port

Over the years. The few custom circuits I have inspected. Generally come to the input, output side. Not sure what max amp draw is or total draw is. Sounds like you are low enough. Thank You Mentor Mac
  #4   Spotlight this post!  
Unread 09-03-2015, 12:49
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,946
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Maximum current draw through DIO port

Page 4 of the RoboRio spec says the DIO lines can sink or source 4 mA. Unless I am missing something, happens often , no, you cannot feed the LED directly off a DIO line.

Output high is 3.3 volts nominal.
__________________
If you don't know what you should hook up then you should read a data sheet
  #5   Spotlight this post!  
Unread 09-03-2015, 13:01
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,905
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Maximum current draw through DIO port

I'd recommend using a Spike for LEDs or a custom circuit that only uses the DIO signal as a control.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #6   Spotlight this post!  
Unread 09-03-2015, 13:56
SousVide SousVide is offline
Registered User
no team
 
Join Date: Jan 2011
Location: CA
Posts: 91
SousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to behold
Re: Maximum current draw through DIO port

AndyMark has a DC/DC converter that will output 5V DC 10A max $18

http://www.andymark.com/product-p/am-3068.htm
  #7   Spotlight this post!  
Unread 09-03-2015, 14:36
jbernardis jbernardis is offline
Registered User
FRC #1403
 
Join Date: Sep 2014
Location: United States
Posts: 7
jbernardis is an unknown quantity at this point
Re: Maximum current draw through DIO port

It's hard to believe that a spike draws that much less than a single LED, but there is enough doubt in my mind that I think it's best to just use a spike. I can size my resistor for 12 volts instead of 5 (or 3.3).
  #8   Spotlight this post!  
Unread 09-03-2015, 14:51
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,946
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Maximum current draw through DIO port

Spike Specifications
Quote:
Specification

Signal Connector:Uses a standard non-shrouded 3-wire cable.
Control Signal:High: 3V min @ 4mA Low: ground (High Max 5-12V current limited to 40 mA.)
Max Switching:20 operations per second no load, 6 operation per minute for rated life at rated load.
Operate Time:5 ms typical
Initial Release Time:2 ms typical
Mechanical Life:10 million operations
Electrical Life:100K operations at 20A, 14VDC, 1mH
The input to the spike is opto-isolated so the RoboRio output does not drive the relay directly. If I were to use a spike, I would drive it off an RoboRio relay output & use a regular spike object (or whatever you call those programing thingies) to program it.
__________________
If you don't know what you should hook up then you should read a data sheet
  #9   Spotlight this post!  
Unread 09-03-2015, 15:31
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,275
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Maximum current draw through DIO port

Quote:
Originally Posted by jbernardis View Post
It's hard to believe that a spike draws that much less than a single LED, but there is enough doubt in my mind that I think it's best to just use a spike. I can size my resistor for 12 volts instead of 5 (or 3.3).
According to Vex, the minimium is 4mA, and is current limited to 40mA.

BTW: I think the spike can switch 5v, so you don't have to switch 12v and step it down as much.

Last edited by rich2202 : 09-03-2015 at 15:33.
  #10   Spotlight this post!  
Unread 09-03-2015, 17:35
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,946
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Maximum current draw through DIO port

The spike has been tested for the relay ports. I don't know if they have been tested for a DIO pin. The specs are different. The NI guys say the RoboRIO IO have been tested by teenagers & is nearly indestructible. But I am superstitious (or maybe I have more efficient teenagers. )

The input voltage for the spike's relay section is 12V nominal. I do not know if it will work at 5v.
__________________
If you don't know what you should hook up then you should read a data sheet
  #11   Spotlight this post!  
Unread 09-03-2015, 19:49
SousVide SousVide is offline
Registered User
no team
 
Join Date: Jan 2011
Location: CA
Posts: 91
SousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to behold
Re: Maximum current draw through DIO port

You also have a 5V 2A off from your VRM this year - two of them! one is for your radio, the other one we've hooked up to an LED strip.
  #12   Spotlight this post!  
Unread 09-03-2015, 20:08
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,905
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Maximum current draw through DIO port

Quote:
Originally Posted by SousVide View Post
You also have a 5V 2A off from your VRM this year - two of them! one is for your radio, the other one we've hooked up to an LED strip.
Radio only on the 5v/2A outputs

Quote:
Originally Posted by R32
R32
The Wireless Bridge power must be supplied by the 5V 2A (“Radio”) output of a Cross the Road Electronics Voltage Regulator
Module (VRM) (P/N: am-2857, 217-4245) and must be the only load connected to those terminals.

__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #13   Spotlight this post!  
Unread 10-03-2015, 01:22
SousVide SousVide is offline
Registered User
no team
 
Join Date: Jan 2011
Location: CA
Posts: 91
SousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to beholdSousVide is a splendid one to behold
Re: Maximum current draw through DIO port

Quote:
Originally Posted by Mark McLeod View Post
Radio only on the 5v/2A outputs


[/font]
Good thing we've got a couple of these then...

AndyMark has a DC/DC converter that will output 5V DC 10A max $18

http://www.andymark.com/product-p/am-3068.htm
  #14   Spotlight this post!  
Unread 10-03-2015, 07:55
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: Maximum current draw through DIO port

J,
When you speak of LEDs, many of us naturally think an LED string. A single LED can be switched by the DIO through a switching transistor or other driver. If your LED can operate (actually produce light) at 4 ma, you can sink that much current as quoted by Frank above.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #15   Spotlight this post!  
Unread 10-03-2015, 08:56
philso philso is offline
Mentor
FRC #2587
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Houston, Tx
Posts: 940
philso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond repute
Re: Maximum current draw through DIO port

Quote:
Originally Posted by rich2202 View Post
According to Vex, the minimium is 4mA, and is current limited to 40mA.
This does not mean one should draw anything close to 40mA from the DIO. The chip used might go into current limit mode to save itself from a potential short circuit but the chip manufacturer will never guarantee "proper operation" under these conditions, i.e. the output voltage is unknown.
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


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

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