Log in

View Full Version : Can we run servo motors on something other than PWM?


mr_abomination
16-02-2016, 18:20
Our team has run into the slight problem of using too many motors which all need independent control. We've doubled up where we can but 4 drive motors, 2 shoulder motors, 2 wrist motors, 2 shooter motors, 2 servos and a pulley quick. Because of this we have run out of PWM ports...

We are wondering if anyone knows a way we could use a different channel, say analog, to control our pair of servo motors. There's only two of them so modifying the base servo class isn't out of the question.

P.S. we're using C++ as our coding language.

Ether
16-02-2016, 18:38
we have run out of PWM ports...

Have you looked into this?

http://www.chiefdelphi.com/forums/showthread.php?t=133143

rsisk
16-02-2016, 21:50
You can use a PWM Y cable to control two motor controllers at once if they always have the same operation (like two motors on one side of a drive train).

Mark McLeod
16-02-2016, 22:22
Servos MUST be run from one of the regular roboRIO PWM ports (R54).

You can move motor controllers to the MXP PWM ports though.

anthonyttu
17-02-2016, 13:34
If you are using Tallon SRX's or Jaguars' you can control your motors with the CAN bus.