Configuration of 5 Mode Select Switch for Ardupilot

openTx has introduced a range of new features, ideas and bling. It is fast becoming the firmware of choice for many users. openTx will run on ALL current hardware platforms, including the gruvin9x and sky9x boards. Work has already started to support the new FrSky X9D radio!
Post Reply
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Configuration of 5 Mode Select Switch for Ardupilot

Post by LTMNO »

I just wanted to share something was just figured out and would think it useful for those that have done the Rotary Switch Modification to T9X and are using ER9x or OpenTx.
The problem that was at hand was when you switched from Mode 1 to Mode 5 on the Rotary Encoder it would sound off all the Modes from Pos1 to Pos5.
That was a pain to hear all the time if you wanted to jump from Stabilize to Auto.

Anyway, with the help of MikeB, I was able to come up with the solution. The following are the configuration settings in OpenTX
CHO5 is the Ardupilot Mode Channel
P3 is the Rotary Switch Location
Flight Modes are used for display purposes on the Radio LCD

Mixes
CH05 (+100%)CH05
R (+100%)P3 Switch(!CS6) Delay(u0.5:d0.5)

Custom Switches
CS1 CH05 > -75
CS2 (CH05 < -25 ) AND CS1
CS3 |CH05| < 25
CS4 CH05 < 75
CS5 (CH05 > 25 ) AND CS4
CS6 P3 = CH05

Function Switches
!CS1 Play Track Stable
CS2 Play Track Loiter
CS3 Play Track Alt Hold
CS5 Play Track RTL
!CS4 Play Track Auto

Flight Modes
FM0 Auto ----
FM1 AltHld CS2
FM2 LTR CS3
FM3 RTL CS5
FM4 Stable CS4

[BBvideo 425,350]http://youtu.be/nsluuDzbG-g[/BBvideo]

LTMNO...
Custom 9x with M64/Telemetry Mod

DanielMar2010
Posts: 2
Joined: Sun Nov 24, 2013 2:42 am
Country: -

Re: Configuration of 5 Mode Select Switch for Ardupilot

Post by DanielMar2010 »

I wish I knew how to do this. Do you have any info where I can do these mods? And where did you get the rotary switch and what pads did you put them on?
Thanks,
Daniel
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: Configuration of 5 Mode Select Switch for Ardupilot

Post by LTMNO »

Hi Daniel, its not that difficult.. but there are many threads on this forum that speak to this.. just do a search as I don't have them handy at the moment.. but if i get a chance I will try to point you to them... but start at the topic level of the forum and look into the Mods section for Hardware. I think the Wiki has a great list to start from.

Hope that helps.

Here is a start...
http://openrcforums.com/forum/viewtopic.php?f=26&t=2797

http://www.diydrones.com/profiles/blogs ... d-feedback

http://openrcforums.com/wiki/index.php/Main_Page
Custom 9x with M64/Telemetry Mod
DanielMar2010
Posts: 2
Joined: Sun Nov 24, 2013 2:42 am
Country: -

Re: Configuration of 5 Mode Select Switch for Ardupilot

Post by DanielMar2010 »

Thanks
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: Configuration of 5 Mode Select Switch for Ardupilot

Post by LTMNO »

no problem... let me know how it turns out.. or if i could assist you if you get stuck.

cheers.
Custom 9x with M64/Telemetry Mod

Post Reply

Return to “openTx”