(kicad_sch
  (version 20230121)
  (generator eeschema)
  (uuid "13013f29-b9df-4b82-ad28-e51596b7e0b4")
  (paper "A3")
  (title_block
    (title "Fiber Dig-In Alarm — Cabinet Board Prototype (2-channel) — Top level")
    (date "2026-10-24")
    (rev "P1")
    (company "Prototype for engineering review")
    (comment 1 "Bench prototype: 2 optical TX (SFP) + 2 optical RX channels, MCU, power, alarm latch, relays")
    (comment 2 "Production board repeats the RX channel x8 and SFP slot x8 (see design spec)")
    (comment 3 "Generated schematic — verify custom/unfootprinted parts before layout"))
  (lib_symbols)
  (sheet
    (at 30.48 50.8)
    (size 50.8 20.32)
    (fields_autoplaced)
    (stroke
      (width 0.1524)
      (type solid))
    (fill (color 0 0 0 0))
    (uuid "3102bd25-04ce-4309-a628-11774ee95c57")
    (property "Sheetname" "Power"
      (at 30.48 50.0884 0)
      (effects
        (font (size 1.27 1.27))
        (justify left bottom)))
    (property "Sheetfile" "power.kicad_sch"
      (at 30.48 71.7084 0)
      (effects
        (font (size 1.27 1.27))
        (justify left top)))
    (instances
      (project "fiberalarm"
        (path "/13013f29-b9df-4b82-ad28-e51596b7e0b4"
          (page "2")))))
  (text "12 V input, protection,\n3.3 V SFP buck, 5 V buck,\n3.3 V analog LDO"
    (at 31.75 54.61 0)
    (effects
      (font (size 1.27 1.27))
      (justify left top))
    (uuid "1887e037-71ce-4175-a11e-198036a93a39"))
  (sheet
    (at 106.68 50.8)
    (size 50.8 20.32)
    (fields_autoplaced)
    (stroke
      (width 0.1524)
      (type solid))
    (fill (color 0 0 0 0))
    (uuid "0fc18357-c49b-42ce-9dcf-c29a86af85e6")
    (property "Sheetname" "MCU"
      (at 106.68 50.0884 0)
      (effects
        (font (size 1.27 1.27))
        (justify left bottom)))
    (property "Sheetfile" "mcu.kicad_sch"
      (at 106.68 71.7084 0)
      (effects
        (font (size 1.27 1.27))
        (justify left top)))
    (instances
      (project "fiberalarm"
        (path "/13013f29-b9df-4b82-ad28-e51596b7e0b4"
          (page "3")))))
  (text "STM32G474 MCU,\ndecoupling, SWD,\nboot/reset"
    (at 107.95 54.61 0)
    (effects
      (font (size 1.27 1.27))
      (justify left top))
    (uuid "5d4b080f-5928-45ea-89a0-3e155a236415"))
  (sheet
    (at 182.88 50.8)
    (size 50.8 20.32)
    (fields_autoplaced)
    (stroke
      (width 0.1524)
      (type solid))
    (fill (color 0 0 0 0))
    (uuid "163f48dd-8f03-432b-a784-9635be067553")
    (property "Sheetname" "Optical TX"
      (at 182.88 50.0884 0)
      (effects
        (font (size 1.27 1.27))
        (justify left bottom)))
    (property "Sheetfile" "optical_tx.kicad_sch"
      (at 182.88 71.7084 0)
      (effects
        (font (size 1.27 1.27))
        (justify left top)))
    (instances
      (project "fiberalarm"
        (path "/13013f29-b9df-4b82-ad28-e51596b7e0b4"
          (page "4")))))
  (text "2x 1550 nm SFP transmitters,\nMSA power filters, status\npull-ups, test headers"
    (at 184.15 54.61 0)
    (effects
      (font (size 1.27 1.27))
      (justify left top))
    (uuid "aa6ce1a7-416d-47d8-b050-a1964de02da7"))
  (sheet
    (at 259.08 50.8)
    (size 50.8 20.32)
    (fields_autoplaced)
    (stroke
      (width 0.1524)
      (type solid))
    (fill (color 0 0 0 0))
    (uuid "da23f777-8323-4658-a0a2-0bcd56a9c4f4")
    (property "Sheetname" "Optical RX"
      (at 259.08 50.0884 0)
      (effects
        (font (size 1.27 1.27))
        (justify left bottom)))
    (property "Sheetfile" "optical_rx.kicad_sch"
      (at 259.08 71.7084 0)
      (effects
        (font (size 1.27 1.27))
        (justify left top)))
    (instances
      (project "fiberalarm"
        (path "/13013f29-b9df-4b82-ad28-e51596b7e0b4"
          (page "5")))))
  (text "2x photodiode receive channels:\nTIA, comparator with hysteresis,\nwired-OR alarm, threshold DAC"
    (at 260.35 54.61 0)
    (effects
      (font (size 1.27 1.27))
      (justify left top))
    (uuid "0cb74b35-c274-42d6-aec1-76968099eeca"))
  (sheet
    (at 335.28 50.8)
    (size 50.8 20.32)
    (fields_autoplaced)
    (stroke
      (width 0.1524)
      (type solid))
    (fill (color 0 0 0 0))
    (uuid "9cffbfd6-80cf-4023-a6b9-c96bee0e0d7b")
    (property "Sheetname" "Alarm and I/O"
      (at 335.28 50.0884 0)
      (effects
        (font (size 1.27 1.27))
        (justify left bottom)))
    (property "Sheetfile" "alarm_io.kicad_sch"
      (at 335.28 71.7084 0)
      (effects
        (font (size 1.27 1.27))
        (justify left top)))
    (instances
      (project "fiberalarm"
        (path "/13013f29-b9df-4b82-ad28-e51596b7e0b4"
          (page "6")))))
  (text "Hardware alarm latch, relays,\nkey switch, CAL button, LEDs,\nUART and radio headers"
    (at 336.55 54.61 0)
    (effects
      (font (size 1.27 1.27))
      (justify left top))
    (uuid "aec94285-507e-477f-a2a3-8d93ca67abab"))
  (text "FIBER DIG-IN ALARM — CABINET BOARD, 2-CHANNEL BENCH PROTOTYPE\n\nLight from the far cabinet arrives on each received strand. Each photodiode channel compares its level\nwith a threshold set 3 dB below the calibrated level. Any channel below threshold pulls ALARM_N low,\nwhich latches the siren relay in hardware. The MCU logs the event, reports it by radio and clears the\nlatch only after the keyed reset. The two SFP lasers transmit continuously to the far cabinet.\n\nSheets: Power | MCU | Optical TX | Optical RX | Alarm and I/O\nProduction board: repeat the RX channel x8 and the SFP slot x8."
    (at 30.48 99.06 0)
    (effects
      (font (size 2 2))
      (justify left top))
    (uuid "a34725de-f554-4461-b878-724f5b3893c6"))
  (sheet_instances
    (path "/"
      (page "1"))))
