Sign in with STEVE

Compare versions

3 files changed, +149 −11

part.py +29 −3
@@ -1,5 +1,5 @@
1"""Through-hole PCB relay: Omron G2RL-2, G5V-1, G5V-2, G6A and G6AK; Finder 30.22, 32.21, 34.51, 36.11 and 40.31/51/52/61. A closed case on
2the XY plane with the pins down through the board. Pin 1 is at the origin; the pins are placed as the maker's bottom-view PCB layout draws
1"""Through-hole PCB relay: Omron G2RL-2, G5V-1, G5V-2, G6A and G6AK; Finder 30.22, 32.21, 34.51, 36.11 and 40.31/51/52/61; Schrack (TE)
2RT1, RT2 and RYII. A closed case on the XY plane with the pins down through the board. Pin 1 is at the origin; the pins are placed as the maker's bottom-view PCB layout draws
33them, seen from above (the layout turned over about its horizontal axis): along it to +X, its next row towards +Y. Dimensions from the
44makers' data sheets in the README."""
55from steve import Model
@@ -34,6 +34,17 @@
3434# Finder 40 series, edition VIII-2026 (S40EN): copper side views p. 3: A1, A2 7.5 apart, 2.5 from the case end; 40.31: 12, 14 at 16.5,
3535# 23.5 in A1's row, 11 at 20 in A2's; 40.51: 15, 25 and 20; 40.52 and 40.61: 15, 20, 25 in both rows. Outline drawing p. 10:
3636# 29 x 12.4 x 25.1, pins 0.4 along the case, 1 across, 3.5 (PCB relay, "-3.5" here) or 5.2 (PCB or socket) long.
37# Schrack (TE Connectivity): pin 1 is coil terminal A1. "PCB layout / terminal assignment, bottom view on solder pins". The sheets don't dimension
38# the pins' section: 0.55 along the case and 1.0 (RT1, RT2) or 0.8 (RYII) across it, scaled from the outline drawings (line centres).
39# Schrack RT1, datasheet 01-2020 Rev. 0120, p. 2 (layouts) and p. 3 (THT outline): 29.0 x 12.7 x 15.7, pins 3.6; rows 7.5 apart, 11 20.3 from A1
40# in A2's row, the case end 22.65 from 11; 12A 3.5 mm pinning (RT1 1x): 12 and 14 3.5 either side of 11, in A1's row; 12A 5 mm (RT2x): 5.04
41# either side; 16A 5 mm (RT3x): 12, 11, 14 in both rows. Form A (RTx3) leaves out 12. Weight 14 g (p. 2).
42# Schrack RT2 (Asia/Pacific markets), datasheet 11-2020 Rev. 1120, p. 2: the RT1's case and pins; 8A 5 mm pinning, 12, 11, 14 and 22, 21, 24 at
43# 15.26, 20.3, 25.34 (5.04 apart); 2 form A (RT44) leaves out 12 and 22. Weight 13 g.
44# Schrack RY II, Datenblatt Rev. HC1, Ausgabe 2008/03, p. 2: 28.5 x 10.1 x 12.3, pins 3.2; 3.2 mm pinning (RY 21), A1 1.9 from the case end,
45# 18.9 from A1 in A2's row, then 3.2 and 3.2 on, alternately in A1's and A2's rows; 5 mm pinning (RY 53, 1 Schliesser, and the 1 Oeffner on the
46# same layout), A1 3.25 from the end, 18.9 in A1's row and 18.9 + 5.04 in A2's. Rows three grid steps of 2.5 to 2.54 apart (7.62 here).
47# Weight 8 g (p. 2).
3748RELAYS = {
3849 "G2RL-2": (28.8, 12.5, 15.5, 3.5, 0.5, 0.8, 2.3, 2.5, ((0, 0), (15, 0), (20, 0), (25, 0), (0, 7.5), (15, 7.5), (20, 7.5), (25, 7.5))),
3950 "G5V-1": (12.3, 7.3, 9.9, 3.5, 0.5, 0.3, 1.07, 1.11, ((0, 0), (2.54, 0), (10.16, 0), (0, 5.08), (2.54, 5.08), (10.16, 5.08))),
@@ -59,13 +70,28 @@
5970 "40.61": (29.0, 12.4, 25.1, 5.2, 0.4, 1.0, 2.5, 2.45, ((0, 0), (15, 0), (20, 0), (25, 0), (0, 7.5), (15, 7.5), (20, 7.5), (25, 7.5))),
6071 "40.61-3.5": (29.0, 12.4, 25.1, 3.5, 0.4, 1.0, 2.5, 2.45,
6172 ((0, 0), (15, 0), (20, 0), (25, 0), (0, 7.5), (15, 7.5), (20, 7.5), (25, 7.5))),
73 "RT11": (29.0, 12.7, 15.7, 3.6, 0.55, 1.0, 2.35, 2.6, ((0, 0), (16.8, 0), (23.8, 0), (0, 7.5), (20.3, 7.5))),
74 "RT13": (29.0, 12.7, 15.7, 3.6, 0.55, 1.0, 2.35, 2.6, ((0, 0), (23.8, 0), (0, 7.5), (20.3, 7.5))),
75 "RT21": (29.0, 12.7, 15.7, 3.6, 0.55, 1.0, 2.35, 2.6, ((0, 0), (15.26, 0), (25.34, 0), (0, 7.5), (20.3, 7.5))),
76 "RT23": (29.0, 12.7, 15.7, 3.6, 0.55, 1.0, 2.35, 2.6, ((0, 0), (25.34, 0), (0, 7.5), (20.3, 7.5))),
77 "RT31": (29.0, 12.7, 15.7, 3.6, 0.55, 1.0, 2.35, 2.6,
78 ((0, 0), (15.26, 0), (20.3, 0), (25.34, 0), (0, 7.5), (15.26, 7.5), (20.3, 7.5), (25.34, 7.5))),
79 "RT33": (29.0, 12.7, 15.7, 3.6, 0.55, 1.0, 2.35, 2.6, ((0, 0), (20.3, 0), (25.34, 0), (0, 7.5), (20.3, 7.5), (25.34, 7.5))),
80 "RT42": (29.0, 12.7, 15.7, 3.6, 0.55, 1.0, 2.35, 2.6,
81 ((0, 0), (15.26, 0), (20.3, 0), (25.34, 0), (0, 7.5), (15.26, 7.5), (20.3, 7.5), (25.34, 7.5))),
82 "RT44": (29.0, 12.7, 15.7, 3.6, 0.55, 1.0, 2.35, 2.6, ((0, 0), (20.3, 0), (25.34, 0), (0, 7.5), (20.3, 7.5), (25.34, 7.5))),
83 "RY21": (28.5, 10.1, 12.3, 3.2, 0.55, 0.8, 1.9, 1.24, ((0, 0), (22.1, 0), (0, 7.62), (18.9, 7.62), (25.3, 7.62))),
84 "RY53": (28.5, 10.1, 12.3, 3.2, 0.55, 0.8, 3.25, 1.24, ((0, 0), (18.9, 0), (0, 7.62), (23.94, 7.62))),
85 "RY5-NC": (28.5, 10.1, 12.3, 3.2, 0.55, 0.8, 3.25, 1.24, ((0, 0), (18.9, 0), (0, 7.62), (23.94, 7.62))),
6286}
6387# Relays lying on the board with their pins bent down at the case's -Y side: kind: height of the pins' bend above the board (Finder 34.51 flat
6488# pack: the pins leave the case 1.3 from its face, the standing version's 1.3 from the case side, p. 3).
6589FLAT = {"34.51-flat": 1.3}
6690# Case colours, as the makers' pictures show them (black when not listed).
6791COLOURS = {"30.22": "#e9e7e1", "32.21-4000": "#e9e7e1", "32.21-4300": "#e9e7e1", "36.11": "#e9e7e1", "40.31": "#3f7fc4", "40.31-3.5": "#3f7fc4",
68 "40.51": "#3f7fc4", "40.51-3.5": "#3f7fc4", "40.52": "#3f7fc4", "40.61": "#3f7fc4", "40.61-3.5": "#3f7fc4"}
92 "40.51": "#3f7fc4", "40.51-3.5": "#3f7fc4", "40.52": "#3f7fc4", "40.61": "#3f7fc4", "40.61-3.5": "#3f7fc4",
93 "RT11": "#c4482f", "RT13": "#c4482f", "RT21": "#c4482f", "RT23": "#c4482f", "RT31": "#c4482f", "RT33": "#c4482f",
94 "RT42": "#d9d9d6", "RT44": "#d9d9d6", "RY21": "#e9e7e1", "RY53": "#e9e7e1", "RY5-NC": "#e9e7e1"}
6995# Proportions (the data sheets don't dimension the inside): the case is a cover WALL thick over a base plate as thick; the coil, core and contacts inside are one
7096# copper block filling FILL of the space inside the case, standing on its floor, so that the mass comes out near the data sheets' weights.
7197WALL = 0.5
pypart.toml +82 −6
@@ -1,17 +1,16 @@
11name = "steve/pcb-relay"
2version = "1.1.0"
2version = "1.2.0"
33runtime = "steve"
44license = "MIT"
5summary = "Through-hole PCB relays from the makers' data sheets: Omron G2RL-2, G5V-1, G5V-2, G6A, G6AK; Finder 30.22, 32.21, 34.51, 36.11, 40.31/51/52/61."
6description = """Through-hole PCB relay: a closed case on the board with its pins at the maker's PCB layout. Omron G2RL-2 (DPDT power relay), G5V-1, G5V-2, G6A and G6AK (signal relays). Finder 30.22 (DPDT, 2 A), 32.21-4000/-4300 (6 A), 34.51 (ultra-slim 5 mm, standing or flat pack), 36.11 (10 A) and 40.31/51/52/61 (power relays 8 to 16 A, 5.2 or 3.5 mm pins). Case sizes, pins and holes from the makers' data sheets. See the README."""
7tags = ["relay", "pcb-relay", "signal-relay", "power-relay", "through-hole", "omron", "finder", "electronics"]
5summary = "Through-hole PCB relays from the makers' data sheets: Omron G2RL-2, G5V-1, G5V-2, G6A, G6AK; Finder 30.22 to 40.61; Schrack RT1, RT2, RY II."
6description = """Through-hole PCB relay: a closed case on the board with its pins at the maker's PCB layout. Omron G2RL-2 (DPDT power), G5V-1, G5V-2, G6A and G6AK (signal). Finder 30.22 (DPDT, 2 A), 32.21-4000/-4300 (6 A), 34.51 (ultra-slim 5 mm, standing or flat pack), 36.11 (10 A) and 40.31/51/52/61 (power relays 8 to 16 A, 5.2 or 3.5 mm pins). Schrack (TE) RT1 (12 or 16 A, form C or A), RT2 (2 pole, 8 A) and RY II (8 A, 3.2 or 5 mm pinning). Sizes and layouts from the makers' data sheets (README)."""
7tags = ["relay", "pcb-relay", "signal-relay", "power-relay", "through-hole", "omron", "finder", "schrack", "electronics"]
88
99[parameters.kind]
1010type = "choice"
1111default = "G6A"
12choices = ["G2RL-2", "G5V-1", "G5V-2", "G6A", "G6AK", "30.22", "32.21-4000", "32.21-4300", "34.51", "34.51-flat", "36.11", "40.31", "40.31-3.5", "40.51", "40.51-3.5", "40.52", "40.61", "40.61-3.5"]
12choices = ["G2RL-2", "G5V-1", "G5V-2", "G6A", "G6AK", "30.22", "32.21-4000", "32.21-4300", "34.51", "34.51-flat", "36.11", "40.31", "40.31-3.5", "40.51", "40.51-3.5", "40.52", "40.61", "40.61-3.5", "RT11", "RT13", "RT21", "RT23", "RT31", "RT33", "RT42", "RT44", "RY21", "RY53", "RY5-NC"]
1313label = "Relay type"
14
1514
1615[[presets]]
1716id = "G2RL-2"
@@ -112,6 +111,62 @@
112111standard = "Finder"
113112
114113[[presets]]
114id = "RT21"
115title = "Schrack RT21, RT1 SPDT power relay, 12 A, 5 mm pinning"
116params = { kind = "RT21" }
117aliases = ["Schrack RT21"]
118standard = "Schrack"
119
120[[presets]]
121id = "RT23"
122title = "Schrack RT23, RT1 SPST-NO power relay, 12 A, 5 mm pinning"
123params = { kind = "RT23" }
124aliases = ["Schrack RT23"]
125standard = "Schrack"
126
127[[presets]]
128id = "RT33"
129title = "Schrack RT33, RT1 SPST-NO power relay, 16 A, 5 mm pinning"
130params = { kind = "RT33" }
131aliases = ["Schrack RT33"]
132standard = "Schrack"
133
134[[presets]]
135id = "RT42"
136title = "Schrack RT42, RT2 DPDT power relay, 8 A"
137params = { kind = "RT42" }
138aliases = ["Schrack RT42"]
139standard = "Schrack"
140
141[[presets]]
142id = "RT44"
143title = "Schrack RT44, RT2 DPST-NO power relay, 8 A"
144params = { kind = "RT44" }
145aliases = ["Schrack RT44"]
146standard = "Schrack"
147
148[[presets]]
149id = "RY21"
150title = "Schrack RY21, RY II SPDT relay, 8 A, 3.2 mm pinning"
151params = { kind = "RY21" }
152aliases = ["Schrack RY21"]
153standard = "Schrack"
154
155[[presets]]
156id = "RY53"
157title = "Schrack RY53, RY II SPST-NO relay, 8 A, 5 mm pinning"
158params = { kind = "RY53" }
159aliases = ["Schrack RY53"]
160standard = "Schrack"
161
162[[presets]]
163id = "RY5-NC"
164title = "Schrack RY5-NC, RY II SPST-NC relay, 8 A, 5 mm pinning"
165params = { kind = "RY5-NC" }
166aliases = ["Schrack RY5-NC"]
167standard = "Schrack"
168
169[[presets]]
115170id = "40.31-3.5"
116171title = "Finder 40.31-3.5, SPDT power relay, 12 A, 3.5 mm pitch, 3.5 mm PCB pins"
117172params = { kind = "40.31-3.5" }
@@ -139,3 +194,24 @@
139194aliases = ["Finder 40.61-3.5"]
140195standard = "Finder"
141196
197[[presets]]
198id = "RT11"
199title = "Schrack RT11, RT1 SPDT power relay, 12 A, 3.5 mm pinning"
200params = { kind = "RT11" }
201aliases = ["Schrack RT11"]
202standard = "Schrack"
203
204[[presets]]
205id = "RT13"
206title = "Schrack RT13, RT1 SPST-NO power relay, 12 A, 3.5 mm pinning"
207params = { kind = "RT13" }
208aliases = ["Schrack RT13"]
209standard = "Schrack"
210
211[[presets]]
212id = "RT31"
213title = "Schrack RT31, RT1 SPDT power relay, 16 A, 5 mm pinning"
214params = { kind = "RT31" }
215aliases = ["Schrack RT31"]
216standard = "Schrack"
217
README.md +38 −2
@@ -44,7 +44,7 @@
4444
4545Pin 1 is coil terminal A1. The sizes are the sheets' nominal values (they give no maximums).
4646
47| Type | Contacts | Case | Pins below the board | Pin section (along x across the case) | PCB layout from A1 | Pin 1 from the case end, side |
47| Type | Contacts | Case | Pins below the board | Pin section (along the case x across it) | PCB layout from A1 | Pin 1 from the case end, side |
4848|---|---|---|---|---|---|---|
4949| 30.22 | DPDT, 2 A | 20.2 x 10 x 10.9 | 3.2 | coil 0.4 x 0.4, contacts 0.6 x 0.4 | 11, 12, 14 at 7.62, 12.7, 17.78; A2 row 7.62 across | 1.12, 1.19 |
5050| 32.21-4000 | SPDT, 6 A | 20.2 x 10.1 x 10.7 | 3.5 | coil 0.4 x 0.4, contacts 0.8 x 0.3 | 11, 14 at 10.16, 17.78; A2 and 12 7.62 across | 1.32, 1.24 |
@@ -92,7 +92,43 @@
9292
9393The catalogue's x000 and x300 stand for 32.21-4000 and -4300, the only 32.21 types in the sheet. Its `Finder_40.11` and `40.41` aren't in the 40 series sheet (edition VIII-2026), so they're left out.
9494
95## Schrack (TE Connectivity)
96
97Pin 1 is coil terminal A1. The kinds are the product codes' first letters and digits (RT114024 is an `RT11`, RT424024 an `RT42`, RY211024 an `RY21`).
98
99| Type | Contacts | Case | Pins below the board | PCB layout from A1 (A2's row 7.5 across, RY II 7.62) | Pin 1 from the case end, side | Weight (sheet) | Model |
100|---|---|---|---|---|---|---|---|
101| RT11 | RT1 SPDT 12 A, 3.5 mm pinning | 29.0 x 12.7 x 15.7 | 3.6 | 12, 14 at 16.8, 23.8; 11 at 20.3 in A2's row | 2.35, 2.6 | 14 g | 12.85 g |
102| RT13 | RT1 SPST-NO 12 A, 3.5 mm | as RT11 | 3.6 | 14 at 23.8; 11 at 20.3 in A2's row | 2.35, 2.6 | 14 g | 12.85 g |
103| RT21 | RT1 SPDT 12 A, 5 mm pinning | as RT11 | 3.6 | 12, 14 at 15.26, 25.34; 11 at 20.3 in A2's row | 2.35, 2.6 | 14 g | 12.85 g |
104| RT23 | RT1 SPST-NO 12 A, 5 mm | as RT11 | 3.6 | 14 at 25.34; 11 at 20.3 in A2's row | 2.35, 2.6 | 14 g | 12.85 g |
105| RT31 | RT1 SPDT 16 A, 5 mm | as RT11 | 3.6 | 12, 11, 14 at 15.26, 20.3, 25.34 in both rows | 2.35, 2.6 | 14 g | 12.9 g |
106| RT33 | RT1 SPST-NO 16 A, 5 mm | as RT11 | 3.6 | 11, 14 at 20.3, 25.34 in both rows | 2.35, 2.6 | 14 g | 12.87 g |
107| RT42 | RT2 DPDT 8 A | as RT11 | 3.6 | 12, 11, 14 and 22, 21, 24 at 15.26, 20.3, 25.34 | 2.35, 2.6 | 13 g | 12.9 g |
108| RT44 | RT2 DPST-NO 8 A | as RT11 | 3.6 | 11, 14 and 21, 24 at 20.3, 25.34 | 2.35, 2.6 | 13 g | 12.87 g |
109| RY21 | RY II SPDT 8 A, 3.2 mm pinning | 28.5 x 10.1 x 12.3 | 3.2 | 22.1; 18.9 and 25.3 in A2's row | 1.9, 1.24 | 8 g | 7.72 g |
110| RY53 | RY II SPST-NO 8 A, 5 mm pinning | as RY21 | 3.2 | 18.9; 23.94 in A2's row | 3.25, 1.24 | 8 g | 7.71 g |
111| RY5-NC | RY II SPST-NC 8 A, 5 mm | as RY21 | 3.2 | as RY53 | 3.25, 1.24 | 8 g | 7.71 g |
112
113### Source
114
115Schrack data sheets by TE Connectivity, read from Chip and Dip's copies (static.chipdip.ru) and Conrad's (asset.conrad.com):
116
117- *Power PCB Relay RT1*, 01-2020, Rev. 0120 (static.chipdip.ru/lib/681/DOC011681392.pdf): PCB layout / terminal assignment, bottom view on solder pins, page 2: rows 7.5 apart, 20.3 from A1 to 11, 22.65 from the case end to 11, 3.5 (3.5 mm pinning) or 5.04 (5 mm) either side of 11, the 16 A layout with 12, 11 and 14 in both rows; weight 14 g, page 2; dimensions, THT version, page 3: 29.0 x 12.7 x 15.7, pins 3.6; the product code, page 3.
118- *Power PCB Relay RT2 DC and AC (for Asia/Pacific markets)*, 11-2020, Rev. 1120 (static.chipdip.ru/lib/558/DOC013558502.pdf, a copy of the maker's sheet as downloaded from a distributor): page 2: dimensions 29.0 x 12.7 x 15.7, pins 3.6; PCB layout 7.5, 20.3, 22.65 and 5.04; weight 13 g; product code, page 3.
119- *Printrelais RY II & RY II reflow-loetfaehig*, Datenblatt Rev. HC1, Ausgabe 2008/03 (Conrad's copy for item 504431, RY531005): page 2: dimensions 28.5 x 10.1 x 12.3, pins 3.2; Printbild (bottom view): 1.9, 18.9 and 3.2 (3.2 mm pinning), 3.25, 18.9 and 5.04 (5 mm, for both the make and the break contact); weight 8 g; Typenschluessel, page 3.
120
121**Proportions.** The rows are centred across the case. The sheets don't dimension the pins: they are 0.55 along the case and 1.0 (RT1, RT2) or 0.8 (RY II) across it, scaled from the outline drawings (the outline's line centres, against its 29.0 or 28.5 and the 18.9 between pins). The RY II's rows are three steps of the sheet's 2.5 to 2.54 grid: 7.62 here. The inside is the Omron proportions. The RT1 comes out 8 % under its 14 g, the RT2 and RY II within 4 %.
122
123The RT1 is red and the RT2 and RY II light grey and white, as in the sheets' pictures.
124
125### The old catalogue's models
126
127Measured 2026-11-06 (`Relay_SPDT_Schrack-RT1-FormC_RM5mm`, `-RT1-FormA`, `-RT1-16A-FormA`, `Relay_DPDT_Schrack-RT2-FormC`, `Relay_DPST_Schrack-RT2-FormA`, `Relay_1-Form-C_Schrack-RYII_RM3.2mm`, `-Form-A_` and `-Form-B_Schrack-RYII_RM5mm`). The pins are at the sheets' places and the cases are the sheets' sizes and places. Two things differ: the models' pins reach 5.3 below the board against the sheets' 3.6 (RT1, RT2) and 3.2 (RY II), and they are 0.4 x 1.0, where the drawings scale to 0.55 x 1.0 and 0.55 x 0.8.
128
129The catalogue's `Relay_DPDT_Schrack-RT2-FormC-Dual-Coil_RM5mm` waits for a sheet with the dual-coil RT2.
130
95131## The family's other relays
96132
97Schrack, Panasonic, Fujitsu, Hongfa, Kemet, COTO, Standex-Meder, SANYOU, HJR, HsinDa and Omron G6H, G6K, G6S, G6E, G5LE and G5NB aren't here yet; see `COVERAGE.md`.
133Panasonic, Fujitsu, Hongfa, Kemet, COTO, Standex-Meder, SANYOU, HJR, HsinDa and Omron G6H, G6K, G6S, G6E, G5LE and G5NB aren't here yet; see `COVERAGE.md`.
98134