-
Notifications
You must be signed in to change notification settings - Fork 7
MobiFlight PCB Designs
The philosophy of MobiFlight is to use readily available, affordable modules, enabling as many people as possible to build a home cockpit. With that in mind, we have created some "helper" circuit boards in the community, available in this repository. While these can be useful, generic modules are often the most economical way to get started and to expand your setup, as mass produced modules' price is hard to match with a niche variant like one designed for home cockpit building only.
Thus, while some of these are no doubt useful, we should not get too carried away with reinventing the "sim cards" of the past. Arduino Mega still will get you far, but if you are doing analog panels with stepper motors, for example, sometimes a stepper motor wiring "shield" can make life easier. Same applies to the "cube adapter" that lets you experiment with MobiFlight without soldering.
Since JST-XH connectors have 2.54mm pin distance, they are easy to solder by hand even if you are not super experienced, and they are readily available and also fit a male pin header if needed, we thought we'll use them. The pin order is counted as follows:
Input devices | Connector | pins | 1 | 2 | 3 | 4 | 5 | 6 |
---|---|---|---|---|---|---|---|---|
Button | JST-XH | 2 | GND | Data | ||||
Encoder | JST-XH | 4 | GND | DataA | DataB | Button | ||
Potentiometer | JST-XH | 3 | GND | Data | VCC | |||
Shifter IN | JST-XH | 5 | GND | VCC | Latch | Clock | Data | |
Multiplexer Chain | JST-XH | 6 | GND | VCC | S0 | S1 | S2 | S3 |
Multiplexer Data | JST-XH | 2 | GND | Data |
Output devices | Connector | pins | 1 | 2 | 3 | 4 | 5 | 6 |
---|---|---|---|---|---|---|---|---|
Led | JST-XH | 2 | GND | Data | ||||
Stepper | JST-XH | 6 | GND | VCC | Data1 | Data2 | Data3 | Data4 |
Servo | JST-XH | 3 | GND | VCC | Data | |||
LCD | JST-XH | 4 | GND | VCC | SDA | SCL | ||
Shifter OUT | JST-XH | 5 | GND | VCC | Latch | Clock | Data |