I’m trying to set a camera shutter with relay on a Holybro Pixhawk 4 on Arducopter 4.0.3.
First step, I’m trying to check relay pin works.
My motors are plug to IO Output, and I connect the relay on the first pin of FMU output on PM-07 power board.
My configuration is :
RELAY_PIN = 50 //AUX1
SERVO9_OPT = 10 //Camera trigger
CAM_TRIGG_TYPE=1 //Relay
CAM_DURATION 20
CAM_RELAY_ON=1 //High
RC9_OPTION=9 //Camera Trigger
When I activate the RC9 channel on the transmitter nothing happens. Same result when I try to send a camera trigger now otpion with Mission Planner. And again same result when I activate Relay directly in mission planner.
I try all the pins and all relay configuration, still nothing happens when I try to activate Relay!
What’s wrong? Is there another option to activate relais? Or it other pins?
In fact I tried before to post my question.
But my tests didn’t work because when we activate camera trigger to relay (CAM_TRIGG_TYPE=1 //Relay) the function in mission planner to make relay HIGH/LOW doesn’t work.
The documentation needs an update to make this clearer. There is actually a note in the Relay section but it’s easy to miss.
The new way is:
SERVO14_FUNCTION,-1
changes that output (AUX6 in this case) to be GPIO