RC India

General Topics => RC India Forum => Topic started by: AJuliet10 on September 16, 2021, 04:15:57 PM



Title: PixHawk Main Out Pin 4 Issue
Post by: AJuliet10 on September 16, 2021, 04:15:57 PM
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.


Title: Re: PixHawk Main Out Pin 4 Issue
Post by: Astra_fpv on September 16, 2021, 05:14:35 PM
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 !!


Title: Re: PixHawk Main Out Pin 4 Issue
Post by: AJuliet10 on September 16, 2021, 05:55:57 PM
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.


Title: Re: PixHawk Main Out Pin 4 Issue
Post by: Astra_fpv on September 16, 2021, 06:42:47 PM
Nope..

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


Title: Re: PixHawk Main Out Pin 4 Issue
Post by: AJuliet10 on September 18, 2021, 11:10:01 PM
Thanks man, it worked.


Title: Re: PixHawk Main Out Pin 4 Issue
Post by: Astra_fpv on September 19, 2021, 07:36:04 AM
Great

Happy to help....

  :hatsoff: