|
Re: CIM->Victor 884->Arduino not working
You can use the analogWrite() function for PWM so you don't need the Servo library. (that is not a typo, analog, not digital even though you are on a digital pin)
We are currently using this on our test disc shooter.
I did find that the PWM output is not a perfect match for our Victor (an old one, not an 888). Even after calibrating I found that a value above 253 caused a problem.
We are using a potentiometer as input and map the ADC range of 0-1024 to 183 to 253 (one direction, deadband) works pretty well for our particular Victor. You should probably profile yours to find a good range.
I have not put a scope on the PWM out, but I supect it (the output pulse width) is not perfect for the Victor.
HTH
|