(kicad_sch
  (version 20230121)
  (generator eeschema)
  (uuid d422542a-c5a8-4345-82d4-564b3928a7eb)
  (paper "A4")
  (title_block
    (title "Light Bulb")
    (company "EETree 电子森林 · CircuitJS 示例转换"))
  (lib_symbols
    (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:Lamp"
      (pin_numbers hide)
      (pin_names (offset 0.0254) hide)
      (in_bom yes)
      (on_board yes)
      (property "Reference" "LA"
        (at 0.635 3.81 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Value" "Lamp"
        (at 0.635 -3.81 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Footprint" ""
        (at 0 2.54 90)
        (effects (font (size 1.27 1.27)) hide))
      (property "Datasheet" "~"
        (at 0 2.54 90)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_keywords" "lamp"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Lamp"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "Lamp_0_1"
        (polyline
          (pts (xy -1.778 1.778) (xy 1.778 -1.778))
          (stroke (width 0) (type default))
          (fill (type none)))
        (polyline
          (pts (xy 1.778 1.778) (xy -1.778 -1.778))
          (stroke (width 0) (type default))
          (fill (type none)))
        (circle
          (center 0 0)
          (radius 2.54)
          (stroke (width 0) (type default))
          (fill (type none))))
      (symbol "Lamp_1_1"
        (pin passive line
          (at 0 -5.08 90)
          (length 2.54)
          (name "-" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27)))))
        (pin passive line
          (at 0 5.08 270)
          (length 2.54)
          (name "+" (effects (font (size 1.27 1.27))))
          (number "2" (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 "Simulation_SPICE:VSIN"
      (pin_numbers hide)
      (pin_names (offset 0.0254))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "V"
        (at 2.54 2.54 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Value" "VSIN"
        (at 2.54 0 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Footprint" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Sim.Pins" "1=+ 2=-"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Sim.Params" "dc=0 ampl=1 f=1k ac=1"
        (at 2.54 -2.54 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Sim.Type" "SIN"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Sim.Device" "V"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) (justify left) hide))
      (property "ki_keywords" "simulation ac vac"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Voltage source, sinusoidal"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "VSIN_0_0"
        (arc
          (start 0 0)
          (mid -0.635 0.6323)
          (end -1.27 0)
          (stroke (width 0) (type default))
          (fill (type none)))
        (arc
          (start 0 0)
          (mid 0.635 -0.6323)
          (end 1.27 0)
          (stroke (width 0) (type default))
          (fill (type none)))
        (text "+"
          (at 0 1.905 0)
          (effects (font (size 1.27 1.27)))))
      (symbol "VSIN_0_1"
        (circle
          (center 0 0)
          (radius 2.54)
          (stroke (width 0.254) (type default))
          (fill (type background))))
      (symbol "VSIN_1_1"
        (pin passive line
          (at 0 5.08 270)
          (length 2.54)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27)))))
        (pin passive line
          (at 0 -5.08 90)
          (length 2.54)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "2" (effects (font (size 1.27 1.27))))))))
  (wire
    (pts (xy 55.88 45.72) (xy 55.88 27.94))
    (stroke (width 0) (type default))
    (uuid e19461cb-f19e-4e90-a04d-faf1b013bd91))
  (wire
    (pts (xy 55.88 55.88) (xy 55.88 73.66))
    (stroke (width 0) (type default))
    (uuid b729d656-3ca4-4145-b6da-cb781c56a805))
  (wire
    (pts (xy 41.91 27.94) (xy 38.1 27.94))
    (stroke (width 0) (type default))
    (uuid 488577f9-ae70-4d38-978c-0ced2136cc13))
  (wire
    (pts (xy 52.07 27.94) (xy 55.88 27.94))
    (stroke (width 0) (type default))
    (uuid b58ebc71-1148-4178-a5fd-7b86d5619d1c))
  (symbol
    (lib_id "power:GND")
    (at 55.88 73.66 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 17f2750f-972b-4d3c-9eae-87ac6aa468b4)
    (property "Reference" "#PWR001"
      (at 55.88 73.66 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 55.88 73.66 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 55.88 73.66 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 79c7c0db-3c57-4057-a3b7-931acbe0ee3d))
    (instances
      (project "lightbulb"
        (path "/9470a2c2-aec4-408e-adb3-901a30079645"
          (reference "#PWR001")
          (unit 1)))))
  (symbol
    (lib_id "Device:Lamp")
    (at 55.88 50.8 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 86efc75e-cb7a-41f7-ae4c-861a9eb9def5)
    (property "Reference" "LA1"
      (at 61.11875 50.8 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" ""
      (at 55.88 50.8 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 55.88 50.8 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid b6207173-4ce0-45d3-a79e-39d682d20bde))
    (pin "2" (uuid 7eda3d6e-fe77-4bb1-b802-c52b00c48aa0))
    (instances
      (project "lightbulb"
        (path "/9470a2c2-aec4-408e-adb3-901a30079645"
          (reference "LA1")
          (unit 1)))))
  (symbol
    (lib_id "Switch:SW_SPST")
    (at 46.99 27.94 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid a394b112-11cb-47c6-9796-686441ffb9ae)
    (property "Reference" "SW1"
      (at 46.99 24.60625 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" ""
      (at 46.99 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 46.99 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 0ea951f3-677e-4b63-8764-af2250d359c5))
    (pin "2" (uuid 8f0de425-99d4-466a-8518-e321462f2bbf))
    (instances
      (project "lightbulb"
        (path "/9470a2c2-aec4-408e-adb3-901a30079645"
          (reference "SW1")
          (unit 1)))))
  (symbol
    (lib_id "Simulation_SPICE:VSIN")
    (at 33.02 27.94 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid b031efc5-cabb-4c53-9aab-46ac996bf85c)
    (property "Reference" "V1"
      (at 33.02 22.225 90)
      (effects (font (size 1.27 1.27))))
    (property "Value" "170V 60Hz"
      (at 33.02 23.8125 90)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 33.02 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 996fd29a-1320-4d84-a3a5-6b76f652d0be))
    (pin "2" (uuid f31a9e66-e314-4aaa-98fc-0e203468c15f))
    (instances
      (project "lightbulb"
        (path "/9470a2c2-aec4-408e-adb3-901a30079645"
          (reference "V1")
          (unit 1)))))
  (symbol
    (lib_id "power:GND")
    (at 27.94 27.94 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 0a61bf92-a068-484a-972b-094420442e73)
    (property "Reference" "#PWR002"
      (at 27.94 27.94 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 27.94 27.94 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 27.94 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid a7493b8f-e658-4a21-a78e-5432b908a812))
    (instances
      (project "lightbulb"
        (path "/9470a2c2-aec4-408e-adb3-901a30079645"
          (reference "#PWR002")
          (unit 1)))))
  (sheet_instances (path "/" (page "1"))))
