Page 1 of 1

Programming P-51 gear doors

Posted: Thu Jun 27, 2013 8:51 pm
by Lenop
In ER9X I have programmed my gear door sequence as follows:

CH06: +125FULL Switch(GEA) Delay (u2:d2) Slow(u2:d2)
CH08: +125FULL Switch(SW2) Delay (u6:d0) Slow(u2:d2)
CSwitch1: v>ofs CH6 123
CSwitch2: XOR GEA SW4
CSwitch3: v<ofs CH6 -123
CSwitch4: OR SW1 !SW5
CSwitch5 OR SW3 !SW4

However, in OpenTX the gear door sequence does not work any more, the doors are stuck at the servos center point.

I tried to replace the ER9X value "v>ofs"with a>x" and "v<ofs" with "a<x".
I also played around with the "100"and "-100"values.

The switches in OpenTX now look like:
CH06: +125FULL Switch(GEA) Delay (u2:d2) Slow(u2:d2)
CH08: +125FULL Switch(CS2) Delay (u6:d0) Slow(u2:d2)
CSwitch1: a>x CH6 100
CSwitch2: XOR GEA CS4
CSwitch3: a<x CH6 -100
CSwitch4: OR CS1 !CS5
CSwitch5 OR CS3 !CS4

Anyone knows what I'm doing wrong here?

Re: Programming P-51 gear doors

Posted: Thu Jun 27, 2013 8:59 pm
by Kilrah
There is no FULL in openTX, so you must have forgotten something :)
FULL Switch(GEA) is just GEA as source.

Re: Programming P-51 gear doors

Posted: Thu Jun 27, 2013 9:20 pm
by Lenop
You are right! :)
Attempt 2:
CH06: +125 GEA Delay (u2:d2)
CH08: +125 MAX Switch(CS2) Delay (u6:d0) Slow(u2:d2)
CSwitch1: a>x CH6 99
CSwitch2: XOR GEA CS4
CSwitch3: a<x CH6 -99
CSwitch4: OR CS1 !CS5
CSwitch5 OR CS3 !CS4

But this doesn't work either. Hmmmm

Re: Programming P-51 gear doors

Posted: Fri Jun 28, 2013 6:56 pm
by Kilrah
What do you want to do exactly? What do you have on which channels?

Re: Programming P-51 gear doors

Posted: Fri Jun 28, 2013 8:52 pm
by Lenop
I'd like the main gear doors of a P-51 behave scale like.

So the events will be:

Select gear down
1. main door open
2. gear goes down
3. main door closes again

Select gear up
1. main door open
2. gear goes up
3. main door closes again

The gear itself is on channel 6 (GEAR switch)
The two main doors each have their separate channel, 7 & 8.

At the moment I'm trying this:

Mixes:
CH06: +125% GEA Delay (u1:d1)
CH07: +125% MAX Switch(CS2) Delay (u3.5:d0) Slow(u0.5:d0.5)
CH08: +125% MAX Switch(CS2) Delay (u3.5:d0) Slow(u0.5:d0.5

Custom switches:
CSwitch1: a>x CH6 99
CSwitch2: XOR GEA CS4
CSwitch3: a<x CH6 -99
CSwitch4: OR CS1 !CS5
CSwitch5: OR CS3 !CS4

Would this help?
Thanks for your help.

Re: Programming P-51 gear doors

Posted: Fri Jun 28, 2013 8:56 pm
by jhsa
I think I have seen a template for this in this forum

EDIT: Here ;)

http://openrcforums.com/forum/viewtopic ... t=117#p718

Re: Programming P-51 gear doors

Posted: Fri Jun 28, 2013 8:58 pm
by Lenop
jhsa wrote:I think I have seen a template for this in this forum
Yeah, you're correct, that was me asking for it last year. :) :oops:
It works fine on ER9X but the conversion to OpenTx somehow fails and the template no longer works. No matter what I've tried.

Re: Programming P-51 gear doors

Posted: Fri Jul 05, 2013 10:17 am
by DeathWarmedUp
I have only recently converted from ER9X to OpenTX and love it EXCEPT for not having FULL. With the Gear on my planes, I have had to add a second mix with '!GEAR" as the switch and negative weight. Like this:

Mixes:
CH06: +125% MAX Switch(GEA)
-125% MAX Switch(!GEA)

This appears to because MAX only goes from 0 to Weight where the ER9X FULL goes from -100 to +100. I cannot find any other way to make the DSR work.

Re: Programming P-51 gear doors

Posted: Fri Jul 05, 2013 5:13 pm
by Kilrah
Simply choose GEA as source and no switch.

Re: Programming P-51 gear doors

Posted: Sat Jul 06, 2013 9:42 am
by DeathWarmedUp
Thanks Kilrah, I was sure I tried that after uploading my Models from the ER9X save and it didn't work. Must have had something wrong. Works a treat. Thanks again and great work you guys. Just have to save up for a Taranis now. 9XR modded with FrSky Telemetry and button mod is nice but I am hanging out for a Taranis.

Re: Programming P-51 gear doors

Posted: Fri Aug 02, 2013 6:30 am
by Helle
Hy,
does anyone have a running gear door sequenzer for Taranis
with no set or reset aFlip Flop as Memmory

helle

Re: Programming P-51 gear doors

Posted: Fri Aug 02, 2013 8:47 am
by ReSt
This is not from Taranis, but I assume, it should work

