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
Ridgeandgable
Posts: 131
Hi guys

Just a quick question, Can mobiflight work with a Arduino Mega board running FMC/CDU controls?

I have a pcv board for a FMC, it was designed to use a 9x8 matrix keyboard but I've no idea how to program an Arduino chip for my own use, so I've now got a blank pcb (no connections just holes) to use as a placeholder and instead of using 17 pins to control how it should be, I'm just going to use 2 mega cards to run the 69 keys?
2019-10-28 16:35
Avatar
DocMoebiuz
Moderator
From: NW of KPWK, United States
Posts: 1516
Yes. Currently MobiFlight doesn’t support a key matrix.
You would have to connect all buttons individually to a pin. But two cards would do.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2019-10-28 18:21
Avatar
Ridgeandgable
Posts: 131
Perfect thanks

And mobi Can access all the FMC buttons? Can it do the Exec Led?

Is there an output for the screen display or would this be better to adjust a panel to create a dragable screen?
2019-10-28 20:26
Avatar
DocMoebiuz
Moderator
From: NW of KPWK, United States
Posts: 1516
The screen display would be typically connected via your graphics card or onboard hdmi/display port/vga.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2019-10-29 00:24
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
What is a "blank" PCB without connections ?

If you realy got a blank one then it possible..... You just need to wire the 2 Pins of each Button in a correct way.
BUT If you mean you use the original PCB ( with the printed lines for the matrix logic) and you just like to ignore the 17 Matrix Output Pins then this will not work.....
Cause your switches then be connected via the wires you solder on it and SAME TIME by the printed Lines.
Whatever you not use the 17 Pins..... The internal lines already "bridge" the collumns and lines of the Matrix.... So i think this occure in short circuits finaly.


******
About Display.

As Sebastian said.....
Most users set a VGA Screen there and connect it as a additional Monitor.
In PMDG you simply "undock" the FMC Display as a free window and you move it over your desktop to the other screen.
BUT
Its also possible to read the Data directly via FSUIPC..... Then you need a own Programm that use this data. Basicly this can be done with a original FMC Display or also with a VGA Screen again...... But now you not need to move the PMDG FMC Window...... Now you can create those windows by a own programm. Usefull if you plan to build this on a client Computer to reduce GPU Power on main PC and save FPS.
Just Note..... This i difficult and advanced ! Thats why 99% of users simply move the window and be happy.
Good Luck !
2019-10-29 09:49
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Grüße,
Stephan (Time: UTC+2)
2019-10-29 12:03
Avatar
herly
Posts: 67
Hello Sebastian,

I tried to program as Event id instructed, but when I push for example 1 the result become double 11. The event id I put 70193 with 1 for push and the same 70193 with 0 for release. Please help me to solve the problem. Thanks lot in advance...
2020-01-25 14:13
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi Herly.

Like all other PMDG Events we got the typical PMDG Logics.

Latching Switches work with Parameter for Positions like "0" for Left, "1" for Mid "2" for Right ...... Or 0= OFF 1= ON
Momentary Switches NOT know Status Parameters.... They work with MOUSE ACTIONS

So you did 2 mistakes.

1. You use a on release Command..... Not needed for momentary buttons
2. You use wrong Parameter..... Left Single is correct here..... 536870912
Good Luck !
2020-01-25 15:30
Avatar
herly
Posts: 67
Hallo Pizman,

Finally it works, thanks lot for your help..

Regards,
Herly
2020-01-26 17:30
icon