I want to use a T200 motor to run a small winch. Is it possible to proportionally control the motor via the Aux outputs on the pixhawk?
I want to be able to run the motor at low speed (lower than 25% gain) with two buttons for spooling the winch in and out.
I can use a joystick and just turn the gain down to 25% and run the joystick up and down, but it will be best to have it on buttons.
Anyone any thoughts on how to do this?
Hi!
You can indeed control a T200 or M200 via the servo commands within QGC or Cockpit. To do so, you would connect the motor ESC to an AUX channel, and map it to buttons, much like the process for controlling our gripper. I’ve used the lights channel to control servo output, you can have the buttons increment the signal in increments, and if you set the correct parameter, those can correspond to 25%.
JS_LIGHTS_STEPS = 4
Hope that helps!
Hi Anthony,
Yes i am aware of that, but i was hoping to be able to control the motor with less speed than 25%. Do you know how i can do that?
Hi !
If you set that parameter to a higher number, each step will be less %. So JS_LIGHTS_STEPS = 8 will mean each step is 100/8 = 12.5%.
However, because these motors are brushless, and being used with a sensorless ESC, speeds much below 25% won’t be possible. The best approach is to reduce speed with a gear train, as in this brush example!