Mode Switch Setup for Turnigy 9x

3689407577?profile=original

 

Mode switch setup for Turnigy 9x

First thanks to tiger in the ardupirates thread at RC Groups who not only supplied me the files to reflash my radio back to standard, but included a model in the eeprom file with the mixes already setup. I just had to tweak the numbers a little and write a story.

 

I am an AC2 user so there may be some APM differences I have missed.

 

Some things in this tute may be a little obvious as I have tried to aim this one at novices. I figure some of you more advanced users will have upgraded this radio to ER9x firmware.

 

We will be using the 3 position F. MODE switch and either the 2 position GEAR or THRO HOLD switch in this example to be able to get all six flight modes for the APM/AC2.

Ch6 from the receiver will be used to supply the APM board. We are aiming to get pulse widths of 1165, 1295, 1425, 1555, 1685, and 1815. Remember that 1815 will put APM into hardware manual because it uses the ch8 input, so you may as well assign manual mode to that position when you setup your chosen flight modes in CLI. AC2 uses the ch5 input for mode control, so you can choose whatever you like.

 

Use the PWM(AC2) or RADIO(APM)  test in CLI to read the pulse width numbers for ch5 on AC2 and ch8 on APM.The pulse-width readout is now conveniently located on the Radio Calibration page of the Planner. I have used a servo programmer here as it is convenient for photos. Remember the inputs are ch5 for AC2 or ch8 for APM. Don't confuse receiver outputs with APM inputs.

 

Please don't just blindly copy my values as your radio may produce different pulse widths. The Turnigy is not as accurate as my 12fg and the pulse values seem to vary slightly every time I cycle power. Hey, it's a $55 radio :)

Remember to use the MENU key to exit the menu you are editing. The EXIT key does not save changes, ask me how many times I kicked myself.

 

1. Clear any flight mode mixing you may already have.

2. Start with end points at +- 100 and subtrim 0 for ch5 and 6.

2a. Use the ch6 output from the receiver for the APM/AC2 mode selection. Ch5 from the receiver is left unconnected.

3. Go to the AUX-CH menu and set ch5 to either THRO HOLD or GEAR. Choose whichever you find most convenient to use in conjunction with the F. MODE switch, you can come back later and swap if you’re not happy with your choice. You can also assign switches/dials to any other channels now if you like, but do not assign anything to ch6.

3689407588?profile=original

 

 

4. Put the F. MODE switch in position 2 and THRO HOLD/GEAR switch to the rear.

Go to the PROG.MIX menu and then setup MIX1 to look like this. Adjust the DNRATE value to get a pulse of 1555.

3689407637?profile=original

 

 

5. Leave F. MODE in position 2 and move the THRO HOLD/GEAR switch forward.

Adjust the UPRATE value to get a pulse of 1425, then hit Menu to save and backup to the PROG.MIX screen.

3689407601?profile=original

 

 

6. Put the F. MODE switch in position N and THRO HOLD/GEAR switch to the rear.

Setup MIX2 to look like this. Adjust the DNRATE value to get a pulse of 1685.

3689407697?profile=original

 

 

7. Leave F. MODE in position N and move the THRO HOLD/GEAR switch forward.

Adjust the UPRATE value to get a pulse of 1295, then hit Menu to save and backup to the PROG.MIX screen.

3689407650?profile=original

 

 

8. Put the F. MODE switch in position 1 and THRO HOLD/GEAR switch to the rear.

Setup MIX3 to look like this. Adjust the DNRATE value to get a pulse of 1815.

3689407813?profile=original

 

 

9. Leave F. MODE in position 1 and move the THRO HOLD/GEAR switch forward.

Adjust the UPRATE value to get a pulse of 1165, then hit Menu to save and backup to the PROG.MIX screen.

3689407760?profile=original

 

 

 

10. That’s it. If you flick through all 6 combinations, it should be pretty close to what the APM/AC2 expects to see.  I ended up with  1165, 1297, 1425, 1555, 1683 and 1814.

