Independent control of a motor

I am creating a blower to clear away sediment by incorporating a standard thruster and ESC. I need to control the speed, so would like to map it to a joystick or a pair of buttons to increase/decrease. Any ideas on how to configure this?

This is using a Raspberry Pi 3 with a Pixhawk.

Thanks

Hi @bestglide -

This question has been answered many times! The best current advice depends on if you’re using QGC or Cockpit. If you’re just using ArduSub (4.5.3 or earlier) , you can also control the outputs on channel 9, 10 and 11 via buttons as if they are servo outputs, just like it was a gripper. You may have to increment the output signal to 1500 microseconds before the ESC initializes in this way - which is also necessary if you configure it as a lights output.

Perhaps it is best summarized here?

In any case - changes are in the works, as Eliot describes here to make this all much simpler to explain, and more intuitive to setup!

1 Like

Thank you for your patience!

Mentioning lights gave me an idea. Since we are only using one light array, I have connected the thruster to a main out and defined it as Light 2 mapped to buttons for increment/decrement. This gives a reasonable range of thruster values for our current needs.

1 Like