A320-homecockpit/Pedestal/PedestalConnectBox
fly af5db5d657 Keyboard matrix implementation for PedestalBox
Signed-off-by: fly <merspieler@alwaysdata.net>
2024-09-25 00:56:30 +02:00
..
firmware Keyboard matrix implementation for PedestalBox 2024-09-25 00:56:30 +02:00
pcb Bit more information for ordering 2024-09-09 16:09:56 +02:00
README.md Update Pedestal Box Readme 2024-09-22 00:34:49 +02:00

Pedestal Connect Box

USB HID

Input

25 Bytes of input, consisting of

  • 1 Byte reportId (always value 1)
  • 22 Bytes for 11 axis (each axis is 2 bytes and has a range of 0 - 4095)
  • 2 Bytes for buttons

Inputs report usually via USB HID so you only have to map them.

Output

9 Byte output, consisting of

  • 1 Byte for the reportId (always value 1)
  • 2 Bytes for the brightness of the integrated lighting (range 0-48000)
  • 2 Bytes for the brightness of the rudder trim display (range 0-48000)
  • 2 Bytes for generic controls (such as calibration)
  • 4 Bytes for indicator LEDs, each bit controls one item:
    • 0x00000001: ECAM CLR
    • 0x00000002: ECAM APU
    • 0x00000004: ECAM ENG
    • 0x00000008: ECAM COND
    • 0x00000010: ECAM BLEED
    • 0x00000020: ECAM STS
    • 0x00000040: ECAM DOOR
    • 0x00000080: ECAM PRESS
    • 0x00000100: ECAM WHEEL
    • 0x00000200: ECAM ELEC
    • 0x00000400: ECAM F/CTL
    • 0x00000800: ECAM HYD
    • 0x00001000: ECAM FUEL
    • 0x00002000: DOOR OPEN
    • 0x00004000: DOOR FAULT
    • 0x00008000: ENG 1 FAULT
    • 0x00010000: ENG 1 FIRE
    • 0x00020000: ENG 2 FAULT
    • 0x00040000: ENG 2 FIRE

Pinout

General pins

PA15|Backlight PWM

Rudder Trim Panel

PA0|Reset PA1|Trim Left PA3|Parking Brake PB10|Display PWM PB13|SPI Clock PB14|SPI Chip Select PB15|SPI Data PC15|Trim Right

Speed Brake

PA2|Speed Brake PA4|Spoiler Arm

Flaps

PA5|Flaps

Gravity Gear Extension

PA6|Gravity Gear Extension

Flood Light and DFDR

PA7|Flood Light Pedestal PC4|DFDR PC5|AIDS

Switching

PA8|ATT Captain PA9|AIR Captain PA10|ATT First Officer PC6|EIS Captain PC9|AIR First Officer PD13|ECAM First Officer PD14|ECAM Captain PD15|EIS First Officer

ECAM

PB0|Upper ECAM Brightness PB1|Lower ECAM Brightness PB2|Keys Column 4 PB11|LEDs Column 6 PB12|LEDs Row 1 PC7|LEDs Column 2 PC8|LEDs Column 3 PD8|LEDs Column 5 PD9|LEDs Column 1 PD10|LEDs Column 4 PD11|Keys Column 1 PD12|Keys Column 2 PE7|Keys Row 4 PE8|Keys Column 3 PE9|LEDs Row 3 PE10|Keys Column 5 PE11|Keys Row 3 PE12|Keys Row 1 PE13|LEDs Row 2 PE14|Keys Column 6 PE15|Keys Row 2

Weather Radar

PB4|MAP PB5|PWS PC2|Tilt PC3|Gain PD1|System 1 PD3|System 2 PD4|Multiscan PD5|WX+T PD6|CCS PD7|TURB

Door

PB6|Fault Light PB7|Open Light PB8|Unlock PB9|Lock PE0|Video

Flood Light and Integ Light

PC0|Flood Light MIP PC1|Integ Light

Engine

PC13|Mode Crank PC14|Mode Start PE1|Engine 1 Fire PE2|Engine 1 Fault PE3|Engine 2 Fault PE4|Engine 2 Fire PE5|Engine 1 Master PE6|Engine 2 Master