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
slammer88
From: LTBJ, Turkey
Posts: 160
Hello there,

Will we be able to use Analog Pin's as well as the other Digital Pin's in a near future ? I'm building a MCP and for that, i'll need 60 Inputs, which is limited on Mega as 52, and no, i can not use a second board because it'll be a commercial product. For me, it's not important but for the public, more than one Usb output wouldn't be a good idea in any case.

Or if applicable, matrix connection is a solution as well, but i've been searching the forum for it but couldn't find any useful information.

What's the logic behind it, is it working like say 3+6 are pressed simultaneously or something? And If it's possible, how can i apply it ?
[Last edited by slammer88, 2017-10-18 18:55]
2017-10-18 18:30
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi,

if you need more than one board you can use a little 2, 3, 4, 5 up to 10 Connections-USB-Hub and your "blackbox" has only one USB-Cable to the PC.
These Hubs are smaller than a package of Cigarettes and this space should be in every housing.

So far I know is the analog support not planned just like the matrix-support. Details should come from Sebastian.

The only possible use for a matrix would be the keyboard of the FMC. But I know users here who built it in a conventional kind. So why not?
You will hardly manage to press 2 buttons at the same time. one of the buttons will always be pressed earlier, the other will be pressed downwards, if only by a 10000th second. The result would be two numbers on the display.
Grüße,
Stephan (Time: UTC+2)
2017-10-18 19:11
Avatar
slammer88
From: LTBJ, Turkey
Posts: 160
On a second look, i saw this on the FAQ.

That's theoretically 256 7 segment digits. 4 Modules connceted directly to the MobiFlight Board supporting a chain of 8 modules with 8 digits each. 4 x 8 chained modules x 8 digits = 256 digits. Currently the firmware limits to these 4 which use 12 pins at the Arduino Mega board. For each module you can create a chained setup of 8 modules in a row. Each module is able to drive 8 digits.

In my MCP project, there are 4 3 digit and 2 6 digit LED modules which is not supported by the firmware.
Can someone explain me what's chain moduling, how does it work and can i get different offset values from them ?
Say i chained 4 of 3 digit modules, and i want them to show NAV1, HDG, IAS and NAV2 values consecutively. How do i do that ?
2017-10-18 19:13
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
hi slammer,

every combination from 1 to 8 digits with each MAX7219-Board is possible also in a daisy chain with 8 MAX-Modules.
Read the tutorial for the 7 segment display. If you understand that, all your questions are answered. For better understanding you should built the test setup.
Grüße,
Stephan (Time: UTC+2)
2017-10-18 19:25
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hiho

Stephan already say most things.....

I see you request this ( 52+ Inputs by 1 Board on other topic, too ) ....

I say it multiple times.... Sebastian got the last word and can decide if this will come in the future..... But at the moment he see no need for this.... As we say so often... Simply connect more arduninos !

****
About your Question.... YES Thats exact the Problem.... if you build for example a 8 x8 Matrix and there are only Push Buttons Momentary..... Then it´s no problem !
But if you use Switches ( Non Momentary) THEN you got a Ghoast Key problematic !... After 2 Switches are on there can occure in a situation that the next used Switch will Set 2 different Functions.... Cause tha Matrix now not see What switch of the 2 Possible is pushed..... That can be prevent with Diodes... And with a Software Logic.

Please google for "Ghostkey Matrix Arduino"... there you find informations !

****

Last Note....
iconQuote:

i can not use a second board because it'll be a commercial product


Mobiflight is a Freeware uncomercial Software.... But Copyright is own by Sebastian.....
I not know if he will allow that.... But basicly you can NOT produce a Comercial Product with using Mobiflight! .... You can recommend the Users to use Mobiflight with your panel.... But you pretty shure not allowed to deliver your Product with a already installed Arduino and Mobiflight Firmware and maby a Config Mcc Include on a CD.

Please ask Sebastian for that !
Good Luck !
2017-10-18 19:42
Avatar
slammer88
From: LTBJ, Turkey
Posts: 160
iconpizman82:

Hiho

Stephan already say most things.....

