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
crazypilot_uk
Posts: 30
After using mobiflight for some months without any issues this morning I started my computer and mobiflight seen my Arduino board as a new one, asked if wanted to upload firmware but doesnt seem to work, I've checked the board in Arduino software and I can upload sketches ok, any ideas ?
2018-06-22 17:35
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Use the EEPROM/eeprom_clear sketch from the arduino-IDE and then reload the MF-Firmware and the Devices. Then the MEGA should do his work again as MF-Module.

Please report the result.
Grüße,
Stephan (Time: UTC+2)
2018-06-22 18:51
Avatar
crazypilot_uk
Posts: 30
Hi Sorry for the delay in getting back to you. So I used the EEPROM_clear and this worked fine, Mobiflight seen the board as a new board and uploaded the firmware I then browsed to my .mfmc and uploaded the file. This worked fine until I restarted Mobiflight and it asked to upload the mobiflight firmware only this time after the upload the modiflight icon in in configured modules is greyed out. :confused:
If I use the eeprom clear again and upload the new firmware again this seems to stay configured so I think it may be a problem with my mfmc file. Any ideas as to what might be the problem ? too many servo's/motors ? my mfmc file is below :

<?xml version="1.0" encoding="utf-8"?>
<Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ModuleName />
<PowerSavingTime>600</PowerSavingTime>
<Stepper Name="altimeter needle" Pin1="43" Pin2="44" Pin3="45" Pin4="46" BtnPin="5" />
<LedModule Name="Altitude Display" DinPin="23" ClsPin="26" ClkPin="25" Brightness="15" NumModules="1" />
<Encoder Name="altimeter encoder" PinLeft="2" PinRight="3" />
<Stepper Name="wet compass" Pin1="4" Pin2="5" Pin3="6" Pin4="7" BtnPin="5" />
<Stepper Name="asi" Pin1="8" Pin2="9" Pin3="10" Pin4="11" BtnPin="5" />
<Servo Name="attitude pitch" DataPin="12" />
<Servo Name="attitude roll" DataPin="13" />
<Stepper Name="heading indicator" Pin1="14" Pin2="15" Pin3="16" Pin4="17" BtnPin="5" />
<Encoder Name="hdg Encoder" PinLeft="18" PinRight="19" />
<Stepper Name="vor obi card" Pin1="20" Pin2="21" Pin3="22" Pin4="24" BtnPin="5" />
<Servo Name="ils needle" DataPin="27" />
<Servo Name="ils to from" DataPin="28" />
<Encoder Name="vor obs Encoder" PinLeft="29" PinRight="30" />
<Stepper Name="vsi" Pin1="31" Pin2="32" Pin3="33" Pin4="34" BtnPin="5" />
<Servo Name="tc bank" DataPin="35" />
<Servo Name="tc ball" DataPin="36" />
<Stepper Name="Stepper" Pin1="37" Pin2="38" Pin3="47" Pin4="48" BtnPin="5" />
<Output Name="low volt" Pin="49" />
<Stepper Name="rpm" Pin1="50" Pin2="51" Pin3="52" Pin4="53" BtnPin="5" />
</Config>
2018-06-30 11:42
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi Crazypilot_uk,

your mfmc file seems fine.

You use 8 steppers and 3 servos. Do you have an external power supply for these devices or do you operate them with the MEGA?

If you supply them with a separate power adapter that is rated for at least 5V, 1.8A current, that should be enough. Then the issue must be another.

Do you supply these devices with the MEGA, then I suspect that your operating voltage simply collapses. A stepper, once activated, needs approx. 180-200 mA current permanently !! (x 8 = 1.6A) plus the servos. A MEGA can not do that anymore.

I suspect that due to the collapsed power supply your MEGA can no longer function and therefore Mobiflight no longer recognizes him. As well as?

Please check your power supply and measure the voltage on the MEGA under load.

I look forward to your result.
Grüße,
Stephan (Time: UTC+2)
2018-06-30 12:20
Avatar
crazypilot_uk
Posts: 30
Hi StepanHo, yes I'm using a separate PSU to power each motor separately which has worked fine for the last few months. I'm at a bit loss with this one :-/
2018-06-30 17:36
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi,

can you exchange the MEGA, if possible one that has not been used yet? The neuralgic point in the MEGA is the EEPROM, that max. 10000 times can be written. Is only an idea.

Your file is fine, so it can basically be just a technical problem. Presumably, this is pizman who has a wider and deeper experience range than me. It is quite possible that he has more ideas.
Grüße,
Stephan (Time: UTC+2)
2018-06-30 18:38
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
Hello! I think this might be a timing issue, give the new 7.5 firmware a try and see if the problem still persists.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2018-07-15 19:31
icon