Our goal is to map 2 SBUS channels to 2 PWM outputs on a flight controller.
Specifically, we are trying to map the scroll wheel to SBUS1 CH 10 and buttons “C” and “D” to SBUS1 CH6, then have those SBUS channels drive a corresponding PWM output. For this specific use case we have a CUBE+ Orange and would like the PWM from the scroll wheel to drive the PWM output on the CUBE via “AUX OUT” Ch 1 & 2 respectively.
Currently in QGC, in vehicle settings on the radio tab, we have channels 10 and 6 responding to the button signals appropriately.
What we cannot figure out is how to route SBUS1 Ch 6 & 10 to output PWM on a CUBE via AUX OUT ch. 1 and 2.
I don’t understand where to correlate the SBUS channel assigned to a button, to a specific PWM output on a flight controller
Would you be able to help me understand how the mapping works with the herelink settings app to do what I explained above?
Alright, after some investigation we have decided to go with direct SBUS control from the airunit, rather than routing the SBUS signal through the flight controller to a PWM out on the AUX (1-6) rail on the cube.
Our current control method now is using SBUS2 directly to the peripheral for control via the SBUS2 channels directly without any routing or mapping of signals on the CUBE.
The issue was that on SBUS2, Channel 17 is recognized as RC Channel 1. So after setting up the scroll wheel to Channel 26 on SBUS2, the RC control communicated properly when set to Channel 10. Essentially, on SBUS2 you need to take the SBUS channel number and subtract 16 to set the RC channel appropriately.