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
Reensel
From: Berlin - EDDB, Germany
Posts: 26
Hi all,

I managed to control my Flap Gauge (2 Servo for L & R) via Mobiflight and ProSim via FSUIPC Offset - so far so good. BUT when I plug in the USB in my PC and the Card get Power through USB my Servos move automatically a bit forward. When I unplugg the card and plug it in again they move further a bit and so on and so on ...

I am a bit confused why this happen when I plug in the Card (same as when I shut down the PC and turn in it - same scenario)

When I start P3D and of course MobiFlight the Flap Gauge will turn back to UP like normal.

Does anybody know how to solve this bug?

Thanks in advance

Best
René
2019-06-04 17:39
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi René,

this is not a bug. Neither MobiFlight nor flight simulator.
Servos are a "loan" from the model and specially designed for it. In model making they are addressed by radio. This radio signal causes the servos to work meticulously and not to jerk. It would now go too far to get lost in technical details.
This "borrowing" from model making causes one or the other servo twitches at the moment of switching. Not all servos do that, but it does happen. This leads to the effect mentioned by you, which does not fail at least with this servo.
When MobiFlight is started, the servo receives a defined signal and returns to its original position.
You can prevent this only by unlocking your servos in the signal path only when MobiFlight is started. You can do this, for example install a separate switch for the relays. Only when MobiFlight is running, you press this switch and thus the servos are unlocked and receive the defined signal. This will prevent you from advancing while MobiFlight is not running.
You can also try many relays until you find one that does not twitch and then use it. It will be after Murphy but exactly the last one that you try ;)
Grüße,
Stephan (Time: UTC+2)
2019-06-04 18:22
Avatar
Reensel
From: Berlin - EDDB, Germany
Posts: 26
Hey und Danke.

Ok verstanden :) Das Phänomen wird man halt nicht lösen können außer ganz kompliziert :D

Wie ist denn die Lösung mit einem Stepper Motor? Schon mal gemacht mit Mobiflight?
2019-06-07 11:38
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi René,

bei mir habe ich damit eine Flap-Anzege einer PMDG B737 realisiert. Läuft sehr smotth und absolut ruckelfrei, egal in welchem Zustand sich die Schaltung/der MEGA befindet.
Ich benutze einen 28BYJ-48 mit dem Treiber ULN2003. Aber Obacht. Gibt es für 5 und 12V. Auf 5V achten!
Infos dazu findest du hier im Forum indem du nach "stepper ULN2993" suchst. Da gibt's einige Anwendungen.
Bitte nicht mehr als einen Stepper pro MEGA betreiben, weil der Ruhestrom bereits knapp 200mA beträgt.

Ein kleines Tutorial findest du hier: https://www.mobiflight.com/forum/topic/806.html

Basiert zwar nur auf einem Zeiger, aber für einen 2. solltest du das auch ohne Tutorial hinbekommen ;)
Grüße,
Stephan (Time: UTC+2)
2019-06-07 13:48
Avatar
Reensel
From: Berlin - EDDB, Germany
Posts: 26
Top Danke dir für die Info :)

Mit den Stepper etc kenn ich mich gut aus. Habe damit meinen Wet Compass realisert.
2019-06-10 19:46
icon