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! 

Posts: 4

I plan to build a radio panel with:
- Two 7-segment displays with 5 digits each: 3 digits for the hundreds and 2 digits for the decimals, plus dot. The first set to be used as ACTIVE and the second as STANDBY. (3 arduino outputs)
- A rotary encoder with a push-button to adjust the hundreds and the decimals. The swap between hundreds and decimals is done using the push-button at the top (toggle). (3 arduino inputs)
- A push button to toggle between ACTIVE and STANDBY (1 arduino input)
- A 6 position rotary switch to select the radio to be displayed (OFF, COM1, COM2, NAV1, NAV2, ADF). (5 or 6 arduino inputs)
- 5 LEDs to show which radio has been selected (5 arduino outputs).

Looking at MobiFlight, I couldn't find a way to implement this. Can you tell me if this is possible to do using the application?
If not, would it be possible to 'edit' the arduino source code so this implementation is possible?

Thank you for your help and for this brilliant Mobiflight project.
2018-08-30 17:46
From: ETSI, Germany
Posts: 4989
This is Possible.... Whatever it will be a "little" :blush: work to create the Config !

At first you must know if you have a AddOn that allow you this in a much more comfortable way ...
Support Data of Standby/Active Display CLEAR on 2 Offsets ...... So our Display simply show this data and the AddOn will support Com1 or Com2 or others in case what is active !

MOST of AddOns NOT support this ! so you have to build it yourself.... And here you get a biger project !

You must work with MANY of Preconditions here.

Step 1: Your Rotary Switch will write a Custom Offset ( Range 66C0 ) to a value 0-5 . There you devine The "Mode"
Step 2: Your Status LED need 1 Config Each and Work Only if this Custom Offset have its corespondending number ( Not a problem thats easy)
Step 3: You must create a logic for the Push Button to Swap between 100/Dezimal . This is also possible. Need a additional Custom Offset and advanced knwoledge.... But it work!

Step 4: And here come the Tricky Part....
For every Mode you need a Individual Set of Configurations for : 1x Swap Button , 2x Encoder (Hundrets and decimal) 2x Display Readout.
So you need finaly 5*5 = 25 Configs And all Confgs must be controlled via Precondition that it work ONLY if our "Custom Mode Offset = x" .

(Maby a bit difficult is the Encoder cause it have 2 Preconditions.... One for the Mode and one for the Decimal/Hundrets part )

Summary... This will work pretty shure. But prepare for a longer periode of time to set the Configs. You should have some experience to do this yourself without problems!
Good Luck !
2018-08-31 16:16