(export (version "E")
  (design
    (source "/home/foxirain/now/led-verified-design/led-output-stage-verified.kicad_sch")
    (date "Thu Aug 27 23:24:17 2026")
    (tool "Eeschema 7.0.11+dfsg-1build4")
    (sheet (number "1") (name "/") (tstamps "/")
      (title_block
        (title "One verified 74HC595 output stage · 8 independent channels")
        (company "Kangwon National University Psychology Lab")
        (rev "B · electrically re-audited")
        (date "2026-08-27")
        (source "led-output-stage-verified.kicad_sch")
        (comment (number "1") (value "Reconstructed from source code, build photographs, and SN74HC595 datasheet"))
        (comment (number "2") (value "No undocumented IDC pin-to-channel mapping has been invented"))
        (comment (number "3") (value ""))
        (comment (number "4") (value ""))
        (comment (number "5") (value ""))
        (comment (number "6") (value ""))
        (comment (number "7") (value ""))
        (comment (number "8") (value ""))
        (comment (number "9") (value "")))))
  (components
    (comp (ref "R1")
      (value "150R")
      (footprint "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal")
      (libsource (lib "Device") (part "R_Small") (description "Resistor, small symbol"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "led-verified-design/led-output-stage-verified.kicad_sch"))
      (property (name "ki_description") (value "Resistor, small symbol"))
      (property (name "ki_keywords") (value "R resistor"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "72a53418-a289-4dc1-9c59-0b782d4a0e4f"))
    (comp (ref "R2")
      (value "150R")
      (footprint "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal")
      (libsource (lib "Device") (part "R_Small") (description "Resistor, small symbol"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "led-verified-design/led-output-stage-verified.kicad_sch"))
      (property (name "ki_description") (value "Resistor, small symbol"))
      (property (name "ki_keywords") (value "R resistor"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "49324b21-891f-474f-8581-007a56f04e3f"))
    (comp (ref "R3")
      (value "150R")
      (footprint "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal")
      (libsource (lib "Device") (part "R_Small") (description "Resistor, small symbol"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "led-verified-design/led-output-stage-verified.kicad_sch"))
      (property (name "ki_description") (value "Resistor, small symbol"))
      (property (name "ki_keywords") (value "R resistor"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "7567d6fa-53b7-479c-8e83-2c75e495af64"))
    (comp (ref "R4")
      (value "150R")
      (footprint "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal")
      (libsource (lib "Device") (part "R_Small") (description "Resistor, small symbol"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "led-verified-design/led-output-stage-verified.kicad_sch"))
      (property (name "ki_description") (value "Resistor, small symbol"))
      (property (name "ki_keywords") (value "R resistor"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "d59fe464-dbf5-4aaf-a777-1137eefe14d1"))
    (comp (ref "R5")
      (value "150R")
      (footprint "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal")
      (libsource (lib "Device") (part "R_Small") (description "Resistor, small symbol"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "led-verified-design/led-output-stage-verified.kicad_sch"))
      (property (name "ki_description") (value "Resistor, small symbol"))
      (property (name "ki_keywords") (value "R resistor"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "d54df4f4-05f7-4a50-bf04-eef8ee5a7fec"))
    (comp (ref "R6")
      (value "150R")
      (footprint "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal")
      (libsource (lib "Device") (part "R_Small") (description "Resistor, small symbol"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "led-verified-design/led-output-stage-verified.kicad_sch"))
      (property (name "ki_description") (value "Resistor, small symbol"))
      (property (name "ki_keywords") (value "R resistor"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "6992e41f-7fa9-4727-bcbc-7810d0c6d6aa"))
    (comp (ref "R7")
      (value "150R")
      (footprint "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal")
      (libsource (lib "Device") (part "R_Small") (description "Resistor, small symbol"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "led-verified-design/led-output-stage-verified.kicad_sch"))
      (property (name "ki_description") (value "Resistor, small symbol"))
      (property (name "ki_keywords") (value "R resistor"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "61fdd9fe-524b-4285-9680-f2447686943b"))
    (comp (ref "R8")
      (value "150R")
      (footprint "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal")
      (libsource (lib "Device") (part "R_Small") (description "Resistor, small symbol"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "led-verified-design/led-output-stage-verified.kicad_sch"))
      (property (name "ki_description") (value "Resistor, small symbol"))
      (property (name "ki_keywords") (value "R resistor"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "8eba9af1-9b26-4673-896f-d13faa9c86c5"))
    (comp (ref "U1")
      (value "74HC595")
      (footprint "Package_DIP:DIP-16_W7.62mm")
      (datasheet "https://www.ti.com/lit/ds/symlink/sn74hc595.pdf")
      (libsource (lib "74xx") (part "74HC595") (description "8-bit serial in/out Shift Register 3-State Outputs"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "led-verified-design/led-output-stage-verified.kicad_sch"))
      (property (name "ki_description") (value "8-bit serial in/out Shift Register 3-State Outputs"))
      (property (name "ki_keywords") (value "HCMOS SR 3State"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "022aa3cc-379d-468c-81f8-e6ee6aa066c5")))
  (libparts
    (libpart (lib "74xx") (part "74HC595")
      (description "8-bit serial in/out Shift Register 3-State Outputs")
      (docs "http://www.ti.com/lit/ds/symlink/sn74hc595.pdf")
      (footprints
        (fp "DIP*W7.62mm*")
        (fp "SOIC*3.9x9.9mm*P1.27mm*")
        (fp "TSSOP*4.4x5mm*P0.65mm*")
        (fp "SOIC*5.3x10.2mm*P1.27mm*")
        (fp "SOIC*7.5x10.3mm*P1.27mm*"))
      (fields
        (field (name "Reference") "U")
        (field (name "Value") "74HC595")
        (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/sn74hc595.pdf"))
      (pins
        (pin (num "1") (name "QB") (type "tri_state"))
        (pin (num "2") (name "QC") (type "tri_state"))
        (pin (num "3") (name "QD") (type "tri_state"))
        (pin (num "4") (name "QE") (type "tri_state"))
        (pin (num "5") (name "QF") (type "tri_state"))
        (pin (num "6") (name "QG") (type "tri_state"))
        (pin (num "7") (name "QH") (type "tri_state"))
        (pin (num "8") (name "GND") (type "power_in"))
        (pin (num "9") (name "QH'") (type "output"))
        (pin (num "10") (name "~{SRCLR}") (type "input"))
        (pin (num "11") (name "SRCLK") (type "input"))
        (pin (num "12") (name "RCLK") (type "input"))
        (pin (num "13") (name "~{OE}") (type "input"))
        (pin (num "14") (name "SER") (type "input"))
        (pin (num "15") (name "QA") (type "tri_state"))
        (pin (num "16") (name "VCC") (type "power_in"))))
    (libpart (lib "Device") (part "R_Small")
      (description "Resistor, small symbol")
      (docs "~")
      (footprints
        (fp "R_*"))
      (fields
        (field (name "Reference") "R")
        (field (name "Value") "R_Small")
        (field (name "Datasheet") "~"))
      (pins
        (pin (num "1") (name "") (type "passive"))
        (pin (num "2") (name "") (type "passive")))))
  (libraries)
  (nets
    (net (code "1") (name "/+5V")
      (node (ref "U1") (pin "16") (pinfunction "VCC") (pintype "power_in")))
    (net (code "2") (name "/+5V_SRCLR")
      (node (ref "U1") (pin "10") (pinfunction "~{SRCLR}") (pintype "input")))
    (net (code "3") (name "/CH0")
      (node (ref "R1") (pin "2") (pintype "passive")))
    (net (code "4") (name "/CH1")
      (node (ref "R2") (pin "2") (pintype "passive")))
    (net (code "5") (name "/CH2")
      (node (ref "R3") (pin "2") (pintype "passive")))
    (net (code "6") (name "/CH3")
      (node (ref "R4") (pin "2") (pintype "passive")))
    (net (code "7") (name "/CH4")
      (node (ref "R5") (pin "2") (pintype "passive")))
    (net (code "8") (name "/CH5")
      (node (ref "R6") (pin "2") (pintype "passive")))
    (net (code "9") (name "/CH6")
      (node (ref "R7") (pin "2") (pintype "passive")))
    (net (code "10") (name "/CH7")
      (node (ref "R8") (pin "2") (pintype "passive")))
    (net (code "11") (name "/GND")
      (node (ref "U1") (pin "8") (pinfunction "GND") (pintype "power_in")))
    (net (code "12") (name "/GND_OE")
      (node (ref "U1") (pin "13") (pinfunction "~{OE}") (pintype "input")))
    (net (code "13") (name "/QHPRIME_TO_NEXT_SER")
      (node (ref "U1") (pin "9") (pinfunction "QH'") (pintype "output")))
    (net (code "14") (name "/RCLK_BCM27")
      (node (ref "U1") (pin "12") (pinfunction "RCLK") (pintype "input")))
    (net (code "15") (name "/SER_IN")
      (node (ref "U1") (pin "14") (pinfunction "SER") (pintype "input")))
    (net (code "16") (name "/SRCLK_BCM17")
      (node (ref "U1") (pin "11") (pinfunction "SRCLK") (pintype "input")))
    (net (code "17") (name "/U1_QA_RAW")
      (node (ref "R1") (pin "1") (pintype "passive"))
      (node (ref "U1") (pin "15") (pinfunction "QA") (pintype "tri_state")))
    (net (code "18") (name "/U1_QB_RAW")
      (node (ref "R2") (pin "1") (pintype "passive"))
      (node (ref "U1") (pin "1") (pinfunction "QB") (pintype "tri_state")))
    (net (code "19") (name "/U1_QC_RAW")
      (node (ref "R3") (pin "1") (pintype "passive"))
      (node (ref "U1") (pin "2") (pinfunction "QC") (pintype "tri_state")))
    (net (code "20") (name "/U1_QD_RAW")
      (node (ref "R4") (pin "1") (pintype "passive"))
      (node (ref "U1") (pin "3") (pinfunction "QD") (pintype "tri_state")))
    (net (code "21") (name "/U1_QE_RAW")
      (node (ref "R5") (pin "1") (pintype "passive"))
      (node (ref "U1") (pin "4") (pinfunction "QE") (pintype "tri_state")))
    (net (code "22") (name "/U1_QF_RAW")
      (node (ref "R6") (pin "1") (pintype "passive"))
      (node (ref "U1") (pin "5") (pinfunction "QF") (pintype "tri_state")))
    (net (code "23") (name "/U1_QG_RAW")
      (node (ref "R7") (pin "1") (pintype "passive"))
      (node (ref "U1") (pin "6") (pinfunction "QG") (pintype "tri_state")))
    (net (code "24") (name "/U1_QH_RAW")
      (node (ref "R8") (pin "1") (pintype "passive"))
      (node (ref "U1") (pin "7") (pinfunction "QH") (pintype "tri_state")))))