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
lucasmrduarte
Posts: 3
Hello to everyone! First of all, I'd like to thank all Mobiflight Team due to their great job on enabling everyone to have their own home cockpit.

I've already made some parts to work on my project, like a LCD display, pots, encoder, dual encoders and so on, but now I am facing a problem on the first time trying to make a 7 segment display to work.

What is happening is that I can't make it to show the desired value on the display, like a COM, NAV or ADF frequency.

I'll post a video showing what is going on exactly.

https://youtube.com/shorts/0tx6kyAVCuc?si=QkS1eE-4SjatIeWI

Also, I don't know if my 7seg board is compatible with MF and I'd be glad if someone could confirm that to me.

Thanks in advance!! Happy flights!
2023-09-24 07:20
Avatar
XPRoberto
From: Hungary
Posts: 65
Hi,
MAX7219 tubes are compatible with MF.
However these are much more sensitive components than switches.encoders and LEDs.
Therefore it needs very stable connection (wireing, soldering) and external +5V power, since Arduino can not give enough power to it.
I fight with similar problem :(
----------------------------------------------------------------
Do you know that you can simplify: if($=1,0,1) ?
Use simply: 1-$ :)
2023-09-24 16:33
Avatar
lucasmrduarte
Posts: 3
iconXPRoberto:

Hi,
MAX7219 tubes are compatible with MF.
However these are much more sensitive components than switches.encoders and LEDs.
Therefore it needs very stable connection (wireing, soldering) and external +5V power, since Arduino can not give enough power to it.
I fight with similar problem :(



Hi! Thank you for the answer.

I took in consideration your explanation about connection and put 9v battery on the barrel jack but gave me the same results, unfortunately.

I did a research on the internet and also from the seller of that component and it seems that my 7seg is not compatible with MF due to the fact that the one that I have is a TM1637, so it won't work... :/ just like Stephan explained on this link: https://www.mobiflight.com/forum/topic/7627.html

I'll look for a original MAX7219 though. :thumbup:
2023-09-25 19:33
Avatar
XPRoberto
From: Hungary
Posts: 65
Hi,
Indeed Max7219 is the proper choice.
You mentioned that you gave 9V to the barrel jack.
You can do this but not sure that it can feed with +5V all your 7 segments. In more complex cockpits external +5V is used for feeding the displays. It is important to connect the GND of the external power to the GND of Arduino.
Maybe others can confirm this?
----------------------------------------------------------------
Do you know that you can simplify: if($=1,0,1) ?
Use simply: 1-$ :)
2023-10-21 19:58
Avatar
Datc82
Posts: 1
Hello, greetings to all and thanks for sharing solutions. I have a similar problem when configuring the heading on the 7-segment display, and that is that in the simulator it shows heading 330, but on the 7-segment display it shows 345.7680664. Apart from the decimals there is also a difference of 15 degrees with respect to the other.

I know there is a formula for it but I don't know how to get it. Could someone help me please.
2023-12-06 04:52
Avatar
XPRoberto
From: Hungary
Posts: 65
Hi all,
Regarding Max7219 please check this also:
https://www.737diysim.com/copy-of-wiring-led-s-to-arduino-1
@lucasmrduarte: your problem is different.
First: which sim do you use?
From where do you get the value for HDG?
What data do you see in MF output page?
I assume in MF you also see 345 and the problem lies not in the MAX7219 tube irself, but in the data that you feed.
----------------------------------------------------------------
Do you know that you can simplify: if($=1,0,1) ?
Use simply: 1-$ :)
2023-12-06 14:04
icon