Simple set up for Turnigy 9XR (or similar) 6 position mode switching - No Hardware/Flashing Required

Until recently my main TX was a Turnigy 9X and I (like many others) was using a hacked in 6 position POT switch to select modes on my various aircraft. Unfortunately the 9X has died so has been replaced by a shiny new 9XR. Rather then hack apart the 9XR (too pretty) I wanted to experiment with using the existing controls to select modes on my aircraft. I have seen several tutorials on this but none met all of my requirements below. Apologies if I have simply rediscovered something already posted by someone else.

  1. Not relying on guessing the position of the continuous POT switches
  2. Gives a easy to read visual indicator of current mode
  3. Uses only a single radio channel
  4. All performed with the default software and hardware – no flashing/hacking required

The method I used was to combine the 3 position switch (ID0/1/2) with the Aileron Dir switch. Between these two switches there are six possible combinations which neatly matches the 6 modes of the APM ecosystem.

I am using an 8 channel system and wanted to only use one channel for mode. To do this I created a “fake” channel 9 representing the position of the aileron switch which I then mixed with the results of the 3 position switch to achieve 6 switch combinations.

Instructions


Step 1 – On the SETUP 02 page for the model in question change the Proto setting to add additional channels to the model (10CH in my example). As the hardware I use can only send/receive 8 channels these will be ignored by the TX/RX module.

Step 2 – on the MIXER page for the model Set the following Mixes (note that all values are minuses)
    CH5 -100% CH9 ID0
            -35% CH9 ID1
            -10% CH9 ID2

    CH9 -125% FULL AIL

This sets up the three position switch on channel 5 and then applies a large offset to the value from this switch based on the position of the Aileron Dir switch (CH9). The result is 6 possible channels as per the picture below that map neatly to the PWM inputs required by the APM. Note that you can set the actual mode to be whatever you want in MP.

One important note to consider – This switch combination has 2 very easy to use “panic” modes. At any time you can flip both switches up or both switches down with one movement that doesn't require much thought. I suggest you make sure that suitable modes are set up for these. My setup is to have FBWA (perhaps Stabilise for copter) when both switches are up and RTL when both switches are down. This came in handy the other day for me when due to a bad throttle calibration I had a copter shoot into the air uncommanded as soon as it armed - all I had to do was whack both switches down and let the APM do the rest all the way back to landing.

In theory the same mix should work on any TX with these capabilities. I hope this is helpful to people and happy to discuss or take feedback if there are better ways.

Views: 12803

Comment by Christiaan van Vollenstee on September 19, 2014 at 12:05am

Nice, thank you.

Comment by Michael Visser on September 19, 2014 at 6:14am

I use the same mixing, very handy. I've been trying to cook up one of the continuous POT switches (pit-trim) to trigger AutoTune or nav lights, quad is current in another country but give it a week and I'll be back to tinkering :)

Comment by bill bergovoy on September 20, 2014 at 4:54pm

i have the turnigy 9xr pro  and there is a custom switch screen...it seems that I could program any combination of two switches to create a new result... i.e.  switch ID0 AND 'AIL'  equals CS1.   or ID0 AND 'AIL!' = CS2

  will create two different custom switches...CS1 and CS2  for the 3 position switch in the up position... this can be repeated for ID1 and ID 2 for another 4 switches...

I do like your mapping arrangment to have FS in the all up or all down position... I only had it for the all down...

thanks

Comment by johnkowalsky on September 21, 2014 at 8:12am

Nice work. Obvious but useful for those who didn't figure it out themselves

Comment by Reuben on September 23, 2014 at 1:37pm

Hi I did something similar ..but using one of the POTs..  I added a second 3 position switch connected to 3 micro pots so I could set each value to correspond to Stabilize, Auto and RTL ..

Right hand 3 pos switch there is 1st) Stabilize 2nd) Alt Hold 3rd) Loiter

Left hand 3 pos switch there is 1st) Stabilize 2nd) Auto 3rd) RTL

Also on the small single switch next the the primary mode switch I have simple mode.

see photos 

Comment by Reuben on September 23, 2014 at 1:41pm

Note ; the wire were shortened and tidied up .. before completing the job, the photos were when i was just prototyping. 

Comment by Muhammad Abdul Hadi on August 21, 2016 at 10:45pm
Can the switches be mix without physically connecting them, ie vie special functions in opentx?

100KM
Comment by Ben Dellar on August 22, 2016 at 2:53am

From my original post the switches can be mixed with no hardware at all. Reuben is showing an alternate option with hardware modifications to allow use of different switches.

Comment by Muhammad Abdul Hadi on August 22, 2016 at 2:56am
Thank you Ben, it all makes more sense now :-)

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

© 2018   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service