(kicad_sch
  (version 20230121)
  (generator eeschema)
  (uuid 8ef39630-3005-4d92-879a-cbdfc146f2fa)
  (paper "A4")
  (title_block
    (title "Switch")
    (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 "Switch:SW_SPST"
      (pin_numbers hide)
      (pin_names (offset 0) hide)
      (in_bom yes)
      (on_board yes)
      (property "Reference" "SW"
        (at 0 3.175 0)
        (effects (font (size 1.27 1.27))))
      (property "Value" "SW_SPST"
        (at 0 -2.54 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" "switch lever"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Single Pole Single Throw (SPST) switch"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "SW_SPST_0_0"
        (circle
          (center -2.032 0)
          (radius 0.508)
          (stroke (width 0) (type default))
          (fill (type none)))
        (polyline
          (pts (xy -1.524 0.254) (xy 1.524 1.778))
          (stroke (width 0) (type default))
          (fill (type none)))
        (circle
          (center 2.032 0)
          (radius 0.508)
          (stroke (width 0) (type default))
          (fill (type none))))
      (symbol "SW_SPST_1_1"
        (pin passive line
          (at -5.08 0 0)
          (length 2.54)
          (name "A" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27)))))
        (pin passive line
          (at 5.08 0 180)
          (length 2.54)
          (name "B" (effects (font (size 1.27 1.27))))
          (number "2" (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 35.56 27.94)
    (diameter 0)
    (color 0 0 0 0)
    (uuid c8f9a63c-3c64-49d0-ab52-530b1028540c))
  (junction
    (at 53.34 60.96)
    (diameter 0)
    (color 0 0 0 0)
    (uuid 87b4410b-f08f-44b3-977a-daa65cee1538))
  (wire
    (pts (xy 35.56 27.94) (xy 53.34 27.94))
    (stroke (width 0) (type default))
    (uuid 5118aaa8-1389-4119-8164-de95c28bfd7a))
  (wire
    (pts (xy 53.34 58.42) (xy 53.34 60.96))
    (stroke (width 0) (type default))
    (uuid d6fa959a-eaaf-486e-8ee8-96d2206909c2))
  (wire
    (pts (xy 35.56 27.94) (xy 35.56 43.18))
    (stroke (width 0) (type default))
    (uuid 4ddc6530-6c71-403b-b101-d303b31ace08))
  (wire
    (pts (xy 35.56 27.94) (xy 27.94 27.94))
    (stroke (width 0) (type default))
    (uuid f822bc21-e769-4bac-bde2-fcad5e522a51))
  (wire
    (pts (xy 35.56 44.45) (xy 35.56 43.18))
    (stroke (width 0) (type default))
    (uuid bdbdc32c-ef69-44bd-99e9-57dc7578a0ac))
  (wire
    (pts (xy 35.56 54.61) (xy 35.56 55.88))
    (stroke (width 0) (type default))
    (uuid 44412fcb-6a20-4b48-8167-92177c1519ab))
  (wire
    (pts (xy 53.34 36.83) (xy 53.34 27.94))
    (stroke (width 0) (type default))
    (uuid ea6a6e6c-8e7c-46ef-9e1c-d5a928b35084))
  (wire
    (pts (xy 53.34 44.45) (xy 53.34 53.34))
    (stroke (width 0) (type default))
    (uuid 5c7755ba-20f2-4f17-9efd-e56d7268dc72))
  (wire
    (pts (xy 53.34 50.8) (xy 53.34 53.34))
    (stroke (width 0) (type default))
    (uuid 2c06d7cc-ad99-4fb4-8a88-718b303a01e5))
  (wire
    (pts (xy 45.72 55.88) (xy 35.56 55.88))
    (stroke (width 0) (type default))
    (uuid 9ac39fd4-02f9-4261-a4fd-d1d986208d79))
  (symbol
    (lib_id "power:+5V")
    (at 27.94 27.94 90)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid fdbce6f7-7040-47f9-b3c3-6f7975e91aab)
    (property "Reference" "#PWR001"
      (at 27.94 27.94 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "+5V"
      (at 23.1775 27.94 90)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 27.94 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid f5921d52-c1c3-4a3a-9707-4f671dad448d))
    (instances
      (project "mosswitch"
        (path "/e9756330-b53d-4353-bac8-41f87e0399ed"
          (reference "#PWR001")
          (unit 1)))))
  (symbol
    (lib_id "power:GND")
    (at 53.34 60.96 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 9586d1ea-116a-4f0a-8654-88cc45a3f5d9)
    (property "Reference" "#PWR002"
      (at 53.34 60.96 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 53.34 60.96 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 53.34 60.96 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 0382fc8c-213e-4215-9e36-ac5f9adc12ad))
    (instances
      (project "mosswitch"
        (path "/e9756330-b53d-4353-bac8-41f87e0399ed"
          (reference "#PWR002")
          (unit 1)))))
  (symbol
    (lib_id "Switch:SW_SPST")
    (at 35.56 49.53 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 0bc7368c-8c03-4b23-b619-1274c7bd2725)
    (property "Reference" "SW1"
      (at 40.005 49.53 90)
      (effects (font (size 1.27 1.27))))
    (property "Value" ""
      (at 35.56 49.53 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 35.56 49.53 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 3f4f4fd9-2e08-4c81-b60e-48cfe2e6284d))
    (pin "2" (uuid 15320766-4446-40f4-8dec-39fe3b9e8e8c))
    (instances
      (project "mosswitch"
        (path "/e9756330-b53d-4353-bac8-41f87e0399ed"
          (reference "SW1")
          (unit 1)))))
  (symbol
    (lib_id "Device:R")
    (at 53.34 40.64 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid f49b87ae-96aa-43b4-bbe6-95a9067b2207)
    (property "Reference" "R1"
      (at 57.62625 39.84625 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" "300Ω"
      (at 57.62625 41.43375 0)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 53.34 40.64 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 73e4f7cf-da21-45d9-80f8-7799e7ee2cff))
    (pin "2" (uuid d6018a69-e4ee-4e8b-8cf5-72112fd7bdfc))
    (instances
      (project "mosswitch"
        (path "/e9756330-b53d-4353-bac8-41f87e0399ed"
          (reference "R1")
          (unit 1)))))
  (symbol
    (lib_id "Device:Q_NMOS_GDS")
    (at 50.8 55.88 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 0a574da6-eb3e-4375-98d2-638a2982a04c)
    (property "Reference" "Q1"
      (at 57.4675 55.88 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" ""
      (at 50.8 55.88 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 50.8 55.88 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid d2acd1d2-9a29-4295-930d-d022d93d67e3))
    (pin "2" (uuid 41857396-a05c-4213-beca-7129149f9dd0))
    (pin "3" (uuid 431cf543-9c60-43df-b3ec-bce85726018b))
    (instances
      (project "mosswitch"
        (path "/e9756330-b53d-4353-bac8-41f87e0399ed"
          (reference "Q1")
          (unit 1)))))
  (sheet_instances (path "/" (page "1"))))
