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!
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.
Index > MobiFlight General > Can I use "Mounted Panels & Components" from OC witch an Arduino module?
Hi, everyone,
I already asked a question about OC some time ago, but today in a different direction.
OC offers three different types of panels. 1. Panels & Components for mount 2. Mounted Panels & Components 3. Modules plug&play
My understanding is: "Panels & Components for mount": The switches etc. can be connected to an Arduino module and used with Mobiflight as normal.
"Mounted Panels & Components" ("ADF panel fully assembled and ready to connect to your favorite electronic I/O board or directly to socket board with ribbon cable and IDC connectors."): I can connect these components to an Arduino module and use it normally with Mobiflight.
"Modules plug&play": here it is not possible, the modules have to be rewired in order to then connect the switches etc. to an Arduino module.
Hi
I not own OC Panels.... So my awnser is more "global" and maybe not 100% correct !
Basically the "Plug&Play" make no sense.... P&P means the "controller" is still included.... Means they pretty sure work with there own "OC Cards" instead of a Arduino.
So you can not use MF and have to work with SIOC ( The OC used Programming language)
The other 2 "options" should be indentical.... You just mount it yourself or not.
As you say.... there is no controller included and you can connect ( via IDC Ribbon) your own Boards.
I will say.... They can work with MF.... BUT there are some limitations i can only awnser if i see the shematics and datasheets.
For example Mobiflight support only a MAX7219 Controller for 7Seg.
If OC use a different controller here then its no mater we can wire the Controller to a Arduino ourself.... Cause MF not support that Controller.
OR
Hispapanels for example work with Common Anode LED´s.
Means if you use there panels you have to solder the LED "inverted" and you need to swap the 5V and GRD Pins on the Board.... Cause MF work with common Cathode LED Logic.
In easy words.....
If the Components are just on a Acryl Panel and are wired by hand.... You can pretty sure use them.
If there is a PCB included, then some parts can get problematic.... But in most cases we can find a way to handle them.
So for example the 7Seg.... If OC use a different controller then you need to wire the Displays by hand and not use the PCB Connections.
ich hoffe es ist okay, wenn ich jetzt auf Deutsch antworte. Ich verstehe von den technischen Dingen ja vieles schon nicht in meiner Muttersprache. :-D
Das klingt dann ja schon mal nicht so schlecht. In meiner naiven Art danach ich mir nämlich: Kaufe ich mir die "Mounted Panels & Components" und schließe sie an ein Arduino-Board an.
"I can only awnser if i see the shematics and datasheets" - lese ich das richtig, wenn ich da ein "Angebot" rauslese?
Als Beispiel habe ich hier mal ein ADF-Panel. Das hat ja fast alles, was es so gibt. Schalter, LED und 7-Segment-Anzeigen.
Hier das sind die "normalen" LEDs:
D3D11 = output 42, indicator ADF frec. active.
D3D12 = output 43, indicator ANT frec. active.
D3D13 = output 44, indicator ANT frec. standby.
D3D14 = output 45, indicator ADF frec. standby
So wie ich das sehe, hat jede Ziffer und das Dezimaltrennzeichen jeweils ein PIN.
Output 13 = Decimal dot.
D3S1 = output 32, Digit 1 frequency active.
D3S2 = output 33, Digit 2 frequency active.
D3S3 = output 34, Digit 3 frequency active.
D3S4 = output 35, Digit 4 frequency active.
D3S5 = output 36, Digit 5 frequency active.
D3S6 = output 37, Digit 1 frequency standby.
D3S7 = output 38, Digit 2 frequency standby
D3D1 = output 39, Digit 3 frequency standby.
D3D2 = output 40, Digit 4 frequency standby.
D3D3 = output 41, Digit 5 frequency standby.
Das klingt für mich, dass da kein MAX7219-Controller verbaut ist.
Nun ist die Frage, ob man da einen MAX7219 Controller "zwischenbauen" kann. Also auf den Controller setzt man ja die 7-Segment-Anzeige. Und entsprechen diese PINs auf den 7-Segment-Anzeichen den o.g. PINs? Ich glaube nicht, oder?
Deutsch ist kein Problem. Da wir beide Deutsch sprechen würde sich hier sogar eine DISCORD Voice Seasson anbieten.
Warum lange schreiben wenn man es auch bereden kann.
Auf den ersten Blick ist das etwas verwirrend.... Liegt auch daran das ich nicht weis wie OC hier genau arbeitet.
Laut ihren FAQ verwenden sie Common Cathode bei den 7SEG.... Das ist schon mal ein gutes Zeichen !
*****
Zum Thema LED....
D3D11...D14 are On when take value 0 and are
off when take value 1.
Hört sich nach dem gleichen Problem wie bei Hispapanels an....
Man müsste nun mit einen Multimeter durchmessen. Womöglich geht es die LED zu drehen.... Wenn nicht bräuchte man in MF schlicht eine Logik die 0 für 1 und 1 für 0 macht.... Das wäre kein Problem.
Was mich dabei etwas verwirrt....
GND3 = COMMON or GND for inputs.
Wenn dieser nur für INPUT ist..... Wo haben wir dann einen Common GRD bzw einen Common 5V für die Outputs ( Ich vermute zweiterer sollte es sein).....
Leider ist hier das Manual sehr dürftig! Wer OC kennt versteht das vermutlich sofort.... Ich als Außenstehender denke mir da fehlt 1 Pin in der Liste.
****
Selbes Problem bei den 7SEG.
Rein Logisch brauchen wir für das dortige Displaysystem exakt 18 Pins ....
10x Cathoden ( für die 10 diggits) + 7x Seg Lines + 1x DecimalPoint.
Genau wie du habe ich nur 11 Gefunden.... Es fehlen die 7x Segment Anodes.
ABER ...
D3D4...D10 = No actives.
Also genau 7 Pins die laut Datasheet "no actives" bezeichnet sind.... Und genau 7 Pins fehlen uns in der Logik die aber da sein "müssten" denn ohne sie kann nach meiner Meinung das Display nicht arbeiten ! Man könnte also mal ins Blaue vermuten das genau DAS die pins sind !
********
Auf gut Deutsch.... Ich denke auf den ersten blick sieht es gut aus.... "vermutlich" ist es so wie wir es brauchen, aber das Datenblatt sagt es uns nicht 100%.
ALSO brauchen wir einen User der Erfahrung damit hat.... Am besten das Teil in die hand nimmt und mit nen Multimeter die Pins checkt ( oder es selber schon gebaut hat).
Und hier ist Discord der beste Platz..... Kontaktiere mich dort.... Suchen wir uns einen der sich auskennt und reden darüber.!
Good Luck !
2022-02-07 14:50
Index > MobiFlight General > Can I use "Mounted Panels & Components" from OC witch an Arduino module?