Star Citizen Flight Control Panel

Star Citizen Flight Control Panel

thingiverse

Custom flight panel for Star Citizen. This is an early version, I would like to make this far more user friendly to wire up, program, more mounts, more panels, and use a cheaper control board (Arduino Micro Pro) some time in the future. This is just an upload of what I posted in r/StarCitizen. The mount is designed for a 2040 aluminum extrusion and it's slightly updated from the picture to include a cover across the top. The control board is a Arduino Leonardo and uses https://github.com/MHeironimus/ArduinoJoystickLibrary. The included program makes references to an Arduino Due, but I haven't been able to get that to work. The switches are from https://pcflights.com/ocart/index.php?route=product/category&path=46_48, big switches, big switch cover, and round push button. Note, I'm not affiliated with pcflights.com, any switch that fits in a .4825" hole with a .03"h by .065"w keyway will work (printer calibration may vary). The buttons are .285" The Fusion 360 files are included to fine tune the holes. This uses a mix of switches, including many 3 position switches that have momentary (MON) positions. All 3 position switches are wired in a 2 by #switches matrix. This matrix configuration makes it impossible to crossfeed/ghost. The top and bottom connections of the 3 position switches are wired together, referenced as top: blue, bottom: yellow. They go to digital pins 12(blue) and 13(yellow). The blue and yellow wires are then wired to separate pulldown 10kom resisters which then connect to ground. Each 3 position switch center connection is wired directly to a digital pin. The simple 2 position switch and push buttons use the Arduino's integrated pullup feature, wire one connector on the switch to ground and the other to a digital pin. The joystick buttons start at 0, but most programs will start at 1, therefor when programming, the joystick button reference is 1 less then what is show in the Windows Joystick manager and Star Citizen. SimpleMaps refers to two position buttons/switches. MatrixMaps refers to the matrix for 3 position switches. If switches are added or removed from the SimpleMaps or MatrixMaps arrays, the SimpleMapsL or MatrixMapsL needs to be updated to the new array length. int OMatrixStates[9] and int NMatrixStates[9] also need to be updated to match MatrixMapsL. The buttons are customizable in the Loop() starting on line 196. It starts with SimpleMaps then moves onto the MatrixMaps on line 276. It uses two arrays for the old and new positions, with 0 being centered, 1 being down, 2 being up. If you are completely lost, I am working on a newer version as stated before that will be more user friendly. Default controls =Power Panel= Main On-Off: On-Off Switch, Pin 0, Both positions will trigger Joystick 0 Main ICR-DCR: Mon-Off-Mon Switch, Pin 1, Up will trigger Joystick 2, Down will trigger Joystick 3. Both remain held until switch is centered. This one is a brain fart on my end, I thought SC had power controls to raise/lower power levels, but it seems I'm mistaken WPN, SHD, ENG: Mon-Off-On Switch, Pins 2, 3, 4, Up will trigger Joystick 4, 7, 10 for a pulse duration. Down and Center will trigger Joystick 5, 8, 11 for a pulse duration, unless it's returning from the Up position. =Mechanical Panel= AUTO LAND: Round Push Button, Pin 8, Triggers Joystick 18 for special duration (1s) Door Open-Close: Mon-Off-Mon Switch, Pin 9. Up, Down trigger Joystick 14, 15 for pulse duration Door Unlock-Lock: Mon-Off-Mon Switch, Pin 6. Up, Down trigger Joystick 16, 17 for pulse duration Light Ext Flood: Round Push Button, Pin 5, Triggers Joystick 13 for pulse duration LNDG GEAR: Mon-Off-Mon Switch, Pin 10, Up and Down trigger Joystick 19 for pulse duration VTOL: Mon-Off-Mon Switch, Pin 7, Up and Down trigger Joystick 21 for pulse duration QNTM DRIVE: Mon-Off-Mon Switch w/ cover, Pin 11, Down to Center triggers Joystick 22 for pulse duration, Center to Up triggers Joystick 23 for special duration(1s)

Download Model from thingiverse

With this file you will be able to print Star Citizen Flight Control Panel with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Star Citizen Flight Control Panel.