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
jtpurvis@aol.com
Posts: 5
Using SunFounder Mega, I have tried versions 7.9 and 8.0, in both cases configuring the settings, the LCD config is removed on restart.

I checked i2c communication on 2 lcds.
1 is on 0x27 and other is 0x3F

When I run a test on same board using Arduino sketch, they both work correctly.

HELP
2021-02-15 16:04
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

I not understand what you mean with " Config is removed on Restart" .
Do we talk about the DEVICE Setting or about a Output Config ?

Device Settings can normaly not be removed in any case. If there is a issue there must be a Error Message when you try to create them.... OR there is a killed Firmware in cae of a Error so you need to fully flash the board again. BUT it´s not possible (normaly) that a Device that was uploaded correctly is removed by itself.

First idea:

Confirm you UPLOAD the created Devices! . Press Ok is not enough. You must UPLOAD them and await the Confirmation "Upload sucessfull".
Also... Whatever not official Recommend. I would make a restart of the MEga after you Upload a Device before you like to use it !
Good Luck !
2021-02-16 07:17
Avatar
jtpurvis@aol.com
Posts: 5
Uploaded a video, of the issue.

Using settings I add the LCD, Upload Config (Success), Restart the device is gone

At one point pins 20 and 21 were used for Button Switch, is it possible this is related to the PinUp issue4

https://1drv.ms/u/s!AmbaS7GqeZNwgrM-_U09kzNxQe_Okg?e=ZdEPHX
2021-02-16 15:45
Avatar
jtpurvis@aol.com
Posts: 5
I resolved issue by switching LCD to a Mega 2560 board, vs the SunFounder Mega.
2021-02-16 21:03
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi again

Thanks for the perfect Video Documentation of the Problem.

So apollogy.... You request fully correct.... and i say thats not possible. BUT It is as you confirmed with your Video! Real Strange. Never see this before.

About your "Pin Question".
In theory the Pins are neutral. Aslong you not use a Pin for a other device the pin is technical ignored by MF. So.... If Pins 20/21 are free they should work 100% for the IC2 System.
I never test out if the Software in theory allow you to create a IC2 Display if you still got another Device (whatever Button, LED or so) that still use Pin 20 and/or 21.
Also backwards.... I not test if you can create a device on Pin 20/21 (E.g. a button) if there exist still a LCD Display on this Board.
Badly i never check this in case that is a massive User issue. Nobody with knowledge would create a Device on a Pin, that is still plugged with a other device normaly.

********
NOTE: In your system there MUST be another issue !

In Video i see your Board got already other Devices ( 4 LED 7 Segment Devices and 1 "RedLED" Device ) .
BUT at Minute 0.57 of the Video you open the Tab/Dropdown for Output Devices of that Mega and there is NOTHING.....
Whatever the LCD will not work correctly ... The other Elements should be shown already.

Possible Issue: Does one of the already existing devices in this situation use Pins 20 or 21 ?? May this "kill" the Mega System.



Summary:
I not know what you mean with "SunBoard" . I also use Sunfounder Megas like this.... https://www.amazon.de/SunFounder-ATmega2560-16AU-Board-compatible-Arduino/dp/B00D9NA4CY
And those are 100% Compatible.

So i finaly not know what you change. If all wirework and Device Settings are the same and it work now then pretty sure just the old Mega got a issue.
Not throw it in the trash. Try a EEPROM Clear. Maybe just a little error in Frimware and all is fine again !
[Last edited by pizman82, 2021-02-17 04:43]
Good Luck !
2021-02-17 04:38
icon