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.
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.
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!).
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.
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
We are almost 100% sure that the pwm cable is plugged in correctly.
We have 3 brand new spikes and still nothing. We are not even getting 5v coming out of the roborio
It’s a self setting circuit breaker.
We did try plugging in the pwm backwards and nothing worked.
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.
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.
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
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?
If you are using a circuit breaker on the Spike Relay you need to be aware of R66D “If powering the compressor, the fuse on a Spike H-Bridge Relay may be replaced with a 20A Snap-Action circuit breaker”.
we are measuring the relay ports on the roborio for the foward and reverse pins. what could be wrong with why we are not gettinga green status light but yet it drives.
we are measuring the relay ports on the roborio for the foward and reverse pins. what could be wrong with why we are not gettinga green status light but yet it drives.
The Status LED can never be green. It is a yellow LED that only lights to indicate a problem.
Read the roboRIO User Manual to see what the LEDs mean.
I assume that “it drives” means your Spike is behaving the way you expect now. If that’s not the case, we’ll start over in diagnosing what might be wrong.