Controlling servo with a joystick

I have a Blueboat running ardurover 4.5.2 and latest BlueOS release and would like to control the PWM relay in the following link using 2 joystick buttons. All this through QGC.

PWM relay

QGC do not allow for many solution to my problem and I try to find a workaround but it need to be in QGC environnement. The relay trigger when it received a PWM > 1600 us and turn off below 1400 us. I would like to implement a 2 buttons solution. 1 button that I trim to > 1600 and the other one below 1400. Then assign this to a function like gimbal or whatever available in QGC to allocate to the joystick buttons.
GPIO and relay do not work for me because QGC combined to ardurover do not offer a toggle relay option at the moment. So the GPIO pin can only be on or off by default…

Any suggestion to make the PWM work is welcomed :slight_smile:

made it using the gripper function in latest QGC OS.

1 Like