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
OmniAtlas
Posts: 40
Hello, I am attempting to motorize my Airbus TQ --

With Mobiflight is it possible to implement a working trim system?

I have been recommended to use a 19:1 DC gear motor with encoder support -- https://www.robotgear.com.au/Product.aspx/Details/4546-19-1-Metal-Gearmotor-37Dx68L-mm-with-64-CPR-Encoder

Will there be any issues implementing a trim + feedback loop system?

As you all know the airbus is usually autotrimmed, however manual trim must be set prior to take off, and if there is a degradation in systems (manual trim in flight).

Jeehell FMGS as you know can use FSUIPC offsets to set trim values.

Is this possible with Mobiflight?

Hardware wise I will also require an H-Bridge, and the Ardruino mega board? Any recommendations?

Thank you,

Ben
2017-05-12 13:16
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
I have not tried it yet. The other day someone shared that he was able to use an easy driver to drive the stepper.
But the encoder, I don't know really how it is intended to work.
Can you provide more details?
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2017-05-13 05:54
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
i just try to find infos about.... Not easy :O
If i understand it correct this motor use a inverted logic like Mobiflight !

MF normaly scan a Offset .... If this is change we send this changes via the 4 Datalines ( High Low code) to the ULN2003 and this power up the Motor to the correct direction and position (steps)

Here i think it´s reversed..... the Motor got only 2 Power Lines... One for Clockwise, one for Counterclockwise.
BUT Additional the Motor include a Encoder that export data while turning. ( And we can Readout this data)

So.... Basic Logic ( i think)
If the scaned Offset Value increase for example we need to powerup the Motor with the correct Clock/Counterclock line.... Then it turns and same time the internal Encoder send Data to Mobiflight.... With this Data Mobiflight need to know when the target Position is reached and then need to stop powering the Motor !

My result.... This is NOT posible with current System logic....
First we can´t get a internal Variable so we need to write the Encoder Input to a custom Offset and read it again for calculating.... to much delay maby for a precesion controlling!
Second we get no way to say " PinX is high until Offset A -AND- Offset B gets same Value.
Third we can´t define if a Value is increase or decrease since last Data Read. But this is needed to define direction of turning !

So... With a new function in Mobiflight maby posible.... but NOT with a self designed config based on current availibel Mobiflight tools i think !
.
Good Luck !
2017-05-14 16:43
Avatar
ant.laranjeira
Posts: 1
Hello, did you try it?
2021-12-30 01:24
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

This is a 4 Year Old Topic..... While time goes by a lot of things have changed!!

MF now be able to compare 2 ( or more) configs together within one calculation....
MF can store Values in Mem Registers....

YES. This should be possible right now !
Good Luck !
2021-12-30 17:41
icon