-
-
Notifications
You must be signed in to change notification settings - Fork 136
workshop beginner
Caution
This guide is obsolete. See the updated guide for information on building the beginner workshop project.
The workshop is aimed at everyone who would like to try out building their first device with MobiFlight for enhancing their flight simulation experience.

You will build a device that uses
- Illumintated push buttons
- Toggle switches, and
- Encoder
You will learn how to configure these devices and how to assign functions inside the simulator so that you can interact with it.
- 1x Arduino
- 1x MobiFlight Prototyping board
- 1x USB cable
- 1x body incl 3x lids, Single encoder knob, washers & nuts
- 2x LED Push button (orange, red)
- 1x Single encoder with PCB
- 2x ON-ON switch
- 1x MobiFlight Switch PCB
- XH-JST-Wires: 2x 2-pin, 3x 3pin, 1x 4pin
- 12 screws (5mm M3)
- Base / Core - workshop-beginner-base.stl
- Dual push button lid - workshop-dual-pushbutton.stl
- Dual toggle switch lid - workshop-dual-toggle-switch.stl
- Encoder lid - workshop-encoder.stl
- Honeycomb/Saitek adapter - honeycomb-adapter-short.stl
For downloading, hover mouse over filename >
right-click>Save file as

The prototyping board is a great way to learn about MobiFlight and connecting different device types easily and without soldering.
In the workshop we are going to use the highlighted connectors:
-
LED 1 PWM- For the LED of the first push button -
Button 1- For the button pins of the first push button -
LED 2 PWM- For the LED of the second push button -
Button 2- For the button pins of the second push button -
Switch 1 (ON-ON)- For the first connector on the toggle switch PCB -
Switch 2 (ON-ON)- For the second connector on the toggle switch PCB -
Encoder 1- for the connector on the encoder PCB
- Insert Arduino board on the back of the PCB
- Connect the cable
- Connect the cable to your computer
Note: for those who have not brought their computer, they can use one of our laptops, or we can flash it after the session
- Download MobiFlight Connector from the website
- Install MobiFlight by following the instructions of the installer
- Start Mobiflight, see what’s happening
- attempt to auto upload firmware
- Arduino Mega Pro mini is ambigious
- Manually upload firmware
- right click on module and select
Upload firmware>Arduino Mega 2560
- right click on module and select
- Save the prepared config
- Open the config, right click on module >
Open - Explore the devices

- Unscrew the fastener from the back of the button
- Put the LED Buttons into the lid
- Put the fastener back on
- Pass the cable through the hole on the back
- Close the lid

- Use 4x 2-pin cable
- Use
LED 1 PWMfor light (red) - Use Button1 for button one (red)
- Use
LED 2 PWMfor light (orange) - Use Button2 for button two (orange)

- Put one nut on each Switch, screw it on until half way on the thread
- Put both switches onto the PCB
- Fasten screws to attach PCB to the back of the lid

- Use 2x 3-pin cable
- Connect switch PCB
Connector 1toSwitch 1 ON-ON - Connect switch PCB
Connector 2toSwitch 2 ON-ON

- Put the Encoder PCB on the back of the lid
- Fasten it with the screws
- Put the lid into the core part

- Use 1x 4-pin cable
- Connect Encoder PCB
Inner ShafttoEncoder 1
We are going to use the parking brake for
- Red LED - turns on when parking brake is set - (output configuration)
- Red Push button - toggles the parking brake - (input configuration)
- Left switch (switch 1) - Set the parking brake (lower position), release the parking brake (upper position) - (input configuration)
- Encoder - control the heading bug - (input configuration)
- Create output config for LED
parking brake- Test the LED
- Assign it to parking brake
- Create input config for Button
parking brake toggle- use
Scan for input> push the button - select tab
On Press - select action
Microsoft Flight Simulator 2020 - search for
parking - filter
aircraftforGeneric - select
Parking brake toggle
- use
- Test the config
- Create input config for Switch
parking brake ON- use
Scan for input> flip the switch down - select
On Press - select action
Microsoft Flight Simulator 2020 - search for
parking - filter
aircraftforGeneric - select
Parking brake ON
- use
- Create input config for Switch
parking brake OFF- use
Scan for input> flip the switch up - select
On Press - select action
Microsoft Flight Simulator 2020 - search for
parking - filter
aircraftforGeneric - select
Parking brake OFF
- use
- Test the config by flipping the switch up and down
- Create input config for Encoder
heading bug- use
Scan for input> twist the encoder - select tab
On Left - select action
Microsoft Flight Simulator 2020 - search for
bug - filter
aircraftforGeneric - filter
systemforFlight Instrumentation - select
Heading Bug DEC - click on
Copy - select tab
On Right - click on
Paste - select
Heading Bug INC
- use
- Test the config
- Take your device home
- Play around with assigning functions
- Watch the Getting started video
- Join our MobiFlight Discord Server
- Check out our MobiFlight Community Shop
- Build your own things!
- 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
- Verifying the WASM module installation and locating the MSFS2024 community folder
- Using a Winwing FCU with MobiFlight
- Using VKB controllers 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
- Workflow for Creating Flight Simulation Panels ‐ Part 1
- 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