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
ismail3434
Posts: 9
hi All ,
i was make Motorized 737 Throttle Quadrant by 3D printed as the link ;
https://www.thingiverse.com/thing:3203158
and my plan is the use saitek throttle's electronic card for analog input ( can anyone advice me any different way ? )
i want to connect all wiring to Mega 2560 but i dont know how to can analog input by arduino
and my other problem is the stepper configuration
can anyone share code configuration of stepper for throttle lever (Left or Right) B737_?
thanks



2019-08-12 12:59
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Most users do this with a LeoBodnar Board ( A Joystick controller with analog and digital Inputs for Axis and Buttons)
Alternate is to use a Arduino ( NOT Mega.... Micro or LEO) and load a sketch that transform the Arduino into a HID Joystick Controller (Google for that)

About Stepper.....
Here i get no experience..... But i think its basicly not possible.... a Stepper Motor is powered all time and must be still powerd to "remember" the Zero Point .
For a Throttle you will "move" the Motor by Hand aslong no Autopilot/AT is active .... If you move a powered motor you will destroy him ( if its basicly possible afterall)
Here most users work with SERVO instead of Stepper...... Cause you can simply "unpower" a Servo by a relais (aslong AT is not active and you fly by hand) .... If you Power the Servo its no problem if its not in center position cause the servo "know" its current position at all time and need no controller that is powerd all time.
Finaly as i know Servos ( good expensive bigger ones) get not broke if you move them by hand....
Not know if Steppers can be moved by hand basicly !
Good Luck !
2019-08-12 14:29
Avatar
Kristian27
Posts: 12
Supporter
I have been trying to motorize my throttle as well, it was working perfectly with these offsets when the axis wasn't assigned in the sim. however, after assigning the axis and turning on the autothrottle the servo moves the throttles a bit forward causing the throttle in the sim to the same eventually it reaches full thrust when it was supposed to stay at 0..
does anyone have any workaround for this?
https://imgur.com/a/eHmZSCM
[Last edited by Kristian27, 2020-06-01 19:40]
2020-06-01 19:29
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

This can have 2 reasons.....

1. Wrong Config Logic.

In your Video i not see exactly what happen..... Why does the servo move the throttle here..... Your on Ground i think. So also Virtual throttle is in idle. It makes no sense why servo move here.
This look like a wrong system..... Like your servo is inverted so it read it should show idle but "means" idle is on the other side.

2. Overwrite
If Servo controll the throttle its in theory verry important to "disable" the Input.... For example virtual Throttle is moved by virtual AT from 30% to Full ( toga at start) .
In the same moment the servo start moving then the potentiometer ( Axis) also make a Input..... So it say for example Throttle is in 50% at the moment.
This will now set the Virtual throttle form currently FULL back to 50% cause the "input" always overdrive the Sim.

To solve this normaly we got a Offset that define if Autothrottle is working ( St if Inputs should not be executed) .

Solution: Check if problem is simply a issue in the config.... If not you hould think about a disable of the Input temporary via FSUIPC.
Good Luck !
2020-06-01 22:59
Avatar
Kristian27
Posts: 12
Supporter
that might be the case, I guess there is no offset for when the A/T is only armed or in hold mode to disable the servos?
the way I have it now is quite simple.

IF Autothrottle switch = 1
Then switch Relays on
and move servo to sim throttle position

I am using the offsets for throttle 1 and 2 positions.
2020-06-02 10:13
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
There are offsets.... What addOn do you use ?
Good Luck !
2020-06-02 11:49
Avatar
Kristian27
Posts: 12
Supporter
I am using the PMDG 737 NGXu
2020-06-02 12:14
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
I not Work with a motorised throttle but this offsets can be interesting !.....

From NGXu
6C6E 1 BYTE AFS_AutothrottleServosConnected True if the autothrottle system is driving the thrust levers

My theory.....
If you use a relais that "cut" the Potentiometer Line from Your Throttle to the Joystick Controller...... And the relais is controlled by THAT Offset.

Means.... If Autothrottle is active ( and your Motor run the throttle) then this Relais "cut" the Potentiometer..... Means no signals are send to the Joystick controller.
If AT is OFF the relais shift and Potti of throttle getting "alive" and controll the input again.


Whatever..... I think already your problem is basicly a wrong Setting of the Motor. It makes no sense why it move here. the other problem with Input override can also happen but from your video i think this is not the main problem !

By the way.....

Disbale in PMDG Options ( FMC) the AT Override mode or test if "hold" "Always" and "off" react to your problem !
Good Luck !
2020-06-02 12:43
Avatar
Kristian27
Posts: 12
Supporter
Thank you so much! I did not know about this offset.
after adding this offset to the relays the autothrottle works exactly as it should :D
2020-06-02 16:15
icon