Delta Wing programming for DeviationTx

A delta or flying wing is basically two wings joined together with two control surfaces and two servos. Each servo serves two functions, aileron and elevator for its wing.

To achieve this from the Transmitter we need to be able to mix 4 commands to two servos

Notes for using the Complex mixers
- changes to values are not reflected in the transmitter output until you have saved that page
- you MUST save each page before exit otherwise any changes will be lost
- Long Press ‘Ent’ key and hold until the beep to save setting in a mix page or use ‘Save’ option at the top

1 Left wing aileron
2 Left wing elevator
Note: These controls are actually provided by the same servo

3 Right wing aileron
4 Right wing elevator
Note: These controls are actually provided by the same servo

****** Start with a new model loaded and advanced GUI ******

A very basic model ini without Dual Rates and will use the Aileron & Elevator channels in the mixer page.
Each channel will need a complex mix with 2 pages, one page in each channel mixer for Ailerons and one page in each channel mixer for elevators.

Please note that Deviation uses the same name labels for channels as other common transmitters. So in the mixer you see for example 1-AIL 2-ELE etc. This can be confusing because these labels don’t describe the channel correctly for a delta or flying wing. The channel labelled AIL is actually the CHANNEL for the RIGHT WING aileron/elevator control surface and the channel labelled ELE is actually the CHANNEL for the LEFT WING aileron/elevator control surface.

This model setup assumes the plane has standard type servos. If using linear type servos adjust Src directions in the mixer pages accordingly.

Let us start by getting the AILERONS working in the mixer.

AILERONS
	AIL Channel (right wing channel)

1.	mixer type = complex
2.	Mixers = 2
3.	Page 1
4.	switch = none
5.	Mux = replace
6.	Src = AIL or !AIL (short press of the ENT button will toggle this setting normal or reverse)
7.	Curve = 1 to 1 or Expo curve set to your preference (must match ELE (left wing) channel)
8.	scale = 70
9.	offset = 0
10.	trim
11.	SAVE

ELE Channel (left wing channel)

1.	mixer type = complex
2.	Mixers = 2
3.	Page 1
4.	switch = none
5.	Mux = replace
6.	Src = AIL or !AIL (short press of the ENT button will toggle this setting normal or reverse)
7.	Curve = 1 to 1 or Expo curve set to your preference (must match AIL (right wing) channel)
8.	scale = 70
9.	offset = 0
10.	trim
11.	SAVE

This should have basic ailerons working on both wings, if the ailerons are reversed change the Src by quick press on the ENT button in both channel mixers. Note: the Src for page 1 in each channel should be the same (both normal or both reversed for standard type servos).

Set the scale in both channels up or down to adjust the control surface throw.

Next we need to add ELEVATORS to the mix
We will be working in page 2 of each channel mixer

ELEVATORS	
AIL Channel (right wing channel)

1.	Mixer type = complex
2.	mixers = 2
3.	Page 2
4.	switch = none
5.	Mux = add
6.	Src = ELE or !ELE (short press of the ENT button will toggle this setting normal or reverse)
7.	Curve = 1 to 1 or Expo curve set to your preference (must match ELE (left wing) channel)
8.	Scale = 20
9.	offset = 0
10.	trim
11.	SAVE

ELE Channel (left wing channel)

1.	Mixer type = complex
2.	mixers = 2
3.	Page 2
4.	switch = none
5.	Mux = add
6.	Src = !ELE or ELE (short press of the ENT button will toggle this setting normal or reverse)
7.	Curve = 1 to 1 or Expo curve set to your preference (must match AIL (right wing) channel)
8.	Scale = 20
9.	offset = 0
10.	trim
11.	SAVE

We have now added elevator inputs to the mix. Change the Src by quick press of the enter button to set correct direction of elevators. Note: the Src for page 2 in each channel should be opposite (one should be normal and the other reverse for standard type servos).

Set the scale in both channels up or down to adjust the control surface throw.

Regarding scale setting, it is recommended to keep page 1 scale + page 2 scale equal to or less than 100 (in the above example 70+20=90)

You should now have a basic working delta/flying wing model.

The disadvantage to doing it this way is any change to scale of either aileron or elevator will need to be made in both wing channels to maintain symmetry and there is no way to make any changes during flight (other than using the trim switch).

