PixHawk Main Out Pin 4 Issue

Started by AJuliet10, September 16, 2021, 04:15:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AJuliet10

Hi All,

I have built a quadcopter X model using Pixhawk but facing issue while calibrating ESC:

PixHawk Main out Pin 4 is not moving the motor 4(back right - clock-wise)while doing ESC calibration. My motor 4 is running when I am calibrating it using other main out pin 1,2,3 of PixHawk.
Can anyone please help me on how I can use other available pins like 5,6,7,8, in PixHawk PX4 Pro Stable Release and assign it channel 4.
I am not able to get any document which can help on swapping the pins. It'll be a great help. I am using FSi6 TX with FSiA6B RX. What are the troubleshooting steps to fix this and any checks that I should to perform to make it work.

Thanks.

Astra_fpv

#1
Same thing happened with me.....

My 3rd Main out never worked and had to replace it with 5th one using "Channel Output Function" settings .....Don't know why it happened but maybe because of cheap clone pixhawk.

Here's the link to get more details on it (every settings of pixhawk can be changed from here) , I would suggest to read it carefully....
https://ardupilot.org/copter/docs/parameters.html#mot-pwm-type

I don't remember what exactly I did back then but something like this......

Here's the default values of the channel output function...
33   Motor1
34   Motor2
35   Motor3
36   Motor4
37   Motor5
38   Motor6
39   Motor7
40   Motor8

Just by assigning different value to servo*_function, we can change the layout

In your case, what you can do is replace 5th one as 4th motor or 4th main out and so on 6th, 7th (onward 6th main out only if you are trying hexacopter, octa, etc)

You need to assign "SERVO5_FUNCTION to 36"    - This will assign 5th main out to motor 4 & assign "SERVO4_FUNCTION: to anything and don't use it"

A word of caution, you should change these settings only when you know what you are doing & ground test everything 1st without prop !!

AJuliet10

thank you so much, this will be helpful, I'll try these steps and hope it'll work. Do you know how to troubleshoot the faulty Pin or test it whether it is faulty.

Astra_fpv

Nope..

Let me know if u found a way to test it......

AJuliet10


Astra_fpv