Just plug in a supported Arduino to any USB Port, hope you have the right serial dev
ice drivers installed, start MobiFlight and let it find the Arduino.
Allow MobiFlight to upload new Firmware to the Arduino
Add a switch to MobiFlight
First you need to configure the MobiFlight Module i.e. the Arduino
So in the MobiFlight Connector app click on MobiFlight Modules
I have the latest release of MobiFlight installed, currently V10.1.2, but most of the supporting videos are based on the V9 code and the menus have changed a bit.
27/1/24 After watching some old (MobiFlight V9.6 ) videos by Captain Bob I managed to connect an Arduino with 28BY4J Stepper motor to the output for the Direction Indicator and after a second viewing alter the configuration to give a full 360 degrees on the motor.
28/1/24 After watching Sebastion's 2023 V9.7 Video https://www.youtube.com/watch?v=pS8KGfYRNrY I was able to connect up the inputs for both Magneto switches and the Parking Brake switch
29/01/2024 Using MobiFlight really simplifies the actual cockpit wiring as there is no need to create a master slave setup - just USB connect each Arduino to the PC and let the MobiFlightConnect App find them.
My only questions are:
1) how many Arduino's can MobiFlightConnect handle at once without slowing down the cockpit instruments refresh rate too much
2) how many devices can I connect to each Arduino without it adding significant lag to the input.
An Arduino Nano can provide 12 digital and 8 Analog/Digital IO Pins (without using the TX/RX pins)
An Arduino Mega can provide 20 digital and 16 Analog/Digital IO PIns (without using the TX/RX pins)
So a simple mapping of the Flying Iron Cockpit (ignoring the flight controls and view controls) shows that for a full cockpit implementation I would need
111 IO PIns, so between 6 and 7 Nano's, or 4 Mega's
31/01/2024 Fortunately the Spitfire and a basic Cessna 172 share a lot of the common basic instruments. So thanks go to CaptainBob for publishing his Cessna's Mobiflight mcc configuration from which I can get a good start on identifying the right variables and how to manipulate them for different stepper motors