I see you request this ( 52+ Inputs by 1 Board on other topic, too ) ....

I say it multiple times.... Sebastian got the last word and can decide if this will come in the future..... But at the moment he see no need for this.... As we say so often... Simply connect more arduninos !

****
About your Question.... YES Thats exact the Problem.... if you build for example a 8 x8 Matrix and there are only Push Buttons Momentary..... Then it´s no problem !
But if you use Switches ( Non Momentary) THEN you got a Ghoast Key problematic !... After 2 Switches are on there can occure in a situation that the next used Switch will Set 2 different Functions.... Cause tha Matrix now not see What switch of the 2 Possible is pushed..... That can be prevent with Diodes... And with a Software Logic.

Please google for "Ghostkey Matrix Arduino"... there you find informations !

****

Last Note....

iconQuote:

i can not use a second board because it'll be a commercial product


Mobiflight is a Freeware uncomercial Software.... But Copyright is own by Sebastian.....
I not know if he will allow that.... But basicly you can NOT produce a Comercial Product with using Mobiflight! .... You can recommend the Users to use Mobiflight with your panel.... But you pretty shure not allowed to deliver your Product with a already installed Arduino and Mobiflight Firmware and maby a Config Mcc Include on a CD.

Please ask Sebastian for that !



Hey Pizman,

In the last 2 hours, i've found answers for my questions, thanks :) So, no longer need for Analog inputs for now ;)

And i've talked with Sebastian about this issue before via e-mail, and he said nothing is wrong about it. I'll just tell the users of my panels to use MobiFlight, i will neither get or any money from their use or something else BY ANY MEANS, nor i'll provide any software to them, no worries about that. Yet again, all rights will be reserved by the Sebastian. Downloads will be made from this web-site.

And by commercial, i mean i'll make and sell people who wants me to do, i won't be selling them via web-site or something, it's more of a boutique thing.
[Last edited by slammer88, 2017-10-18 23:32]
2017-10-18 22:59
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
No Problem my friend.... For me thats no matter.... i not own Mobiflight ... I Only do the support here.

i just wrote this to prevent you of hundret hours of planing and working and then Sebastian say STOP finaly and all is gone then.
If he know about that and you talk to him everything is fine.

By the way.... I think THAT is a good idea....
Lots of People like cockpits but they not got good skiils in home improvment and not have machines like Lasercutters and CnC Machines.
BUT they not want to pay 1000$+ for comercial Products like OpenCockpits or Hispanpannels.

Maby in the future we can create a comunity ( Still exist at FlightX.NET) that help together.... We not need to get rich.... But maby somebody like to produce for example Boeing737 MCP Panels with his own machine and sold them to other people only for Materialprice + some Dollar for his work..... But much cheaper like the "BigPlayers".
Good Luck !
2017-10-19 14:49
Avatar
slammer88
From: LTBJ, Turkey
Posts: 160
iconpizman82:

No Problem my friend.... For me thats no matter.... i not own Mobiflight ... I Only do the support here.

i just wrote this to prevent you of hundret hours of planing and working and then Sebastian say STOP finaly and all is gone then.
If he know about that and you talk to him everything is fine.

By the way.... I think THAT is a good idea....
Lots of People like cockpits but they not got good skiils in home improvment and not have machines like Lasercutters and CnC Machines.
BUT they not want to pay 1000$+ for comercial Products like OpenCockpits or Hispanpannels.

Maby in the future we can create a comunity ( Still exist at FlightX.NET) that help together.... We not need to get rich.... But maby somebody like to produce for example Boeing737 MCP Panels with his own machine and sold them to other people only for Materialprice + some Dollar for his work..... But much cheaper like the "BigPlayers".



Thanks for your kind words, Pizman . I'll be sharing my Facebook page with the projects i finish as soon as i complete designing them :)
2017-10-20 21:18
Avatar
Ka8SimGlider
Posts: 8
Hello, on this website (https://www.thingiverse.com/) there are templates for the 3D printer.
If you own a 3D printer, or someone with such a device knows, this is a good thing.
Just enter the search bar: "Boeing 737",
Always happy landings :)
2017-10-20 23:25
icon