Dual switch function?

Programing help and example for all firmwares based on thus's th9 firmware.
Post Reply
ExpFist
Posts: 4
Joined: Mon Sep 03, 2012 7:27 am
Country: -

Dual switch function?

Post by ExpFist »

So I had a big 'oops' situation where when I was flicking a switch on my 9x that controls my on board camera, where I accidentally flicked the switch that activates the fail safe. Luckily the damage was minimal (all props and my VTx antenna), but I like to learn from my mistakes and try to prevent them from happening again.

What I'd like to do is have it so that TWO switches need to be flicked to activate the fail safe. The fail safe is triggered by setting channel 6 to 67% of MAX (not the exact number, but it's something like that). Does anyone know how this can be done with the er9x, if at all?

One more important piece of information is that the 3-way switch also controls this channel, and needs to independently. The 3 options for this channel is GPS Mode, Altitude hold, manual, and failsafe (Naza-M Flight Controller).

So one 3-way for 3 options, then two switch flicked to change it to the third option, overriding the 3-way.
Last edited by ExpFist on Sun Oct 14, 2012 9:53 pm, edited 1 time in total.

User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Dual switch function?

Post by Kilrah »

You can activate that MAX line with a custom switch, and set that custom switch to AND two physical switches or other conditions.

Sent via SGS3
User avatar
MikeB
9x Developer
Posts: 18010
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Dual switch function?

Post by MikeB »

Use a custom switch like:
CS3: AND ELE RUD
then use this custom switch to control setting the failsafe channel.
The custom switch will only be ON if the ELEvator AND RUDder switches are both ON. You can choose which two switches you use.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Dual switch function?

Post by jhsa »

I don't understand why activating failsafe from the radio.. shouldn't it kick in when signal is lost?
and if signal is lost you can flick that switch as much as you want that it won't go into failsafe..
Please don't take me wrong. I'm just trying to understand
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
gohsthb
Posts: 1412
Joined: Wed Dec 28, 2011 2:32 pm
Country: -
Location: Naperville, IL

Re: Dual switch function?

Post by gohsthb »

Fail safe also activates the return to home feature.
-Gohst

Sent from my LG-P999 using Tapatalk 2

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Dual switch function?

Post by jhsa »

aahhh, ok... Thanks gohst.. I was sure that there was a good reason to activate failsafe from the radio :D
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “er9x / gruvin9x / th9 based firmwares”