Quote:
Originally Posted by FRC3220
We checked our wiring with the diagrams, and it all matches. The LED on the relays is either off, or orange. Are there any guides or pictures online for wiring a spike relay?
|
Do you have
the spike blue manual? (linked from the Vex page where the relay is sold).
If the LED goes straight from orange to black, this means that both sides of the relay are switching at the same time (or that you're losing power). It appears you are using kForward not kOn, so I'll move on to hardware. The first thing I can think of is that the red and white wires on your "PWM" data cable are shorted to each other, or that there is a similar short in your RIO or Spike. If the cable tests OK, look in the connector wells for swarf (metal shavings) or other conductive material.
Edit: If you get through all of those, put a meter or the output of the data cable and see what you get. When the motor is supposed to be going forward, you should get 0V on red and 5V on white (using the black data wire as a reference). It looks like you are having both go to 5V at the same time.