SPARK motor controller

Sorry if this is a dumb question but our team is having trouble programming the new SPARK motor controllers. They are defined the same way we define the Talons. At the very top “Spark floor;” then “floor = new Spark(6);” lastly when a button is pressed “floor.set(.5);”. When the button is pressed it starts to blind green. On the website this means “proportional forward” shown here. It is not the motor because we have tried it with a Talon and it worked. We also updated our plugins to see if that was the problem but it did not fix the issue. Thanks for helping.

I take it that the motor was connected to the Spark’s output and did not turn?

Was it under load (perhaps stalled)? If not, I suggest checking wiring, and then measure the output voltage of the spark in that state. If those don’t fix the issue, I suggest posting a picture of your wiring, especially of the spark.

The motor worked once I switched it to a talon so I don’t believe it is a problem with the wiring. Later today I will check the output voltage.

Make sure your PWM cable was plugged in the correct way. I believe that the gnd wire goes towards the center of the motor controller (it is marked on the motor controller)

Since the SPARK was blinking green it was receiving a signal so I don’t think that’s it’s a signal wire problem.

But for reference, on the SPARK, the the signal (white) wire goes closer to the middle where the SPARK label is, and the ground (black) wire faces the outside of the case.

Set-up pictures as GeeTwo suggests might be helpful.

With the motor disconnected please provide a full forward command and measure the output at the motor terminals. If you aren’t able to measure any output voltage, we can get you a replacement sent out.

You can PM me or email [email protected] for the fastest support.