templates: # defining templates to be used later on
  - &ECU_12P
    type: Delphi 15336209
    pinlabels: [Ignition,GND,Extra Out 1, Extra Out 2,Starter/Exciter,12V ECU,12V Servo]
    pins: [1,2,3,4,6,7,8]
    image:
     src: images\ECU3.png
  - &ECU_12PF
    type: Delphi 15336205
    pinlabels: [Starter/Exciter, Extra Out 2, Extra Out 1, GND, Ignition,12V Servo, 12V ECU]
    pins: [1,3,4,5,6,11,12]
    image:
     src: images\ECU4.png

     
  - &logic_wire
    category: bundle
    gauge: 18 AWG
  - &power_wire
    category: bundle
    gauge: 14 AWG
  - &Fuel_Inj
    type: 90980-11875
    pins: [1,2]
    pinlabels: [12V, ECU INJ]
    image:
      src: images\90980-11875.png
  - &Coil
    type: Delphi 12162825
    pinlabels: [ECU Sig, Sensor Ground, Head Ground, Battery Ground, Switched 12V]
    pins: [A,B,C,D,E]  
    image:
      src: images\coil.png




connectors:
  ECUM:
    <<: *ECU_12P # copying items from the template
    notes: ECU 12 Pin
  ECUF:
    <<: *ECU_12PF
    notes: ECU 12 Pin Connector to Fusebox
  ECU1:
    type: Molex 643203311
    pinlabels: [Extra Output 1, Extra Output 2, Engine Ground, ECU 12V]
    pins: [B4,C4,L4,M4]
    image:
      src: images\ECU1.png
      caption: Connector 643201311
  Coil Pack 1:
    <<: *Coil
  Coil Pack 2:
    <<: *Coil
  Coil Pack 3:
    <<: *Coil
  Coil Pack 4:
    <<: *Coil
  # Throttle Servo Power:
  #   type: DTM04-2P
  #   pins: [1,2]
  #   pinlabels: [12V,Ground]
  #   notes: Male is DTM06-2S
  #   image:
  #     src: images\DTM04.png
  Fuel Injector 1:
    <<: *Fuel_Inj
  Fuel Injector 2:
    <<: *Fuel_Inj
  MAF Sensor:
    type: Bosch 1928405138
    pins: [4]
    pinlabels: [12V]
    image:
      src: images\MAF.png
      width: 300
  LSU:
    type: D261.205.356-01
    pinlabels: [12V]
    pins: [3]  
    image:
      src: images\LSU.png
  Servo Power:
    type: DTM04-2P
    pinlabels: [12V, GND]
    pins: [1,2]
    notes: Crimp mate DTM06-2S
    image:
      src: images\ServoP.png
  Fuse Block:
    type: TE 2319023-1
    pins: [1,2,3,4,5,6,7,8]
    pinlabels: [F1+,F1-,F2+,F2-,F3+,F3-,F4+,F4-]
    notes: F1 15A, F2 15A, F3 5A
    image:
      src: images\FB.png
      width: 500
  KillSwitch:
    type: MS24658-22D
    notes: Ring Terminal (Inner Diameter.260")
    pins: [1,2,3]
    pinlabels: [NC,common,KS]
    image:
      src: images\kill.png
  # Batt:
  #   type: 1/4" Ring Terminals
  #   pinlabels: [V+,GND]
  #   notes: 5732 Terminal Cover
  Tachometer:
    type: DT04-3P
    notes: Mates with DT06-3S
    pins: [A,B,C]
    pinlabels: [12V,GND,Out]
    image:
      src: images\DT04-3P.png
      width: 300
  Positive Bus Bar:
    pins: [1,2,3,4]
    type: Pike Industries Busbar
  Negative Bus Bar:
    pins: [1,2,3,4]
    type: Pike Industries Busbar
  # Engine Head:
  #   type: 1/4" Ring Terminal
  #   pins: [Head Bolt]

  
  S: &splice  # generic autogenerated splice
    style: simple
    autogenerate: true
    type: splice
  Engine GND: &GND
    style: simple
    autogenerate: true
    type: Engine GND
    bgcolor: SN
  Battery GND: &GND1
    style: simple
    autogenerate: true
    type: Battery GND


cables:
  W1:
    <<: *power_wire
    length: 50 Inches
    colors: [RD]
    notes: 12 Inch difference between outermost coils.
  W2:
    <<: *logic_wire
    length: 40 Inches
    colors: [RD]
  W3:
    <<: *logic_wire
    length: 16.5 Inches
    colors: [GN,GN,BN]
  W4:
    <<: *power_wire
    length: 10 Inches
    colors: [RD,RD]
  W5:
    <<: *logic_wire
    length: 10 Inches
    colors: [RD]
  W6:
    <<: *power_wire
    length: 10 Inches
    colors: [RD,RD]
  W7:
    <<: *logic_wire
    length: 10 Inches
    colors: [RD]
  # W2:
  #   <<: *logic_wire
  #   length: 0.2
  #   colors: [BU]
  W8:
    <<: *power_wire
    length: 170 Inches
    colors: [RD]
  # W9:
  #   type: Ground Strap
  #   gauge: 4 AWG
  #   length: 0.2
  #   colors: [BK]
  W10:
    <<: *logic_wire
    length: 10 Inches
    colors: [GY,GY]
  W19:
    <<: *logic_wire
    length: 10 Inches
    colors: [GY,GY]
  W20:
    <<: *logic_wire
    length: 60 Inches
    colors: [BK,BK,BK,BK]
  W11:
    <<: *logic_wire
    length:  20 Inches
    notes: Servo Wire is Long Enough
    colors: [RD]
  W12:
    <<: *logic_wire
    length: 60 Inches
    colors: [BK]
    notes: Distance is from ECU to engine ground.
  W13:
    <<: *power_wire
    length: 50 Inches
    notes: Ring Terminal On Block.
    colors: [BN]
  W14:
    <<: *power_wire
    length: 170 Inches
    colors: [RD]
  W15:
    <<: *power_wire
    length: 16.5 Inches
    colors: [RD]
  W16:
    <<: *power_wire
    length: 27 Inches
    colors: [GN]
  W17:
    <<: *power_wire
    gauge: 18 AWG
    length: 37 Inches
    notes: Pre-attached wire is of sufficient length to reach ECU.
    colors: [GN]
  W18:
    <<: *power_wire
    gauge: 18 AWG
    length: 10 Inches
    colors: [BK]
  W21:
    <<: *power_wire
    gauge: 18 AWG
    length: 21 Inches
    colors: [RD]
  W22:
    <<: *power_wire
    gauge: 18 AWG
    length: 20 Inches
    colors: [BK]
  W23:
    <<: *power_wire
    length: 6 Inches
    colors: [RD]
    notes: 12 Inch difference between outermost coils.
  W24:
    <<: *power_wire
    length: 8 Inches
    colors: [RD]
    notes: 12 Inch difference between outermost coils.
  W25:
    <<: *power_wire
    length: 12 Inches
    colors: [RD]
    notes: 12 Inch difference between outermost coils.
  W26:
    <<: *logic_wire
    length: 6 Inches
    colors: [GY]




connections:
  -
    - ECUM: [Extra Out 1]
    - W3: [1]
    - ECU1: [B4]
  -
    - ECUM: [Extra Out 2]
    - W3: [2]
    - ECU1: [C4]
  -
    - ECUM: [1]
    - W1: [1]
    - Coil Pack 1: [E]
  -
    - W1: [1]
    - [S]
    - W23: [1]
    - Coil Pack 2: [E]
  -
    - W1: [1]
    - [S]
    - W24: [1]
    - Coil Pack 3: [E]
  -
    - W1: [1]
    - [S]
    - W25: [1]
    - Coil Pack 4: [E]
  # -
  #   - ECUM: [1]
  #   - W1: [1]
  #   - Coil Pack 3: [E]
  # -
  #   - ECUM: [1]
  #   - W1: [1]
  #   - Coil Pack 4: [E]
  # -
  #   - ECU: [7]
  #   - W1: [6]
  #   - ECU1: [M4]
  -
    - ECUM: [GND]
    - W3: [3]
    - ECU1: [L4]
  -
    - ECUM: [7]
    - W15: [1]
    - ECU1: [M4]
    #- Fuel Injector 1: [1]
  # -
  #   - W1: [5]
  #   - [S]
  # -
  #   - ECUM: [7]
  #   - W2: [1]
  #   - Fuel Injector 2: [1]
  -
    - W15: [1]
    - [S]
    - W2: [1]
    - Fuel Injector 1: [1]
  # -
  #   - W2: [1]
  #   - ECU1: [M4]
  # -
  #   - ECUM: [6]
  #   - W1: [2]
  # -
  #   - W2: [1]
  #   - LSU: [3]
  -
    - ECUF: [4]
    - W16: [1]
    - MAF Sensor: [4]
  -
    - ECUM: [8]
    - W11: [1]
    - Servo Power: [1]
  # -
  #   - ECUM: [4]
  #   - W7: [3]
  -
    - ECUF: [12, 6]
    - W4: [1-2]
    - Fuse Block: [F1-,F2-]
  -
    - ECUF: [11]
    - W7: [1]
    - Fuse Block: [F3-]
  -
    - Positive Bus Bar: [3,3]
    - W6: [1,2]
    - Fuse Block: [F1+,F3+]
  -
    - Positive Bus Bar: [4]
    - W8: [1]
    - KillSwitch: [2]
  -
    - KillSwitch: [3]
    - W14: [1]
    - Fuse Block: [F2+]
  -
    - ECUF: [Extra Out 2]
    - W17: [1]
    - Tachometer: [12V]
  # -
  #   - Batt: [2]
  #   - W9: [1]
  #   - Engine Head: [Head Bolt]
  -
    - W15: [1]
    - [S]
    - W21: [1]
    - LSU: [3]
  -
    - ECUF: [GND]
    - W18: [1]
    - Negative Bus Bar: [3]
  -
    - Coil Pack 1: [C]
    - W10: [1]
  -
    - W10: [1]
    - [S]
    - W26: [1]
    - [Engine GND]
  -
    - Coil Pack 4: [C]
    - W10: [2]
  -
    - W10: [2]
    - [S]
    - W26: [1]
  -
    - Coil Pack 3: [C]
    - W19: [1]
  -
    - W19: [1]
    - [S]
    - W26: [1]
  -
    - Coil Pack 2: [C]
    - W19: [2]
  -
    - W19: [2]
    - [S]
    - W26: [1]
  -
    - Coil Pack 1: [Battery Ground]
    - W20: [1]
    - Negative Bus Bar: [4]
  -
    - Coil Pack 2: [Battery Ground]
    - W20: [2]
    - Negative Bus Bar: [4]
  -
    - Coil Pack 3: [Battery Ground]
    - W20: [3]
    - Negative Bus Bar: [4]
  -
    - Coil Pack 4: [Battery Ground]
    - W20: [4]
    - Negative Bus Bar: [4]
  -
    - Servo Power: [GND]
    - W22: [1]
    - Negative Bus Bar: [2]
  -
    - Tachometer: [GND]
    - W12: [1]
    - [Engine GND]
  # -
  #   - ECUM: [1] #Arrows Don't work in this version :(
  #   - -->
  #   - ECUF: [1]
  -
    - W3: [3]
    - [S]
    - W13: [1]
    - [Engine GND]
  -
    - W2: [1]
    - [S]
    - W5: [1]
    - Fuel Injector 2: [1]
  # -
  #   - W26: [1]
  #   - [Engine GND]