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
jojo86
Posts: 4
Hi,
I did a GNS530 for FS2020.
When I press my push buttons (just press and release immediately), mobiflight debug show the key with repeat values :

Exemple :
Debug 02/11/2022 16:30:58 Config found for Button: OBS (PRESS)@SN-cb7-b45
Debug 02/11/2022 16:30:58 Config found for Button: OBS (RELEASE)@SN-cb7-b45
Debug 02/11/2022 16:30:58 Config found for Button: OBS (PRESS)@SN-cb7-b45
Debug 02/11/2022 16:30:58 Config found for Button: OBS (RELEASE)@SN-cb7-b45
Debug 02/11/2022 16:30:58 Config found for Button: OBS (PRESS)@SN-cb7-b45
Debug 02/11/2022 16:30:58 Config found for Button: OBS (RELEASE)@SN-cb7-b45

Instead of :
Debug 02/11/2022 16:30:58 Config found for Button: OBS (PRESS)@SN-cb7-b45
Debug 02/11/2022 16:30:58 Config found for Button: OBS (RELEASE)@SN-cb7-b45

How can I solve this problem ?
Thank you very much.
2022-11-28 11:04
Avatar
slammer88
From: LTBJ, Turkey
Posts: 160
By connecting a small resistor between the input and the button/switch like 150ohm or something.
2022-12-05 14:09
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Is this Button on Pin 13 of a Arduino Mega Mini ?
Good Luck !
2022-12-07 19:25
Avatar
jojo86
Posts: 4
iconslammer88:

By connecting a small resistor between the input and the button/switch like 150ohm or something.


Ok, but where do I connect it ?
Between Wich pin ?
2023-03-06 15:57
Avatar
jojo86
Posts: 4
iconpizman82:

Is this Button on Pin 13 of a Arduino Mega Mini ?



Hi, it's for all my buttons...
Maybe I need to add pull up resistor ? Or pull down ?
Do you have a plan ?
2023-03-06 15:57
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
iconjojo86:

iconpizman82:

Is this Button on Pin 13 of a Arduino Mega Mini ?



Hi, it's for all my buttons...



Thats strange.

There can be sometimes a Button with a flickering connection. But "all my buttons" ??

At first i would do some research. Maybe there is a issue on the Arduino Firmware if this happens always the same way ( 3 times Press and 3 times release).
Is this "effect" always the same ?

If its real Bouncing then it would be not straight.... Sometimes no bounce sometimes 1,2 or 3. But not always 3.
Good Luck !
2023-03-06 17:13
icon