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
lorbak
Posts: 8
Good afternoon,
First of all I'd like to express my appreciation for this software. I'm totally a beginner and Mobiflight it's so easy to understand and use . Congratulations.

I'm working on making an overhead panel for b737 pmdg and after installing a lots of switches and leds I found my self in the need to add a second arduino .
So I added that and I start adding switches and leds light to the second platform as well ... everything seemed to be working perfectly...
My problem started when I tried to have both the arduino working at once it seems like mobiflight is managing only one platform at a time... am I missing something on the configuration?

Thanks
2017-10-13 12:00
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi.
The Number of Arduinos is not limited by Mobiflight.... And you can work with xxx Arduinos same time in one Configuration!


Normaly this should work !
With the information from above i not see what you have done.... So it´s difficult to find a issue.

Maby you can tell us more detailed what happend.....

- Do you install Mobiflight Firmware on Both Arduinos ?
- Do you upload the Devices on Both Arduinos ?
- Do you correct set the Devices of Arduino 2 in the new configs ?

WHAT is the exact Problem ?
Do you not find the 2. Arduino basicly in the Settings/Mobiflight Tab ?
Do you not "see" the Devices of 2. Arduino if you like to set a Device in the configs ? ?
Does it not work even you already set some Switches/LED on the second bord ?
WHAT Does not work on 2.nd Arduino.... everything or only the Outputs or only the Inputs ?

*********
Please give me more Information.... Then i´m pretty shure we can help you !
Good Luck !
2017-10-13 15:27
Avatar
lorbak
Posts: 8
Hi and thanks for your answer.

I did all the above and both the arduino are recognized by the system . I set lights and switches on both the unit without any problem but when I try to run them together is either one or the other .... thou if I go on extra - setting tabs it shows both the arduino. If I close the program and disocnnect one arduino when I restart mobiflight require some orphan unit assignment (not sure that's the proper wordings thou ) ...
2017-10-13 15:47
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi lorback,

welcome to MobiFlight!

It is fairly easy to work with a larger number of Arduinos (preferably MEGA because UNO is experimental)

Just connect your two MEGA modules to the USB hub. Now start MobiFlight.
As you have already described, you are using two modules.
If you now open Extras -> Settings and click on MobiFlight Modules, you will see all the modules, which are already supplied with the firmware. If you still see Arduino symbols, it indicates to you that these could be supplied with the firmware.

For your two active modules, you have already created devices and assigned to the respective boards. This can remain so.
Now comes basically your thinking error (which is actually no mistake).

If you leave this window with OK, you have only (still) the configuration lines of the module in your configuration, which was last loaded automatically. The configurations of the other module are missing.

The trick is the and pizman had already indicated this: You must enter the missing configurations NOW, so both for the 1st board AND the 2nd board. The respective assignment to the boards happens when you go to the button with the three points. Here, the configuration is assigned to the corresponding board, then the type, then the other required parameters, as you have done for the single board.

In fact, you assign all configurations to the devices you have defined for your boards with the inputs and outputs during mapping. Once you understand this step, you'll also be able to work with MF and multiple boards.

Then you have a file with the devices (the files that have the extension .mfmc - for every board) and a file that has the configuration for all devices (ending in .mcc - for all boards).

When MF starts, it reads the last loaded .mcc file and knows the corresponding names of the boards and their mfmc files. If you miss a board, because you have not connected it, it is displayed to you as an orphaned board.

If you still have problems with running several boards at the same time with MF or if it does not work as described, then simply sign up with a description as detailed as possible, which does not work.
Grüße,
Stephan (Time: UTC+2)
2017-10-13 16:51
Avatar
lorbak
Posts: 8
Problem solved thanks much for your help guys
2017-10-14 08:19
Avatar
Jakes
Posts: 4
I guys,
I have a similar problem, I have the first arduino connected to com3, then I added a second arduino to com4, both are recognised by mobi flight, both are mapped but only the first arduino act in msfs an the second not. What did I not do or what did I do wrong?
Please assist.
2022-12-03 07:19
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

The upper problem is not relevant anymore. Since that we have 20-30 new Patches :-)

Basically what you say make no sense.
FS2020 ( or other Sims) not see or talk to the Arduinos.
So its not a factor here.

If both Boards are detected and correctly set via MF ( Firmware is correct and board is shown in MF correct) then it will work.

Without see the setup and know what actions you do there i can not help directly.
Here a shared screen on Discord would be nice.

Alternate:
Figure out what happen. Enable the Logging. Check if e.g. buttons from 2nd Arduino are detected.
Swap Configs.... So use e.g. a Button that work fine in a Config that now work..... To find out if Config is the Problem or the Button itself.
Good Luck !
2022-12-07 19:24
icon