Go to Post Now its up to us to show that what we shout from the high places is also true down on the street. - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 02-03-2016, 22:20
Broncobot_kae22 Broncobot_kae22 is offline
Registered User
AKA: Scott
FRC #5201 (Bronco Bots)
Team Role: Mentor
 
Join Date: Feb 2016
Rookie Year: 2013
Location: north branch
Posts: 7
Broncobot_kae22 is an unknown quantity at this point
Spike relays not working

Our spike relays are not working. I have an amber light on the relay. When button is pushed nothing happens. It is plugged in with a PWM cable to the relay port on the roboRIO. What can we do to fix this? We had a coder right the correct code for us but still nothing.
  #2   Spotlight this post!  
Unread 02-03-2016, 22:30
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 250
BitTwiddler is on a distinguished road
Re: Spike relays not working

Quote:
Originally Posted by Broncobot_kae22 View Post
Our spike relays are not working. I have an amber light on the relay. When button is pushed nothing happens. It is plugged in with a PWM cable to the relay port on the roboRIO. What can we do to fix this? We had a coder right the correct code for us but still nothing.
Are you absolutely, positively sure that the pwm cable is plugged in with the correct orientation and fully seated within the socket on the Spike? Seems like 90% of our troubles with Spikes can be traced to that cable.
  #3   Spotlight this post!  
Unread 02-03-2016, 22:34
Peyton Yeung's Avatar
Peyton Yeung Peyton Yeung is offline
45 Alumni
AKA: Peyton Yeung
FRC #0461 (Westside Boiler Invasion)
Team Role: Coach
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Kokomo, IN
Posts: 823
Peyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond repute
Re: Spike relays not working

We had an issue with a spike relay this year. We couldn't figure out why it wouldn't work since the code seemed right so we swapped it out with another one and the new one worked.
__________________
461 Westside Boiler Invasion
2016 Tippy Quarter finalist, Warren Finalist, IN State Semi Finalist,B^3 Double Finalist
2015 Indy Semi finalist, Purdue Quarter Finalist, IN State Quarter Finalist, CORI QF, R2OC Finalist, RAGE Winner
2014 Boilermaker Semi finalist, Crossroads Quarter Finalist, & CAGE Quarter Finalist
45 Technokats
2013 Boilermaker Quarter finalist
2012 CAGE Semi finalist & Queen City Champion
2011 CAGE Quarter finalist & Midwest Semi finalist
2010 CAGE Quarter finalist, Boilermaker Champion, & Washington DC Quarter Finalist
  #4   Spotlight this post!  
Unread 02-03-2016, 22:51
cbale2000's Avatar
cbale2000 cbale2000 is offline
Registered User
AKA: Chris Bale
FRC #5712 (Gray Matter)
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 2004
Location: Saginaw, MI
Posts: 947
cbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond repute
Re: Spike relays not working

Quote:
Originally Posted by Broncobot_kae22 View Post
Our spike relays are not working. I have an amber light on the relay. When button is pushed nothing happens. It is plugged in with a PWM cable to the relay port on the roboRIO. What can we do to fix this? We had a coder right the correct code for us but still nothing.
Check the fuse on the spike? Make sure it isn't bad.
  #5   Spotlight this post!  
Unread 02-03-2016, 23:04
jwallace15's Avatar
jwallace15 jwallace15 is offline
What am I going to do with my life?
AKA: Wally
FRC #0068 (Truck Town Thunder)
Team Role: College Student
 
Join Date: Aug 2012
Rookie Year: 2013
Location: Michigan
Posts: 435
jwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud of
Re: Spike relays not working

Quote:
Originally Posted by cbale2000 View Post
Check the fuse on the spike? Make sure it isn't bad.
If I'm not mistaken, the relay should still follow code if the fuse is bad (I.E. you will hear the relay click, and will see a change in light code). Whatever accessory you are trying to manipulate will not work, however.

I'm going to agree with Mr. Tanguay and Peyton. That sounds like a bad cable or a bad unit. Consider swapping one of them (try one at a time, this can help you isolate which piece of the puzzle was faulty, and can help you identify what to throw away!).
__________________
J Wallace IV
Truck Town Thunder
Just a college student now.
  #6   Spotlight this post!  
Unread 02-03-2016, 23:53
m1tche11d m1tche11d is offline
m1tche11d
FRC #1997
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2010
Location: Kansas
Posts: 21
m1tche11d is an unknown quantity at this point
Re: Spike relays not working

Before you swap out the Spike, if nothing else seems to be working, try rotating the PWM cable so that it is plugged in the wrong way. This has fixed the problem for us before.

I don't think this is a common problem, and there's only one other case that I know of where this has worked, but it's worth a shot.
  #7   Spotlight this post!  
Unread 03-03-2016, 00:04
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Spike relays not working

I would not recommend just turning the PWM cable around. Verify that's its correct and leave it, or swap it with another one. Did you try another one?

