inav icon indicating copy to clipboard operation
inav copied to clipboard

Skystars F405HD2 number of motors output not correct - there are 6 outputs and not just 4 (free S5 and S6 pad available on the FC to solder)

Open Kastekniv88 opened this issue 2 years ago • 6 comments

Hello,

I own an F405 hd2 by skystars, iNav target SKYSTARS405, but in the outputs tab I can find only 4 motors output instead of 6. I know there are additional 2 output motors because of the S5 and S6 pad you can solder on the FC itself. I would like to use 1 of these motor pad to install a servo motor, otherwise I don’t know how to use it, I have also chosen this FC for this opportunity. Can you please let me know of there is the possibility to change the pwm output motor from 4 to 6? Thank you so much!

Kastekniv88 avatar Oct 26 '23 19:10 Kastekniv88

The pad assignments for S5 and S6 in Betaflight are

resource MOTOR 5 B00 resource MOTOR 6 B01

With my bad luck editing targets I hesitate to touch this but @shellixyz made the original target back then, maybe he is around and can look into that?

b14ckyy avatar Mar 22 '24 10:03 b14ckyy

Very unlikely. @shellixyz moved to ardupilot dev. Now is making his own firmware because ArduPilot is a piece of sh1t.

Maybe I can take a look at some point.

MrD-RC avatar Mar 22 '24 12:03 MrD-RC

The pad assignments for S5 and S6 in Betaflight are

resource MOTOR 5 B00 resource MOTOR 6 B01

No idea what BetaFlight are doing in that case. There are no B00 or B01 resources. There is PB0 and PB1. But nothing beginning B0 or BO.

Maybe the remove they P from the resource in CLI, so it was just B0 and B1?

MrD-RC avatar Mar 24 '24 17:03 MrD-RC

For future reference. The BetaFlight unified target fucks with the resource IDs. They remove the initial P and add a leading zero to the number. So a resource ID of PB7 becomes B07. Why!? 🤦🏻

MrD-RC avatar Mar 24 '24 17:03 MrD-RC

@Kastekniv88 I don't have this flight controller. Would you be able to test the outputs? Of course, make sure there are no props on when you try this.

inav_7.1.0_SKYSTARSF405HD2.hex.txt Just rename the above file to remove the .txt at the end.

MrD-RC avatar Mar 24 '24 18:03 MrD-RC