Sequenced Gear Doors

GEA switch starts CH16 as a timebar
The Switches are activated at certain positions of CH16

When GEA switch is activated:

CH16 slowly sweeps from -100 to +100

CH16 at >= -90: Sw1 opens the doors (CH15)
CH16 at >= 0: Sw2 extends the gears (CH14)
CH16 at >= 90: Sw3 deactivates SW1 and closes the doors (CH15)


When GEA switch is deactivated:

CH16 slowly sweeps from +100 to -100

CH16 at <= 90: !CS3 deactivates CS1 and the door is opend
CH16 at <= 0: !Cs2 retracts the gears
CH16 at <= -90: !CS1 closes the doors


The setup:

CS1 v>ofs CH16 -90 CS3
CS2 v>ofs CH16 0
CS3 v<ofs CH16 90

CH14 +100%FULL Switch(SW2) Slow(u3:d3)
CH15 +100%FULL Switch(SW1) Slow(u3:d3)
CH16 +100%FULL Switch(GEA) Slow(u10:d10)

Reinhard

Re: Programming P-51 gear doors

Posted: Fri Aug 02, 2013 9:23 am
by Helle
Hy, Reinhard,

Danke! I will test it

Helle

Re: Programming P-51 gear doors

Posted: Sun Aug 04, 2013 1:04 pm
by Helle
Hy,

here a gear door sequenzer from Reinhard adapted to Taranis

SF is the Gear switch
Ch16 is a timebar and helpchannel
CH15 is the Door
CH14 is the Gear

Sequenced Gear Doors

SF switch starts CH16 as a timebar
The Custom-Switches are activated at certain positions of CH16

When SF-switch is activated:
CH16 slowly sweeps from -100 to +100

CH16 at >= -90: CS1 opens the doors (CH15)
CH16 at >= 0: CS2 extends the gears (CH14)
CH16 at >= 90: CS3 deactivates CS1 and closes the doors (CH15)


When SF-switch is deactivated:

CH16 slowly sweeps from +100 to -100

CH16 at <= 90: !CS3 deactivates CS1 and the door is opend
CH16 at <= 0: !CS2 retracts the gears
CH16 at <= -90: !CS1 closes the doors

Here the very short programm:
At Cusom Switches
CS1 a>x CH16 -90 AND CS3
CS2 a>x CH16 0
CS3 a<x CH16 90

At Mixers
CH14 +100% CS2 Slow(u3:d3)
CH15 +100% CS1 Slow(u3:d3)
CH16 +100% SF Slow(u10:d10)



Ch 14 and CH15 runs from -100% to +100%
The real min/max positions of the Doors and the Gears you must adapt with weight and offset at CH14 and CH15

Danke Reinhard

Helle

Re: Programming P-51 gear doors

Posted: Tue Aug 27, 2013 10:01 am
by Tomkfly
Helle wrote:Hy,
does anyone have a running gear door sequenzer for Taranis
with no set or reset aFlip Flop as Memmory

helle
Simplest method is using a five point curve. Easy to set up and very flexible.

One of the first things I did when I got my Taranis was to set up a door sequencer for a P51. My first attempt was mainly using timers and it worked well. However I thought there might be another way, so I did a set up using Cutom switches and pseudo channels and that also worked. I then posted a comment on RCMF forum and one of the guys on there posted a reply saying the easiest method was to use a custom 5 point curve.it works and is so simple to set up.
The settings I used are as follows.
+ 100
- 100 , - 60
- 100 , 0
- 100 , + 60
+ 100
You can vary The +/ - 60s to give the ratio between door travel and time doors remain fully open.
I then set a mix, for the door ch, with SF as source ( gear switch ), weight - 100, delay at zero and duration 7 seconds (set to your own personal requirement).
Then set a mix for wheel ch, again SF as source, delay 3 seconds up and down, no duration, as I'm using air retracts.
If you're using proportional servos you can add a duration value, but you will have to increase the duration on the curve overall and reduce the values of 60s in the curve.
If you have any questions, on the above, please ask.

Tom

Re: Programming P-51 gear doors

Posted: Tue Aug 27, 2013 11:12 am
by Tomkfly
Copy of my gear door curve:
Gear door curve.png
tom

Re: Programming P-51 gear doors

Posted: Thu Feb 13, 2014 6:07 pm
by jayteemmm
Hi

I have just received my Taranis, i am having difficulty setting up my gear door sequencer.
I cannot understand what to do.
I have setup ch6 as gear doors, ch7 Gear, but i would like to have the doors to close when retacted & when down.
I have tried to create a curve, but when i setup the cv1 in ch6, the door servo does not work at all?
Please can anyone help me

John

Re: Programming P-51 gear doors

Posted: Thu Feb 13, 2014 7:05 pm
by Rob Thomson
You will need a custom switch to trigger the door position when the gear I an in certain positions.

Sent from my GT-I9300 using Tapatalk

Re: Programming P-51 gear doors

Posted: Thu Feb 13, 2014 9:45 pm
by jayteemmm
Rob Thomson wrote:You will need a custom switch to trigger the door position when the gear I an in certain positions.

Sent from my GT-I9300 using Tapatalk
Hi Rob

I don't understand what you mean, or do i know how to set up a custom switch? :?

Re: Programming P-51 gear doors

Posted: Fri Feb 14, 2014 1:16 pm
by Helle
Hy,

here are two different running example at pdf for Taranis
in german

Helle