Quote:
|
Originally Posted by kiettyyyy
Hey All,
My i'm trying to wire up a spike relay to a digital in and out, but it happens to only go in one direction (remember digital is only a 1 or a 0), im thinking i should split a PWM cable and set the black as a shared ground between two digital i/o, and the red going to one digital i/o and the white going to another digital i/o. Is this right?
Whats your opinion? Or if i'm totally wrong, whats the correct method to wiring a spike relay to a digital i/o?
Thanks!
|
Your assumption is correct on how to wire it, but might not necessarily work. I have had problems with vex controllers driving spikes before (but only certain spikes - the old style blue's IIRC), where the digital IO wasn't able to source enough current, so you might need to try the solenoid outputs if it doesn't work. Double check that the output of the Darlington pair on the solenoid outputs is 5V though, and not 7.2.
Edit: after thinking about it, if you can get it to go one direction, then you likely won't have the probelm I was having, and wireing it the way you said should work. Too much time at work and then in the robot lab tonight for me.