How to connect servos to pixhawk 2.4.8

Hello. I want connect servo and relay to pixhawk 2.4.8. I use 4.0.3 firmware. I try this https://ardupilot.org/copter/docs/common-gripper-servo.html
But I did not find [GRIP_ENABLE] function.

You do not see the parameter here?

If not post a screen shot of the messages screen right after connection like this.

I did as described in the link and everything work good.

So your problem is solved?

Yes. But now I have a problem with relay in aux5

Is BWD_PWM_COUNT set to 4? (enabling GPIO on AUX 5&6)
RCx_OPTION set to 28? (RC input channel of choice controlling Relay 1
RELAY_PIN set to 54? (Relay 1 output on Aux 5)

BRD_PWM_COUNT set to 4? - yes
RCx_OPTION set to 28? - yes
RELAY_PIN set to 54? yes

I set relay to chanel 8

So is it working or not? Post your parameter file if it isn’t.

Hello. No it do not work. This is my parametr filearducopter.param (17.4 KB)

Hello. No it do not work. This is my parametr file

arducopter.param (17.4 KB)

You have the RPM_PIN set to 54 (AUX5) also. But even with this setting the configuration works fine for me. Chan8 goes high, 3.3V output on Aux 5.

Yes. Signal coming but i can not command this signal

Is Chan8in changing PWM values? >1800 for Relay on? I have the same configuration as you have on the bench and control from a chan8 switch toggles the relay on/off. It’s a Pixhawk 2.4.8 also.

Yes. What relay do you use?

As I said the same one you configured for. Here is the parameter file if you want to compare it to yours.

Relay.param (18.4 KB)