Go to Post Test your code and your assumptions. - ShotgunNinja [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 10-06-2011, 17:13
Micah Chetrit's Avatar
Micah Chetrit Micah Chetrit is offline
Registered User
FRC #3276 (NSR)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New London - Spicer MN
Posts: 90
Micah Chetrit is on a distinguished road
Re: Relay to control 2 outputs

Oh, I didn't know about that.
what specifically is forbidden? Can I wire the leds and put them in a tube (therefore just creating a part), but not wire it to a relay? or is making custom parts before season not legal?
  #2   Spotlight this post!  
Unread 10-06-2011, 17:18
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,047
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Re: Relay to control 2 outputs

Quote:
Originally Posted by Micah Chetrit View Post
Oh, I didn't know about that.
what specifically is forbidden? Can I wire the leds and put them in a tube (therefore just creating a part), but not wire it to a relay? or is making custom parts before season not legal?
The latter case is true. Until the rules change, you cannot fabricate custom parts or construct custom assemblies for your official FRC robot prior to the start of the season. This is one of the core tenets of the FRC program - every team must engineer their robot within the same time window.
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner

Last edited by Travis Hoffman : 10-06-2011 at 17:21.
  #3   Spotlight this post!  
Unread 10-06-2011, 17:20
Micah Chetrit's Avatar
Micah Chetrit Micah Chetrit is offline
Registered User
FRC #3276 (NSR)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New London - Spicer MN
Posts: 90
Micah Chetrit is on a distinguished road
Re: Relay to control 2 outputs

Thank you for pointing that out. I guess I only have to make one set this summer then.
  #4   Spotlight this post!  
Unread 10-06-2011, 19:10
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,795
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: Relay to control 2 outputs

Micah,
It is also possible that this wiring method would be illegal during next year's game and rules. I would hope that the GDC allows teams to use this method but you never know for sure. As stated the Spike is capable of switching either or both outputs between high and low states. The manual for the Spike explains this.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #5   Spotlight this post!  
Unread 11-06-2011, 17:27
Hugh Meyer's Avatar
Hugh Meyer Hugh Meyer is offline
Registered User
FRC #1741 (Red Alert Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Greenwood Indiana
Posts: 158
Hugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud of
Re: Relay to control 2 outputs

Micah,

If you connect them to a Jaguar or Victor you could dim them. With different colors that could give you some interesting effects. You would need to put the LEDs in series to be able to tolerate the 12 volts...maybe 6 LEDs and a current limiting resistor. Just an idea...

-Hugh
  #6   Spotlight this post!  
Unread 11-06-2011, 23:31
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Relay to control 2 outputs

Just as a note, what Travis said is perfectly true; any design done preseason is not legal for use during competition. However, if the design is modified (i.e. improved or optimized during competition) for the robot, then it is indeed legal.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #7   Spotlight this post!  
Unread 12-06-2011, 00:19
Warlord Warlord is offline
He-Who-Does-A-Little-Of-Everything
no team
Team Role: Driver
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Connecticut
Posts: 21
Warlord is a jewel in the roughWarlord is a jewel in the roughWarlord is a jewel in the rough
Re: Relay to control 2 outputs

Although it is worth noting that given that this seems to be more decorative than functional - designing a whole drive train in the offseason is one thing, designing some pretty lights is something else entirely. I wouldn't worry too much about breaking the intent of the "6 weeks" thing.
  #8   Spotlight this post!  
Unread 12-06-2011, 11:39
Steve Warner Steve Warner is offline
Controls / Programming
FRC #0234 (Cyber Blue)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Indiana
Posts: 43
Steve Warner is an unknown quantity at this point
Re: Relay to control 2 outputs

I don't have the latest version of the C++ WpiLib source code available to look at right now, but I don't think it allows both relay outputs to be turned on at the same time. Could someone explain why the Relay class was written this way and if it can be changed for the next library release.
  #9   Spotlight this post!  
Unread 12-06-2011, 12:48
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Relay to control 2 outputs

Quote:
Originally Posted by Steve Warner View Post
I don't have the latest version of the C++ WpiLib source code available to look at right now
Whenever you have access to the web, V20110203rev2259 is available online for browsing.

The only stated differences from V20110203rev2262 are:
1. A NetConsole error in the cRIO that under some circumstances corrupt memory in the cRIO.
2. Fixed an error with the ADXL345 I2C accelerometer.
3. Fixed an error with allocation tracking in the Counter class.




Last edited by Ether : 12-06-2011 at 12:59.
  #10   Spotlight this post!  
Unread 12-06-2011, 16:02
Steve Warner Steve Warner is offline
Controls / Programming
FRC #0234 (Cyber Blue)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Indiana
Posts: 43
Steve Warner is an unknown quantity at this point
Re: Relay to control 2 outputs

Thanks Ether. So in Relay::Set there is no way for the kOn case to set both outputs true. I think this is something that could be easily fixed.
  #11   Spotlight this post!  
Unread 12-06-2011, 20:37
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Relay to control 2 outputs

To my memory, I believe controlling the 4 states of a Spike involves splicing together two outputs into the Spike input, though I could be wrong.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #12   Spotlight this post!  
Unread 12-06-2011, 21:40
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Relay to control 2 outputs

Quote:
Originally Posted by slijin View Post
To my memory, I believe controlling the 4 states of a Spike involves splicing together two outputs into the Spike input, though I could be wrong.
http://content.vexrobotics.com/docs/...uide-sep05.pdf

The White input (0/1) controls the M+ output (GND/+12v).

The Red input (0/1) controls the M- output (GND/+12v).

Thus, the Spike can drive a motor forward, reverse, or brake (no coast).

or

Drive two solenoids (or LEDs, etc) independently.



Last edited by Ether : 12-06-2011 at 21:43.
  #13   Spotlight this post!  
Unread 13-06-2011, 14:58
Micah Chetrit's Avatar
Micah Chetrit Micah Chetrit is offline
Registered User
FRC #3276 (NSR)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New London - Spicer MN
Posts: 90
Micah Chetrit is on a distinguished road
Re: Relay to control 2 outputs

Quote:
Originally Posted by Hugh Meyer View Post
Micah,

If you connect them to a Jaguar or Victor you could dim them. With different colors that could give you some interesting effects. You would need to put the LEDs in series to be able to tolerate the 12 volts...maybe 6 LEDs and a current limiting resistor. Just an idea...

-Hugh
Thanks for the Jag Idea, it sounds like a great idea. I was going to use team color LEDs though, so I am not going to lay too much with colors.

I was planning to put them in parallel however and use a Zenner Diode to regulate the voltage, simply because a 6 led chain isn't very long. I Have not tested the idea yet. I have never used Zenner Diodes before, Any opinion/experience with it? Other ideas?
  #14   Spotlight this post!  
Unread 13-06-2011, 15:18
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Relay to control 2 outputs

Quote:
Originally Posted by Micah Chetrit View Post
I was planning to put them in parallel however and use a Zenner Diode to regulate the voltage, simply because a 6 led chain isn't very long.
You can make the chain as long as you like.

Quote:
I have never used Zenner Diodes before, Any opinion/experience with it?
You didn't mention a resistor. Could you post a sketch showing how you plan to use the Zener to regulate the voltage to the LEDs?


Attached Thumbnails
Click image for larger version

Name:	6LED.png
Views:	27
Size:	2.1 KB
ID:	10751  

Last edited by Ether : 13-06-2011 at 15:36.
  #15   Spotlight this post!  
Unread 13-06-2011, 15:55
Micah Chetrit's Avatar
Micah Chetrit Micah Chetrit is offline
Registered User
FRC #3276 (NSR)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New London - Spicer MN
Posts: 90
Micah Chetrit is on a distinguished road
Re: Relay to control 2 outputs

Quote:
Originally Posted by Ether View Post
You can make the chain as long as you like.
I didn't think about it that way before.

I believe I attached a basic drawing of my idea. I might have the directions of the diodes backwards, I don't really do any work in schematics.

Please bear with me, I am still not very experienced.
Attached Thumbnails
Click image for larger version

Name:	led and zener.jpg
Views:	20
Size:	29.5 KB
ID:	10752  
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 04:21.

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