(kicad_sch
	(version 20250114)
	(generator "eeschema")
	(generator_version "9.0")
	(paper "A4")
	(title_block
		(title "Flip-dot coil current sensing on Annax BZS3")
	)
	(lib_symbols
		(symbol "74xx:74HC04"
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "U"
				(at 0 1.27 0)
			)
			(property "Value" "74HC04"
				(at 0 -1.27 0)
			)
			(property "Footprint" ""
				(at 0 0 0)
			)
			(property "Datasheet" "https://assets.nexperia.com/documents/data-sheet/74HC_HCT04.pdf"
				(at 0 0 0)
			)
			(property "Description" "Hex Inverter"
				(at 0 0 0)
			)
			(property "ki_locked" ""
				(at 0 0 0)
			)
			(property "ki_keywords" "HCMOS not inv"
				(at 0 0 0)
			)
			(property "ki_fp_filters" "DIP*W7.62mm* SSOP?14* TSSOP?14*"
				(at 0 0 0)
			)
			(symbol "74HC04_1_0"
				(polyline
					(pts
						(xy -3.81 3.81) (xy -3.81 -3.81) (xy 3.81 0) (xy -3.81 3.81)
					)
					(fill
						(type background)
					)
				)
				(pin input line
					(at -7.62 0 0)
					(length 3.81)
					(name "~")
					(number "1")
				)
				(pin output inverted
					(at 7.62 0 180)
					(length 3.81)
					(name "~")
					(number "2")
				)
			)
			(symbol "74HC04_2_0"
				(polyline
					(pts
						(xy -3.81 3.81) (xy -3.81 -3.81) (xy 3.81 0) (xy -3.81 3.81)
					)
					(fill
						(type background)
					)
				)
				(pin input line
					(at -7.62 0 0)
					(length 3.81)
					(name "~")
					(number "3")
				)
				(pin output inverted
					(at 7.62 0 180)
					(length 3.81)
					(name "~")
					(number "4")
				)
			)
			(symbol "74HC04_3_0"
				(polyline
					(pts
						(xy -3.81 3.81) (xy -3.81 -3.81) (xy 3.81 0) (xy -3.81 3.81)
					)
					(fill
						(type background)
					)
				)
				(pin input line
					(at -7.62 0 0)
					(length 3.81)
					(name "~")
					(number "5")
				)
				(pin output inverted
					(at 7.62 0 180)
					(length 3.81)
					(name "~")
					(number "6")
				)
			)
			(symbol "74HC04_4_0"
				(polyline
					(pts
						(xy -3.81 3.81) (xy -3.81 -3.81) (xy 3.81 0) (xy -3.81 3.81)
					)
					(fill
						(type background)
					)
				)
				(pin input line
					(at -7.62 0 0)
					(length 3.81)
					(name "~")
					(number "9")
				)
				(pin output inverted
					(at 7.62 0 180)
					(length 3.81)
					(name "~")
					(number "8")
				)
			)
			(symbol "74HC04_5_0"
				(polyline
					(pts
						(xy -3.81 3.81) (xy -3.81 -3.81) (xy 3.81 0) (xy -3.81 3.81)
					)
					(fill
						(type background)
					)
				)
				(pin input line
					(at -7.62 0 0)
					(length 3.81)
					(name "~")
					(number "11")
				)
				(pin output inverted
					(at 7.62 0 180)
					(length 3.81)
					(name "~")
					(number "10")
				)
			)
			(symbol "74HC04_6_0"
				(polyline
					(pts
						(xy -3.81 3.81) (xy -3.81 -3.81) (xy 3.81 0) (xy -3.81 3.81)
					)
					(fill
						(type background)
					)
				)
				(pin input line
					(at -7.62 0 0)
					(length 3.81)
					(name "~")
					(number "13")
				)
				(pin output inverted
					(at 7.62 0 180)
					(length 3.81)
					(name "~")
					(number "12")
				)
			)
			(symbol "74HC04_7_0"
				(pin power_in line
					(at 0 12.7 270)
					(length 5.08)
					(name "VCC")
					(number "14")
				)
				(pin power_in line
					(at 0 -12.7 90)
					(length 5.08)
					(name "GND")
					(number "7")
				)
			)
			(symbol "74HC04_7_1"
				(rectangle
					(start -5.08 7.62)
					(end 5.08 -7.62)
					(fill
						(type background)
					)
				)
			)
			(embedded_fonts no)
		)
		(symbol "Device:Q_NPN"
			(pin_numbers
				(hide yes)
			)
			(pin_names
				(offset 0)
				(hide yes)
			)
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "Q"
				(at 5.08 1.27 0)
			)
			(property "Value" "Q_NPN"
				(at 5.08 -1.27 0)
			)
			(property "Footprint" ""
				(at 5.08 2.54 0)
			)
			(property "Datasheet" "~"
				(at 0 0 0)
			)
			(property "Description" "NPN bipolar junction transistor"
				(at 0 0 0)
			)
			(property "ki_keywords" "BJT"
				(at 0 0 0)
			)
			(symbol "Q_NPN_0_1"
				(polyline
					(pts
						(xy -2.54 0) (xy 0.635 0)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0.635 1.905) (xy 0.635 -1.905)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0.635 0.635) (xy 2.54 2.54)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0.635 -0.635) (xy 2.54 -2.54)
					)
					(fill
						(type none)
					)
				)
				(circle
					(center 1.27 0)
					(radius 2.8194)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 1.27 -1.778) (xy 1.778 -1.27) (xy 2.286 -2.286) (xy 1.27 -1.778)
					)
					(fill
						(type outline)
					)
				)
			)
			(symbol "Q_NPN_1_1"
				(pin input line
					(at -5.08 0 0)
					(length 2.54)
					(name "B")
					(number "B")
				)
				(pin passive line
					(at 2.54 5.08 270)
					(length 2.54)
					(name "C")
					(number "C")
				)
				(pin passive line
					(at 2.54 -5.08 90)
					(length 2.54)
					(name "E")
					(number "E")
				)
			)
			(embedded_fonts no)
		)
		(symbol "Device:Q_PNP"
			(pin_numbers
				(hide yes)
			)
			(pin_names
				(offset 0)
				(hide yes)
			)
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "Q"
				(at 5.08 1.27 0)
			)
			(property "Value" "Q_PNP"
				(at 5.08 -1.27 0)
			)
			(property "Footprint" ""
				(at 5.08 2.54 0)
			)
			(property "Datasheet" "~"
				(at 0 0 0)
			)
			(property "Description" "PNP bipolar junction transistor"
				(at 0 0 0)
			)
			(property "ki_keywords" "BJT"
				(at 0 0 0)
			)
			(symbol "Q_PNP_0_1"
				(polyline
					(pts
						(xy -2.54 0) (xy 0.635 0)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0.635 1.905) (xy 0.635 -1.905)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0.635 0.635) (xy 2.54 2.54)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0.635 -0.635) (xy 2.54 -2.54)
					)
					(fill
						(type none)
					)
				)
				(circle
					(center 1.27 0)
					(radius 2.8194)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 2.286 -1.778) (xy 1.778 -2.286) (xy 1.27 -1.27) (xy 2.286 -1.778)
					)
					(fill
						(type outline)
					)
				)
			)
			(symbol "Q_PNP_1_1"
				(pin input line
					(at -5.08 0 0)
					(length 2.54)
					(name "B")
					(number "B")
				)
				(pin passive line
					(at 2.54 5.08 270)
					(length 2.54)
					(name "C")
					(number "C")
				)
				(pin passive line
					(at 2.54 -5.08 90)
					(length 2.54)
					(name "E")
					(number "E")
				)
			)
			(embedded_fonts no)
		)
		(symbol "Device:R"
			(pin_numbers
				(hide yes)
			)
			(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")
				)
			)
			(embedded_fonts no)
		)
		(symbol "Regulator_Linear:L7824"
			(pin_names
				(offset 0.254)
			)
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "U"
				(at -3.81 3.175 0)
			)
			(property "Value" "L7824"
				(at 0 3.175 0)
			)
			(property "Footprint" ""
				(at 0.635 -3.81 0)
			)
			(property "Datasheet" "http://www.st.com/content/ccc/resource/technical/document/datasheet/41/4f/b3/b0/12/d4/47/88/CD00000444.pdf/files/CD00000444.pdf/jcr:content/translations/en.CD00000444.pdf"
				(at 0 -1.27 0)
			)
			(property "Description" "Positive 1.5A 40V Linear Regulator, Fixed Output 24V, TO-220/TO-263/TO-252"
				(at 0 0 0)
			)
			(property "ki_keywords" "Voltage Regulator 1.5A Positive"
				(at 0 0 0)
			)
			(property "ki_fp_filters" "TO?252* TO?263* TO?220*"
				(at 0 0 0)
			)
			(symbol "L7824_0_1"
				(rectangle
					(start -5.08 1.905)
					(end 5.08 -5.08)
					(fill
						(type background)
					)
				)
			)
			(symbol "L7824_1_1"
				(pin power_in line
					(at -7.62 0 0)
					(length 2.54)
					(name "IN")
					(number "1")
				)
				(pin power_in line
					(at 0 -7.62 90)
					(length 2.54)
					(name "GND")
					(number "2")
				)
				(pin power_out line
					(at 7.62 0 180)
					(length 2.54)
					(name "OUT")
					(number "3")
				)
			)
			(embedded_fonts no)
		)
		(symbol "Simulation_SPICE:BSOURCE"
			(pin_numbers
				(hide yes)
			)
			(pin_names
				(offset 1.016)
				(hide yes)
			)
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "B"
				(at 2.54 2.54 0)
			)
			(property "Value" "BSOURCE"
				(at 2.54 0 0)
			)
			(property "Footprint" ""
				(at 0 0 0)
			)
			(property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Non_linear_Dependent_Sources"
				(at 0 -16.51 0)
			)
			(property "Description" "Arbitrary behavioral voltage or current source for simulation only"
				(at 0 0 0)
			)
			(property "Sim.Device" "SPICE"
				(at 0 0 0)
			)
			(property "Sim.Params" "type=\"B\" model=\"v=1\""
				(at 2.54 -2.54 0)
			)
			(property "ki_keywords" "simulation dependent"
				(at 0 0 0)
			)
			(symbol "BSOURCE_0_1"
				(polyline
					(pts
						(xy 0 2.54) (xy -2.54 0) (xy 0 -2.54) (xy 2.54 0) (xy 0 2.54)
					)
					(fill
						(type background)
					)
				)
				(polyline
					(pts
						(xy 0 -1.016) (xy 0 -2.032)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0.254 -1.524) (xy 0 -2.032) (xy -0.254 -1.524)
					)
					(fill
						(type none)
					)
				)
			)
			(symbol "BSOURCE_1_1"
				(polyline
					(pts
						(xy -0.508 1.524) (xy 0.508 1.524)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0 1.016) (xy 0 2.032)
					)
					(fill
						(type none)
					)
				)
				(pin passive line
					(at 0 5.08 270)
					(length 2.54)
					(name "N+")
					(number "1")
				)
				(pin passive line
					(at 0 -5.08 90)
					(length 2.54)
					(name "N-")
					(number "2")
				)
			)
			(embedded_fonts no)
		)
		(symbol "Simulation_SPICE:IDC"
			(pin_numbers
				(hide yes)
			)
			(pin_names
				(offset 0.0254)
			)
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "I"
				(at 2.54 2.54 0)
			)
			(property "Value" "1"
				(at 2.54 0 0)
			)
			(property "Footprint" ""
				(at 0 0 0)
			)
			(property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for"
				(at 0 0 0)
			)
			(property "Description" "Current source, DC"
				(at 0 0 0)
			)
			(property "Sim.Pins" "1=+ 2=-"
				(at 0 0 0)
			)
			(property "Sim.Type" "DC"
				(at 0 0 0)
			)
			(property "Sim.Device" "I"
				(at 0 0 0)
			)
			(property "ki_keywords" "simulation"
				(at 0 0 0)
			)
			(symbol "IDC_0_0"
				(polyline
					(pts
						(xy -1.27 0.254) (xy 1.27 0.254)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy -0.762 -0.254) (xy -1.27 -0.254)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0.254 -0.254) (xy -0.254 -0.254)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 1.27 -0.254) (xy 0.762 -0.254)
					)
					(fill
						(type none)
					)
				)
			)
			(symbol "IDC_0_1"
				(polyline
					(pts
						(xy -0.254 1.778) (xy 0 1.27) (xy 0.254 1.778)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0 1.27) (xy 0 2.286)
					)
					(fill
						(type none)
					)
				)
				(circle
					(center 0 0)
					(radius 2.54)
					(fill
						(type background)
					)
				)
			)
			(symbol "IDC_1_1"
				(pin passive line
					(at 0 5.08 270)
					(length 2.54)
					(name "~")
					(number "1")
				)
				(pin passive line
					(at 0 -5.08 90)
					(length 2.54)
					(name "~")
					(number "2")
				)
			)
			(embedded_fonts no)
		)
		(symbol "Simulation_SPICE:VDC"
			(pin_numbers
				(hide yes)
			)
			(pin_names
				(offset 0.0254)
			)
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "V"
				(at 2.54 2.54 0)
			)
			(property "Value" "1"
				(at 2.54 0 0)
			)
			(property "Footprint" ""
				(at 0 0 0)
			)
			(property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for"
				(at 0 0 0)
			)
			(property "Description" "Voltage source, DC"
				(at 0 0 0)
			)
			(property "Sim.Pins" "1=+ 2=-"
				(at 0 0 0)
			)
			(property "Sim.Type" "DC"
				(at 0 0 0)
			)
			(property "Sim.Device" "V"
				(at 0 0 0)
			)
			(property "ki_keywords" "simulation"
				(at 0 0 0)
			)
			(symbol "VDC_0_0"
				(polyline
					(pts
						(xy -1.27 0.254) (xy 1.27 0.254)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy -0.762 -0.254) (xy -1.27 -0.254)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0.254 -0.254) (xy -0.254 -0.254)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 1.27 -0.254) (xy 0.762 -0.254)
					)
					(fill
						(type none)
					)
				)
				(text "+"
					(at 0 1.905 0)
				)
			)
			(symbol "VDC_0_1"
				(circle
					(center 0 0)
					(radius 2.54)
					(fill
						(type background)
					)
				)
			)
			(symbol "VDC_1_1"
				(pin passive line
					(at 0 5.08 270)
					(length 2.54)
					(name "~")
					(number "1")
				)
				(pin passive line
					(at 0 -5.08 90)
					(length 2.54)
					(name "~")
					(number "2")
				)
			)
			(embedded_fonts no)
		)
		(symbol "power:+24V"
			(power)
			(pin_numbers
				(hide yes)
			)
			(pin_names
				(offset 0)
				(hide yes)
			)
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "#PWR"
				(at 0 -3.81 0)
			)
			(property "Value" "+24V"
				(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 \"+24V\""
				(at 0 0 0)
			)
			(property "ki_keywords" "global power"
				(at 0 0 0)
			)
			(symbol "+24V_0_1"
				(polyline
					(pts
						(xy -0.762 1.27) (xy 0 2.54)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0 2.54) (xy 0.762 1.27)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0 0) (xy 0 2.54)
					)
					(fill
						(type none)
					)
				)
			)
			(symbol "+24V_1_1"
				(pin power_in line
					(at 0 0 90)
					(length 0)
					(name "~")
					(number "1")
				)
			)
			(embedded_fonts no)
		)
		(symbol "power:+5V"
			(power)
			(pin_numbers
				(hide yes)
			)
			(pin_names
				(offset 0)
				(hide yes)
			)
			(exclude_from_sim no)
			(in_bom yes)
			(on_board yes)
			(property "Reference" "#PWR"
				(at 0 -3.81 0)
			)
			(property "Value" "+5V"
				(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 \"+5V\""
				(at 0 0 0)
			)
			(property "ki_keywords" "global power"
				(at 0 0 0)
			)
			(symbol "+5V_0_1"
				(polyline
					(pts
						(xy -0.762 1.27) (xy 0 2.54)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0 2.54) (xy 0.762 1.27)
					)
					(fill
						(type none)
					)
				)
				(polyline
					(pts
						(xy 0 0) (xy 0 2.54)
					)
					(fill
						(type none)
					)
				)
			)
			(symbol "+5V_1_1"
				(pin power_in line
					(at 0 0 90)
					(length 0)
					(name "~")
					(number "1")
				)
			)
			(embedded_fonts no)
		)
		(symbol "power:GND"
			(power)
			(pin_numbers
				(hide yes)
			)
			(pin_names
				(offset 0)
				(hide yes)
			)
			(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")
				)
			)
			(embedded_fonts no)
		)
	)
	(text "Coil current"
		(exclude_from_sim no)
		(at 134.112 59.944 0)
	)
	(text ".dc I1 0 500m 1m\n* ... TEMP -10 60 35\n.subckt 74HC04 1 2\nB1 2 GND V = V(1) > 2.5 ? 0 : 5\n.ends\n* plot I(I1) V(P3.5) V(/VBE_Q1)"
		(exclude_from_sim no)
		(at 66.04 91.44 0)
	)
	(junction
		(at 124.46 39.37)
		(diameter 0)
		(color 0 0 0 0)
	)
	(junction
		(at 76.2 77.47)
		(diameter 0)
		(color 0 0 0 0)
	)
	(junction
		(at 39.37 77.47)
		(diameter 0)
		(color 0 0 0 0)
	)
	(junction
		(at 81.28 54.61)
		(diameter 0)
		(color 0 0 0 0)
	)
	(junction
		(at 66.04 64.77)
		(diameter 0)
		(color 0 0 0 0)
	)
	(junction
		(at 52.07 39.37)
		(diameter 0)
		(color 0 0 0 0)
	)
	(junction
		(at 71.12 39.37)
		(diameter 0)
		(color 0 0 0 0)
	)
	(junction
		(at 66.04 77.47)
		(diameter 0)
		(color 0 0 0 0)
	)
	(wire
		(pts
			(xy 81.28 54.61) (xy 95.25 54.61)
		)
	)
	(wire
		(pts
			(xy 39.37 46.99) (xy 39.37 77.47)
		)
	)
	(wire
		(pts
			(xy 76.2 77.47) (xy 76.2 69.85)
		)
	)
	(wire
		(pts
			(xy 124.46 39.37) (xy 124.46 50.8)
		)
	)
	(wire
		(pts
			(xy 124.46 60.96) (xy 124.46 77.47)
		)
	)
	(wire
		(pts
			(xy 55.88 64.77) (xy 52.07 64.77)
		)
	)
	(wire
		(pts
			(xy 52.07 64.77) (xy 52.07 53.34)
		)
	)
	(wire
		(pts
			(xy 43.18 119.38) (xy 43.18 118.11)
		)
	)
	(wire
		(pts
			(xy 43.18 92.71) (xy 43.18 95.25)
		)
	)
	(wire
		(pts
			(xy 66.04 77.47) (xy 76.2 77.47)
		)
	)
	(wire
		(pts
			(xy 39.37 77.47) (xy 39.37 80.01)
		)
	)
	(wire
		(pts
			(xy 76.2 54.61) (xy 81.28 54.61)
		)
	)
	(wire
		(pts
			(xy 66.04 64.77) (xy 63.5 64.77)
		)
	)
	(wire
		(pts
			(xy 60.96 48.26) (xy 59.69 48.26)
		)
	)
	(wire
		(pts
			(xy 52.07 39.37) (xy 55.88 39.37)
		)
	)
	(wire
		(pts
			(xy 76.2 59.69) (xy 76.2 54.61)
		)
	)
	(wire
		(pts
			(xy 68.58 64.77) (xy 66.04 64.77)
		)
	)
	(wire
		(pts
			(xy 66.04 74.93) (xy 66.04 77.47)
		)
	)
	(wire
		(pts
			(xy 81.28 54.61) (xy 81.28 49.53)
		)
	)
	(wire
		(pts
			(xy 39.37 77.47) (xy 66.04 77.47)
		)
	)
	(wire
		(pts
			(xy 71.12 39.37) (xy 124.46 39.37)
		)
	)
	(wire
		(pts
			(xy 46.99 39.37) (xy 52.07 39.37)
		)
	)
	(wire
		(pts
			(xy 66.04 64.77) (xy 66.04 67.31)
		)
	)
	(wire
		(pts
			(xy 124.46 77.47) (xy 76.2 77.47)
		)
	)
	(wire
		(pts
			(xy 71.12 39.37) (xy 71.12 48.26)
		)
	)
	(wire
		(pts
			(xy 68.58 48.26) (xy 71.12 48.26)
		)
	)
	(wire
		(pts
			(xy 43.18 118.11) (xy 50.8 118.11)
		)
	)
	(wire
		(pts
			(xy 110.49 54.61) (xy 111.76 54.61)
		)
	)
	(wire
		(pts
			(xy 52.07 39.37) (xy 52.07 43.18)
		)
	)
	(wire
		(pts
			(xy 63.5 39.37) (xy 71.12 39.37)
		)
	)
	(label "VBE_Q1"
		(at 44.45 118.11 0)
	)
	(label "7824_OUT"
		(at 46.99 39.37 0)
	)
	(label "7824_OUT"
		(at 43.18 93.98 90)
	)
	(global_label "P3.5"
		(shape input)
		(at 111.76 54.61 0)
		(fields_autoplaced yes)
		(property "Intersheetrefs" "${INTERSHEET_REFS}"
			(at 119.039 54.61 0)
		)
	)
	(symbol
		(lib_id "Device:R")
		(at 66.04 71.12 0)
		(mirror x)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(property "Reference" "R4"
			(at 64.516 69.85 0)
		)
		(property "Value" "10K"
			(at 64.516 72.39 0)
		)
		(property "Footprint" ""
			(at 64.262 71.12 90)
		)
		(property "Datasheet" "~"
			(at 66.04 71.12 0)
		)
		(property "Description" "Resistor"
			(at 66.04 71.12 0)
		)
		(pin "1")
		(pin "2")
		(instances
			(project ""
				(path
					(reference "R4")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "power:GND")
		(at 43.18 105.41 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "#PWR04"
			(at 43.18 111.76 0)
		)
		(property "Value" "GND"
			(at 43.18 110.49 0)
		)
		(property "Footprint" ""
			(at 43.18 105.41 0)
		)
		(property "Datasheet" ""
			(at 43.18 105.41 0)
		)
		(property "Description" "Power symbol creates a global label with name \"GND\" , ground"
			(at 43.18 105.41 0)
		)
		(pin "1")
		(instances
			(project ""
				(path
					(reference "#PWR04")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Device:R")
		(at 59.69 39.37 90)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(property "Reference" "R1"
			(at 59.69 35.052 90)
		)
		(property "Value" "5"
			(at 59.69 37.084 90)
		)
		(property "Footprint" ""
			(at 59.69 41.148 90)
		)
		(property "Datasheet" "~"
			(at 59.69 39.37 0)
		)
		(property "Description" "Resistor"
			(at 59.69 39.37 0)
		)
		(pin "1")
		(pin "2")
		(instances
			(project ""
				(path
					(reference "R1")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Simulation_SPICE:BSOURCE")
		(at 43.18 124.46 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "B1"
			(at 46.99 121.9199 0)
		)
		(property "Value" "BSOURCE"
			(at 46.99 124.4599 0)
		)
		(property "Footprint" ""
			(at 43.18 124.46 0)
		)
		(property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Non_linear_Dependent_Sources"
			(at 43.18 140.97 0)
		)
		(property "Description" "Arbitrary behavioral voltage or current source for simulation only"
			(at 43.18 124.46 0)
		)
		(property "Sim.Device" "SPICE"
			(at 43.18 124.46 0)
		)
		(property "Sim.Params" "type=B model=\"V = V(+24V) - V(Net-_Q1-PadB_)\""
			(at 46.99 126.9999 0)
		)
		(pin "2")
		(pin "1")
		(instances
			(project ""
				(path
					(reference "B1")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "power:+5V")
		(at 52.07 95.25 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "#PWR05"
			(at 52.07 99.06 0)
		)
		(property "Value" "+5V"
			(at 52.07 90.17 0)
		)
		(property "Footprint" ""
			(at 52.07 95.25 0)
		)
		(property "Datasheet" ""
			(at 52.07 95.25 0)
		)
		(property "Description" "Power symbol creates a global label with name \"+5V\""
			(at 52.07 95.25 0)
		)
		(pin "1")
		(instances
			(project ""
				(path
					(reference "#PWR05")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Regulator_Linear:L7824")
		(at 39.37 39.37 0)
		(unit 1)
		(exclude_from_sim yes)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "U1"
			(at 39.37 33.02 0)
		)
		(property "Value" "L7824"
			(at 39.37 35.56 0)
		)
		(property "Footprint" ""
			(at 40.005 43.18 0)
		)
		(property "Datasheet" "http://www.st.com/content/ccc/resource/technical/document/datasheet/41/4f/b3/b0/12/d4/47/88/CD00000444.pdf/files/CD00000444.pdf/jcr:content/translations/en.CD00000444.pdf"
			(at 39.37 40.64 0)
		)
		(property "Description" "Positive 1.5A 40V Linear Regulator, Fixed Output 24V, TO-220/TO-263/TO-252"
			(at 39.37 39.37 0)
		)
		(pin "1")
		(pin "2")
		(pin "3")
		(instances
			(project ""
				(path
					(reference "U1")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "power:GND")
		(at 52.07 105.41 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "#PWR06"
			(at 52.07 111.76 0)
		)
		(property "Value" "GND"
			(at 52.07 110.49 0)
		)
		(property "Footprint" ""
			(at 52.07 105.41 0)
		)
		(property "Datasheet" ""
			(at 52.07 105.41 0)
		)
		(property "Description" "Power symbol creates a global label with name \"GND\" , ground"
			(at 52.07 105.41 0)
		)
		(pin "1")
		(instances
			(project ""
				(path
					(reference "#PWR06")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "power:+5V")
		(at 88.9 49.53 270)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(property "Reference" "#PWR07"
			(at 85.09 49.53 0)
		)
		(property "Value" "+5V"
			(at 89.662 47.498 90)
		)
		(property "Footprint" ""
			(at 88.9 49.53 0)
		)
		(property "Datasheet" ""
			(at 88.9 49.53 0)
		)
		(property "Description" "Power symbol creates a global label with name \"+5V\""
			(at 88.9 49.53 0)
		)
		(pin "1")
		(instances
			(project "powersense"
				(path
					(reference "#PWR07")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Device:R")
		(at 64.77 48.26 90)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(property "Reference" "R2"
			(at 64.77 44.196 90)
		)
		(property "Value" "47K"
			(at 64.77 46.228 90)
		)
		(property "Footprint" ""
			(at 64.77 50.038 90)
		)
		(property "Datasheet" "~"
			(at 64.77 48.26 0)
		)
		(property "Description" "Resistor"
			(at 64.77 48.26 0)
		)
		(pin "1")
		(pin "2")
		(instances
			(project ""
				(path
					(reference "R2")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Device:Q_NPN")
		(at 73.66 64.77 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "Q2"
			(at 78.74 63.4999 0)
		)
		(property "Value" "Q_NPN"
			(at 78.74 66.0399 0)
		)
		(property "Footprint" ""
			(at 78.74 62.23 0)
		)
		(property "Datasheet" "~"
			(at 73.66 64.77 0)
		)
		(property "Description" "NPN bipolar junction transistor"
			(at 73.66 64.77 0)
		)
		(property "Sim.Device" "NPN"
			(at 73.66 64.77 0)
		)
		(property "Sim.Type" "VBIC"
			(at 73.66 64.77 0)
		)
		(property "Sim.Pins" "B=B C=C E=E"
			(at 73.66 64.77 0)
		)
		(pin "B")
		(pin "E")
		(pin "C")
		(instances
			(project ""
				(path
					(reference "Q2")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Device:Q_PNP")
		(at 54.61 48.26 180)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "Q1"
			(at 49.53 46.9899 0)
		)
		(property "Value" "Q_PNP"
			(at 49.53 49.5299 0)
		)
		(property "Footprint" ""
			(at 49.53 50.8 0)
		)
		(property "Datasheet" "~"
			(at 54.61 48.26 0)
		)
		(property "Description" "PNP bipolar junction transistor"
			(at 54.61 48.26 0)
		)
		(property "Sim.Device" "PNP"
			(at 54.61 48.26 0)
		)
		(property "Sim.Type" "VBIC"
			(at 54.61 48.26 0)
		)
		(property "Sim.Pins" "B=B C=C E=E"
			(at 54.61 48.26 0)
		)
		(property "Sim.Params" "is=1.5e-16"
			(at 54.61 48.26 0)
		)
		(pin "C")
		(pin "E")
		(pin "B")
		(instances
			(project ""
				(path
					(reference "Q1")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Simulation_SPICE:VDC")
		(at 43.18 100.33 0)
		(mirror y)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "V1"
			(at 39.37 98.9301 0)
		)
		(property "Value" "24"
			(at 39.37 101.4701 0)
		)
		(property "Footprint" ""
			(at 43.18 100.33 0)
		)
		(property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for"
			(at 43.18 100.33 0)
		)
		(property "Description" "Voltage source, DC"
			(at 43.18 100.33 0)
		)
		(property "Sim.Pins" "1=+ 2=-"
			(at 43.18 100.33 0)
		)
		(property "Sim.Type" "DC"
			(at 43.18 100.33 0)
		)
		(property "Sim.Device" "V"
			(at 43.18 100.33 0)
		)
		(pin "1")
		(pin "2")
		(instances
			(project ""
				(path
					(reference "V1")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Device:R")
		(at 59.69 64.77 90)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(property "Reference" "R3"
			(at 59.69 60.452 90)
		)
		(property "Value" "47K"
			(at 59.69 62.484 90)
		)
		(property "Footprint" ""
			(at 59.69 66.548 90)
		)
		(property "Datasheet" "~"
			(at 59.69 64.77 0)
		)
		(property "Description" "Resistor"
			(at 59.69 64.77 0)
		)
		(pin "1")
		(pin "2")
		(instances
			(project ""
				(path
					(reference "R3")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "power:GND")
		(at 43.18 129.54 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "#PWR08"
			(at 43.18 135.89 0)
		)
		(property "Value" "GND"
			(at 43.18 134.62 0)
		)
		(property "Footprint" ""
			(at 43.18 129.54 0)
		)
		(property "Datasheet" ""
			(at 43.18 129.54 0)
		)
		(property "Description" "Power symbol creates a global label with name \"GND\" , ground"
			(at 43.18 129.54 0)
		)
		(pin "1")
		(instances
			(project "powersense"
				(path
					(reference "#PWR08")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "74xx:74HC04")
		(at 102.87 54.61 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "X1"
			(at 102.87 45.72 0)
		)
		(property "Value" "74HC04"
			(at 102.87 48.26 0)
		)
		(property "Footprint" ""
			(at 102.87 54.61 0)
		)
		(property "Datasheet" "https://assets.nexperia.com/documents/data-sheet/74HC_HCT04.pdf"
			(at 102.87 54.61 0)
		)
		(property "Description" "Hex Inverter"
			(at 102.87 54.61 0)
		)
		(property "Sim.Device" "SPICE"
			(at 102.87 54.61 0)
		)
		(property "Sim.Params" "model=74HC04"
			(at 102.87 54.61 0)
		)
		(pin "8")
		(pin "12")
		(pin "14")
		(pin "1")
		(pin "6")
		(pin "2")
		(pin "11")
		(pin "10")
		(pin "7")
		(pin "5")
		(pin "13")
		(pin "9")
		(pin "3")
		(pin "4")
		(instances
			(project ""
				(path
					(reference "X1")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "power:+24V")
		(at 124.46 39.37 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "#PWR02"
			(at 124.46 43.18 0)
		)
		(property "Value" "+24V"
			(at 124.46 34.29 0)
		)
		(property "Footprint" ""
			(at 124.46 39.37 0)
		)
		(property "Datasheet" ""
			(at 124.46 39.37 0)
		)
		(property "Description" "Power symbol creates a global label with name \"+24V\""
			(at 124.46 39.37 0)
		)
		(pin "1")
		(instances
			(project ""
				(path
					(reference "#PWR02")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Simulation_SPICE:VDC")
		(at 52.07 100.33 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "V2"
			(at 55.88 98.9301 0)
		)
		(property "Value" "5"
			(at 55.88 101.4701 0)
		)
		(property "Footprint" ""
			(at 52.07 100.33 0)
		)
		(property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for"
			(at 52.07 100.33 0)
		)
		(property "Description" "Voltage source, DC"
			(at 52.07 100.33 0)
		)
		(property "Sim.Pins" "1=+ 2=-"
			(at 52.07 100.33 0)
		)
		(property "Sim.Type" "DC"
			(at 52.07 100.33 0)
		)
		(property "Sim.Device" "V"
			(at 52.07 100.33 0)
		)
		(pin "2")
		(pin "1")
		(instances
			(project ""
				(path
					(reference "V2")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "power:GND")
		(at 39.37 80.01 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "#PWR01"
			(at 39.37 86.36 0)
		)
		(property "Value" "GND"
			(at 39.37 85.09 0)
		)
		(property "Footprint" ""
			(at 39.37 80.01 0)
		)
		(property "Datasheet" ""
			(at 39.37 80.01 0)
		)
		(property "Description" "Power symbol creates a global label with name \"GND\" , ground"
			(at 39.37 80.01 0)
		)
		(pin "1")
		(instances
			(project ""
				(path
					(reference "#PWR01")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Simulation_SPICE:IDC")
		(at 124.46 55.88 0)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(fields_autoplaced yes)
		(property "Reference" "I1"
			(at 128.27 54.6099 0)
		)
		(property "Value" "275m"
			(at 128.27 57.1499 0)
		)
		(property "Footprint" ""
			(at 124.46 55.88 0)
		)
		(property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for"
			(at 124.46 55.88 0)
		)
		(property "Description" "Current source, DC"
			(at 124.46 55.88 0)
		)
		(property "Sim.Pins" "1=+ 2=-"
			(at 124.46 55.88 0)
		)
		(property "Sim.Type" "DC"
			(at 124.46 55.88 0)
		)
		(property "Sim.Device" "I"
			(at 124.46 55.88 0)
		)
		(pin "1")
		(pin "2")
		(instances
			(project ""
				(path
					(reference "I1")
					(unit 1)
				)
			)
		)
	)
	(symbol
		(lib_id "Device:R")
		(at 85.09 49.53 270)
		(unit 1)
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(dnp no)
		(property "Reference" "R5"
			(at 85.09 45.72 90)
		)
		(property "Value" "4.7K"
			(at 85.09 47.498 90)
		)
		(property "Footprint" ""
			(at 85.09 47.752 90)
		)
		(property "Datasheet" "~"
			(at 85.09 49.53 0)
		)
		(property "Description" "Resistor"
			(at 85.09 49.53 0)
		)
		(pin "1")
		(pin "2")
		(instances
			(project ""
				(path
					(reference "R5")
					(unit 1)
				)
			)
		)
	)
	(sheet_instances
		(path
			(page "1")
		)
	)
	(embedded_fonts no)
)
