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.

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

Notes for Deviation beginners: Complex mixing
- 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
- Press ‘Ent’ key and hold until the bleep 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 in one wing half

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

Start with a new model loaded and advanced GUI

A very basic model ini without Dual Rates 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

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

	AIL Channel (right wing)

1.	mixer type = complex
2.	Mixers = 2
3.	Page 1
4.	switch = none
5.	Mux = replace
6.	Src = AIL or !AIL
7.	Curve = 1 to 1 or Expo to preference(Does ‘Expo to preference’ indicate EXPO curve of YOUR preference?)
8.	scale = 70
9.	offset = 0

ELE Channel (left wing)

1.	mixer type = complex
2.	Mixers = 2
3.	Page 1
4.	switch = none
5.	Mux = replace
6.	Src = AIL or !AIL
7.	Curve = 1 to 1 or Expo to preference(Does ‘Expo to preference’ indicates EXPO curve of YOUR preference?)
8.	scale = 70
9.	offset = 0

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)

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

	AIL Channel (right wing)

1.	Mixer type = complex
2.	mixers = 2
3.	Page 2
4.	switch = none
5.	Mux = add
6.	Src = ELE or !ELE
7.	Curve = 1 to 1 or Expo to preference(Does ‘Expo to preference’ indicates EXPO curve of YOUR preference?)
8.	Scale = 20
9.	offset = 0

ELE Channel (left wing)

1.	Mixer type = complex
2.	mixers = 2
3.	Page 2
4.	switch = none
5.	Mux = add
6.	Src = !ELE or ELE
7.	Curve = 1 to 1 or Expo to preference(Does ‘Expo to preference’ indicates EXPO curve of YOUR preference?)
8.	Scale = 20
9.	offset = 0

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)

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 wing model.but this config is definitely not recommended as setting differential values for ‘Elevator’ or ‘Aileron’ movement is almost impossible!

The disadvantage to doing it this way is any change to scale will need to be made in both channels to maintain symmetry. 

Lets now move on to a basic delta wing model using virtual channels as an intermediate to the stick input for the AIL & ELE 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 be by the physical aileron and elevator sticks. 

The AIL & ELE channels are similar to the basic model above with the following changes.

Ailerons

AIL Channel (right wing)

1.	mixer type = complex
2.	Mixers = 2
3.	Page 1
4.	switch = none
5.	Mux = replace
6.	Src = virt1 or !virt1 (Normal or reverse may need to be set to have the surfaces move the correct way – you also may need to go back and change the AIL or ELE movement directions) 
7.	Curve = 1 to 1 
8.	scale = 100
9.	offset = 0

ELE Channel (left wing)

1.	mixer type = complex
2.	Mixers = 2
3.	Page 1
4.	switch = none
5.	Mux = replace
6.	Src = virt1 or !virt1 (Normal or reverse will need to be set to have the surfaces move the correct way – you also may need to go back and change the AIL or ELE movement directions)
7.	Curve = 1 to 1 
8.	scale = 100
9.	offset = 0

Elevators

AIL Channel (right wing)

1.	mixer type = complex
2.	Mixers = 2
3.	Page 2
4.	switch = none
5.	Mux = add
6.	Src = virt2 or !virt2 (Normal or reverse will need to be set to have the surfaces move the correct way – you also may need to go back and change the AIL or ELE movement directions)
7.	Curve = 1 to 1
8.	scale = 100
9.	offset = 0

ELE Channel (left wing)

1.	mixer type = complex
2.	Mixers = 2
3.	Page 2
4.	switch = none
5.	Mux = add
6.	Src = !virt2 or virt2 (Normal or reverse will need to be set to have the surfaces move the correct way – you also may need to go back and change the AIL or ELE movement directions)
7.	Curve = 1 to 1
8.	scale = 100
9.	offset = 0

So far 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.

Now lets make our digital/virtual AIL & ELE sticks (coloured items are optional for setting different rates on switches)

Virt 1 channel (digital Aileron stick)

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 to preference (??) (??)( ‘Expo to preference’ indicates EXPO curve of YOUR preference?
8.	scale = 70 (60) (50)
9.	offset = 0

Virt 2 channel (digital Elevator stick)

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 to preference (??) (??)(‘Expo to preference’ indicates EXPO curve of YOUR preference?
8.	scale = 20 (17) (15)
9.	offset = 0

And that is all there is to it! We now have virtual aileron and elevator sticks. The benefits are that scale only needs to be changed in one place for each stick, rates can easily be added by making the changes the coloured options show, rates can be on separate switches for ailerons and elevators (if your tx has available switches) or combined on one switch.
The scale settings shown are not suggested setting, they are indicative of how the mixer works.