Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   Using two spikes for one motor (http://www.chiefdelphi.com/forums/showthread.php?t=25958)

supergrover 24-02-2004 14:23

Using two spikes for one motor
 
We were wondering if we can place two spikes for one motor. We are out of victors, so we were wondering if we could somehow use one spike for forward, and another for reverse (using the same motor for both directions).

Thanks for any/all help!

KenWittlief 24-02-2004 14:35

Re: Using two spikes for one motor
 
you only need one spike to get forwards and reverse - thats how they work.

only restriction is you are not allowed to use spikes for the drill or chip motors.

Max Lobovsky 24-02-2004 14:38

Re: Using two spikes for one motor
 
Quote:

Originally Posted by KenWittlief
you only need one spike to get forwards and reverse - thats how they work.

only restriction is you are not allowed to use spikes for the drill or chip motors.

you are not allowed to use them for the Fisher Price also, if i am not mistaken

supergrover 24-02-2004 14:43

Re: Using two spikes for one motor
 
Quote:

Originally Posted by KenWittlief
you only need one spike to get forwards and reverse - thats how they work.

only restriction is you are not allowed to use spikes for the drill or chip motors.

thanks for the help guys....but we thought we could only use them in one direction....on or off...so how do we make them go forward and reverse?

thanks guys for the quick response

ChrisA 24-02-2004 15:12

Re: Using two spikes for one motor
 
For each spike there are 2 variables for programming. One is relayX_fwd and the other is relayX_rev. By setting both to 0 it is the same as setting a Victor to 127. It is a neutral position. By setting either the fwd or rev variable to 1 would indicate which direction it will run. Just don't set both to 1 because that won't work.

supergrover 24-02-2004 15:19

Re: Using two spikes for one motor
 
Thank you very much! :D

Dave Scheck 24-02-2004 15:36

Re: Using two spikes for one motor
 
Quote:

Originally Posted by ChrisA
Just don't set both to 1 because that won't work.

This is true in this case Chris, but as an FYI it can work in some cases.

Take the case that you are controlling two pneumatic devices with a single Spike. Electrically you would connect one pin of each of the solenoids to ground and the other to either the M+ or M- on the Spike. Then in software the relayX_fwd controls the device plugged into M+ and relayX_rev controls M-. (Note that you only get on/off functionality with this method) By setting both to one, both devices would be controlled.


All times are GMT -5. The time now is 03:39.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi