metadata:
  title: LED drops and limit switch
  description: "LED feeds L1-L3 (board to unplug point), pigtails L1p-L3p\nto the three lamp strips, and the limit switch cable."

connectors:
  BOARD_L1: &dupont
    type: Dupont 1x2 female, 2.54 mm
    pinlabels: [GND, +24V]
    notes: "On basically board v1.3, J8, J9 or J10. Black\ngoes in the cavity at the moulded arrow: that end\ngoes over the pin printed GND."
  BOARD_L2: *dupont
  BOARD_L3: *dupont
  LJ1: &ledjack
    type: DC jack 5.5x2.1 female, inline
    pinlabels: [+24V (tip), GND (sleeve)]
    notes: "Unplug point."
  LJ2: *ledjack
  LJ3: *ledjack
  LP1: &ledplug
    type: DC plug 5.5x2.1 male
    pinlabels: [+24V (tip), GND (sleeve)]
  LP2: *ledplug
  LP3: *ledplug
  STRIP1: &strip
    type: Solderless clamp-on strip connector
    pinlabels: [+24V, GND]
    notes: "LED strip, 6000K. Clamp-on connector instead\nof soldering. Pick the variant with IDC crimp\npoints on both sides so it takes the pigtail\nwire as well as the strip."
  STRIP2: *strip
  STRIP3: *strip
  BOARD_LIM:
    type: Dupont 1x3 female, 2.54 mm
    pincount: 3
    pinlabels: [GND, SIG, "+3V3"]
    notes: "On basically board v1.3, J5 (HALL_SW_0). Pin\norder read off the v1.3 netlist. Position 1 is\nthe cavity at the moulded arrow. Position 3\nis deliberately unpopulated: it lines up with\nthe 3.3 V pin, so the plug cannot go on\nbackwards."
  SW:
    type: "Quick-connect receptacle, #187 (4.75 x 0.5 mm tab)"
    pinlabels: [GND, SIG]
    notes: "Omron V-155-1C25, quick-connect (#187) tabs.\nThese push on, no soldering. Fully insulated:\nthe switch is SPDT and the third tab is\nunused."

cables:
  L1: &feed
    gauge: 22 AWG
    length: 36 in
    colors: [BK, RD]
    notes: "LED feed. Black at the board end arrow."
  L2: *feed
  L3: *feed
  L1P: &pig
    gauge: 22 AWG
    length: 6 in
    colors: [RD, BK]
    notes: "LED pigtail."
  L2P: *pig
  L3P: *pig
  LIM:
    gauge: 22 AWG
    length: 24 in
    colors: [BK, WH]
    notes: "Limit switch. Black ground, white signal."

connections:
  -
    - BOARD_L1: [1-2]
    - L1: [1-2]
    - LJ1: [2, 1]
  -
    - BOARD_L2: [1-2]
    - L2: [1-2]
    - LJ2: [2, 1]
  -
    - BOARD_L3: [1-2]
    - L3: [1-2]
    - LJ3: [2, 1]
  -
    - LP1: [1-2]
    - L1P: [1-2]
    - STRIP1: [1-2]
  -
    - LP2: [1-2]
    - L2P: [1-2]
    - STRIP2: [1-2]
  -
    - LP3: [1-2]
    - L3P: [1-2]
    - STRIP3: [1-2]
  -
    - BOARD_LIM: [1-2]
    - LIM: [1-2]
    - SW: [1-2]
  -
    - LJ1
    - <==>
    - LP1
  -
    - LJ2
    - <==>
    - LP2
  -
    - LJ3
    - <==>
    - LP3
