diff options
| author | xengineering <me@xengineering.eu> | 2025-07-22 18:54:35 +0200 | 
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2025-07-22 18:54:35 +0200 | 
| commit | 59bf29dba5a3acbfa7501314d8db825a9c8b9b7b (patch) | |
| tree | 4b110bd8e8a17a1cf37d6a736b9a0e991c997136 /pcb | |
| parent | 52f6f99757e43f1ad5b551dee4c308c72c2a4cf5 (diff) | |
| download | iot-contact-59bf29dba5a3acbfa7501314d8db825a9c8b9b7b.tar iot-contact-59bf29dba5a3acbfa7501314d8db825a9c8b9b7b.tar.zst iot-contact-59bf29dba5a3acbfa7501314d8db825a9c8b9b7b.zip | |
pcb: io: Add 230 VAC logic
Diffstat (limited to 'pcb')
| -rw-r--r-- | pcb/io.kicad_sch | 798 | 
1 files changed, 790 insertions, 8 deletions
| diff --git a/pcb/io.kicad_sch b/pcb/io.kicad_sch index f0e65ef..8d7f233 100644 --- a/pcb/io.kicad_sch +++ b/pcb/io.kicad_sch @@ -7,10 +7,563 @@  	(title_block  		(title "iot-contact")  	) -	(lib_symbols) +	(lib_symbols +		(symbol "Relay:G5Q-1" +			(exclude_from_sim no) +			(in_bom yes) +			(on_board yes) +			(property "Reference" "K" +				(at 11.43 3.81 0) +				(effects +					(font +						(size 1.27 1.27) +					) +					(justify left) +				) +			) +			(property "Value" "G5Q-1" +				(at 11.43 1.27 0) +				(effects +					(font +						(size 1.27 1.27) +					) +					(justify left) +				) +			) +			(property "Footprint" "Relay_THT:Relay_SPDT_Omron-G5Q-1" +				(at 11.43 -1.27 0) +				(effects +					(font +						(size 1.27 1.27) +					) +					(justify left) +					(hide yes) +				) +			) +			(property "Datasheet" "https://www.omron.com/ecb/products/pdf/en-g5q.pdf" +				(at 0 0 0) +				(effects +					(font +						(size 1.27 1.27) +					) +					(justify left) +					(hide yes) +				) +			) +			(property "Description" "Omron G5G relay, Miniature Single Pole, SPDT, 10A" +				(at 0 0 0) +				(effects +					(font +						(size 1.27 1.27) +					) +					(hide yes) +				) +			) +			(property "ki_keywords" "Miniature Single Pole Relay" +				(at 0 0 0) +				(effects +					(font +						(size 1.27 1.27) +					) +					(hide yes) +				) +			) +			(property "ki_fp_filters" "Relay*SPDT*Omron*G5Q*" +				(at 0 0 0) +				(effects +					(font +						(size 1.27 1.27) +					) +					(hide yes) +				) +			) +			(symbol "G5Q-1_0_0" +				(polyline +					(pts +						(xy 7.62 5.08) (xy 7.62 2.54) (xy 6.985 3.175) (xy 7.62 3.81) +					) +					(stroke +						(width 0) +						(type default) +					) +					(fill +						(type none) +					) +				) +			) +			(symbol "G5Q-1_0_1" +				(rectangle +					(start -10.16 5.08) +					(end 10.16 -5.08) +					(stroke +						(width 0.254) +						(type default) +					) +					(fill +						(type background) +					) +				) +				(rectangle +					(start -8.255 1.905) +					(end -1.905 -1.905) +					(stroke +						(width 0.254) +						(type default) +					) +					(fill +						(type none) +					) +				) +				(polyline +					(pts +						(xy -7.62 -1.905) (xy -2.54 1.905) +					) +					(stroke +						(width 0.254) +						(type default) +					) +					(fill +						(type none) +					) +				) +				(polyline +					(pts +						(xy -5.08 5.08) (xy -5.08 1.905) +					) +					(stroke +						(width 0) +						(type default) +					) +					(fill +						(type none) +					) +				) +				(polyline +					(pts +						(xy -5.08 -5.08) (xy -5.08 -1.905) +					) +					(stroke +						(width 0) +						(type default) +					) +					(fill +						(type none) +					) +				) +				(polyline +					(pts +						(xy -1.905 0) (xy -1.27 0) +					) +					(stroke +						(width 0.254) +						(type default) +					) +					(fill +						(type none) +					) +				) +				(polyline +					(pts +						(xy -0.635 0) (xy 0 0) +					) +					(stroke +						(width 0.254) +						(type default) +					) +					(fill +						(type none) +					) +				) +				(polyline +					(pts +						(xy 0.635 0) (xy 1.27 0) +					) +					(stroke +						(width 0.254) +						(type default) +					) +					(fill +						(type none) +					) +				) +				(polyline +					(pts +						(xy 1.905 0) (xy 2.54 0) +					) +					(stroke +						(width 0.254) +						(type default) +					) +					(fill +						(type none) +					) +				) +				(polyline +					(pts +						(xy 2.54 5.08) (xy 2.54 2.54) (xy 3.175 3.175) (xy 2.54 3.81) +					) +					(stroke +						(width 0) +						(type default) +					) +					(fill +						(type outline) +					) +				) +				(polyline +					(pts +						(xy 3.175 0) (xy 3.81 0) +					) +					(stroke +						(width 0.254) +						(type default) +					) +					(fill +						(type none) +					) +				) +				(polyline +					(pts +						(xy 5.08 -2.54) (xy 3.175 3.81) +					) +					(stroke +						(width 0.508) +						(type default) +					) +					(fill +						(type none) +					) +				) +				(polyline +					(pts +						(xy 5.08 -2.54) (xy 5.08 -5.08) +					) +					(stroke +						(width 0) +						(type default) +					) +					(fill +						(type none) +					) +				) +			) +			(symbol "G5Q-1_1_1" +				(pin passive line +					(at -5.08 7.62 270) +					(length 2.54) +					(name "~" +						(effects +							(font +								(size 1.27 1.27) +							) +						) +					) +					(number "5" +						(effects +							(font +								(size 1.27 1.27) +							) +						) +					) +				) +				(pin passive line +					(at -5.08 -7.62 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 2.54 7.62 270) +					(length 2.54) +					(name "~" +						(effects +							(font +								(size 1.27 1.27) +							) +						) +					) +					(number "4" +						(effects +							(font +								(size 1.27 1.27) +							) +						) +					) +				) +				(pin passive line +					(at 5.08 -7.62 90) +					(length 2.54) +					(name "~" +						(effects +							(font +								(size 1.27 1.27) +							) +						) +					) +					(number "2" +						(effects +							(font +								(size 1.27 1.27) +							) +						) +					) +				) +				(pin passive line +					(at 7.62 7.62 270) +					(length 2.54) +					(name "~" +						(effects +							(font +								(size 1.27 1.27) +							) +						) +					) +					(number "3" +						(effects +							(font +								(size 1.27 1.27) +							) +						) +					) +				) +			) +			(embedded_fonts no) +		) +		(symbol "power:LINE" +			(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) +				(effects +					(font +						(size 1.27 1.27) +					) +					(hide yes) +				) +			) +			(property "Value" "LINE" +				(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 yes) +				) +			) +			(property "Datasheet" "" +				(at 0 0 0) +				(effects +					(font +						(size 1.27 1.27) +					) +					(hide yes) +				) +			) +			(property "Description" "Power symbol creates a global label with name \"LINE\"" +				(at 0 0 0) +				(effects +					(font +						(size 1.27 1.27) +					) +					(hide yes) +				) +			) +			(property "ki_keywords" "global power" +				(at 0 0 0) +				(effects +					(font +						(size 1.27 1.27) +					) +					(hide yes) +				) +			) +			(symbol "LINE_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 2.54) (xy 0.762 1.27) +					) +					(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) +					) +				) +			) +			(symbol "LINE_1_1" +				(pin power_in line +					(at 0 0 90) +					(length 0) +					(name "~" +						(effects +							(font +								(size 1.27 1.27) +							) +						) +					) +					(number "1" +						(effects +							(font +								(size 1.27 1.27) +							) +						) +					) +				) +			) +			(embedded_fonts no) +		) +	) +	(no_connect +		(at 119.38 121.92) +		(uuid "e4b9f120-9e80-4324-bbae-6fcb58c67eef") +	) +	(wire +		(pts +			(xy 146.05 119.38) (xy 146.05 139.7) +		) +		(stroke +			(width 0) +			(type default) +		) +		(uuid "3f5795a5-4ac8-4263-8e76-4fdda9090eb8") +	) +	(wire +		(pts +			(xy 175.26 119.38) (xy 175.26 121.92) +		) +		(stroke +			(width 0) +			(type default) +		) +		(uuid "50605a72-1439-4145-9296-7d385dfc1d6b") +	) +	(wire +		(pts +			(xy 124.46 139.7) (xy 121.92 139.7) +		) +		(stroke +			(width 0) +			(type default) +		) +		(uuid "5bfb1fcb-78e5-4809-a500-0353bc99a92f") +	) +	(wire +		(pts +			(xy 172.72 139.7) (xy 172.72 137.16) +		) +		(stroke +			(width 0) +			(type default) +		) +		(uuid "b0fdbce1-84bb-4874-9728-6beb679f7eb7") +	) +	(wire +		(pts +			(xy 170.18 119.38) (xy 170.18 121.92) +		) +		(stroke +			(width 0) +			(type default) +		) +		(uuid "b3e8235b-c0ce-4e1f-b255-ec2901276283") +	) +	(wire +		(pts +			(xy 121.92 139.7) (xy 121.92 137.16) +		) +		(stroke +			(width 0) +			(type default) +		) +		(uuid "c3dd5575-1b78-4b38-af65-ddc6dc2aed1e") +	) +	(wire +		(pts +			(xy 124.46 119.38) (xy 146.05 119.38) +		) +		(stroke +			(width 0) +			(type default) +		) +		(uuid "c853a44e-1df3-4309-b970-04a74dbc8e38") +	) +	(wire +		(pts +			(xy 124.46 121.92) (xy 124.46 119.38) +		) +		(stroke +			(width 0) +			(type default) +		) +		(uuid "d09c1552-f8ef-4241-a489-1a3fd704f177") +	) +	(wire +		(pts +			(xy 146.05 139.7) (xy 172.72 139.7) +		) +		(stroke +			(width 0) +			(type default) +		) +		(uuid "f4389b7c-9d2c-4ab0-b511-907b7d42dfed") +	)  	(hierarchical_label "CONTACT_1"  		(shape bidirectional) -		(at 241.3 76.2 0) +		(at 161.29 63.5 0)  		(effects  			(font  				(size 1.27 1.27) @@ -21,7 +574,7 @@  	)  	(hierarchical_label "CONTACT_2"  		(shape bidirectional) -		(at 241.3 78.74 0) +		(at 161.29 66.04 0)  		(effects  			(font  				(size 1.27 1.27) @@ -32,7 +585,7 @@  	)  	(hierarchical_label "MOT_ENABLE"  		(shape input) -		(at 50.8 104.14 180) +		(at 106.68 119.38 180)  		(effects  			(font  				(size 1.27 1.27) @@ -43,7 +596,7 @@  	)  	(hierarchical_label "MOT_PHASE_2"  		(shape bidirectional) -		(at 241.3 109.22 0) +		(at 175.26 119.38 90)  		(effects  			(font  				(size 1.27 1.27) @@ -54,7 +607,7 @@  	)  	(hierarchical_label "MOT_PHASE_1"  		(shape bidirectional) -		(at 241.3 106.68 0) +		(at 170.18 119.38 90)  		(effects  			(font  				(size 1.27 1.27) @@ -65,7 +618,7 @@  	)  	(hierarchical_label "CONTACT_CLOSED"  		(shape output) -		(at 50.8 95.25 180) +		(at 121.92 66.04 180)  		(effects  			(font  				(size 1.27 1.27) @@ -76,7 +629,7 @@  	)  	(hierarchical_label "MOT_DIRECTION"  		(shape input) -		(at 50.8 101.6 180) +		(at 162.56 115.57 180)  		(effects  			(font  				(size 1.27 1.27) @@ -85,4 +638,233 @@  		)  		(uuid "fbe5ce3b-c16c-4f97-8132-53378525fa11")  	) +	(symbol +		(lib_id "power:LINE") +		(at 124.46 139.7 270) +		(unit 1) +		(exclude_from_sim no) +		(in_bom yes) +		(on_board yes) +		(dnp no) +		(fields_autoplaced yes) +		(uuid "2d9a11e5-db83-4fe0-be79-3a46ae6ba7ba") +		(property "Reference" "#PWR030" +			(at 120.65 139.7 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(hide yes) +			) +		) +		(property "Value" "LINE" +			(at 128.27 139.6999 90) +			(effects +				(font +					(size 1.27 1.27) +				) +				(justify left) +			) +		) +		(property "Footprint" "" +			(at 124.46 139.7 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(hide yes) +			) +		) +		(property "Datasheet" "" +			(at 124.46 139.7 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(hide yes) +			) +		) +		(property "Description" "Power symbol creates a global label with name \"LINE\"" +			(at 124.46 139.7 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(hide yes) +			) +		) +		(pin "1" +			(uuid "c0d49557-a8ee-475e-9337-a5ce52f9a999") +		) +		(instances +			(project "" +				(path "/5defd195-0277-4d04-9f5f-69e505c9845c/774a1163-9519-4c75-bf10-cefc947dd50a" +					(reference "#PWR030") +					(unit 1) +				) +			) +		) +	) +	(symbol +		(lib_id "Relay:G5Q-1") +		(at 167.64 129.54 0) +		(unit 1) +		(exclude_from_sim no) +		(in_bom yes) +		(on_board yes) +		(dnp no) +		(fields_autoplaced yes) +		(uuid "5cd9679b-fb49-4cb9-a6c9-bdc4a1c80746") +		(property "Reference" "K2" +			(at 179.07 128.2699 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(justify left) +			) +		) +		(property "Value" "G5Q-1" +			(at 179.07 130.8099 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(justify left) +			) +		) +		(property "Footprint" "Relay_THT:Relay_SPDT_Omron-G5Q-1" +			(at 179.07 130.81 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(justify left) +				(hide yes) +			) +		) +		(property "Datasheet" "https://www.omron.com/ecb/products/pdf/en-g5q.pdf" +			(at 167.64 129.54 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(justify left) +				(hide yes) +			) +		) +		(property "Description" "Omron G5G relay, Miniature Single Pole, SPDT, 10A" +			(at 167.64 129.54 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(hide yes) +			) +		) +		(pin "4" +			(uuid "9484589d-60eb-47ea-9e8d-9141ae6322d2") +		) +		(pin "5" +			(uuid "7148ad27-0372-49a0-b301-4da1b576c2ed") +		) +		(pin "2" +			(uuid "b84c7ddc-523a-41f9-a880-cd43854f90cb") +		) +		(pin "3" +			(uuid "5d03e072-572e-45dd-b8e7-9c833ebb44fb") +		) +		(pin "1" +			(uuid "73340e67-fdd0-4dd9-8b39-8ffcb3e3580f") +		) +		(instances +			(project "iot-contact" +				(path "/5defd195-0277-4d04-9f5f-69e505c9845c/774a1163-9519-4c75-bf10-cefc947dd50a" +					(reference "K2") +					(unit 1) +				) +			) +		) +	) +	(symbol +		(lib_id "Relay:G5Q-1") +		(at 116.84 129.54 0) +		(unit 1) +		(exclude_from_sim no) +		(in_bom yes) +		(on_board yes) +		(dnp no) +		(fields_autoplaced yes) +		(uuid "8930ef2a-5e19-4712-af01-333dfe8af1c7") +		(property "Reference" "K1" +			(at 128.27 128.2699 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(justify left) +			) +		) +		(property "Value" "G5Q-1" +			(at 128.27 130.8099 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(justify left) +			) +		) +		(property "Footprint" "Relay_THT:Relay_SPDT_Omron-G5Q-1" +			(at 128.27 130.81 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(justify left) +				(hide yes) +			) +		) +		(property "Datasheet" "https://www.omron.com/ecb/products/pdf/en-g5q.pdf" +			(at 116.84 129.54 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(justify left) +				(hide yes) +			) +		) +		(property "Description" "Omron G5G relay, Miniature Single Pole, SPDT, 10A" +			(at 116.84 129.54 0) +			(effects +				(font +					(size 1.27 1.27) +				) +				(hide yes) +			) +		) +		(pin "4" +			(uuid "a3e35179-86d7-4104-a38c-a5c263c24a83") +		) +		(pin "5" +			(uuid "49e24009-e7d2-4d50-bf0a-5d140fcaf660") +		) +		(pin "2" +			(uuid "392e8899-6fc9-4248-8ec6-34dc1fdd7509") +		) +		(pin "3" +			(uuid "ceda41a1-cdf9-4399-9dbf-edf10f67c14d") +		) +		(pin "1" +			(uuid "4b02df48-307e-4125-ab2f-adb7613d6989") +		) +		(instances +			(project "" +				(path "/5defd195-0277-4d04-9f5f-69e505c9845c/774a1163-9519-4c75-bf10-cefc947dd50a" +					(reference "K1") +					(unit 1) +				) +			) +		) +	)  ) | 
