We are building a second shooter from spare parts, and we are using an arduino microcontroller.
The box on our arduino says that we have Digital I/O pins, and 7 of them have PWM.
We are using a Victor 888 motor controller.
We would like some advice/suggestions/guidance on the wiring for this setup.
I am using that the PWM cable has a + (red), a - (black) and a signal wire (the other color).
So I’ve got it setup for 5v, ground, and a digital i/o pin with PWM on it.
We know that we have to calibrate the Victor to the appropriate max, min, and neutral values from our microcontroller.
Our idea right now is to use the builtin Servo library in the arduino, because that uses PWM.
So we want to calibrate the victor to recognize 0 as full reverse, 90 as stop, and 180 as full forward (the range for an arduino servo is 0 to 180).
I read the user guide for the victor, and it says to hold down the CAL button to calibrate, and that we should see red and green alternating lights. We did that, and we didn’t see any lights, but we tried to calibrate it anyways.
We’ve set it up so our arduino sends a signal (0 to 180) that is proportional to the values from a potentiometer that we’ve got set up.
Either way, our motors are not moving with our setup and we have no idea what to do.
Also, I wasn’t sure whether to put this in Electrical or Programming, because there is a lot of overlap.
Should I also post this in programming?
I think I need help from someone who is knowledgeable with arduino, and someone who is knowledgeable with electronics.
Also, I found someone who was trying to do something similar, and they took a similar approach
Hopefully this helps (the bottom page comment): http://www.chiefdelphi.com/forums/showthread.php?t=114659
(http://www.chiefdelphi.com/forums/showthread.php?t=105628). The last comment on that thread shows that they did the exact same thing I did, but mine didn’t work.