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
JeffThrottle
Posts: 1
Hello

I have configured a Mega 2560 R3 into a Mobiflight board and used the Servo tutorial to set up a test servo to motorize a throttle quadrant. My Mobiflight version is 7.4.0 and the Arduino IDE version is 1.8.5. The servo is a MG995 Tower Pro. I am using the FSUIPC Offsets 088C and 0924 (output for Throttle 1 & 2). On the display tab, when the settings are Min 0, Max 255 and the Test button is pressed, the servo moves its full range. When the Stop button is pressed it moves back its full range. The full range for the throttles, according to FSUIPC is -4096 to 16384. When these values are placed into the Min Max values, the servo doesn't work.
2018-01-22 02:33
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

At first please check if your AddOn ( if you use one) is working with that offsets....

simply use this two configs and not use the Servo for device.... ( No device selected) ....
Now start Sim and work with the Throttle..... In Manual Mode and by Autothrottle.

Please find out how the Offset workes ( I not do a autothrottle till now.... so i get no direct experience)

*****
If Offset is ok and logical maby your problem is the negative Value in the Servo setting ( Not shure if this is possible....
Maby you can tryout the follow....
Use TRANSFORM Enable and say $+4096
For Servo Value you use MIN:0 MAX 20480 ( You simply add the 4096 here, too for MIn and Max)
Now Servo Value is alway positiv..... Maby this already helps!

Please reply experience !
Good Luck !
2018-01-22 06:42
Avatar
decioapn
Posts: 9
I am beggining to work on a autothrottle quadrant for my PMDG 737 and I indeed was succesfully on getting the levers moving accordling. However I am not being able to do the opposite: mannually move the levers, once the servos I am using lock on their current position.
I've tried using a stepper motor instead, but the result was the same.
My questions are:
1) should I use a servo or a stepper motor?
2) is there a way to put the servo or stepper motor in a 'neutral' mode (maybe powering it off)?
3) is there an specific model of servo or steper motor that allows to be mannualy moved from its current position?

Thank you.

Decio
2018-02-25 05:39
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
A Motor axis can not controlled manualy while its powered cause it always try to turn back in that case.

Thats why we talk about this in lots of different topics in the past.....
In a Real B737 it is possible to "overdrive" the Throttle.... You can controll it by hand whatever the AT is ON..... In that case the Motor will not work against you.....
In the Simulator this is difficult.

A solution is to disconnect Autopilot always if you like to controll throttle Manualy..... With a relais you can cutoff electirc power of Servo to make it moveable,
Then you can use only a Servo ! A Stepper miss Zero point Position after you cutoff power !

Professional Cockpitbuilders do this with hall sensors or photocell .... They use coupling systems for example.... So the Motor can get temporary physical offline.
But in that Case the Motor not know the Throttle Position.... Thtas why you need a indicator like the sensors!

Final Problem then is.... You need a logic that tell the motor it should use this sensor information to recalibrate..... and this is not possible with Mobiflight.

So for a 100% Real situation you need own Code i think (Maby in combination with Mobiflight or complete external).
A improvisional solution should be possible with mobiflight like i said above .
Good Luck !
2018-02-26 22:35
Avatar
decioapn
Posts: 9
Hi, Pizman!

Thank you for your very detailed explanation. It is much more clear for me now.
Cutting the power off with a relay sounds a good idea.
I'll check it out.

Decio
2018-03-01 03:44
icon