I have a pixhawk connected to the radio in PPM. Connected Electronic Switch to a pixhawk port it does not work.
If I connect the electronic switch to the receiver in PWM it works fine.
Can anyone help me?
Thanks.
Relay will output 3.3Vdc when activated, you have a PWM switch that needs >1500us to activate. BRD_PWM_COUNT=4 will give you PWM out on channels 9-12 (not 13). If you go back to Chan 9 (AUX1) and set SERVO9_FUNCTION to whatever RC Input channel you have configured a switch for it should work. Check the input level on Mission Planners’s Status screen to see of the RC In switch you configured is working and the Output channel is changing.
OK, then assuming you don’t have anything else configured on RC9 (RC9_OPTION is 0) then do you see ch9 in and out change when you select the transmitter switch? Output needs to be >1500