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
WilmarDoReboco
Posts: 5
Hi guys, i'm new in this mobiflight software, i just followed the instructions to make the switch-parking brake, but it did not worked. The Tx Led in arduino UNO blinks when i change the state of the switch, but nothing happens in the simulator.
I hope you guys can help me out!!
2017-04-02 09:51
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi Wilmar,

the tutorial shows the MEGA 2560 not the UNO - so you have to define other pins to use with Mobiflight. The principle is the same.
Do not forget after defining the pin you control the switch to save the config to the UNO.
Grüße,
Stephan (Time: UTC+2)
2017-04-02 17:20
Avatar
WilmarDoReboco
Posts: 5
Stephan, i have selected the digital pin 12 in the arduino UNO but still doesn't work
2017-04-02 22:09
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi Wilmar,

seems so that there are still problems with the UNO. It's an experimental phase until now.
I also tried to load the firmware on an UNO bit it doesn't work - MF always recognizes a MEGA 2560. The RedBoard from Sparkfun was not detected.

Is it possible for you to use a MEGA 2560 V3? This one always works fine.
Grüße,
Stephan (Time: UTC+2)
2017-04-03 07:32
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Additionally I found this Topic :

https://www.mobiflight.com/forum/message/4259.html
Grüße,
Stephan (Time: UTC+2)
2017-04-03 07:57
Avatar
WilmarDoReboco
Posts: 5
Okay, i see that UNO still in test stage , altough my problem is not with the firmware update, as far as i can see, just the button recogniton seems to be the issue.
By the way, the LED project works fine, anyway, i will wait until the UNO works better, thank you for your help!!!
2017-04-03 08:20
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Did you define the switch for the parkingbrake as input or output?
Grüße,
Stephan (Time: UTC+2)
2017-04-03 11:19
Avatar
WilmarDoReboco
Posts: 5
Input
2017-04-03 11:37
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
If you use the Test Button, is the button working an the led went on?
While the test-function already would not work then you have a definition-error in your assignment.
Please check it step by step.
If it still won't work, delete all definitions concerning the button in MF and the setup. After that define another pin and define a new device in the setup and take this one for the button.
Save both the setup and the MF-Definitions and rewrite the setup to the UNO. Then try the run-button in MF.
If you did all the right way and it won't work, Im at the end with my latin...
Grüße,
Stephan (Time: UTC+2)
2017-04-03 11:56
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi Guys....

Sorry i was at work the hole weekend and see thread today....

Do i understnad right.... Without LED the switch not worked.... with LED it work fine ???


https://www.mobiflight.com/forum/topic/666.html

Bug is known and will be fixed in next release !
Good Luck !
2017-04-03 23:17
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi Pizman,

no, he uses an UNO with the parking-brake-LED. This works fiine.
After defining additionally a switch (using the tutorial) as parking-brake switch, only the switch will not work.
I think that has nothing to do with the bug you told about
Grüße,
Stephan (Time: UTC+2)
2017-04-03 23:26
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
hhhmmmm

He don´t say he use the switch "additional" .
He can do the Switch tutorial without using a led ! ( This is written in the tutorial, too )

So if he try to set only a switch without a RUNNING Output at the moment this won´t work.

By the way... This Output bug is in software itself.... This is existing whatever a uno or a Mega is used.


Maby the Uno is problematic here too.... But a simply test with a output maby is the solution allready for his problem !

So @ Wilmar... Please test this if possible.
Good Luck !
2017-04-03 23:40
Avatar
WilmarDoReboco
Posts: 5
Pizman, i ran the switch tutorial along with the LED, it doesn't work, only the LED turns on when i activate the Parkingbrake on the keyboard, the switch appears to send a signal to the board cause the Tx LED blinks but nothing happens in the FSX.
2017-04-03 23:53
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi
Again sorry for long responding time... Get real trouble at work at the moment.
If you use the LED in config same time the linked issue can NOT be the reason.

I see Sebastian get a new version live now... Please try at first to update Mobilfight... Maby the issue is already fixed....

If NOT:

Maby a UNO Problem... Sorry i can´t test this... I get only MEGA´s at the moment!
OR a issue like Stephan says...

The Tx LED is only a signe that the Mega send a command..... The problem is NOT the FSX.... The Problem here is... Does the command reach Mobiflight ??
Please check as Stephan said.... Do you use the right Pin in Uno AND Mobiflight Device Setting Menu ( Must be the same number)
Do you use as Device "Button" in the Device Menu ?
Do you use the correct device in the Config ?

For a test: Please enable "Logging" in Mobiflight... Type DEBUG.
So there is a 3 Line Display below the Config Section...... If you push youre Button/Switch ... WHAT is written there ??
Is there a Info that Mobiflight Recive button PRESS and RELEASE ??

thanks for youre help to reproduce this !
Good Luck !
2017-04-08 01:22
icon