|
Re: Spike Connection
Quote:
|
Originally Posted by Gal Longin
I'm sorry but i couldn't find the answer in my search so i'll ask a question i'm sure others have asked before.
How do I control the Spike ?
I could only make a motor turn one way or stop turning at all. how do i turn it in the other way?
do I connect the spike to the RC using a PWM output or a digital output?
how do i control it through the software?
|
Both Bob and Katie's posts are correct. I will try to elaborate.
The spike must be connected to a relay output on your robot controller.
Modify the default RC code to control the spike. As an example, the following code will cause a motor that is connected to a Spike that is connected to relay output 3 on the RC to run backwards:
Code:
relay3_fwd = 0;
relay3_rev = 1;
Be sure to read the documentation Katie posted and follow directions for wiring precisely!
Good luck!
__________________
Mike Betts
Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013
As easy as 355/113...
|