I’m using a Pixracer controller on my plane, for some other compatibility problems with higher version I’m still using plane 4.0.9.
For already two days I’m trying to configure any free output to trigger my camera recording.
I need only logical HIGH and LOW levels according the position of the switch on my radio (NOT a PWM signal). No need any big power, really only simple logical levels on an CPU output.
As described here I want to use RC10 channel to control the output so I set RC10_OPTION to 28 (relay on/off).
For output I want to use e.g. unused GPIO 61 (intended for 8266_GPIO0 as referenced here) so I set RELAY_PIN to 61.
After settings and reboot at the pin there is permanent logical HIGH which doesn’t change on RC10 channel change nor if I try to control it from Mission Planner via tab Data / Servo/Relay.
I tested to get similar functionality via “camera trigger” setting as described here and reached PWM signal changing on a PWM out according to the switch position, but when I tried to change it to “relay”, it didn’t work.
Documentation is not very clean regarding this topic and mostly refers to the older Pixhawk FC so I’m lost.
Can please someone propose me the simplest working solution?
Thanks!
Roman