Lets now move on to a basic delta/flying wing model using virtual channels as an intermediate to the stick input for the AIL (right wing) & ELE (left wing) channels.

Another way to look at it is we are going to make virt1 a digital/virtual aileron stick and virt2 a digital/virtual elevator stick, these digital sticks will be controlled by the physical aileron and elevator sticks. 

First lets make our digital/virtual AIL & ELE sticks so they can be used  (coloured items are optional for setting different rates on switches)
Note: the use of the complex mix pages for these virtual channels is so we have a way of storing and switching between several simple mix pages if using switchable rates settings. Each page on its own is a simple mix selectable with a switch. No magic here just a filing cabinet.

Virt 1 channel (digital/virtual Aileron stick/s)

1.	mixer type = complex
2.	mixers = 1 (2) (3)
3.	page 1 (2) (3)
4.	switch = none or (sw? ?) (sw? ?) (sw? ?)
5.	mux = replace
6.	Src = AIL
7.	curve = Expo curve set to your preference (??) (??)
8.	scale = 70 (60) (50)
9.	offset = 0
10.	trim
11.	SAVE

Virt 2 channel (digital/virtual Elevator stick/s)

1.	mixer type = complex
2.	mixers = 1 (2) (3)
3.	page 1 (2) (3)
4.	switch = none or (sw? ?) (sw? ?) (sw? ?)
5.	mux = replace
6.	Src = ELE
7.	curve = Expo curve set to your preference (??) (??)
8.	scale = 30 (20) (15)
9.	offset = 0
10.	trim
11.	SAVE

And that is all there is to it! We now have virtual aileron and elevator sticks. The scale settings shown are not suggested final settings, they are a starting point and indicative of how the mixer works. The scale settings will need to be adjusted again after the next step of programming is completed.

The AIL channel (right wing) & ELE channel (left wing) are similar to the basic model in the first part of this tutorial with the following changes.

AILERONS

AIL Channel (right wing channel)

1.	mixer type = complex
2.	Mixers = 2
3.	Page 1
4.	switch = none
5.	Mux = replace
6.	Src = virt1 or !virt1 (short press of the ENT button will toggle this setting normal or reverse) 
7.	Curve = 1 to 1 (“1 to 1” tells this mix to do exactly what the Src for this mix is doing / mimic the virtual ail stick)
8.	scale = 100 (use 100% of the scale that is set in the virtual ail stick)
9.	offset = 0
10.	trim
11.	SAVE

ELE Channel (left wing channel)

1.	mixer type = complex
2.	Mixers = 2
3.	Page 1
4.	switch = none
5.	Mux = replace
6.	Src = virt1 or !virt1 (short press of the ENT button will toggle this setting normal or reverse) 
7.	Curve = 1 to 1 (“1 to 1” tells this mix to do exactly what the Src for this mix is doing / mimic the digital ele stick) 
8.	scale = 100 (use 100% of the scale that is set in the virtual ail stick)
9.	offset = 0
10.	trim
11.	SAVE

ELEVATORS

AIL Channel (right wing channel)

1.	mixer type = complex
2.	Mixers = 2
3.	Page 2
4.	switch = none
5.	Mux = add
6.	Src = virt2 or !virt2 (short press of the ENT button will toggle this setting normal or reverse) 
7.	Curve = 1 to 1 (“1 to 1” tells this mix to do exactly what the Src for this mix is doing / mimic the digital ail stick)
8.	scale = 100 (use 100% of the scale that is set in the virtual ele stick)
9.	offset = 0
10.	trim
11.	SAVE

ELE Channel (left wing channel)

1.	mixer type = complex
2.	Mixers = 2
3.	Page 2
4.	switch = none
5.	Mux = add
6.	Src = !virt2 or virt2 (short press of the ENT button will toggle this setting normal or reverse) 
7.	Curve = 1 to 1 (“1 to 1” tells this mix to do exactly what the Src for this mix is doing / mimic the digital ele stick)
8.	scale = 100 (use 100% of the scale that is set in the virtual ele stick)
9.	offset = 0
10.	trim
11.	SAVE

So we have changed all the Src’s from the physical stick inputs to the digital/virtual stick inputs, changed all the curves to 1 to 1, and set all scales to 100. Scale and expo will be set in the virtual channels.

The benefits are that scale only needs to be changed in one place for each stick, rates can be on separate switches for ailerons and elevators (if your tx has available switches) or combined on one switch.