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
Clamb
Posts: 2
Hallo zusammen,
ich habe hier einen Airspeed Indicator, der als input eine spannung von 0-5V aufnimmt. 0V = 0 kts; 5V = 210kts.
Ich suche jetzt die möglichkeit, das mit einem Arduino an den FS zu binden. Mit Arduinos an sich hab ich schon recht viel gearbeitet, aber noch nicht mit MobiFlight. Ich hab gesehen dass es eine Servo-funktion gibt, was ja quasi auch nur eine Spannung ausgibt, jedoch braucht man dafür anscheinend feste positionen.

Da der input nicht linear verläuft, bräuchte man einige Kalibrierungspunkte, die fix sind und dazwischen wird der zu ausgebende Wert interpoliert.
Gibt es da eine möglichkeit das mit MobiFlight zu machen?
Ich hab instgesamt knapp 30 Anzeigen die so angesteuert werden sollen.

Schonmal Danke,
Axel
2015-12-02 12:34
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
Ich bin tatsächlich gerade dran, das in MobiFlight einzubauen. Es wird möglich sein mehrere Punkte anzugeben zwischen denen dann linear interpoliert wird.

Ich glaube das wird dir helfen.

Besser wäre aber das PWM Signal direkt an einem PIN zu beeinflussen, dann geht es wirklich von 0V bis 5V.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2015-12-02 13:19
Avatar
Clamb
Posts: 2
Danke für die schnelle Antowort. Das hört sich gut an.
Was genau meinst du direkt an einem PIN zu beeinflussen? Meinst du das PWM signal nutzen, um eine 5V quelle zu regeln? z.B. mit einem Optokoppler?
2015-12-02 21:21
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
iconClamb:

Meinst du das PWM signal nutzen, um eine 5V quelle zu regeln?


Ja das meine ich. Der Servo hat ja 10ms - 20ms Signale und erreicht dann gemittelt auch bei Vollausschlag nicht die 5V.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2015-12-03 17:53
icon