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.

Go to page 1Go to page 2123Go to page 4Go to page 3
Avatar
MKTango
Posts: 19
"..You can NOT mix guides and logics over 2 different Sims and also not over 2 different Aircrafts/AddOns...";)

I am focus right hand side of the table.. ( BLUE for MF).. prosim was printed cause the table come like that..

"...So its absolutly wrong for a Stock Aircraft that is oincluded in the Sim ( Your 747) and its also absolutly wrong for FS2020 cause it was build for P3D...."

I am using 747 that come with MFSFS2020. i figured was build for MSFS... what is generic aircraft then to test?

"..0x5300 is the ADRESS of the Data ... NOT the Value !
The Value is 1 or 0 !


Get it.. . hold the horses!!!! my mistake (".. with a value of 0x5300 ( my error , value take it from pic), or 0x07D0 by default, not works either...." as I posted..) I set the value in 1 and 0 ( press or released)

"..Solution: For Input use FS2020 Events ..... For Output use FS2020 Variables (In Dropdown of Typ of In/Output)
Mostly these Stock aircrafts use the "Generic" Stuff. So check this Groups with SEARCH for "ALT"


Ill try this way. but now if want to back to MSFS2020 variables.. , after set it up in fsuipc offset, get error...

"...Summary: You need some more basic knowledge. E.g. that 0x07D0 is a Hexadecimal Number... So it is a OffsetAdress. Without understanding this basic things , its hard to build a cockpit !..."

You bet.!! I told you my first post IAM A NEWBY.. I need some help.. ;-), I will start for scratch... and pls dont Yell.. :P
Thanks for patience..

Marcelo
[Last edited by MKTango, 2022-03-26 15:10]
2022-03-26 14:23
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
We all start at the begining point!
In 10 weeks you will lought about this posting cause then your still understand all this stuff and you fly with your own Cockpit ! :love:


About Carls list.... The right (Blue) part is Mobiflight Related... BUT the whole Document is based on ProSim. So its senseless for you !

For example the used Offset "5300" is defined by himself in the ProSim Settings. No other Aircraft ( like PMDG or the Stock B747 of FS2020) will goive you Data on that "5300" Adress. This only work for a ProSim that use the same internal Settings like Karl do !

Also the base logic can not be used "copy paste" overall. For example most Aircrafts NOT use a Press and Release for the MCP Buttons. If Button in Sim is Momentary then you can only use Press (Toggle) . So only in case Karl use a ProSim and make that special settings, there he will use this Press Release Stuff.... You will not do this in your B747 !


In easy words.... It´s good to learn from a guide like the linked.... But then you need to use 1:1 the same Setup (ProSim, P3D). If you work with a PMDG then you need a guide that use the PMDG specific Logics.... And if you use a B747 you need again a guide that is based on FS2020 and the B747 !

Thats why i said... Its important ( with the time) to learn the basic elements.... Not Copy "5300" cause KArl use it.... the Key is to understand why he use 5300 and to know why "5300" not work for the 747 now!
But not get scarred..... This is no big deal.... After some days you pretty fast gain experience!

**************
Please tryout the FS2020 Variables and Events.
If you struggle.... Request here again. Then we find a solution for you.
Good Luck !
2022-03-26 15:45
Avatar
MKTango
Posts: 19
iconpizman82:

We all start at the begining point!
In 10 weeks you will lought about this posting cause then your still understand all this stuff and you fly with your own Cockpit ! :love:


About Carls list.... The right (Blue) part is Mobiflight Related... BUT the whole Document is based on ProSim. So its senseless for you !

For example the used Offset "5300" is defined by himself in the ProSim Settings. No other Aircraft ( like PMDG or the Stock B747 of FS2020) will goive you Data on that "5300" Adress. This only work for a ProSim that use the same internal Settings like Karl do !

Also the base logic can not be used "copy paste" overall. For example most Aircrafts NOT use a Press and Release for the MCP Buttons. If Button in Sim is Momentary then you can only use Press (Toggle) . So only in case Karl use a ProSim and make that special settings, there he will use this Press Release Stuff.... You will not do this in your B747 !


In easy words.... It´s good to learn from a guide like the linked.... But then you need to use 1:1 the same Setup (ProSim, P3D). If you work with a PMDG then you need a guide that use the PMDG specific Logics.... And if you use a B747 you need again a guide that is based on FS2020 and the B747 !

Thats why i said... Its important ( with the time) to learn the basic elements.... Not Copy "5300" cause KArl use it.... the Key is to understand why he use 5300 and to know why "5300" not work for the 747 now!
But not get scarred..... This is no big deal.... After some days you pretty fast gain experience!

**************
Please tryout the FS2020 Variables and Events.
If you struggle.... Request here again. Then we find a solution for you.



You made my day.. to encourage me resolve this, learn is the KEY!!.. and I think in the right place.. thanks Pizman.! now I need a break. or get divorced.. lol
Marcelo
2022-03-26 15:49
Avatar
MobiPCRIDEFlight
Posts: 3
iconpizman82:

At first.... I´m Sorry ! :blush:

I mix up 2 topics ( awnserd a other user shortly before who had a 3 way ON-OFF-ON Switch). Sorry for confusing you!!



This show me definitly that it is a ON-ON switch !
I not know if its "latching" or "momentary" .... But we can see from this Picture that each position of this switch have a own Pin. So it must be a ON-ON

About Switch Logic:

Switch need a wire from your used Pin on Mega ( e.g. Button on Pin 10) TO the Switch lower LEft Pin ( On Picture named "Connected when pressed" )
Also you need a GRD for the Switch..... Here Wire goes from Switch Lower Right Pin (named "Button Common" ) TO a GRD Pin on the Mega.

You can in theory also create a second Button Device on the MEga and wire it to Lower Middle Pin (in Picture labeld "Connected when released" )
BUT as i said... We not need a ON-ON. We can handle it already with the one line.



****************
About LED:

HERE we got the Problem :

iconMKTango:


no matter what i do . is always On.... wire from volts to 5v ( with resistor) , second wire ( just below) to pin ( 47 in my case).. and shared gdn connectors to GND.. 3 wires.. that's all..



You can NOT wire a LED to 5V !!! Then its always ON!!
You must wire a LED to a Arduino Pin and define THERE a LED Output Device!

So E.g. Pin 12 on Mega is set as "LED" ...: Wire From there ( via a resistor) to LED Input on the Switch ( Named (LED 3V) on the Picture.
And a GRD for the LED ( From Switch Pin "LED GRD" ) to Mega GRD
(As you said.... You can share these 2 GRD ( From Input Switch and LED together... Both to same GRD Pin on Mega)

*************

Summary:

You need in Mobiflight TWO Devices.... 1x Button Input and 1x LED Output.
And you need 2 Config Lines....
One INPUT Config that detect Switch command and send it to the Sim....
AND
One Output Config that read e.g. the Status of Sim Autopilot and controll your LED to ON or OFF in relation if the Virtual AP is On or Off.




THIS WORKED GREAT!!! THANK YOU PIZ MAN
2023-10-29 22:47
Go to page 1Go to page 2123Go to page 4Go to page 3