(kicad_sch (version 20220904) (generator eeschema)
  (paper "A4")
  (lib_symbols
    (symbol "Power_Management:AP2161W" (in_bom yes) (on_board yes)
      (property "Reference" "U" (id 0) (at -7.62 -6.35 0)
)
      (property "Value" "AP2161W" (id 1) (at -7.62 6.35 0)
)
      (property "Footprint" "Package_TO_SOT_SMD:SOT-23-5" (id 2) (at 0 -10.16 0)
)
      (property "Datasheet" "https://www.diodes.com/assets/Datasheets/AP2161.pdf" (id 3) (at 0 1.27 0)
)
      (property "ki_keywords" "Limit USB Active Low" (id 4) (at 0 0 0)
)
      (property "ki_description" "Current limited power switch, single channel, SOT-23-5" (id 5) (at 0 0 0)
)
      (property "ki_fp_filters" "SOT?23*" (id 6) (at 0 0 0)
)
      (symbol "AP2161W_0_1"
        (rectangle (start -7.62 5.08) (end 7.62 -5.08)
          (fill (type background))
        )
      )
      (symbol "AP2161W_1_1"
        (pin power_out line (at 10.16 2.54 180) (length 2.54)
          (name "OUT")
          (number "1")
        )
        (pin power_in line (at 0 -7.62 90) (length 2.54)
          (name "GND")
          (number "2")
        )
        (pin open_collector line (at 10.16 -2.54 180) (length 2.54)
          (name "~{FLG}")
          (number "3")
        )
        (pin input line (at -10.16 -2.54 0) (length 2.54)
          (name "~{EN}")
          (number "4")
        )
        (pin power_in line (at -10.16 2.54 0) (length 2.54)
          (name "IN")
          (number "5")
        )
      )
    )
  )
  (wire (pts (xy 85.09 81.28) (xy 110.49 81.28)))
  (text_box "There should be 8 errors here:\n4x Pin not connected\n3x Input Pin not connected to output\n1x Label not connected"
    (at 143.51 71.12 0) (size 39.37 15.24)
    (fill (type none))
  )
  (label "input_label" (at 85.09 81.28 0) (fields_autoplaced))
  (symbol (lib_id "Power_Management:AP2161W") (at 120.65 83.82 0) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (default_instance (reference "U1") (unit 1) (value "AP2161W") (footprint "Package_TO_SOT_SMD:SOT-23-5"))
    (property "Reference" "U1" (id 0) (at 120.65 74.93 0))
    (property "Value" "AP2161W" (id 1) (at 120.65 77.47 0))
    (property "Footprint" "Package_TO_SOT_SMD:SOT-23-5" (id 2) (at 120.65 93.98 0))
    (property "Datasheet" "https://www.diodes.com/assets/Datasheets/AP2161.pdf" (id 3) (at 120.65 82.55 0))
    (pin "1")
    (pin "2")
    (pin "3")
    (pin "4")
    (pin "5")
  )
  (sheet_instances
    (path (page "1"))
  )
  (symbol_instances
    (path
      (reference "U1") (unit 1) (value "AP2161W") (footprint "Package_TO_SOT_SMD:SOT-23-5")
    )
  )
)
