#Parking Brake release X-Plane

1 messages · Page 1 of 1 (latest)

devout anchor
#

Is there a way to reset the parking brake with a servo and then return the servo to its home position?

obtuse whale
#

Yes you can…
It’s a little bit tricky but you can make a timer and tell the servo to go to any position after x amount of time…

devout anchor
#

That sounds good :-). But how can I set a timer in mobiflight? Thanks

obtuse whale
#

You need to set an output as a blinker (with 1 and 0, 500ms on and 500 ms off) and in display tap set an input to a mobiflight var and in “on press” tap “set value” just put $+1…
Then set another output reading this mobiflight var (this var will be now your timer) and you can reset it with an event to go back to 0…

devout anchor
#

Thank you very much for the solution. I'll try to program this. Hopefully, I can do it.

neon nebula
#

this is a proof of concept mfproj file.

#

It follows the same approach as described by Guiche76

#

except it counts backwards to 0

#

There are three outputs: blinker, timer and Servo

#

One input bound to a button called Trigger

#

Servo will go to a value of 1 when the button is pressed and 2.5 seconds later go back to 0.

#

Trigger just sets the timer MF variable to 5

#

Blinker just blinks from 0 to 1 every half second.

#

A servo controlled by the Servo output should behave as you wanted.

#

Counting backwards does not require resetting the variable to zero.

devout anchor
#

It works, many thanks