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
ec-cts
From: Pozuelo de Alarcon, Spain
Posts: 79
Hello friends:

I have already finished my radio panel project for the cessna 172.

Now I want to implement a general control of operation, so that the radio does not turn on or work if the master switch avionics and the main switch battery are not activated.

I've seen that if I remove the power to the radio, and then put it back, mobiflight does not recognize anything.

The solution is to create a precondition for all the inputs and outputs referenced to the master switch avionics and the main switch battery and it works correctly.

The problem is that on the radio I also have an LCD display that since the computer is turned on is showing the welcome message of mobiflight, and I want to get it off completely while the master switch avionics and the main switch battery are not ON and Assuming that Mobiflight recognizes it.

Can someone tell me how to deactivate the backlight and initial message of LCD display and activate it when the master switch avionics and the main switch battery are ON (through a precondition would be good solution)?


EDIT:
When we close the Mobiflight app, even the lcd display continues with the last information displayed. But the LCD should not show anything until the information to be displayed when we execute MB is activated, and when we close MB it will clean the screen to stop showing the latest data.

The I2C protocol, through the LiquidCrystal library it has functions that it would be interesting to be able to manage through Mobiflight. Has two functions called "backlight () - noBacklight ()" that serve to turn off the backlight, and two other functions "display () - noDisplay ()" to show or not show anything on the screen, but in the MB tutorials over the LCD Display I have not seen that these functions can be handled from MB, or it is not planned can handle them.

That could be one way of the solution handled with a precondition?


Regards

Carlos (ec-cts)
[Last edited by ec-cts, 2017-12-30 11:24]
2017-12-29 22:54
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

AT FIRST:
Please note we observe a Bug in Mobiflight 7.4 with LCD Displays and Preconditions..... At the moment the Placeholder seem to be not saved correctly on some system if a Precondition is in the LCD Display Config !


***********
About your Request....

Here we talk about 2 things.....

1. Blanking ( And/Or Disable backlight) while Mobiflight is running .
Here your right.... Maby this is possible with a implement of this commands.... But then Sebastian must rework the hole system.
Not shure if he looking forward to do that. But thn it should be possible.

Alternate can be a relais controlled by a LED Output Config.
The Realis must CUT the electrical line that power the LCD backlight.... NOT the Main Power cause Mobiflight must initialize the IC2 Module....
So if we just disable the backlight the Data is shown already but not realy vissible.
BUT: I Not try out this already.... You must find out "where" the Backlight Power line is located and if it´s possible to set a relais between it.

**
2. Blank after Mobiflight Connecter is closed.
Here i see a bigger Problem..... All Devices get there commands from the connector. If you "close" it then there is no programm that can tell the devices what the should do.
Maby it´s easy to change the PRE State before you start Mobiflight..... so Sebastian can define it should not show "Mobiflight Rocks".... maby he can say it should be Blank with no Backlight.
BUT: I think it´s not possible to Set it back to Blank AFTER you close Mobyflight !

*****
Summary....
I Think the First part is usefull.... Blanking with precondition ( for example if battery is Off) should be possible in the future.
The second thing with Display status without Mobiflight is running is not important i think.
It´s no matter what the Display show Before or After you run your Simulator.... Its only important it works realistic and perfect aslong Sim (Mobiflight) is running !
Good Luck !
2017-12-30 11:48
icon