Hello friends:
I have finished with the complete project of Radio Panel for Cessna 172 totally made with Mobiflight.
Easy configuration and pleasant and fantastic result. Very good support in the forum, especially by Pizman82, StephanHo and Sebastian.
In general, everything works correctly, except when: I run/stop simulation in configuration mode without closing the application. There, sometimes it does not reset the displays of 7 segments correctly, in a somewhat random way. But if I close the application completely and run it again, it works correctly as long as it does not stop/run the simulation.
But that only happens while you configure and program your configuration, therefore it does not have the slightest importance, because once the configuration are finished and autorun MB everything works correctly, as expected. Perfect.
However, I have a problem, that I have more than 15 days without being able to fix and that after reviewing all the hardware, and everything is correct, I can not find an explanation, but it could be an erratic conduct of MB or an error mine in the hardware/configuration that I can not find.
I am trying to implement a more real conduct of the Radio Panel.
I want that when the master battery or avionics switch is OFF, the radio is OFF as in reality (really in MB it does not show anything in the displays, LEDs and lcd display is enough).
I started with the 8 outputs corresponding to the Comm and Nav frequencies, to implement a shutdown control.
I have created new 8 BLANK outputs for each of the 8 frequencies, and also those of the two battery and avionics master switches (as preconditions use).
I have followed examples that have been put on the forum by StephanHo and other gurus.
And it works erratically. I can not find an explanation for the behavior.
I thought it could be a problem of power, in the power of USB ports were not enough for the consumption of amps to serve the entire radio.
I have used a self-powered USB hub of up to 5A, but with the same result.
I have made a video with explanations, where you can see the normal behavior and the anomalous behavior when I try to use the preconditions to show or not certain data in displays.
http://www.ec-cts.com/images/ERROR.mov
I also put a link to the .MFMC configurations of the two arduino, as well as the MCC configuration (the mcc file is too long to put it here).
http://www.ec-cts.com/images/Arduino-MB-01.mfmc
http://www.ec-cts.com/images/Arduino-MB-02.mfmc
http://www.ec-cts.com/images/RadioPanelCessna172Version9.mcc
Can you tell me what I'm doing wrong?
Thank you in advance for your help.
Regards
Carlos (ec-cts)