Relay pins not working with Copter 4.6.3

Trying to toggle relay pins on Aux5, Aux6 via Mission planner Relays tab, it was working with release 3.9.12 but now unable to toggle it with release 4.6.3 for Quad . any hints?

Autopilot: CUAVv5

Firmware: ArduCopter V4.6.3

Relays work fine in recent releases. There was never a 3.9.12 release that I’m aware, but the parameters to configure relays did change between 3.x and more recent versions.

I spend whole my day to fix it but no luck, is there any specific procedure prior toggling relay? I just connected CUAV v5 with Mission Planner and trying to see output on Multimeter, Do I need to connect battery or GPS ?

Autopilot: CUAVv5

Firmware: ArduCopter V4.6.3

Something like this for AUX6

RELAY1_FUNCTION,1
RELAY1_PIN,55
SERVO14_FUNCTION,-1

This is the AUX to “pin” mapping for the V5:

AUX1 50
AUX2 51
AUX3 52
AUX4 53
AUX5 54
AUX6 55

I assume you’ve got something set up to request a relay to operate.

1 Like

For CubeOrange, I supply to the servo rail, then my relay it got the power from the servo rail.

You don’t need power to the + rail for GPIO signal (relay) output.

Post the parameter file. You can use Mission Planners Servo/Relay Screen under the HUD to toggle the servo..

Thanks a lot you made my day, These parameters works for me . Also surprising why we need to fix this parameter (SERVO14_FUNCTION,-1) to enable RELAY1 ?

SERVO14_FUNCTION,-1 says this is a GPIO instead of PWM.
Check the parameter descriptions when in doubt.

The GPIO system was updated to this new system to be more flexible and work with flight controllers that have more than 6 possible GPIO pins.

1 Like