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
stefanh
Posts: 5
good day from south Africa.
I have 2 small problems.
I will try explain in short and give as much info as possible.
1st. I can start p3dv4 also mobiflight. both up2date.
once I close mobiflight. I have to 1st open the Arduino program. flush my Arduino mega with empty sketch. then only mobiflight will open again. I have to do that every time I want to open mobiflight.

2nd small problem is with my 7seg display. I use the max7219 tube with a few duel rotary encoders with push button. not sure what the make is but its got a name on them propwash encoder. its a 8 pin in total.
the 7 seg works 100%. the encoder outer knob works 100% just like it should. also the press button works 100% like it should. but. the small inner knob has a encoder bounce.
1st click goes up by 2.
2nd click goes up by 3.
and so on. in both directions.
I have the outer knob type set on 2 detents per cycle (00.11) and the sim reeds it 100% correct.
I have set the inner knob to all 5 different types. and it does have any effect on the encoder.
this is the only type of duel encoders that a electronics company in south Africa imported from the USA.
I have also tested it by swopping the encoder wires around to check if the encoder is at fault. but same effect. now the outer knob steps up in 2 then 3 then 2 then 3 and so on. and the inner knob works 100%
does that now mean that your out most wonderful program that I love using mobiflight. can not work with a duel encoder ?
is there anything that I can maybe try to fix this ? any help please.
I am using wind 10. p3dv4. pmdg737 and also a2a c182 with mobiflight. and all is latest and up to date.
thank you.
regards
stefan
2020-08-04 17:48
Avatar
StephanHo
Moderator
From: EDDG, Germany
Posts: 1867
Supporter
Hi stefah,

welcome to MobiFlight!

At the moment here is an issue in the software recognizing the Mega modules. So the issue is not on you. Please try instead of erasing the modules with an empty sketch in MF he menü -> HELP -> CHECK UPDATES.
You can also try Meu -> EXTRAS -> SETTINGS -> MobiFlight Modules and flash the firmware again on every module. This is only temporary. Sebastian is working on an update.

Regarding the double Encoder from Propwash: I have the same ones on duty and they all work fine (5 pieces). Also your test shows, that it is not the encoder who fails.
That can be an error in the wiring, the connections or the assignment of pins, wrong EventID (number rotator) or wrong parameter. Use 8192 for on Left and 16384 for on Right. This are the mouse events for wheel down/up from the PMDG list.
Grüße,
Stephan (Time: UTC+2)
2020-08-04 20:41
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

You did a good testing to exclude the Encoder itself as the issue spot..... The logical next step would be to confirm your result from "the other side"

You say the outer encoder work 100% like it should. The inner do not.
Then you swap the wires.... And you say now the Outer is problematic and the inner is working fine.

Logical cosequence..... You should swap the configs to check if the Config is the problem OR the Hardware (Mega e.g.)

Simply set in the config that worked fine ( as you said for the outer funtion at beginning) NOW the other Encoder Device ( inner Encoder) .....
Same time use for the second Config ( that was problematic) the Outer Encoder now.

Press Run and Test.... Now the Outer Encoder should controll the function from the inner one and reversed the inner should controll the outer function.

if NOW the Outer is buggy and the inner is work fine then simply your CONFIG is the problem !


EDIT:
A Dual Encoder is for Mobiflight the same like 2 single Encoders...... Cause all Dual Encoders i ever see are nothing else like 2 indipendent Encoders ( just build together) .
So you not be scared.... Mobiflight have no problem with DualEncoders cause technical they not exist.... They are just 2 Singles !
Good Luck !
2020-08-04 22:49
Avatar
stefanh
Posts: 5
good evening.
just want to say thank you for the quick fix to get mobiflight loaded. the check update works for me but with 1st start up. once I go out of mobiflight and try to get back in. mobiflight does not start up. then I have to use Arduino to flush it.
I am so glad that mobiflight is ok with duel encoders. cause I do not want to use 2 separate encoders to do 1 thing. so I do have hope that this problem is just a temp. and that it will work 100%
regarding my encoders. no luck yet. I have now also tested the encoders by swapping the pin numbers. like the outer knob witch is the 3 digits on the left of the decimal works 100%. only thing now is up is down and down is up, so I have now done the same with the inner knob witch is the 2 digits on the right of the decimal they now also go up is down and down is up. but jumps 2 then 3 then 2 then 3. so they go from say 40 to 37 then 35 then 32 then 30 then 27 and so on. I have used the com 1 and 2. also nave 1 and 2. all the same. I have no idea how to use the mouse events. I have tried using the pmdg event id but could not get anything to work. so I tried just event id. and I got thing to happen. sorry that I have not added this info.
I used event id 65639 param 0 COM_RADIO_FRACT_INC on left
and event id 65638 param 0 COM_RADIO_FRACT_DEC on right
is that why I got the same result with my radio panel in my c182 ? is it cause I'm using event id ?
I will try look now to try understand the mouse wheel thing.

