No Relay/GPIO signal output in AUX1

I have no signal through AUX 1 after configuring it as a Relay output to my Sony camera through a Lua Script.
I don’t know if I did something wrong with the parameters.

Parameters changed:
SERVO9_FUNCTION = -1 (GPIO)
RELAY3_FUNCTION = 1 (Relay)
RELAY3_PIN = 50 (AUXOUT1)

Is there something I’m missing?
Is there a better way to make a camera shoot each second other than a Lua?

Thanks in advance.

This post maybe of your interest.

Hi, did you get this sorted ?

My problems were the wrong pin number, now its working really well.
Did you put a meter across the relay pins - are they changng voltage ? - maybe a Sony prob ??

Do you want the camera to shoot every second, or at a specific distance ? If every second, just set the camera to auto-repeat. If distance, then make a flight plan, these contain “take picture” commands - that will fire the camera relay pin for you. Go look up waypoint missions, that may help.

cheers
If you use mission planner, and do a plan