How to control servo without remote controller?

Hi,

I’m using Pixhawk 4 (Firmware: Copter V4.3.6 Official), Holybro PM07-V2.3(Power Module) and SAVOX servo(Connect to FMU-PWM-out). I can control servo rotation with remote controller.

If I don’t use remote controller and let servo rotation when Pixhawk 4 tilting. How should I do?

Thank you.

The fc will control the servo based on its assigned function. The remote control input is only used as the input for the manual flight mode. Are you trying to make a gimbal?

1 Like

No, just want when the IMU sensor in Pixhawk 4 detects roll angle or pitch angle, the servo can rotate according to this angle.

Go to Full Parameter list and change the Servo functiion that you want to set to 0 (Disable). For example, servo 9:

SERVO9_FUNCTION	0

Method 1

Use Mission Planner, Servo/Relay

Method 2

Give it a Mavlink command to change the value Mission Commands — Copter documentation

1 Like

Set it up as a servo gimbal
https://ardupilot.org/copter/docs/common-camera-gimbal.html

1 Like

Thank you. But I can not select Type. I want to make it like this
https://www.youtube.com/watch?v=tCIyufNOftg

Thank you. Right, it is servo gimbal. But do you know how to make it like this
https://www.youtube.com/watch?v=tCIyufNOftg

I find the reason.

Pixhawk4 – Copter V4.3.6, V4.3.5 OFFICIAL – Camera gimbal (X)
Pixhawk4 – Copter V4.2.3 OFFICIAL – Camera gimbal (O)