(kicad_sch
  (version 20230121)
  (generator eeschema)
  (uuid 28e24157-9e17-4339-b46b-7f782f4298a6)
  (paper "A4")
  (title_block
    (title "NMOS Inverter")
    (company "EETree 电子森林 · CircuitJS 示例转换"))
  (lib_symbols
    (symbol "power:+5V"
      (power)
      (pin_names (offset 0))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "#PWR"
        (at 0 -3.81 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Value" "+5V"
        (at 0 3.556 0)
        (effects (font (size 1.27 1.27))))
      (property "Footprint" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Datasheet" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_keywords" "global power"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Power symbol creates a global label with name \"+5V\""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "+5V_0_1"
        (polyline
          (pts (xy -0.762 1.27) (xy 0 2.54))
          (stroke (width 0) (type default))
          (fill (type none)))
        (polyline
          (pts (xy 0 0) (xy 0 2.54))
          (stroke (width 0) (type default))
          (fill (type none)))
        (polyline
          (pts (xy 0 2.54) (xy 0.762 1.27))
          (stroke (width 0) (type default))
          (fill (type none))))
      (symbol "+5V_1_1"
        (pin power_in line hide
          (at 0 0 90)
          (length 0)
          (name "+5V" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27)))))))
    (symbol "power:GND"
      (power)
      (pin_names (offset 0))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "#PWR"
        (at 0 -6.35 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Value" "GND"
        (at 0 -3.81 0)
        (effects (font (size 1.27 1.27))))
      (property "Footprint" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Datasheet" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_keywords" "global power"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Power symbol creates a global label with name \"GND\" , ground"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "GND_0_1"
        (polyline
          (pts
            (xy 0 0)
            (xy 0 -1.27)
            (xy 1.27 -1.27)
            (xy 0 -2.54)
            (xy -1.27 -1.27)
            (xy 0 -1.27))
          (stroke (width 0) (type default))
          (fill (type none))))
      (symbol "GND_1_1"
        (pin power_in line hide
          (at 0 0 270)
          (length 0)
          (name "GND" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27)))))))
    (symbol "Device:R"
      (pin_numbers hide)
      (pin_names (offset 0))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "R"
        (at 2.032 0 90)
        (effects (font (size 1.27 1.27))))
      (property "Value" "R"
        (at 0 0 90)
        (effects (font (size 1.27 1.27))))
      (property "Footprint" ""
        (at -1.778 0 90)
        (effects (font (size 1.27 1.27)) hide))
      (property "Datasheet" "~"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_keywords" "R res resistor"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Resistor"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_fp_filters" "R_*"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "R_0_1"
        (rectangle
          (start -1.016 -2.54)
          (end 1.016 2.54)
          (stroke (width 0.254) (type default))
          (fill (type none))))
      (symbol "R_1_1"
        (pin passive line
          (at 0 3.81 270)
          (length 1.27)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27)))))
        (pin passive line
          (at 0 -3.81 90)
          (length 1.27)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "2" (effects (font (size 1.27 1.27)))))))
    (symbol "Device:Q_NMOS_GDS"
      (pin_numbers hide)
      (pin_names (offset 0) hide)
      (in_bom yes)
      (on_board yes)
      (property "Reference" "Q"
        (at 5.08 1.27 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Value" "Q_NMOS_GDS"
        (at 5.08 -1.27 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Footprint" ""
        (at 5.08 2.54 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Datasheet" "~"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_keywords" "transistor NMOS N-MOS N-MOSFET"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "N-MOSFET transistor, gate/drain/source"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "Q_NMOS_GDS_0_1"
        (polyline
          (pts (xy 0.254 0) (xy -2.54 0))
          (stroke (width 0) (type default))
          (fill (type none)))
        (polyline
          (pts (xy 0.254 1.905) (xy 0.254 -1.905))
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (polyline
          (pts (xy 0.762 -1.27) (xy 0.762 -2.286))
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (polyline
          (pts (xy 0.762 0.508) (xy 0.762 -0.508))
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (polyline
          (pts (xy 0.762 2.286) (xy 0.762 1.27))
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (polyline
          (pts (xy 2.54 2.54) (xy 2.54 1.778))
          (stroke (width 0) (type default))
          (fill (type none)))
        (polyline
          (pts (xy 2.54 -2.54) (xy 2.54 0) (xy 0.762 0))
          (stroke (width 0) (type default))
          (fill (type none)))
        (polyline
          (pts
            (xy 0.762 -1.778)
            (xy 3.302 -1.778)
            (xy 3.302 1.778)
            (xy 0.762 1.778))
          (stroke (width 0) (type default))
          (fill (type none)))
        (polyline
          (pts
            (xy 1.016 0)
            (xy 2.032 0.381)
            (xy 2.032 -0.381)
            (xy 1.016 0))
          (stroke (width 0) (type default))
          (fill (type outline)))
        (polyline
          (pts
            (xy 2.794 0.508)
            (xy 2.921 0.381)
            (xy 3.683 0.381)
            (xy 3.81 0.254))
          (stroke (width 0) (type default))
          (fill (type none)))
        (polyline
          (pts
            (xy 3.302 0.381)
            (xy 2.921 -0.254)
            (xy 3.683 -0.254)
            (xy 3.302 0.381))
          (stroke (width 0) (type default))
          (fill (type none)))
        (circle
          (center 1.651 0)
          (radius 2.794)
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (circle
          (center 2.54 -1.778)
          (radius 0.254)
          (stroke (width 0) (type default))
          (fill (type outline)))
        (circle
          (center 2.54 1.778)
          (radius 0.254)
          (stroke (width 0) (type default))
          (fill (type outline))))
      (symbol "Q_NMOS_GDS_1_1"
        (pin input line
          (at -5.08 0 0)
          (length 2.54)
          (name "G" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27)))))
        (pin passive line
          (at 2.54 5.08 270)
          (length 2.54)
          (name "D" (effects (font (size 1.27 1.27))))
          (number "2" (effects (font (size 1.27 1.27)))))
        (pin passive line
          (at 2.54 -5.08 90)
          (length 2.54)
          (name "S" (effects (font (size 1.27 1.27))))
          (number "3" (effects (font (size 1.27 1.27))))))))
  (junction
    (at 81.28 81.28)
    (diameter 0)
    (color 0 0 0 0)
    (uuid 4bcadb4d-4ee9-4cd4-a22b-35baa07df8db))
  (wire
    (pts (xy 81.28 91.44) (xy 81.28 106.68))
    (stroke (width 0) (type default))
    (uuid c5fcf1d0-6600-4d66-8cb1-b35f17f9769c))
  (wire
    (pts (xy 81.28 55.88) (xy 60.96 55.88))
    (stroke (width 0) (type default))
    (uuid c326f6d6-f147-4e9f-a9c7-266c870670a6))
  (wire
    (pts (xy 66.04 86.36) (xy 50.8 86.36))
    (stroke (width 0) (type default))
    (uuid b7152858-45db-477a-a693-480ce795ffc3))
  (wire
    (pts (xy 81.28 81.28) (xy 106.68 81.28))
    (stroke (width 0) (type default))
    (uuid a12a0334-77f8-441c-b3fa-3b2417474cc1))
  (wire
    (pts (xy 81.28 64.77) (xy 81.28 55.88))
    (stroke (width 0) (type default))
    (uuid 6cbd42dc-f37b-41b9-bd4a-b013a3c13cea))
  (wire
    (pts (xy 81.28 72.39) (xy 81.28 81.28))
    (stroke (width 0) (type default))
    (uuid 8c775501-7ae9-4c1f-bcf3-de6eb7f10a1d))
  (wire
    (pts (xy 73.66 86.36) (xy 66.04 86.36))
    (stroke (width 0) (type default))
    (uuid 7c693d26-d1b4-426c-9468-3bfe85ef13f3))
  (global_label "IN"
    (shape input)
    (at 50.8 86.36 180)
    (fields_autoplaced)
    (effects (font (size 2.0 2.0)) (justify right))
    (uuid 7386b987-88c2-459f-924b-b195c578b735)
    (property "Intersheetrefs" "${INTERSHEET_REFS}"
      (at 50.8 86.36 0)
      (effects (font (size 1.27 1.27)) hide)))
  (global_label "OUT"
    (shape output)
    (at 106.68 81.28 0)
    (fields_autoplaced)
    (effects (font (size 2.0 2.0)) (justify left))
    (uuid 2631d8bf-b999-4208-9376-44b9fe6fb6c5)
    (property "Intersheetrefs" "${INTERSHEET_REFS}"
      (at 106.68 81.28 0)
      (effects (font (size 1.27 1.27)) hide)))
  (symbol
    (lib_id "power:+5V")
    (at 60.96 55.88 90)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 867e4963-1591-44a0-9374-15a694b5ce3d)
    (property "Reference" "#PWR001"
      (at 60.96 55.88 90)
      (effects (font (size 2.0 2.0)) hide))
    (property "Value" "+5V"
      (at 54.61 55.88 90)
      (effects (font (size 2.0 2.0))))
    (property "Footprint" ""
      (at 60.96 55.88 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 4723764e-a906-424c-baba-0c3ace6bb982))
    (instances
      (project "nmosinverter"
        (path "/264ee63a-c74d-47bb-a4d5-d66196e3b69a"
          (reference "#PWR001")
          (unit 1)))))
  (symbol
    (lib_id "power:GND")
    (at 81.28 106.68 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid a4b89c76-4374-48ff-ade2-7c0cb711c7bf)
    (property "Reference" "#PWR002"
      (at 81.28 106.68 0)
      (effects (font (size 2.0 2.0)) hide))
    (property "Value" "GND"
      (at 81.28 106.68 0)
      (effects (font (size 2.0 2.0)) hide))
    (property "Footprint" ""
      (at 81.28 106.68 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid fc7d6417-0fd8-449e-8647-9c4ae03bc7c5))
    (instances
      (project "nmosinverter"
        (path "/264ee63a-c74d-47bb-a4d5-d66196e3b69a"
          (reference "#PWR002")
          (unit 1)))))
  (symbol
    (lib_id "Device:R")
    (at 81.28 68.58 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 1b84dd05-2577-4907-bc79-af98c22f2a07)
    (property "Reference" "R1"
      (at 86.995 67.31 0)
      (effects (font (size 2.0 2.0))))
    (property "Value" "5kΩ"
      (at 86.995 69.85 0)
      (effects (font (size 2.0 2.0))))
    (property "Footprint" ""
      (at 81.28 68.58 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 463486bf-8e1d-43e5-9da9-b16ab2d8a6e7))
    (pin "2" (uuid 49d4f788-7aa1-47e3-9f1c-45862f4fdc05))
    (instances
      (project "nmosinverter"
        (path "/264ee63a-c74d-47bb-a4d5-d66196e3b69a"
          (reference "R1")
          (unit 1)))))
  (symbol
    (lib_id "Device:Q_NMOS_GDS")
    (at 78.74 86.36 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 549f5be0-69a5-4922-8b9f-9f9e8811b33a)
    (property "Reference" "Q1"
      (at 86.995 86.36 0)
      (effects (font (size 2.0 2.0))))
    (property "Value" ""
      (at 78.74 86.36 0)
      (effects (font (size 2.0 2.0)) hide))
    (property "Footprint" ""
      (at 78.74 86.36 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 93c9d666-4ccd-4874-8dde-b1f63a435a7b))
    (pin "2" (uuid f1a8d847-493e-4831-8464-d214a61785c0))
    (pin "3" (uuid ede32253-424e-4358-9c91-9de82e239ae3))
    (instances
      (project "nmosinverter"
        (path "/264ee63a-c74d-47bb-a4d5-d66196e3b69a"
          (reference "Q1")
          (unit 1)))))
  (sheet_instances (path "/" (page "1"))))
