Making STECS/STEM Flap Switch Both 3 Position and Momentary/Temporary

Moderator: AdminGroup

Kreutzberg
Posts: 20
Joined: Fri Dec 25, 2020 3:39
Has thanked: 11 times
Been thanked: 2 times

Making STECS/STEM Flap Switch Both 3 Position and Momentary/Temporary

Postby Kreutzberg » Wed Mar 06, 2024 21:01

I'm trying to map the flap lever on the STEM module of the STECS to flaps. Some aircraft have more than those three positions, though, so I'd like to make the inputs momentary so it's not overriding other inputs. The problem is that the switch is only two button inputs physically. To add the middle position, it's necessary to use Boolean logic as described here: https://www.youtube.com/watch?v=kp3_KrRq4Tk

It's also possible to make inputs momentary instead of permanent, as described here: viewtopic.php?f=27&t=6164. There are potentially some other button options like toggle switches, but they all seem to have the same problem of interfering with the Boolean logic to create the third position. I've also tried sending an input to another physical button and making that physical button a generator, but that gives some different inconsistent results.

I suspect that there's some way to work around that with careful Boolean logic, but that's beyond my meager programming skills. Has anyone done anything like this? Thanks!

Kreutzberg
Posts: 20
Joined: Fri Dec 25, 2020 3:39
Has thanked: 11 times
Been thanked: 2 times

Re: Making STECS/STEM Flap Switch Both 3 Position and Momentary/Temporary

Postby Kreutzberg » Sat Mar 09, 2024 2:47

I figured out how to do this. This thread discusses making buttons activate on press and release using the toggle function: viewtopic.php?f=27&t=7437

That mode has momentary action built in, so I just made the top and bottom buttons both toggles, with the releases pointing to the same virtual button (and disabled the Boolean). Works great!

ETA: I also found a Boolean logic way to do this (starting at 18:46): https://www.youtube.com/watch?v=rvK4ksUBbPU. This software really is powerful!


Return to “Manuals and Howtos”

Who is online

Users browsing this forum: No registered users and 82 guests