If something has gone wrong, you probably hit the EXIT key to back out of a menu instead of the MENU key. Remember EXIT doesn't save, stupid firmware.

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • Awesome post. Thanks!

    I think I followed the instructions and my radio (Turnigy TGY 9x with stock firmware) seemed to work somewhat differently. I wasn't able to change the output at all when in the "N" mode on the three position switch - the output always stayed at 1464. I was able to change the outputs for the other 4 modes, but the settings needed to change a given output were different. Here's what worked for me:

    Mix 1 UPRate - changed PWM for THRO Forward and 3 Pos Switch in Pos 2

    Mix 1 DNRate - changed PWM for THRO Back and 3 Pos Switch in Pos 2

    Mix 2 UPRate - changed PWM for THRO Forward and 3 Pos Switch in Pos 1

    Mix 2 DNRate - changed PWM for THRO Back and 3 Pos Switch in Pos 1

    I'd be curious to hear if anyone has any ideas as to why it might have behaved differently for me. I'm excited to have this figured out either way though!

  • Darren that is how it is supposed to work. It is a limitation of the 9x firmware that we have to waste a channel in order to get the 6 positions. Now you have an excuse to upgrade to er9x and claim back that wasted channel.

  • I finally got mine to switch in order, what I had to do was swap the pulse in the guide of the position N and position 1. 

  • The jumping is normal. The 2 pos switch works like a shift key or gear splitter for the 3 pos switch. If you toggle the 2 pos switch in between each movement of the 3 pos switch, you should wee the PWM's in order.

    It doesn't really matter as you program the flight modes to suit whatever order you like to flick the switches.

    I'm happy it is helping people. I wrote 3 of these tutorials because I saw it was one of the most asked questions. I'm not a coder so it was my way of giving back, others followed suit and now we have a tute for most of the popular radios

  • Thanks a lot Gordon! There is no way in hell that I will be able to figure this out!

    One question though, the pwn seems to be jumping (1682 to1819 to 1555)around when switching from N to1 to 2. Is this the tx limitation which does not allow pwm change in order? Not complaining though, getting 6 modes is way better than the original 2 mode from the gear.

  • Thanks a bunch for this guide couldn't have done it without it
  • Hi all and thanks to Gordon

    Gordon I think you should mention in step 2 ch5 for AC2 and cha8 for APM ... I have search what to do for channel 8 .....

    Best Practice or recom ?

    Are there any recommandation on which mode we should put for novice piltot, I won't put acro for now but any best practice ?

    Difference in the Fligh Data tab and the configuration TAB ?

    When In the Mission Planner 1.1.92 in th configuration Tab, in the Fligh Mode I can see all my flight mode and can switch to each of them with my Radio switch ( My Lipo is not connected my APM2 is powered via my USB port).

    Then when I go back to the Flight Data Tab I see Onknow when I try Pos Hold combination.   From the configuration tab all seem fine but in the Fligh data one no.

    After setting my Fligth mode what are the step that need to be done if any are necessary ?

    Thanks 

    Thanks

  • Hi Rob

    Don't need the cli anymore. If you look on the radio calibration page of the planner, the numbers you need are now right under the bar for radio 5. The planner just keeps getting better everyday

  • Hi

    I have the Turnigy TGY 9X 2.46 using APM2

    Bit confused about the CLI part:

    Use the PWM(AC2) or RADIO(APM)  test in CLI to read the pulse width numbers for ch5 on AC2 and ch8 on APM. I have used a servo programmer here as it is convenient for photos.

    Not sure how I do that on the CLI I have tried and I get back some numbers but they stay the same everytime?

    Any help appreciated total beginner, thanks...

  • Absolutely. The answer is in paragraph 6.

    "Use the PWM(AC2) or RADIO(APM)  test in CLI to read the pulse width numbers for ch5 on AC2 and ch8 on APM. I have used a servo programmer here as it is convenient for photos."

This reply was deleted.