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
prato_1994
Posts: 6
Hi! Great software, it do possible build a home cockpir with adduino. But i have a proble with sg90 servo 180 degrees, i set everything like tutorial says but the servo dont work, i use the pmdg 737 offsets, i already tried with apu egt gauge (offset 648C) and duct press gauge (offset 65D8) but dont work. You can say me how configure the number of bytes, float, int, etc? also min and max value? i already tried a lot of values but dont work. I tested the servo and it works fine. Thanks in advance.
2016-02-29 03:07
Avatar
FSlikerXY
From: REUTL @ STR, Germany
Posts: 57
You could try to set it like this


Does it work?
2016-02-29 16:13
Avatar
prato_1994
Posts: 6
Thanks for the help. But the servo spin with out control when the fsuipc value change for example when i connect or disconnect the air unit. I don know what values put in the display page (min value, max value). I think that this dont work because of this values (min and max) are wrong. Thanks
2016-02-29 20:09
Avatar
prato_1994
Posts: 6
Hi! Any moderator to answer my question?
2016-03-04 02:53
Avatar
Mpe737
From: EDDH, Germany
Posts: 58
Supporter
Dear Prato,

unfortunately it is hard to understand what kind of problem you are facing. Furthermore I have no experience with the offsets you mentioned above, but nevertheless may be I can help you. If I understand you right the servo is working fine within the test window. Correct? But it does not show the behaviour you expect when connecting MF to FSX, correct?
What do you mean exactly with "the servo is spinning around"? Mobiflight cannot handle decimal value output of FSUIPC values. In this case you would have to use the multiply-function. Maybe this is the problem? Could you state some FSUIPC value outputs of your offsets? Maybe this will help to identify the problem....
Best wishes
Michael
2016-03-04 19:55
Avatar
prato_1994
Posts: 6
Thanks. Correct when i test the servo works fine but when i connect with fsuipc and for example the apu egt increase the servo goes crazy. if i use the settings posted here before fsuipc values are from 0 to approximately 2000000000 and strangely when the gauge in the sim increase to your maximum value the fsuipc value showed in mobiflight connector is -2133300000 or similar NEGATIVE value
2016-03-04 23:16
Avatar
Mpe737
From: EDDH, Germany
Posts: 58
Supporter
Dear Prato,
I just made a little test with your offsets. They are working well and the problem must be within your configuration, assuming that the servo by itself is working fine:

APU Temp (648C)
Float 4
Multiplizier 1
The range of the offset is between 0 an 1000.
Min wert: 0
Max Wert: 1000
When using the MF Testfunction you should set the Gauge/servo showing "10" on Max value.
To calibrate your gauge showing "0" when the APU is off, means the offsset value is "0", use the "Vergleich-function". For example:
Wende Vergleich an
<= 50
dann setze 50
You have to find out the best value which fits the best way to your gauge by yourself .
There could be one more effect: Maybe output values do not fit by 100% to your gauge. In this case use the interpolation-function of MF. But this should be the next step when everything else is working fine.

Duct Pressure (65D8)
Float 4
Multiplizier 1000
(This is necessary because the FSUIPC Values are decimal Values and MF cannot handle them)
The range of the offset is between 0 and X (X is the max fsuipc value * 1000).
Min wert: 0
Max Wert: x*1000
I just checked that when the 737 was on ground and the fsuipc value was dancing around 38,xxxxx and 39,yyyyyy. In this case the "Ausgabewert" -> output value will be 38xxx,x to 39yyy,y. Find out the max value of this gauge multiply it by 1000 and put the value into the "Max Wert" without decimal value. I am not sure whether it is so easy as I am not familar with this gauge and there are two needles build into this gauge. You will have to find out the range of this offset value by yourself. But having done that the configuration is the same as described above for the APU Temp.

Hopefully that will help you. Good luck!
Michael
2016-03-05 10:13
Avatar
prato_1994
Posts: 6
Thank so much for the help i will try it when i comeback to my home in a few days. Thanks!
2016-03-05 13:24
Avatar
prato_1994
Posts: 6
Thanks Thanks!! Works awesome :):) now i will try with flaps gauge
2016-03-11 19:46
Avatar
TarsoSousa
From: SBNT
Posts: 46
Hi to all, i'm having similar trouble with the falps gauge can you help me and provide some simlar to above data for this gauges, i apreciate if any help comes.

Thanks!
2016-10-10 19:50
icon