Here is my recommendation. Measure the voltages on the roboRIO relay port before while actuating whatever buttons are programmed to turn it on. Put the Negative probe on GND. That is the pin closest to the edge of the roboRIO. Measure the voltage on one of the other two pins. The center pin is reverse, and the inside pin is forward. When actuated, it should go to 5V. If you don't see any actuation, then its a code issue, or in a rare case, a bad port on the roboRIO. Be careful not to short the pins together while probing, that wouldn't help things any.

If voltages go high and low (5V and near 0), then plug the cable in and measure it at the other end, or use the continuity function of a meter to test if the pwm cable is good. If the cable is good, then its a bad spike. Double check that its + and - are wired correctly.


For details on the port, see the roboRio manual. http://www.ni.com/pdf/manuals/374474a.pdf
__________________
Brian K
Team 1225 Robotics Mentor
  #8   Spotlight this post!  
Unread 04-03-2016, 07:55
Broncobot_kae22 Broncobot_kae22 is offline
Registered User
AKA: Scott
FRC #5201 (Bronco Bots)
Team Role: Mentor
 
Join Date: Feb 2016
Rookie Year: 2013
Location: north branch
Posts: 7
Broncobot_kae22 is an unknown quantity at this point
Re: Spike relays not working

We are almost 100% sure that the pwm cable is plugged in correctly.
  #9   Spotlight this post!  
Unread 04-03-2016, 07:56
Broncobot_kae22 Broncobot_kae22 is offline
Registered User
AKA: Scott
FRC #5201 (Bronco Bots)
Team Role: Mentor
 
Join Date: Feb 2016
Rookie Year: 2013
Location: north branch
Posts: 7
Broncobot_kae22 is an unknown quantity at this point
Re: Spike relays not working

We have 3 brand new spikes and still nothing. We are not even getting 5v coming out of the roborio
  #10   Spotlight this post!  
Unread 04-03-2016, 07:57
Broncobot_kae22 Broncobot_kae22 is offline
Registered User
AKA: Scott
FRC #5201 (Bronco Bots)
Team Role: Mentor
 
Join Date: Feb 2016
Rookie Year: 2013
Location: north branch
Posts: 7
Broncobot_kae22 is an unknown quantity at this point
Re: Spike relays not working

It's a self setting circuit breaker.
  #11   Spotlight this post!  
Unread 04-03-2016, 07:58
Broncobot_kae22 Broncobot_kae22 is offline
Registered User
AKA: Scott
FRC #5201 (Bronco Bots)
Team Role: Mentor
 
Join Date: Feb 2016
Rookie Year: 2013
Location: north branch
Posts: 7
Broncobot_kae22 is an unknown quantity at this point
Re: Spike relays not working

We did try plugging in the pwm backwards and nothing worked.
  #12   Spotlight this post!  
Unread 04-03-2016, 08:00
Broncobot_kae22 Broncobot_kae22 is offline
Registered User
AKA: Scott
FRC #5201 (Bronco Bots)
Team Role: Mentor
 
Join Date: Feb 2016
Rookie Year: 2013
Location: north branch
Posts: 7
Broncobot_kae22 is an unknown quantity at this point
Re: Spike relays not working

We Checked The voltage on roborio and still not getting 5v on forward or reverse. I'm not getting a ground on the ground pin.
  #13   Spotlight this post!  
Unread 04-03-2016, 08:13
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,113
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: Spike relays not working

Quote:
Originally Posted by Broncobot_kae22 View Post
We have 3 brand new spikes and still nothing. We are not even getting 5v coming out of the roborio


What color is the power LED on the roboRIO? If it's red, you most likely have something shorting the 5 volt power bus. Check for debris around the roboRIO's connectors. Use a very bright light to search for something like a tiny strand of wire, or a layer of aluminum dust, that could be a problem. It would be contacting the center pin on any of the DIO, PWM, or Analog ports. It could be anywhere.

If the power LED is green, focus on the code.
  #14   Spotlight this post!  
Unread 04-03-2016, 23:22
broncobots5201 broncobots5201 is offline
Registered User
FRC #5201
 
Join Date: Mar 2016
Location: North Branch, Mi
Posts: 4
broncobots5201 is an unknown quantity at this point
Re: Spike relays not working

the power light is green
the status light no light
the radio light no light
the comm light is green
the mode light is green
the rsl light is orange
  #15   Spotlight this post!  
Unread 05-03-2016, 14:19
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,113
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: Spike relays not working

Thank you for the detailed description. It might have given the explanation.


Power steady green means there's nothing wrong with the power. When you said you're not "getting 5v coming out of the roborio", where were you measuring?

Status off means the roboRIO has completed its selftest without errors.

Radio off means there's no USB radio. That's normal.

Comm steady green means the Driver Station is properly connected.

Mode steady green is the big clue -- it means the robot is enabled in Autonomous mode. Switch it to Teleoperated and see whether things start working as you expect.

RSL steady orange means the robot is disabled. That's not compatible with mode being green. Are you sure it's not blinking?
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 22:11.

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