I am currently using a Arduino Uno Board Model R3 and will be connecting it to a CIM motor via a Victor SPX speed controller. My issue here is that I have no idea how to connect the speed controller to the Arduino Uno. Also, I am having trouble finding a code that suits my project and the distances at which I want the CIM motor to launch some tennis balls. This is for a senior design project where a dog fetching device will be operated by an ATMega328P and permit the CIM motor to launch the tennis balls at 3, 7, and 11 yards, respectively. I have included a schematic image of how the victor spx is connected to motor and atmega. I also included images of the components being used and their specifications. In summary, it would really benefit me if someone had an Arduino Schematic with all three components being connected and possibly have a code that would enable a ball to be thrown at the distances listed. Thank you in advanced and will answer any inquiries that are posted!