|
Re: arduino victor 884 and a cim
The original post here requests information on controlling a CIM with a Spike, not a proportional motor controller. If that is still the case, then you do not want to output PWM signals at all. In fact, you do not even want to wire the cable the same way as if it was a PWM output. What you will need is two digital outputs, one connected to each of the two non-ground pins of a three pin PWM cable.
In this case, the fact that a three pin PWM cable is used for the connection to a Spike can be a source of confusion. The signals are not PWM at all. They are just simple logic signals, one for full forward, and one for full reverse. While connecting a spike to PWM signals may make it do something, it will not act properly. It will most likely either run all the time fully on in one direction only, or run in a jerky maner. A spike simply is not designed to operate with PWM signals
If you are in fact still trying to make the Arduino control a Spike relay and not a Jaguar, Talon, or Victor motor controller than do not use the servo library at all. Just connect TWO digital outputs pins rather than one and send them simple high and low output commands. On the spike, the center pin that would be power, if the cable was going to a servo, is actually the other control pin. Change the wiring and use digital output commands and you should have better luck controlling a Spike.
Tom
__________________
This is the zeroth day of the rest of your life.
|