Autopilot - alesskerbinek/FlightSimPanel GitHub Wiki

The purpose of this unit is to simulate the autopilot controllers like:

Requirements:

No Type Item Function
2x input Rotary Encoders with push button HDG and ALT/VSI
1x input Scrolling Encoder Trim
12x input Pushbuttons HDG, NAV, APR, BC/TRK; AP, FD, LVL, YD; ALT, VS, IAS, VNAV
11x* output LEDs HDG, NAV, APR, BC/TRK; AP, FD, YD; ALT, VS, IAS, VNAV

LEDs are optional. Maybe we don't need it because there is already autopilot annunciator panel in Baron 58, however to make it more general and to support additional airplanes it would be useful to add the LEDs as well.

We need to discuss whether we add button for BC or TRK. Check planecommand.com/commands/ and confirm with X-Plane 11 interface for supported modes!

Commmands:

  • sim/autopilot/pitch_sync Autopilot pitch-sync.

  • sim/autopilot/heading_sync Autopilot heading sync.

  • sim/autopilot/heading_down Autopilot heading down.

  • sim/autopilot/heading_up Autopilot heading up.

  • sim/autopilot/heading Autopilot heading-hold.

  • sim/autopilot/NAV Autopilot VOR/LOC arm.

  • sim/autopilot/approach Autopilot approach.

  • sim/autopilot/back_course Autopilot back-course.

  • sim/autopilot/wing_leveler Autopilot wing-level.

  • sim/autopilot/fdir_toggle Flight director toggle.

  • sim/autopilot/servos_toggle Servos toggle.

  • sim/systems/yaw_damper_toggle Toggle yaw damper.

  • sim/autopilot/altitude_hold Autopilot altitude select or hold.

  • sim/autopilot/vertical_speed Autopilot vertical speed, at current VSI. ??? or

  • sim/autopilot/vertical_speed_pre_sel Autopilot vertical speed, at pre-sel VSI. ???

  • sim/autopilot/vnav Autopilot VNAV for G1000.

  • sim/autopilot/airspeed_down Autopilot airspeed down.

  • sim/autopilot/airspeed_up Autopilot airspeed up.

  • sim/autopilot/vertical_speed_down Autopilot VVI down.

  • sim/autopilot/vertical_speed_up Autopilot VVI up.

  • sim/autopilot/altitude_down Autopilot altitude down.

  • sim/autopilot/altitude_up Autopilot altitude up.

  • sim/autopilot/nose_down Autopilot nose down.

  • sim/autopilot/nose_up Autopilot nose up.

  • sim/autopilot/airspeed_sync Autopilot airspeed sync.

  • sim/autopilot/vertical_speed_sync Autopilot VVI sync.

  • sim/autopilot/altitude_sync Autopilot altitude sync.

WE NEED DREF OR SOME OTHER DATA OUTPUT TO KNOW WHICH MODE WE'RE IN.

PCB

  • 15 LED outputs via 2 3to8 decoders (4 outputs, same as NavCom)
  • 14 Button inputs via 2 8to3 priority encoders (6 inputs)
  • 3 rotary encoders - 2 rotary, 1 scroll (6 inputs)
  • LEDs are square through hole
  • Buttons are standard 5x5mm or 12x12mm modified for SMD mounting
  • Technically there is same schematics but different PCB for Autopilot and AudioPanel