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
ftnet305
Posts: 4
I bought 3 panels but these came without any documentation. It is using an Arduino Mega (switch panel and landing gear) and an Uno (flaps). Until now I could not get the Uno do update it´s firmware so I started with the Mega.

I went through all pins and pressed all buttons to find out the pin-binding. I was able to identify many switches and all lights. Yet I could not find the associated pins for 3 inputs (landing gear, pitot heat and cabin power).

Is there a way to show the pinnumber when I press a button / toggle a switch? Thanks for any help.

Next problem will be to find out the bindings for potentiometers....
2022-03-21 23:32
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Are you sure the Panels are compatibel with Mobiflight ???

the best idea is request for a diagramm or a data sheet to the producers of these Panels.
And i wish you good luck that they use Hardware that is compatible with MF Logics !

About Questions.

1. If a Board is not detected maybe the used Firmware is blocking MF.
You must delete it by hand ( EEPROM Clear Sketch) .... then MF can see it !

2. If you NOT have a data sheet the only way to find out the Pin Setting is testing out with a multimeter or a optical research of every single wire !

3. You can only "detect" a Input ( by press button) if this button is assigned in Mobiflight correctly in the Device Settings.
So you need to KNOW yourself on what PIn what DEVICE is used..... E.g if Pin 5 of Mega A is a Button or a LED.
THEN you can use our Logging and Test Modes..... But for sure. You can NOT press a Button and see something in MF without create at first a button Device with the correct Pin !

I know these are Bad news.... But how should MF support a Panel without the correct settings.

NOTE: If these Panels are sold to you as " Mobiflight Compatible" then request for the *.mfmc files from your vendor !
Good Luck !
2022-03-22 01:11
Avatar
Whiteknuckle157
From: Bayern - Bibertal, Germany
Posts: 50
Hi,

this is what I would do: Since it is possible but complicated to save and restore current code of an Arduino I would not mess with the Uno directly. In Order to check which inputs are used I would replace the Uno temporarily with a clean UNO and run a simple sketch which polls all inputs and sends the results to the serial monitor.

cheers
Volker
2022-03-22 15:28
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Thanks Volker.

After i write this i also think about the fact, that the UNO maybe include already "Firmware" from a other system.
But in case he like to work with Mobiflight this was no important factor to me.

So result.... If you Flash Mobiflight ( Whatever by hand or automaticly) the former Data on that Arduinos is gone !!!
Good Luck !
2022-03-22 16:43
Avatar
ftnet305
Posts: 4
Thank you everybody. I now did it the hard way and again worked myself through all pins while pressing all buttons and made notes about the associated pins. I got almost everything except 3 potentiometers which I could only identify paritally. Maybe there is a problem with the wiring itself.
2022-03-22 20:45
icon