MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
planesteff@gmail.com
Posts: 2
Hi All
I pretty new to Mobiflight ( this Year)
Thanks for such an incredible app, I'm learning it as I go along.
Ive assigned the 737diy mcp already and it's incredible.
My question is: where do assign my potentiometer axises( not a word i'm sure)
I have the input on the arduino reading values, but I don't know where to assign these values. i've seen that there are flap presets (0, 1,2, 5 etc)
do I use these and create a distinct assignment for each flap notch?
any help pointing me in the right direction would be greatly appreciated!

Using MSFS2020 and PMDG in case it matters

Regards
Steff Gruenwald
2023-01-11 19:48
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi
Welcome to Mobiflight !

We got multiple Input ways here.... Cause there are also lots of ways to build it!

In real Aircrafts and also in High Professional Homecockpits the Flaps lever (B737) is NOT a Poti.... Its a mechanical Build with a Springloaded Pull Handle, a Frame that limit your moving ways ( To be threated to set some positions before be able to set another one) and finally single "Buttons" in the Nodges of the Flaps Position.
See it like a row of Buttons where always the Button your handle stay at the moment is pushed by the latching handle down.
For THIS system the Input from PMDG is perfect.... Cause we like to SET the Flaps exactly to the specific Position.

But sure. Also a lot of People use a Poti here.
The Most easy way to do this is via Sim Controlls. Cause you can set a Joystick Axis already in Sim (FS2020 Controlls) to the Flaps.
That means your Poti must be a HID Controller ( Not a Mobiflight Device) or you could use "VJOY" to execute a Mobiflight Poti into a Virtual Joystick.

Another way is to use Mobiflight but directly set the Sim Flaps instead of the PMDG Events.
Please check "Generic" Events (Via Simconnect WASM) . There is a "Flaps Set" Variable you can use.

As you expect. Maybe a deeper formula is needed cause your Flaps are not Linear.... The Moving of Handle between 0 and 15 is maybe the same like from 15 to 40
So we can not simply send 0-100% cause the areas are different.

Means if using a Axis Input not work as expected then we need to split the Axis into "areas" and send for each Area the SET Commands we talk above (buttons).
OR we send a sepcific Value like 5%, 12%, 18 % and so on for the position we are ( Interpolation)

*************
At the End.... I recommend to join our Discord and ask this in the PMDG Sub Channel ..... https://discord.gg/99vHbK7
There advanced users (who build already the flaps) can guide you!
Good Luck !
2023-01-16 15:28
icon