inav icon indicating copy to clipboard operation
inav copied to clipboard

Flaps on a fixed with using Inav2 and a Matek 405 Wing

Open DonaldHillNZ opened this issue 8 years ago • 15 comments

Hi, I've spent considerable time trying to get flaps working with Inav 2 and a new Matek 405 Wing FC. I've used S7 as recommended somewhere and mapped to Ch5 on the Taranis x9d plus. Despite being able to see the receiver working on ch5 in Inav for ages I couldn't get any actual physical movement of the servo. After searching for ages I came across someone suggesting that you need to turn on Flaperon in the modes to make it work. It did work, however, I only had a very tiny flap movement. Finally overcame this by using MAX as the source. However, when I use the slow up and slow down functions for the servo they both revert to delay up and delay down and not slow. I've checked to make sure the functions work correctly when not connected to the 405 Wing and Inav. I'm not even sure I am using the correct way in Inav for flaps but I've searched the internet for hours and can find nothing. Id really appreciate some info as well as whether this is a bug or not? Also any info on how to use a 3POS for the flaps? So far only works on one switch position.

Donald

DonaldHillNZ avatar Sep 03 '18 03:09 DonaldHillNZ

would be interesting for me too, as my next project uses Matek F405-WING and Flaps!

Pairan avatar Sep 03 '18 06:09 Pairan

Hi Pairan, I've been building planes etc for 40 odd years and please don't get me wrong but I think the 405 Wing with Inav is truly exciting. However, I am completely stumped by the flaps issue. I've also built successfully 4 racing drones as well so I'm no newcomer. Hopefully, I'm missing something completely. Definitely get a Matek 405 Wing regardless.

DonaldHillNZ avatar Sep 03 '18 07:09 DonaldHillNZ

https://www.youtube.com/watch?v=_VL57d8IYnE&t=18s

MATEKSYS avatar Sep 03 '18 08:09 MATEKSYS

@DonaldHillNZ thank you, I just bought a plane with Flaps. I like you do things in ages. LOL

@MATEKSYS receiver pwm channel connect to flags directly, good solution. but wiring might be a little messy as some receiver might be far away from the flags. and if we have some R9 Mini or slim Receiver, it only has ch1 to ch4, which is no help in this case.

david-ng-hk avatar Sep 03 '18 18:09 david-ng-hk

Sorry, I'm using a Frsky X8r receiver with a Taranis X9d tx. I've 16 channels available with Sbus. I'm not quite sure what @MATEKSYS is saying???. Also, I've watched the video which is helpful but he only mentions flaps as something he needs to look into. Still no answer on why I can't set the servos to go slow. Do Matek suggest some way of completely bypassing the F405 Wing for the flaps?? As it is now I've sort got flaps going but I'm sure there must be a better way (or there needs to be). Can we connect to the rx and use one of the PWM channels when using Sbus??????? Didn't think it possible. I'm lost as of now. Everything else though with Inav and the F405 Wing working well and I'm impressed.

DonaldHillNZ avatar Sep 03 '18 20:09 DonaldHillNZ

@DonaldHillNZ yes, bypass the FC, connect your flag servo directly to the X8R pwm pin I suggest you bind your x8r receiver in ch 9-16 mode, that means the pwm in x8r is map to channel 9, 10, 11 to 16 (you can still use the sbus, get the same channel 1 to 16)

david-ng-hk avatar Sep 04 '18 04:09 david-ng-hk

Thank you so much. That explains a lot. Ill give it a go in the morning. Ive got the GPS with compass, oled, all working well and just the vtx and cam to setup. Then put it all together and go flying. Great board and Inav.

Donald

------ Original Message ------ From: "davidngrc" [email protected] To: "iNavFlight/inav" [email protected] Cc: "DonaldHillNZ" [email protected]; "Mention" [email protected] Sent: 4/09/2018 4:39:20 PM Subject: Re: [iNavFlight/inav] Flaps on a fixed with using Inav2 and a Matek 405 Wing (#3836)

@DonaldHillNZ https://github.com/DonaldHillNZ yes, bypass the FC, connect your flag servo directly to the X8R pwm pin I suggest you bind your x8r receiver in ch 9-16 mode, that means the pwm in x8r is map to channel 9, 10, 11 to 16 (you can still use the sbus, get the same channel 1 to 16)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/3836#issuecomment-418239037, or mute the thread https://github.com/notifications/unsubscribe-auth/Amm9hwxP3YoPD-mnZ8l1OFABCUCR38jvks5uXgP4gaJpZM4WW64x.

DonaldHillNZ avatar Sep 04 '18 04:09 DonaldHillNZ

You can just mix your flaps channel to an output. No need to connect them directly onto your receiver. Just add a servo mix rule.

shellixyz avatar Sep 04 '18 12:09 shellixyz

Hi Shellixyz. Yes you can but it does not work without really messing around with setups and no slow up or down when connected to the Matek F405 Wing using Sbus. SOLVED though by using davidngrc's recommendation. Simply bind the X8R in mode 4 is using D16 and channels 9 -16 as PWM jumping 1&2 and 3&4. Remember that the channels are 9 to 16 when remapping. Everything works that way with the F405 on Sbus and the flaps on their own PWM channel. Slow up and down works as well.

DonaldHillNZ avatar Sep 04 '18 21:09 DonaldHillNZ

speaking of flaps, could this work on a flying wing with two elevons per side? so the inner elevon goes down and outer goes up? https://www.youtube.com/watch?v=qQI_1P7voCg

jgilbertfpv avatar Sep 11 '18 06:09 jgilbertfpv

I am stumped with the same problems. Has anyone found a solution NOT using the direct PWM outputs from the RX? I'm using the TBS Crossfire with CRSF input to the FC, os no PWMs available. I'm running iNav 2.0.0 in the FC and also in the configurator. DonaldHillNZ mentioned "turn on Flaperon in the modes" but if this is a mode switch setting I do not see it my modes tab?? I mapped LS to CH 8 in my Taranis and can see it function in the Receiver Tab but not sure I have it set correctly in the Mixer Tab. A little unclear how that is done. Any help would be greatly appreciated.

trivejb avatar Sep 16 '18 18:09 trivejb

We are just in the middle of shifting house so might not be able to be online for a while but the only way I could solve this for my situation was to use the PWM outputs. I didn't use the Flaperon in the modes when doing this. trivejb I think you need to choose Has Flaps in the configuration in Inav to have that option. I think it's in the configuration tab but can't check right now. Still haven't solved the jittering with all other servos. It's quite bad.....

DonaldHillNZ avatar Sep 16 '18 21:09 DonaldHillNZ

Thanks for the response. Using CLI I SET HAS-FLAPS=ON, set a mode for FLAPERONS, in Mix Tab I have S5 and S7 set to FLAPS Receiver tab shows channel is active. but still do not get any servo movement. I need to do a little more tuning because the FLAPERONS mode would not show active (color green) when switch activated it. Could be part of the problem... Still looking... Starting to make my ET Vector units better all the time :). Hope your move goes well and thanks again

trivejb avatar Sep 17 '18 00:09 trivejb

This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. This issue / pull request will be closed if no further activity occurs within two weeks.

stale[bot] avatar Nov 16 '18 00:11 stale[bot]

Automatically closing as inactive.

stale[bot] avatar Nov 30 '18 01:11 stale[bot]