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
FRANK62
Posts: 20
Hello everyone,
I am building a reduced overhead 737 with mega arduino boards and I have to order the pcbs with leds to build the annunciators.
Since the company already manufactures them with leds and resistance included, do you know if this can create problems on the functioning?
I am a beginner in electronics.
Best regards
2021-04-15 08:21
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Yes this can occure in problems !
Two possible issue Spots !
Important is the logic behind.

1: Mobiflight work with a One Pin = One Device Logic...... So every LED is located to it´s own Pin !

Basicly there exist 2 Systems here..... Some manifactur work same way..... Means the LED are on the PCB..... And finaly there is a big Connector ( Mostly for Flat wires) that have a line for each LED.... So you just set a Flatwire Connector to this port and you got many many single Output Lines that can be connected to a MEGA.
The other System is a Matrix or Multiplexer Logic.... Means there is a Chip/Controller on the PCB and all LED Lines go to it..... Finaly there is a IO Interface on that controller that must be wired to the Controller ( like a Mega) .
Here we would send just a adress like " Please Change status of LED that is adressed "00001000" or so. Thats NOT possible with MF. We not support Multiplexer or Matrix Systems.

So.... Get sure the PCB work with a "Single Wire for each LED" System. Else MF is not compatible.
You can see this on the Shematic of the PCB (datasheet) or by ask the manifactur !

****

2: Mobiflight work with a Common Cathode System for the LED.
Means all Cathodes from LEDs are lined to a GRD Pin on the Mega...... The Anodes are lined specific to the single Pins you like to use for controlling the LED.
If Function is ON the Pin on Mega support 5V to the LED..... If Function is OFF it is Ground.... so no power is send to LED.

Some PCB Manifacturs ( Like Hispapanels) work with Common Anode..... Means inverted.
In case LED´s work only in one direction we not can simply swap the 5V and GRD wire.
Here exist a workarounds
If the PCB is still finished we must change the value of all Output Configs reversed.... Means MF send OFF if it should be ON or send ON if it should be OFF.


So.... Check if LED System is Common Cathode to have no problems..... If Anode then calculate with some more work to build it. But it should be possible in both situations !
Good Luck !
2021-04-15 13:58
Avatar
FRANK62
Posts: 20
Thank you very much
2021-04-15 22:00
Avatar
ismail3434
Posts: 9
https://oshwlab.com/jkatz098/737-annun
2021-04-27 01:28
icon