Copter Servo Rate down from 400Hz to 50Hz

Hi, I would like to use analog servos for a bicopter frame and they don’t work at 400Hz.
I use a pixracer so I only have servo main OUT 1-6.
Is there a way to slow down the servo rate to 50Hz in the parameters? Even for the ESC, 50Hz would be ok.
Can you tell me where the 400Hz servo rate is located in the arducopter source code ?
Thank you very much,

SERVO_RATE in the parameters.

Thanks Oli,
SERVO_RATE is already set 50Hz. But the output is still 400Hz and in accordance with the doc Servo — Copter documentation (ardupilot.org)
“If using Copter Connect the servo to AUX OUT 1, 2, 3 or 4. MAIN OUT 1 ~ 8 should be avoided because these update at 400hz.”
So I wonder if it’s possible to change it in the code and rebuild a custom firmware, because on pixracer, only main 1-6 servo output are available.
thank you,

PWM Output

The Pixracer supports up to 6 PWM outputs. All 6 outputs can support DShot as well as all PWM protocols.

The 6 PWM outputs are in 2 groups:

  • PWM 1, 2, 3 and 4 in group1
  • PWM 5 and 6 in group2

Channels within the same group need to use the same output rate. If any channel in a group uses DShot then all channels in the group need to use DShot.

1 Like

Looks like you should try to use PWM5 and 6 for the servos of your bicopter.

1 Like

Yes it works, thank you @dkemxr and @amilcarlucas for your help,
regards