No video

OpenTX Logical Switches: Edge, Timer, & Sticky

  Рет қаралды 3,933

Mr.D - Falling with style

Mr.D - Falling with style

Күн бұрын

Пікірлер: 40
@grayback1857
@grayback1857 10 ай бұрын
Great pace and focus. Aareally helpfu. Thanks
@MrD
@MrD 10 ай бұрын
Thanks, glad the video was helpful 👍🏻
@coulsonrobert
@coulsonrobert 3 жыл бұрын
Great, going to use sticky with SH to switch my Vario on and off. Cheers D! Legend.
@MrD
@MrD 3 жыл бұрын
That would be a cool use of the sticky. Easier to flick it off when it gets annoying 🤣 I’m kidding of course, they are damn useful. I do get a bit conscious of others when I use mine thought. I’ve started wearing an earphone, so I can use it as much as I want now.
@coulsonrobert
@coulsonrobert 3 жыл бұрын
@@MrD clever idea. Haven’t noticed if there’s a headphone jack in the TX16s. Few chaps up at the local club use them so I don’t feel too bad if I keep the volume low.
@MrD
@MrD 3 жыл бұрын
I think the TX16S does have one. I’ve used the Bluetooth on the X20S to set mine up. I think if I had to use a cable, I’d just make everyone put up with it 😄
@360vroomers
@360vroomers 2 жыл бұрын
Really helpful!
@MrD
@MrD 2 жыл бұрын
Thanks, I’m glad it was useful.
@rougeneon1997
@rougeneon1997 3 жыл бұрын
Just got through all your logical switch videos. Very well done. I understand them much better. I have a pitot tube on my big SkyHunter and Ive been wanting to fool around with logical warnings like for stalls.
@MrD
@MrD 3 жыл бұрын
Awesome. I’m glad they helped. It could definitely be used for a low airspeed warning. Stalls are more than just the airspeed, but it will definitely give you a heads up.
@witneydiggersrc3251
@witneydiggersrc3251 10 ай бұрын
Very helpful👍
@MrD
@MrD 10 ай бұрын
Glad to hear that 👍🏻
@GaryQuiring
@GaryQuiring 3 жыл бұрын
I never knew about EDGE, I use the momentary switch to announce altitude and voltage on my sailplanes. Occasionally I have been flying for a long time and would like to know what time it is so I setup EDGE on the same momentary switch to announce time if I hold the switch for more than .5 seconds. Love it, thank you for your a very practical example of how to use it.
@MrD
@MrD 3 жыл бұрын
No problem Gary. That EDGE can be very useful. I have about 5 or 6 things in my momentary switch now, all using the EDGE to activate and give me a spoken prompt for what it will do when released.
@Mateyhv1
@Mateyhv1 3 жыл бұрын
Very good explanation as always! The timer logic switch is unfortunately limited to a max of 175 seconds ON or OFF which makes 2:55 segs for each state. For some random reasons I cannot look at the on screen timer so I want to have a beep each 5 or maybe 10 mins. I can do it with many switches comparing the Flight timer (Timer1)for up to one hour but thats not a clean solution at all. And since I already use Timer1 and Timer2 I could have used T3 cycling at the wanted interval but that brings it on display, which makes all timers beeng shown in small fonts on the X9D+. Edit: I did it via the T3 and its not shown on the main display. I swear I have seen it there before. Never mind it would be great to extend the Timer Logic Switch max limit.
@MrD
@MrD 3 жыл бұрын
I was intrigued, so thought I'd have a look anyway. I had thought about stacking timers, but that a) is a bit messy and b) doesn't seem to work anyway. However, there is a much neater solution, to make your own timer in effect. So lets do this every 10 minutes, because shortening it to 5 would be easy. First, we need to make a global variable. Call it Tmr and set the range from -1 to 10, with a default of -1. Next we'll add some logic for the timer. It wasn't in your original question, but I've also added the arm switch, so the timer only works when the model it armed. My arm switch is SF, and we'll say Dn is disarmed and Up is armed. So the first logical switch is just a timer, with an on and off period of 30 seconds, but when the arm switch is in the arm position: L01 | Timer | 30.0 | 30.0 | SF(Up) | 0.0 | 0.0 So each on/off loop lasts for 1 minute. The next logic condition is just checking to see when the 10 minutes are up: L02 | a=x | GV1:Tmr | 10 | --- | 0.0 | 0.0 Next we'll add some special functions, this is where the magic happens xD. The first function just increments the loop: SF1 | L01 | Adjust GV1:Tmr | Increment | 1 | ON Next we have the thing to do at 10 minutes, which is a reset to 0 for the timer variable and then make the sound for your 10 minute alert. SF2 | L02 | Adjust GV1:Tmr | Value | 0 | ON SF3 | L02 | Play Sound | Beep 1 | No repeat Lastly, we need to reset the timer when we disarm SF4 | SF(Dn) | Adjust GV1:Tmr | Value | -1 | ON A question might be why two different reset values? The reason is we always want to start at minute 0, and increment from there. The problem is when you first enable the timer, if it's at 0 it will jump straight to 1. So by setting the value to -1, it just goes to 0 when we start the timer. When it's already in the timer loop, it can just use 0, as it won't be incremented for another minute.
@Mateyhv1
@Mateyhv1 3 жыл бұрын
@@MrD thank you very much for taking the time to find a solution. Its a very good one and I will copy it for future use. Meanwhile and since the Timer3 does not appear on screen (I swear I've seen it but as well might be a brain fart, lol) I made use of it in a simple way but of course if all three timers are already used or you do not want to see whats going with that particular timer your solution is needed. So I activated timer 3 with the arming/timers ON switch. I have not used a reset since its all in the same session so not really needed but it can be added of course. L01 | a=x | Tmr3 | 00:10:00 | --- | 0.0 | 0.0 SF2 | L01 | Play Sound | Beep 1 | No repeat SF3 | L01 | Reset | Tmr3 | No repeat You might do a video so anyone who have the same problem can have your solution. Of course the best solution would be the increase of the timer logic switch to at least 30 or even 60 mins but my guess is there is some kind of memory allocation restriction.
@MrD
@MrD 3 жыл бұрын
That’s a nice and simple solution. It works as you need it to, which is the main thing. I can’t remember seeing timer 3 appearing on the display. But I don’t think I’ve had that many timers running at once to be honest. I’ll definitely make a video on this. Someone might find it helpful. I don’t think there would be a problem for limits. The global variable can go up to 1024 I believe; which is 17 hours and 4 minutes. But if that wasn’t long enough the on/off period could be changed to 60 seconds instead of 30. That would be 34 hours and 8 minutes 😄
@Mateyhv1
@Mateyhv1 3 жыл бұрын
@@MrD maybe I am confusing the telemetry screens with the main display. For the soarers T1 logs the session and T2 an odometer for the frames total flown time, so its persistent. Not really needed but its nice to know how long I have flown a given frame :)
@MrD
@MrD 3 жыл бұрын
Totally. I’m re-setting up all my models with a persistent flight timer. It would be great information to have.
@RichardFAdams-kt9ux
@RichardFAdams-kt9ux 4 жыл бұрын
Darren great videos I'm glad someone has taken the time to explain each function. I've just recently started playing with the Logical Switches on my QX7. What I'm trying to do is Reset my Flight Timer that I have setup as the Throttle % setting. What I would like to do is have the Timer reset when I switch out Flight Packs. Right now I have the Timer resetting with the SH switch but my problem is when I land change Flight Packs and start flying again I forget to reset the Timer with the SH switch.
@MrD
@MrD 4 жыл бұрын
That’s a good one to think about. I do the same thing, forgetting to reset the timer. I got in the habit of turning off my transmitter before I take the battery out. Where OpenTX has the receiver still connected thing, it won’t actually turn off until I remove the pack. But there may be a better way. I have an idea, but it will only work on receivers with some telemetry, so D16 or ACCESS. I’ll test it out in the next day or 2.
@RichardFAdams-kt9ux
@RichardFAdams-kt9ux 4 жыл бұрын
@@MrD Thanks!!!! I think I might have figured something out but I'm at work right now just can't remember exactly what I did will reply with another message when I get home.
@RichardFAdams-kt9ux
@RichardFAdams-kt9ux 4 жыл бұрын
So I came up with this not using Telemetry. Function; Sticky, V1; F-Down, V2; I-Up and Duration; 2 Seconds & Special Function L07 Reset Timer1 On. Tell me what you think.
@MrD
@MrD 4 жыл бұрын
Richard F. Adams so would I be right in thinking that you’re checking based on your arming switch? It looks like that is what is activating the sticky SF? I don’t know what I is, to deactivate the sticky. If that’s the case, it should work. But, I’d consider making the delay longer, just in case you accidentally disarm in flight. It’ll take longer that 2 seconds to change a battery. Also, if you’re using an arming system, you’d need to use the armed/disarmed switches on that, rather than the physical switch. After sleeping on it, I’ve got a solution in my head. I’ll have a play on companion in a sec.
@MrD
@MrD 4 жыл бұрын
I'm just putting the finishing touches to a video now. I might be nice and release 2 videos tomorrow ;) There are 2 options, one with telemetry, and one without. But, I'd highly recommend the with telemetry version as it ensures the battery has been removed, and not that you've just landed and disarmed for another reason. Checking something on the plane, or a to have a quick chat etc. Well, the battery has been removed, or it's a flyaway.
@michaelbutler3264
@michaelbutler3264 Жыл бұрын
I want to use logical switches to turn on and off SI and SJ. This is where my gimbal lights are connected to
@MrD
@MrD Жыл бұрын
SI and SJ are momentary switches. So use a sticky to make them latch.
@nicholasjacobs1967
@nicholasjacobs1967 6 ай бұрын
Thanks for a very useful explanation. I'm trying to set a beep on a given throttle stick position as a warning. However I want it based on a global variable so I can change the warning position using the current stick position and flicking a momentary switch to update the global. However I only see an a~x option not a~b. Perhaps there is a way to use logicals and bound the position with a< b and a>b but I can't figure a way. I can set a hard-coded value with a~x of course. Ideas ?
@OZSCQUADS
@OZSCQUADS Жыл бұрын
very nice. I was hoping this would help me with the pinio switching and adding some sound tracks but maybe not. What I want to do is hold the SH for 3 seconds to turn on camera, and have sound track play telling me it is turned on.. Then with quick flick of SH use sticky to play track for recording start and stop Then finally, 3 second on SH to play turn off sound track. I can`t figure how to do the 3 second switches though.
@MrD
@MrD Жыл бұрын
You would need to use the edge logic switches to trigger the sounds. The first value of the edge timer is when it activates. The second is when it ends. For the sound trigger, go the opposite way to adding a time and you can set it to instant.
@NivaldoRibeiro82
@NivaldoRibeiro82 3 жыл бұрын
Nice video, could you tell me if I can use Momentary switch to activate Throttle cut, and when I hit momentary switch again it disabled Throttle cut.
@MrD
@MrD 3 жыл бұрын
You can set up a sticky which is activated and deactivated by the momentary switch. Then use that logical switch as the trigger for your throttle cut.
@adeyinkabrasil4426
@adeyinkabrasil4426 2 жыл бұрын
Hi, would you happen to know how to get the radio to call out a final (the concluding) time elapsed?
@MrD
@MrD 2 жыл бұрын
In what situation? The timer in programming is just a simple on/off state. Do you have a flight timer that goes up when you arm, and that's what you want read out? I need a bit more information on what you're wanting to do.
@MrD
@MrD 2 жыл бұрын
You must have a logical switch to stop the timer when there are enough sats. You can use that to also activate the special function to read the timer value.
@adamuap6623
@adamuap6623 3 жыл бұрын
Not on a computer dont have the program
@MrD
@MrD 3 жыл бұрын
You don’t need it. Everything on the transmitter is the same. It’s just easier and clearer to demonstrate things with OpenTX Companion.
OpenTX Logical Switches: AND, OR, and XOR
13:57
Mr.D - Falling with style
Рет қаралды 971
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 48 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 37 МЛН
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 42 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 2,2 МЛН
How to upgrade to EdgeTX (What's EdgeTX???)
22:38
Joshua Bardwell
Рет қаралды 66 М.
200 dropped wallets- the 20 MOST and LEAST HONEST cities
8:24
Mark Rober
Рет қаралды 35 МЛН
Using The Momentary Switch To Arm Your Model with OpenTX
10:13
Mr.D - Falling with style
Рет қаралды 6 М.
OpenTX Logical Switches:  A comparing to X with Telemetry
7:59
Mr.D - Falling with style
Рет қаралды 444
OpenTX: Settings up a 10 second auto throttle timer for e-gliders
7:01
FrSky Ethos, assign a channel to a switch, knob or slider
9:14
Steve Schlesinger
Рет қаралды 2,3 М.
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 48 МЛН