I donāt own a Pixhawk 4 so Iāve not personally worked with one but the control surface servos, I would think, would connect to the I/O PWM OUT ports. I canāt see it on your pictures but is that where you have them connected?
Another option is to change your airframe to the Vertical Technologies DeltaQuad where all PWM devices connect to the MAIN ports (FMU PWM). The mixer/device connections are as follows:
MAIN1 : motor 1
MAIN2 : motor 2
MAIN3 : motor 3
MAIN4 : motor 4
MAIN5 : Right elevon
MAIN6 : Left elevon
MAIN7 : Pusher motor
MAIN8 : Pusher reverse channel (Optional)
Thanks Nnomaeehtā¦You were correct! The servos now have power but still donāt respond to TX inputsā¦ Is there a servo setup procedure for control surfaces??.. I would prefer to setup aux for control surfaces than use the remaining main 5-8, as I would like to eventually us 8 lifting motors.
Nnomaeeht
Question - could you walk me through the aux parameters for setting up the elevator servo. I can copy that format for the rest. The servoās have power now but still wonāt move.
Thanks
Tim
Thanks Rollys Tried changing the autostart to 13005 and followed the post #2 procedures. No luck no activities on the servos.
What should the parameter settings be for the servos? The documentation refers to Servo Functionā¦ but servo function is no longer in the parameter lists?
Iām presuming that you rebooted after the change and then tried, right?
The PWM settings for the servos are determined according the airframe you choose. In VTOL, except for DeltaQuad, quad motors ESCs plug in to MAIN ports and control surfaces like ailerons and elevators plugin to the AUX ports of the Pixhawk.
In taking a closer look at your photos, specifically this one, where the arrow is pointed; is that where your control surface servos are plugged in? If it is, and if Iām reading the label on the board correctly, I believe thatās the wrong place. That label says FMU PWM Out, which is the MAIN ports for the quad motor ESCs. Servos should be connected to the I/O PWM Out which correspond to the AUX ports.
Hi Rollys
Yes the arrow is pointing to the ports where the servos are plugged into the FMU (since this picture was taken I reversed the plugsā¦ had the signal on the ground and vice versaā¦ now getting power to the servos but not action.) From the Pixhawk 4 documentation, the I/O ports are āMainā and used for the motor controls, and FMU is for AUX channels. Iām hoping to save the remaining 4 Motor controls for 4 additional lifting motors (M5-M8), and use the AUX channels for the control surfaces.
In the parameters list for autostart 13005, which group of parameters are the control surfaces (what is their file name specifically.)?
Hi Tim
Yes I/O is MAIN, FMU connects to AUX, so your wiring should be correct. The multicopter motors are running as they should, right?
The parameters corresponding to the aileron servo ports are named PWM_AUX_XXX1 and PWM_AUX_XXX2, where XXX stands for MIN, MAX, DIS, FAIL, TRIM, so the min, max, disarmed, failsafe and trim PWM output on the specific port. Normally they should run with the default values and itās not necessary to change them.
Have you tried to arm your aircraft in MANUAL Fixed-wing mode already?
Letās check the pwm outputs. You can see what pwm values the controller currently sets by going to the Mavlink console (https://docs.qgroundcontrol.com/en/analyze_view/mavlink_console.html ) and enter āpwm infoā there. Make sure you are in fixed-wing flight mode when you do it and share a printscreen of the console outputs.
A separate thing you could try is to actuate the servos manually: again in the mavlink console, enter
āpwm armā
and then
āpwm test -c 78 -p 1200ā
This should set channel 7 and 8 (being AUX1 and AUX2 I think) to a pwm of 1200. They then should move. Make sure to have your multicopter props removed while doing it.
Hi Sfuhrer
Here is the screen shot for the pwm info.
Also I am using a spektrum DX6 (not DX6i)ā¦ If the dx6 is the problem I will pick up a different TX with more channels. Let me know your thoughts from the screen shot info.
Thanks
Tim
Here are two screen shots.
Servos WORK now!!! So excited! I havenāt connected my two forward thrust motors yet, but will tonight. If I have any problems, I will reach out.
REALLY Appreciate the help!!!
Did the servos start working before you entered the second command or only after? And now they also work without entering any commands, so just after you plug in the battery for example?
About the transition timeout: thr transitions timeout because you of course donāt reach transition speed. You can bypass yhst by setting CBRK_AIRSPD_CHK to 162128. Itās not recommended to fly like that though: https://docs.px4.io/en/config_vtol/vtol_without_airspeed_sensor.html
The servos began working only after the second commandā¦ but now I can shut everything down and the servos work normally as they should every time.
Transition working properly now as well!!! Adjusted the time and disabled the airspeed.
Question: Because Iām not going to use the AUX4 for a rudder, can I change that AUX 4 channel and remap it to be a second forward thrust motorā¦ having AUX 4 and 5 both operations the throttle on the Tx?
Do you mean having the exact same signal on both thrust motors? Then you could just make a Y-cable to feed the PWM from AUX5 to both ESCs. If you think about controlling each motor individually then you would have to change the mixer: https://dev.px4.io/en/concept/mixing.html (eg enable yaw control over differential thrust instead of a rudder)
Hi Tim,
I am having the same problem on servo outputs. My firmware version and platform is the same as yours. There is no deflection of servos whatsoever. May you give me a guideline through which you succeeded?
Thanks in advance