templates: # defining templates to be used later on
  - &VPX_j12
    pinlabels: [10A,15A,10A,GND,FLAP 10A,FLAP 10A,10A,5A,EFIS_POWER,3A,PRIMARY ALTERNATOR,15A]
    type: Connector Molex 19418-0027
    image:
      src: images\J12.png
  - &ServoP
    pinlabels: [V+,V+,GND,GND]
    type: Amphenol C091-11H004-000-2
    pins: [1,2,3,4]
    image:
      src: images\A2Power.png
  - &wire
    category: bundle
    gauge: 18 AWG




connectors:
  VPX J12:
    <<: *VPX_j12 # copying items from the template
    notes: VPX J12
  Swash2:
    <<: *ServoP
  Swash3:
    <<: *ServoP
  Yaw:
    <<: *ServoP
  1X:
    type: HEW.LM.368.XLNP
    pinlabels: [GND,GND,VCC,VCC]
    pins: [65,66,67,68]   
  CEX:
    type: HEW.LM.368.XLNP
    pinlabels: [VCC,VCC,GND,GND]
    pins: [1,2,3,4]  
  # Altinator :
  #   type: Temp
  #   pinlabels: [Field, B-Lead, GND]
  #   pins: [1,2,3]  
  GND: &GND
    style: simple
    autogenerate: true
    type: Battery GND
  Negative Bus Bar:
    pins: [1,2,3,4]
    type: Pike Industries Busbar


cables:
  W1:
    <<: *wire
    length: 80 " 
    gauge: 18 AWG
    colors: [RD]
  W2:
    <<: *wire
    length: 80 "
    gauge: 18 AWG
    colors: [RD]
  W3:
    <<: *wire
    length: 138.5 "
    gauge: 18 AWG
    colors: [RD]
  W4:
    <<: *wire
    length: 70 "
    gauge: 20 AWG
    colors: [RD]
  W5:
    <<: *wire
    length: 81 "
    gauge: 20 AWG
    colors: [RD]
  # W6:
  #   <<: *wire
  #   length: 67.5 "
  #   colors: [BK]
  W7:
   <<: *wire
   length: 65 "
   gauge: 18 AWG
   colors: [BK]
  W8:
   <<: *wire
   length: 65 " 
   gauge: 18 AWG
   colors: [BK]
  W9:
   <<: *wire
   length: 89.5 "
   gauge: 18 AWG
   colors: [BK]
  W10:
   <<: *wire
   length: 60 " 
   gauge: 20 AWG
   colors: [BK, BK]
  W11:
   <<: *wire
   length: 53 " 
   gauge: 20 AWG
   colors: [BK, BK]
  W12:
    <<: *wire
    length: 45 "
    gauge: 14 AWG
    colors: [BK]


connections:
  -
    - VPX J12: [2]
    - W1: [1]
    - Swash2: [1] 
  -
    - VPX J12: [12]
    - W2: [1]
    - Swash3: [1] 
  -
    - VPX J12: [3]
    - W3: [1]
    - Yaw: [1] 
  -
    - VPX J12: [9]
    - W4: [1]
    - 1X: [68] 
  -
    - VPX J12: [9]
    - W5: [1]
    - CEX: [1] 
  # -
  #   - VPX J12: [11]
  #   - W6: [1]
  #   - Altinator: [1] 
  -
    - Swash2: [3]
    - W7: [1]
    - Negative Bus Bar: [2]
  -
    - Swash3: [3]
    - W8: [1]
    - Negative Bus Bar: [3]
  -
    - Yaw: [3]
    - W9: [1]
    - Negative Bus Bar: [2]
  -
    - 1X: [65,66]
    - W10: [1-2]
    - Negative Bus Bar: [4,4]
  -
    - CEX: [3,4]
    - W11: [1-2]
    - Negative Bus Bar: [3,3]
  -
    - VPX J12: [4]
    - W12: [1]
    - [GND]