(kicad_sch
	(version 20231120)
	(generator "eeschema")
	(generator_version "8.0")
	(paper "A5")
	(title_block
		(title "Intro")
		(date "2024-04-28")
		(company "Silicon Chronicles")
		(comment 1 "Building AND gates the wrong way")
		(comment 2 "Part I")
	)
	(lib_symbols
		(symbol "Device:LED"
			(pin_numbers hide)
			(pin_names
				(offset 1.016) hide)
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "D"
				(at 0 2.54 0)
			)
			(property "Value" "LED"
				(at 0 -2.54 0)
			)
			(property "Footprint" ""
				(at 0 0 0)
			)
			(property "Datasheet" "~"
				(at 0 0 0)
			)
			(property "Description" "Light emitting diode"
				(at 0 0 0)
			)
			(property "ki_keywords" "LED diode"
				(at 0 0 0)
			)
			(property "ki_fp_filters" "LED* LED_SMD:* LED_THT:*"
				(at 0 0 0)
			)
			(symbol "LED_0_1"
				(polyline
					(pts
						(xy -1.27 -1.27) (xy -1.27 1.27)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy -1.27 0) (xy 1.27 0)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 1.27 -1.27) (xy 1.27 1.27) (xy -1.27 0) (xy 1.27 -1.27)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy -3.048 -0.762) (xy -4.572 -2.286) (xy -3.81 -2.286) (xy -4.572 -2.286) (xy -4.572 -1.524)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy -1.778 -0.762) (xy -3.302 -2.286) (xy -2.54 -2.286) (xy -3.302 -2.286) (xy -3.302 -1.524)
					)
					(fill
						(type none)
					)
				)
			)
			(symbol "LED_1_1"
				(pin passive line
					(at -3.81 0 0)
					(length 2.54)
					(name "K")
					(number "1")
				)
				(pin passive line
					(at 3.81 0 180)
					(length 2.54)
					(name "A")
					(number "2")
				)
			)
		)
		(symbol "Device:R"
			(pin_numbers hide)
			(pin_names
				(offset 0)
			)
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "R"
				(at 2.032 0 90)
			)
			(property "Value" "R"
				(at 0 0 90)
			)
			(property "Footprint" ""
				(at -1.778 0 90)
			)
			(property "Datasheet" "~"
				(at 0 0 0)
			)
			(property "Description" "Resistor"
				(at 0 0 0)
			)
			(property "ki_keywords" "R res resistor"
				(at 0 0 0)
			)
			(property "ki_fp_filters" "R_*"
				(at 0 0 0)
			)
			(symbol "R_0_1"
				(rectangle
					(start -1.016 -2.54)
					(end 1.016 2.54)
					(fill
						(type none)
					)
				)
			)
			(symbol "R_1_1"
				(pin passive line
					(at 0 3.81 270)
					(length 1.27)
					(name "~")
					(number "1")
				)
				(pin passive line
					(at 0 -3.81 90)
					(length 1.27)
					(name "~")
					(number "2")
				)
			)
		)
		(symbol "Switch:SW_Push"
			(pin_numbers hide)
			(pin_names
				(offset 1.016) hide)
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "SW"
				(at 1.27 2.54 0)
			)
			(property "Value" "SW_Push"
				(at 0 -1.524 0)
			)
			(property "Footprint" ""
				(at 0 5.08 0)
			)
			(property "Datasheet" "~"
				(at 0 5.08 0)
			)
			(property "Description" "Push button switch, generic, two pins"
				(at 0 0 0)
			)
			(property "ki_keywords" "switch normally-open pushbutton push-button"
				(at 0 0 0)
			)
			(symbol "SW_Push_0_1"
				(circle
					(center -2.032 0)
					(radius 0.508)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0 1.27) (xy 0 3.048)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 2.54 1.27) (xy -2.54 1.27)
					)
					(fill
						(type none)
					)
				)
				(circle
					(center 2.032 0)
					(radius 0.508)
					(fill
						(type none)
					)
				)
				(pin passive line
					(at -5.08 0 0)
					(length 2.54)
					(name "1")
					(number "1")
				)
				(pin passive line
					(at 5.08 0 180)
					(length 2.54)
					(name "2")
					(number "2")
				)
			)
		)
		(symbol "power:GND"
			(power)
			(pin_numbers hide)
			(pin_names
				(offset 0) hide)
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "#PWR"
				(at 0 -6.35 0)
			)
			(property "Value" "GND"
				(at 0 -3.81 0)
			)
			(property "Footprint" ""
				(at 0 0 0)
			)
			(property "Datasheet" ""
				(at 0 0 0)
			)
			(property "Description" "Power symbol creates a global label with name \"GND\" , ground"
				(at 0 0 0)
			)
			(property "ki_keywords" "global power"
				(at 0 0 0)
			)
			(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)
					)
					(fill
						(type none)
					)
				)
			)
			(symbol "GND_1_1"
				(pin power_in line
					(at 0 0 270)
					(length 0)
					(name "~")
					(number "1")
				)
			)
		)
		(symbol "power:VCC"
			(power)
			(pin_numbers hide)
			(pin_names
				(offset 0) hide)
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "#PWR"
				(at 0 -3.81 0)
			)
			(property "Value" "VCC"
				(at 0 3.556 0)
			)
			(property "Footprint" ""
				(at 0 0 0)
			)
			(property "Datasheet" ""
				(at 0 0 0)
			)
			(property "Description" "Power symbol creates a global label with name \"VCC\""
				(at 0 0 0)
			)
			(property "ki_keywords" "global power"
				(at 0 0 0)
			)
			(symbol "VCC_0_1"
				(polyline
					(pts
						(xy -0.762 1.27) (xy 0 2.54)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0 0) (xy 0 2.54)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0 2.54) (xy 0.762 1.27)
					)
					(fill
						(type none)
					)
				)
			)
			(symbol "VCC_1_1"
				(pin power_in line
					(at 0 0 90)
					(length 0)
					(name "~")
					(number "1")
				)
			)
		)
	)
	(wire
		(pts
			(xy 74.93 64.77) (xy 76.2 64.77)
		)
	)
	(wire
		(pts
			(xy 125.73 74.93) (xy 125.73 77.47)
		)
	)
	(wire
		(pts
			(xy 125.73 64.77) (xy 125.73 67.31)
		)
	)
	(wire
		(pts
			(xy 111.76 64.77) (xy 115.57 64.77)
		)
	)
	(wire
		(pts
			(xy 123.19 64.77) (xy 125.73 64.77)
		)
	)
	(wire
		(pts
			(xy 74.93 52.07) (xy 74.93 64.77)
		)
	)
	(wire
		(pts
			(xy 86.36 64.77) (xy 101.6 64.77)
		)
	)
	(text "The LED will light up when both inputs are pressed.\n\nThis doesn't make this a \"gate\". In a gate inputs should\nbe controlled with a signal, not requiring human intervention\n\nAlso, the output here (if we consider the spot before D1 as the output)\nis floating when no buttons are pressed, usually you'd want a low\nvalue around 0V"
		(exclude_from_sim no)
		(at 97.536 34.036 0)
	)
	(symbol
		(lib_id "power:GND")
		(at 125.73 77.47 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "#PWR02"
			(at 125.73 83.82 0)
		)
		(property "Value" "GND"
			(at 125.73 82.55 0)
		)
		(property "Footprint" ""
			(at 125.73 77.47 0)
		)
		(property "Datasheet" ""
			(at 125.73 77.47 0)
		)
		(property "Description" "Power symbol creates a global label with name \"GND\" , ground"
			(at 125.73 77.47 0)
		)
		(pin "1")
		(instances
			(project "and-gates-p1"
				(path
					(reference "#PWR02")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Device:LED")
		(at 119.38 64.77 0)
		(mirror y)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "D1"
			(at 120.9675 58.42 0)
		)
		(property "Value" "LED"
			(at 120.9675 60.96 0)
		)
		(property "Footprint" ""
			(at 119.38 64.77 0)
		)
		(property "Datasheet" "~"
			(at 119.38 64.77 0)
		)
		(property "Description" "Light emitting diode"
			(at 119.38 64.77 0)
		)
		(pin "1")
		(pin "2")
		(instances
			(project "and-gates-p1"
				(path
					(reference "D1")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Device:R")
		(at 125.73 71.12 180)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "R1"
			(at 128.27 69.8499 0)
		)
		(property "Value" "220"
			(at 128.27 72.3899 0)
		)
		(property "Footprint" ""
			(at 127.508 71.12 90)
		)
		(property "Datasheet" "~"
			(at 125.73 71.12 0)
		)
		(property "Description" "Resistor"
			(at 125.73 71.12 0)
		)
		(pin "2")
		(pin "1")
		(instances
			(project "and-gates-p1"
				(path
					(reference "R1")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Switch:SW_Push")
		(at 81.28 64.77 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "SW_{A}"
			(at 81.28 57.15 0)
		)
		(property "Value" "SW_Push"
			(at 81.28 59.69 0)
		)
		(property "Footprint" ""
			(at 81.28 59.69 0)
		)
		(property "Datasheet" "~"
			(at 81.28 59.69 0)
		)
		(property "Description" "Push button switch, generic, two pins"
			(at 81.28 64.77 0)
		)
		(pin "1")
		(pin "2")
		(instances
			(project "and-gates-p1"
				(path
					(reference "SW_{A}")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Switch:SW_Push")
		(at 106.68 64.77 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "SW_{B}"
			(at 106.68 57.15 0)
		)
		(property "Value" "SW_Push"
			(at 106.68 59.69 0)
		)
		(property "Footprint" ""
			(at 106.68 59.69 0)
		)
		(property "Datasheet" "~"
			(at 106.68 59.69 0)
		)
		(property "Description" "Push button switch, generic, two pins"
			(at 106.68 64.77 0)
		)
		(pin "1")
		(pin "2")
		(instances
			(project "and-gates-p1"
				(path
					(reference "SW_{B}")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "power:VCC")
		(at 74.93 52.07 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "#PWR01"
			(at 74.93 55.88 0)
		)
		(property "Value" "VCC"
			(at 74.93 46.99 0)
		)
		(property "Footprint" ""
			(at 74.93 52.07 0)
		)
		(property "Datasheet" ""
			(at 74.93 52.07 0)
		)
		(property "Description" "Power symbol creates a global label with name \"VCC\""
			(at 74.93 52.07 0)
		)
		(pin "1")
		(instances
			(project "and-gates-p1"
				(path
					(reference "#PWR01")
					(unit 1)
				)
			)
		)
	)
	(sheet_instances
		(path
			(page "1")
		)
	)
)