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
raysot
Posts: 6
I'm converting my Beechcraft 1900D sim over to MSFS2020 from X-Plane.

I have 20 Teensy 3.2 Microcontrollers, some are CANBUS clients attached to a CANBUS server, others are running X-Plane API code and are connected directly.

I'm wondering if the following scenario is viable with Mobiflight (See image)

Basically I want the Arduino Mega256 to run as a server, it's only job is to:

1. Deliver flight data to the CANBUS clients, and
2. Receive inputs from the CANBUS clients and deliver them to the sim

Is this possible in Mobiflights' current iteration?

https://www.scottshangar.net/Mobiflight/eecd249a0
[Last edited by raysot, 2020-09-03 22:16]
2020-09-03 22:10
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
I don“t think so.....

Mobiflight is based on a strict system..... So the Mega allow only the listed things like buttons, Led, Motors and so on.

Technical you can rework the firmware of the Mega yourself..... so you use the comunication and the PC side of Mobiflight but build a "own" firmware.
But from our side this is not supported or planned.

Maybe a other user have more information.
Good Luck !
2020-09-03 23:29
Avatar
raysot
Posts: 6
iconQuote:

so you use the comunication and the PC side of Mobiflight but build a "own" firmware.



This may actually be the way I go. If I have access to the code uploaded to the Arduino, I can easily reverse-engineer it and add my own bits to work with CANBUS.

Some platforms don't allow you to see what's actually being loaded (ARDSIM comes to mind) but if I can see the plain text of the code before I upload it, that will definitely work.
2020-09-04 00:19
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
https://bitbucket.org/mobiflight/mobiflightfc/src/master/


Whatever our intention is not that everybody do his own thing.... Here you got the code.

If it work for you may you will be so kind and do also help in the main branch. We always be happy about people who can programm and have good ideas.!
Good Luck !
2020-09-04 00:57
Avatar
raysot
Posts: 6
I will definitely help where I can!

If I am successful in some reverse-engineering, I'll happily share my CANBUS code. My intent is to make an Arduino 256 a "Mobiflight Server", to send/receive flight data to the CANBUS client modules, or LRU's. (Line-Replaceable Units)

Thanks for sharing your source code! Much appreciated!
2020-09-04 05:30
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Thats ok.
Just one important fact.....

We can not do any support for your "custom" Version. So please not ask for help if a Offset is not working or so..... In case i not know what you "change" in the the system i no longer can support you.

Also not share your custom version to other users..... You pretty understand. Our support is no longer possible if we not know if the user got a original Release Version or a reworked from you.

I personlay recommend to contact Sebastian. He is the Boss.
Pretty sure he will accept your personal usage. But he maybe is also intressted in your work to impelement it in the final Version OR he will ask you to NOT share your Version to other people. Please talk to him at first !
Good Luck !
2020-09-04 23:46
Avatar
bmayer
Posts: 1
@raysot, I am interested in the work you have done with X-Plane, MSFS and CANBUS. Would it be possible for you to reach out to me at brad@realsimgear.com to chat? Looking at ways to interface X-Plane and/or MSFS with real Garmin hardware and seems the work you have done would be immensely helpful!

Thanks,
Brad
2022-03-17 02:04
icon