regards
stefan
2020-08-05 19:25
Avatar
StephanHo
Moderator
From: EDDG, Germany
Posts: 1867
Supporter
For what aircraft do you want to use your encoders? PMDG B737NGX or C182?
Grüße,
Stephan (Time: UTC+2)
2020-08-05 22:27
Avatar
stefanh
Posts: 5
Hi there. I have a dual use setup. I want to use my encoders with my pmdg 737 and also in my c182 on p3dv4. But if I can. I would like any 1 of the 2 to work. Both would be a bonus. But if I have to choose only 1. It will have to be pmdg 737. Just some more info. Late last night I tested the encoders with other inputs. Like the mcp on both 737 and c182. And encoders work perfect
Hope you can help me.
Regards.
Stefan.
2020-08-06 11:29
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi Stefan

I think i figure out your problem with the Encoders.... there is no problem ! you just missunderstand the system !

iconstefanh:


the outer knob witch is the 3 digits on the left of the decimal works 100%.
the inner knob witch is the 2 digits on the right of the decimal jumps 2 then 3 then 2 then 3. so they go from say 40 to 37 then 35 then 32 then 30 then 27 and so on.
I have used the com 1 and 2. also nave 1 and 2. all the same.



This is no Bug.... This is a feature. You will see if you use the virtual Encoder in the Sim the same happen !

Frequencys in P3Dv4 work in the 25 Hz Range.
For Example..... 121,500 --> 121,525 -->121,550 --> 121,575 --->121,600
If you use only a 5 Digit Display instead of 6 then it shows .... 121,50 --> 121,52 -->121,55 --> 121,57 --->121,60
You see.... it increase by 3 and 2 in sequence.... Last digit is always 0, 2, 5 or 7 .
And thats normal and also looks so in every Real Aircraft in this world (who use the 25 Hz table)

************************

About your Dual Cockpit Question.....
This is no problem.

You can simply build TWO (or more) MCC Files.... So you can customize your Cockpit to each AddOn Aircraft.
If you use PMDG you open the MCC file you create for that..... If you use C182 you open the other one.

What´s NOT possible is to combine both in one global file.... Cuase e.g. the standard C182 use other Events and other Output Offsets.
Good Luck !
2020-08-06 12:10
Avatar
stefanh
Posts: 5
Halo again. Thank you so much for your quick response. I really did not now that. So what you saying is that no frequency in the radio panel on com or nav ever use 1 3 4 6 8 or 9 and only 0 2 5 and 7 ? That is very interesting. Thank you for helping me with this.

And yes. I do understand that I can not mix my 737 and 182 files in 1 configuration. Each must have it's own.

I now have a last quick question about the event I'd or offsets for a c182. Where will I get a list like that ? Or do I just use the per set events that's in mobiflight now at the moment ?

Once again. Thank you for your advice and assistance. I really do appreciate it.

Regards. And greetings to my mom that stays in Hamburg.

Stefan.
2020-08-06 13:05
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hopefully your mom also build cockpits and read this forum :-)

About your questions.....

Frequency....
Yes and no...
In the 25khz System there exist only 2 5 7 0 ..... In the modern 8.33khz System there are more steps between.
BUT only P3Dv5 and the new FS2020 use this system. ( and real world also)

About the list....
If your C182 is a "stock aircraft or work like a stock then you can use the standard eventID or Offset lists ( both are included in your FSUIPC installation folder as PDF files)
If the C182 is a AddOn and work different.... Then you need a own list... like for the PMDG.
Check the forums of you AddOn company if there exist lists. And remember.... Not every AddOn is possible to use with homecockpits. Some simply not allow this.
Good Luck !
2020-08-06 13:37
Avatar
stefanh
Posts: 5
Hi there. Thank you for the info and help. My radio panel worrks 100% like the one in the pmdg. I was just to stupid to do the test with the virtual knob.

I am using the a2a 182. And I have tried a few things last night. Some displays, knobs and buttons. With the event I'd. And wow they all work 100%. There was not 1 test I did and could not make it work. So i am glad for that.

I have 1 last question.

Is there any way that I can take a configuration of 1 arduino and move it to another ? Like 1 arduino I have I made a efis panel. And works well. Took some time. Now with the 7 seg displays im using a arduino for just 6 wires. I want to put them with the 1st arduino. But dont want to re do the configuration. Can I not merge the 2 files some how like with note pad++ or something. Or do I just have to start fresh and re do all so I have it all together.

Kind regards.

Stefan
2020-08-07 06:24
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
The Configuration is NOT bind to the Mega.

At first you must understand there exist TWO Configuraitons....

The Device Settings are done ON the Mega.... And also saved there. ( If you make a backup its saved on your Computer as a mfmc file)
The other thing is the Mobiflight Confioguration itself ( mcc file) . This include all configs.

The MCC file can Handle unlimmited Megas. So you not need to create new files if you use a new mega. ( Make also no sense cause you can Run Mobiflight only one time on a computer..... So with multiple Megas ALL must included in one config file !


About combine.
There is NO function for this.... But as you already said..... With a Text editor you can copy/paste the configs from the second MCC file and include it in the first one.
BUT NOTE..... Get sure you use the 100% correct syntax and structure. Just one Space on wrong spot or a missing line and the file is Broke !

Summary:
If there are only 2 Diplays in Config 2 i would simply create this 2 things again in the other file. Create that little config takes less then 2 minutes. Rework the files takes much longer if you not get experience with code ! So the text editor is more a solution if you combine 2 files with hundrets of Configs !
Good Luck !
2020-08-07 07:15
icon