-
-
Notifications
You must be signed in to change notification settings - Fork 104
General Troubleshooting Guide for MobiFlight and MSFS2020
When things do not work, it is good to take a practical approach to debugging, checking one thing at a time.
There are three main areas in MobiFlight that need to be set correctly in order to everything to work:
This is indicated by a green checkmark on the MobiFlight Connector window statusbar, and it will be listed in the small dropdown menu that opens from the arrow.
If you do not see this, your Arduino is not recognized. See Arduino modules documentation - many of the Chinese clones require that you install the CH340 serial port driver. This is also covered in the above.
This is done by enabling the log in MobiFlight Connector. (Extras -> Settings - select logging with the default log level of "Info" is enough) This will show all button presses and releases and other arduino pin events on the log area of the Mobiflight window.
If your button or encoder shows nothing in the log, nothing will be sent to the simulator, because MobiFlight does not see your switch or button being pressed. Make sure you connect things properly and that the wire connections that are secure, and that you have selected the correct arduino pins. Also make sure you "upload configuration" with the toolbar button after you make changes, so that the pin config is stored also on the arduino. If you forget this, Mobiflight will warn you about unsaved changes though.
You should also have a green checkmark for Simconnect when simulator is running. IF you use MSFS2020, you do not need anything else as MobiFlight uses the built in Simconnect interface on MSFS2020, and the provided MobiFlight WASM module that you should also install. If you use FSX or Prepar3D, you do need FSUIPC for the connection, respectively. For X-plane you can use the provided dataref/command interface and presets. For X-Plane, the XPUIPC interface naturally also works, but the direct dataref/command interface should be a lot easier to set up.
Note that you need to restart MSFS2020 after you have installed the WASM module, you need to restart MSFS2020 once to make it see the newly installed moduile. This will also be indicated with a green checkmark next to the "WASM Module" in the Simulator dropdown.
Try with a simple config item like parking brake first.
..and many of the events unfortunately also change over time, so when you get started with MobiFlight, start with something simple first so you know that one works first.
- MobiFlight Connector Installation
- Mobiflight Connector BETA version installation
- Modules
- MobiFlight Connector Files Structure
- MobiFlight Connector Uninstall
- Modules Reset to factory default
- Verifying the WASM module installation and locating the MSFS2020 community folder
- Using a Winwing FCU with MobiFlight
- Providing logs from MobiFlight
- MobiFlight Connector How does it work
- Mobiflight Connector Main Window
- Flash module with MobiFlight firmware
- Input and Output devices
- Joysticks
- Midi Boards
- Sim Variables (for Output)
- Input Actions
- Merging configuration files
- Disabling specific COM ports
- Examples Output LEDs
- Examples Input Switch
- Example 7 segment display
- Example Servo motor
- Controlling LEDs with an output shift register
- Adding lots of buttons with an input shift register
- Beginner's guide to input multiplexers
- Key Matrix with standard MobiFlight and Multiplexers
- Tutorial Easy Driver and x.27 or x.40 Stepper Motor
- Tutorial for Airbus VS display via 7-Segment LED Module
- Example Analog Input Potentiometer
- Baron G58 Tutorial Gear, Flaps, Mags, ELT Input Output Programming
- Using Mobiflight to control arduino-based 3rd party panels (RealSimGear GNS530)
- How to use a VNH2SP30 DC motor shield with MobiFlight
- Using 3D printer mainboards
- Playing sounds by sending keystrokes to AutoHotKey
- Using the selector knob on a Honeycomb Bravo
- Using an adjustable 12 position switch as a GA starter
- Brightness of LCD displays with I2C
- Using three-position switches
- Transponder with one Rotary
- MSFS2020 RPN Tips and Tricks
- MSFS2020 Using the Custom Input Code Box
- MSFS2020 Install WASM module and Event List
- MSFS2020 How to Create and Use User Defined Lvars
- MSFS2020 How to Create a Blinking LED configuration
- MSFS2020 User Defined WASM Module Events Best Practices
- MSFS2020 Developer Mode, Model Behavior dialog and Console window
- MSFS2020 PMDG 737‐700 List of Events that require use of FSUIPC7
- MSFS2020 PMDG 737‐700 Calibrate throttle idle and reverse thrust using interpolation (Valkyrie)
- MSFS2020 PMDG 737-700 Chrono unit functions implemented in Mobiflight
- Configuring PMDG 737 Parking Brake Lever Auto-Release with a Servo in Mobiflight
- Using encoder to drive a value back and forth within a given range
- Adding a custom board to MobiFlight
- User guide - Community Board and Custom Devices
- Developing your own custom devices/boards