Sign in with STEVE

Compare versions

4 files changed, +358 −211

part.py +30 −2
@@ -1,5 +1,6 @@
11"""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
2RT1, RT2 and RYII; Tianbo HJR-4102; Hongfa HF115F 2 pole; Sanyou SRD. A closed case on the XY plane with the pins down through the
3board. Pin 1 is at the origin; the pins are placed as the maker's bottom-view PCB layout draws
34them, seen from above (the layout turned over about its horizontal axis): along it to +X, its next row towards +Y. Dimensions from the
45makers' data sheets in the README."""
56from steve import Model
@@ -45,6 +46,18 @@
4546# 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
4647# 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).
4748# Weight 8 g (p. 2).
49# Tianbo HJR-4102 (Ningbo Tianbo, TBO), data sheet "HJR4102" (Chip and Dip's copy, PDF of 2019-04), p. 3, overall and mounting dimensions:
50# 15.7 x 10.4 x 11.7, pins 3.4; coil pins 0.3 square, 5 and 8 0.45 along the case, 6 and 7 0.4, all 0.3 across; holes: pin 1 and 12 (coil),
51# then 10.16 and 2.54 on (5 and 6; 8 and 7), rows 7.62 apart. Form C (Z) and form A (H, without 7). Weight approx. 3.5 g (p. 1).
52# The sheet doesn't place the pins in the case: the pattern is centred in it (1.5 from each end), as the side view draws it.
53# Hongfa HF115F, data sheet 2025 Rev. 1.00 (source.hongfa.com HF115F_en.pdf), p. 221, outline, 5 mm pinning: 29 x 12.7 x 15.7, pins 3.6,
54# coil pins 0.5 x 0.5, contact pins 0.5 x 0.8 (0.8 across the case); p. 222, PCB layout (bottom view), 5 mm pinning, 2 pole, 8 A
55# (HF115F/xxx-2x-x-4): coil pins 2.6 from the case end, the contacts 20.16 from them and 5.04 either side, rows 7.56 apart; 2 form A (2H)
56# keeps 20.16 and 25.2, 2 form B (2D) 15.12 and 20.16. Weight approx. 13.5 g (p. 219).
57# Sanyou SRD, data sheet version V3.2 (LCSC's copy, atta.szlcsc.com), p. 3, outline: 19.6 x 15.4 x 15.5, pins 3.5; bottom view: the
58# contacts 4.1 from the case end, 1 x 0.4; the coil 12.2 on, 0.55 square; the common 2.0 on and 1.3 from the other end, 0.3 x 1;
59# rows 6 + 6 from the centre line, which the common sits on. Pin 1 is the common (the sheet numbers no pins); the layout is turned
60# half a turn so that it's at the -X end. 1a (form A) keeps the contact on the -Y side, 1b (form B) the +Y one. Weight approx. 8.5 g (p. 1).
4861RELAYS = {
4962 "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))),
5063 "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))),
@@ -83,6 +96,19 @@
8396 "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))),
8497 "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))),
8598 "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))),
99 "HJR-4102": (15.7, 10.4, 11.7, 3.4, 0.3, 0.3, 1.5, 1.39,
100 ((0, 0), (10.16, 0, 0.45, 0.3), (12.7, 0, 0.4, 0.3), (0, 7.62), (10.16, 7.62, 0.45, 0.3), (12.7, 7.62, 0.4, 0.3))),
101 "HJR-4102-A": (15.7, 10.4, 11.7, 3.4, 0.3, 0.3, 1.5, 1.39,
102 ((0, 0), (10.16, 0, 0.45, 0.3), (12.7, 0, 0.4, 0.3), (0, 7.62), (10.16, 7.62, 0.45, 0.3))),
103 "HF115F-2Z-4": (29.0, 12.7, 15.7, 3.6, 0.5, 0.8, 2.6, 2.57,
104 ((0, 0, 0.5, 0.5), (15.12, 0), (20.16, 0), (25.2, 0), (0, 7.56, 0.5, 0.5), (15.12, 7.56), (20.16, 7.56), (25.2, 7.56))),
105 "HF115F-2H-4": (29.0, 12.7, 15.7, 3.6, 0.5, 0.8, 2.6, 2.57,
106 ((0, 0, 0.5, 0.5), (20.16, 0), (25.2, 0), (0, 7.56, 0.5, 0.5), (20.16, 7.56), (25.2, 7.56))),
107 "HF115F-2D-4": (29.0, 12.7, 15.7, 3.6, 0.5, 0.8, 2.6, 2.57,
108 ((0, 0, 0.5, 0.5), (15.12, 0), (20.16, 0), (0, 7.56, 0.5, 0.5), (15.12, 7.56), (20.16, 7.56))),
109 "SRD-1C": (19.6, 15.4, 15.5, 3.5, 1.0, 0.4, 1.3, 7.7, ((0, 0, 0.3, 1.0), (2.0, -6, 0.55, 0.55), (2.0, 6, 0.55, 0.55), (14.2, -6), (14.2, 6))),
110 "SRD-1A": (19.6, 15.4, 15.5, 3.5, 1.0, 0.4, 1.3, 7.7, ((0, 0, 0.3, 1.0), (2.0, -6, 0.55, 0.55), (2.0, 6, 0.55, 0.55), (14.2, -6))),
111 "SRD-1B": (19.6, 15.4, 15.5, 3.5, 1.0, 0.4, 1.3, 7.7, ((0, 0, 0.3, 1.0), (2.0, -6, 0.55, 0.55), (2.0, 6, 0.55, 0.55), (14.2, 6))),
86112}
87113# 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
88114# pack: the pins leave the case 1.3 from its face, the standing version's 1.3 from the case side, p. 3).
@@ -96,6 +122,8 @@
96122# 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.
97123WALL = 0.5
98124FILL = 0.27
125# Kinds whose block fills less, so that the mass comes out near the sheet's weight (HJR-4102 3.5 g, SRD 8.5 g).
126FILLS = {"HJR-4102": 0.22, "HJR-4102-A": 0.22, "SRD-1C": 0.22, "SRD-1A": 0.22, "SRD-1B": 0.22}
99127
100128if kind not in RELAYS:
101129 raise ValueError(f"no relay {kind!r}: {', '.join(RELAYS)}")
@@ -112,7 +140,7 @@
112140model.box("inside", inner[0], inner[1], height - WALL, at=(x0 + length / 2, y0 + width / 2, (height - WALL) / 2), op="cut", body="case_body",
113141 name="Inside")
114142model.box("base", inner[0], inner[1], WALL, at=(x0 + length / 2, y0 + width / 2, WALL / 2), op="new", body="base_body", name="Base")
115scale = FILL ** (1 / 3)
143scale = FILLS.get(kind, FILL) ** (1 / 3)
116144core = (inner[0] * scale, inner[1] * scale, inner[2] * scale)
117145model.box("coil", core[0], core[1], core[2], at=(x0 + length / 2, y0 + width / 2, WALL + core[2] / 2), op="new", body="coil_body",
118146 name="Coil and contacts")
pypart.toml +5 −208
@@ -1,217 +1,14 @@
11name = "steve/pcb-relay"
2version = "1.2.0"
2version = "1.3.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 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"]
5summary = "Through-hole PCB relays from the makers' data sheets: Omron, Finder, Schrack (TE), Tianbo HJR-4102, Hongfa HF115F and Sanyou SRD."
6description = """Through-hole PCB relay: a closed case on the board with its pins at the maker's PCB layout. Omron G2RL-2, G5V-1, G5V-2, G6A, G6AK. Finder 30.22, 32.21, 34.51 (standing or flat pack), 36.11, 40.31/51/52/61. Schrack (TE) RT1, RT2, RY II. Tianbo HJR-4102 (form C or A). Hongfa HF115F 2 pole, 8 A, 5 mm pinning (2 form C, A or B). Sanyou SRD (form C, A or B). Sizes and layouts from the makers' data sheets (README)."""
7tags = ["relay", "pcb-relay", "power-relay", "through-hole", "omron", "finder", "schrack", "hongfa", "sanyou", "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", "RT11", "RT13", "RT21", "RT23", "RT31", "RT33", "RT42", "RT44", "RY21", "RY53", "RY5-NC"]
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", "HJR-4102", "HJR-4102-A", "HF115F-2Z-4", "HF115F-2H-4", "HF115F-2D-4", "SRD-1C", "SRD-1A", "SRD-1B"]
1313label = "Relay type"
1414
15[[presets]]
16id = "G2RL-2"
17title = "Omron G2RL-2, DPDT power relay"
18params = { kind = "G2RL-2" }
19aliases = ["Omron G2RL-2", "G2RL-2"]
20standard = "Omron"
21
22[[presets]]
23id = "G5V-1"
24title = "Omron G5V-1, SPDT signal relay"
25params = { kind = "G5V-1" }
26aliases = ["Omron G5V-1", "G5V-1"]
27standard = "Omron"
28
29[[presets]]
30id = "G5V-2"
31title = "Omron G5V-2, DPDT signal relay"
32params = { kind = "G5V-2" }
33aliases = ["Omron G5V-2", "G5V-2"]
34standard = "Omron"
35
36[[presets]]
37id = "G6A"
38title = "Omron G6A, DPDT signal relay"
39params = { kind = "G6A" }
40aliases = ["Omron G6A", "G6A-274P"]
41standard = "Omron"
42
43[[presets]]
44id = "G6AK"
45title = "Omron G6AK, DPDT signal relay, double-winding latching"
46params = { kind = "G6AK" }
47aliases = ["Omron G6AK", "G6AK-274P"]
48standard = "Omron"
49
50[[presets]]
51id = "30.22"
52title = "Finder 30.22, DPDT signal relay, 2 A"
53params = { kind = "30.22" }
54aliases = ["Finder 30.22"]
55standard = "Finder"
56
57[[presets]]
58id = "32.21-4000"
59title = "Finder 32.21-4000, SPDT relay, 6 A"
60params = { kind = "32.21-4000" }
61aliases = ["Finder 32.21-4000"]
62standard = "Finder"
63
64[[presets]]
65id = "32.21-4300"
66title = "Finder 32.21-4300, SPST-NO relay, 6 A"
67params = { kind = "32.21-4300" }
68aliases = ["Finder 32.21-4300"]
69standard = "Finder"
70
71[[presets]]
72id = "34.51"
73title = "Finder 34.51, SPDT ultra-slim relay, 6 A"
74params = { kind = "34.51" }
75aliases = ["Finder 34.51"]
76standard = "Finder"
77
78[[presets]]
79id = "34.51-flat"
80title = "Finder 34.51-flat, SPDT ultra-slim relay, 6 A, flat pack"
81params = { kind = "34.51-flat" }
82aliases = ["Finder 34.51-flat"]
83standard = "Finder"
84
85[[presets]]
86id = "36.11"
87title = "Finder 36.11, SPDT relay, 10 A"
88params = { kind = "36.11" }
89aliases = ["Finder 36.11", "Finder 36.11-4011"]
90standard = "Finder"
91
92[[presets]]
93id = "40.31"
94title = "Finder 40.31, SPDT power relay, 12 A, 3.5 mm pitch, 5.2 mm pins"
95params = { kind = "40.31" }
96aliases = ["Finder 40.31"]
97standard = "Finder"
98
99[[presets]]
100id = "40.51"
101title = "Finder 40.51, SPDT power relay, 12 A, 5 mm pitch, 5.2 mm pins"
102params = { kind = "40.51" }
103aliases = ["Finder 40.51"]
104standard = "Finder"
105
106[[presets]]
107id = "40.52"
108title = "Finder 40.52, DPDT power relay, 8 A, 5.2 mm pins"
109params = { kind = "40.52" }
110aliases = ["Finder 40.52"]
111standard = "Finder"
112
113[[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]]
170id = "40.31-3.5"
171title = "Finder 40.31-3.5, SPDT power relay, 12 A, 3.5 mm pitch, 3.5 mm PCB pins"
172params = { kind = "40.31-3.5" }
173aliases = ["Finder 40.31-3.5"]
174standard = "Finder"
175
176[[presets]]
177id = "40.51-3.5"
178title = "Finder 40.51-3.5, SPDT power relay, 12 A, 5 mm pitch, 3.5 mm PCB pins"
179params = { kind = "40.51-3.5" }
180aliases = ["Finder 40.51-3.5"]
181standard = "Finder"
182
183[[presets]]
184id = "40.61"
185title = "Finder 40.61, SPDT power relay, 16 A, 5.2 mm pins"
186params = { kind = "40.61" }
187aliases = ["Finder 40.61"]
188standard = "Finder"
189
190[[presets]]
191id = "40.61-3.5"
192title = "Finder 40.61-3.5, SPDT power relay, 16 A, 3.5 mm PCB pins"
193params = { kind = "40.61-3.5" }
194aliases = ["Finder 40.61-3.5"]
195standard = "Finder"
196
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
presets.toml added in 1.3.0
@@ -1,0 +1,261 @@
1# Presets of this part (factory/PRESETS.md). Written by factory/gen.py.
2
3[[presets]]
4id = "G2RL-2"
5title = "Omron G2RL-2, DPDT power relay"
6params = { kind = "G2RL-2" }
7aliases = ["Omron G2RL-2", "G2RL-2"]
8standard = "Omron"
9
10[[presets]]
11id = "G5V-1"
12title = "Omron G5V-1, SPDT signal relay"
13params = { kind = "G5V-1" }
14aliases = ["Omron G5V-1", "G5V-1"]
15standard = "Omron"
16
17[[presets]]
18id = "G5V-2"
19title = "Omron G5V-2, DPDT signal relay"
20params = { kind = "G5V-2" }
21aliases = ["Omron G5V-2", "G5V-2"]
22standard = "Omron"
23
24[[presets]]
25id = "G6A"
26title = "Omron G6A, DPDT signal relay"
27params = { kind = "G6A" }
28aliases = ["Omron G6A", "G6A-274P"]
29standard = "Omron"
30
31[[presets]]
32id = "G6AK"
33title = "Omron G6AK, DPDT signal relay, double-winding latching"
34params = { kind = "G6AK" }
35aliases = ["Omron G6AK", "G6AK-274P"]
36standard = "Omron"
37
38[[presets]]
39id = "30.22"
40title = "Finder 30.22, DPDT signal relay, 2 A"
41params = { kind = "30.22" }
42aliases = ["Finder 30.22"]
43standard = "Finder"
44
45[[presets]]
46id = "32.21-4000"
47title = "Finder 32.21-4000, SPDT relay, 6 A"
48params = { kind = "32.21-4000" }
49aliases = ["Finder 32.21-4000"]
50standard = "Finder"
51
52[[presets]]
53id = "32.21-4300"
54title = "Finder 32.21-4300, SPST-NO relay, 6 A"
55params = { kind = "32.21-4300" }
56aliases = ["Finder 32.21-4300"]
57standard = "Finder"
58
59[[presets]]
60id = "34.51"
61title = "Finder 34.51, SPDT ultra-slim relay, 6 A"
62params = { kind = "34.51" }
63aliases = ["Finder 34.51"]
64standard = "Finder"
65
66[[presets]]
67id = "34.51-flat"
68title = "Finder 34.51-flat, SPDT ultra-slim relay, 6 A, flat pack"
69params = { kind = "34.51-flat" }
70aliases = ["Finder 34.51-flat"]
71standard = "Finder"
72
73[[presets]]
74id = "36.11"
75title = "Finder 36.11, SPDT relay, 10 A"
76params = { kind = "36.11" }
77aliases = ["Finder 36.11", "Finder 36.11-4011"]
78standard = "Finder"
79
80[[presets]]
81id = "40.31"
82title = "Finder 40.31, SPDT power relay, 12 A, 3.5 mm pitch, 5.2 mm pins"
83params = { kind = "40.31" }
84aliases = ["Finder 40.31"]
85standard = "Finder"
86
87[[presets]]
88id = "40.51"
89title = "Finder 40.51, SPDT power relay, 12 A, 5 mm pitch, 5.2 mm pins"
90params = { kind = "40.51" }
91aliases = ["Finder 40.51"]
92standard = "Finder"
93
94[[presets]]
95id = "40.52"
96title = "Finder 40.52, DPDT power relay, 8 A, 5.2 mm pins"
97params = { kind = "40.52" }
98aliases = ["Finder 40.52"]
99standard = "Finder"
100
101[[presets]]
102id = "RT21"
103title = "Schrack RT21, RT1 SPDT power relay, 12 A, 5 mm pinning"
104params = { kind = "RT21" }
105aliases = ["Schrack RT21"]
106standard = "Schrack"
107
108[[presets]]
109id = "RT23"
110title = "Schrack RT23, RT1 SPST-NO power relay, 12 A, 5 mm pinning"
111params = { kind = "RT23" }
112aliases = ["Schrack RT23"]
113standard = "Schrack"
114
115[[presets]]
116id = "RT33"
117title = "Schrack RT33, RT1 SPST-NO power relay, 16 A, 5 mm pinning"
118params = { kind = "RT33" }
119aliases = ["Schrack RT33"]
120standard = "Schrack"
121
122[[presets]]
123id = "RT42"
124title = "Schrack RT42, RT2 DPDT power relay, 8 A"
125params = { kind = "RT42" }
126aliases = ["Schrack RT42"]
127standard = "Schrack"
128
129[[presets]]
130id = "RT44"
131title = "Schrack RT44, RT2 DPST-NO power relay, 8 A"
132params = { kind = "RT44" }
133aliases = ["Schrack RT44"]
134standard = "Schrack"
135
136[[presets]]
137id = "RY21"
138title = "Schrack RY21, RY II SPDT relay, 8 A, 3.2 mm pinning"
139params = { kind = "RY21" }
140aliases = ["Schrack RY21"]
141standard = "Schrack"
142
143[[presets]]
144id = "RY53"
145title = "Schrack RY53, RY II SPST-NO relay, 8 A, 5 mm pinning"
146params = { kind = "RY53" }
147aliases = ["Schrack RY53"]
148standard = "Schrack"
149
150[[presets]]
151id = "RY5-NC"
152title = "Schrack RY5-NC, RY II SPST-NC relay, 8 A, 5 mm pinning"
153params = { kind = "RY5-NC" }
154aliases = ["Schrack RY5-NC"]
155standard = "Schrack"
156
157[[presets]]
158id = "HJR-4102"
159title = "Tianbo HJR-4102, SPDT relay"
160params = { kind = "HJR-4102" }
161aliases = ["Tianbo HJR-4102", "HJR4102", "HJR-4102"]
162standard = "Tianbo"
163
164[[presets]]
165id = "HF115F-2Z-4"
166title = "Hongfa HF115F-2Z-4, DPDT power relay, 8 A, 5 mm pinning"
167params = { kind = "HF115F-2Z-4" }
168aliases = ["Hongfa HF115F-2Z-4"]
169standard = "Hongfa"
170
171[[presets]]
172id = "SRD-1C"
173title = "Sanyou SRD-1C, SPDT power relay"
174params = { kind = "SRD-1C" }
175aliases = ["Sanyou SRD-1C"]
176standard = "Sanyou"
177
178[[presets]]
179id = "SRD-1A"
180title = "Sanyou SRD-1A, SPST-NO power relay"
181params = { kind = "SRD-1A" }
182aliases = ["Sanyou SRD-1A"]
183standard = "Sanyou"
184
185[[presets]]
186id = "SRD-1B"
187title = "Sanyou SRD-1B, SPST-NC power relay"
188params = { kind = "SRD-1B" }
189aliases = ["Sanyou SRD-1B"]
190standard = "Sanyou"
191
192[[presets]]
193id = "40.31-3.5"
194title = "Finder 40.31-3.5, SPDT power relay, 12 A, 3.5 mm pitch, 3.5 mm PCB pins"
195params = { kind = "40.31-3.5" }
196aliases = ["Finder 40.31-3.5"]
197standard = "Finder"
198
199[[presets]]
200id = "40.51-3.5"
201title = "Finder 40.51-3.5, SPDT power relay, 12 A, 5 mm pitch, 3.5 mm PCB pins"
202params = { kind = "40.51-3.5" }
203aliases = ["Finder 40.51-3.5"]
204standard = "Finder"
205
206[[presets]]
207id = "40.61"
208title = "Finder 40.61, SPDT power relay, 16 A, 5.2 mm pins"
209params = { kind = "40.61" }
210aliases = ["Finder 40.61"]
211standard = "Finder"
212
213[[presets]]
214id = "40.61-3.5"
215title = "Finder 40.61-3.5, SPDT power relay, 16 A, 3.5 mm PCB pins"
216params = { kind = "40.61-3.5" }
217aliases = ["Finder 40.61-3.5"]
218standard = "Finder"
219
220[[presets]]
221id = "RT11"
222title = "Schrack RT11, RT1 SPDT power relay, 12 A, 3.5 mm pinning"
223params = { kind = "RT11" }
224aliases = ["Schrack RT11"]
225standard = "Schrack"
226
227[[presets]]
228id = "RT13"
229title = "Schrack RT13, RT1 SPST-NO power relay, 12 A, 3.5 mm pinning"
230params = { kind = "RT13" }
231aliases = ["Schrack RT13"]
232standard = "Schrack"
233
234[[presets]]
235id = "RT31"
236title = "Schrack RT31, RT1 SPDT power relay, 16 A, 5 mm pinning"
237params = { kind = "RT31" }
238aliases = ["Schrack RT31"]
239standard = "Schrack"
240
241[[presets]]
242id = "HJR-4102-A"
243title = "Tianbo HJR-4102-A, SPST-NO relay"
244params = { kind = "HJR-4102-A" }
245aliases = ["Tianbo HJR-4102-A"]
246standard = "Tianbo"
247
248[[presets]]
249id = "HF115F-2H-4"
250title = "Hongfa HF115F-2H-4, DPST-NO power relay, 8 A, 5 mm pinning"
251params = { kind = "HF115F-2H-4" }
252aliases = ["Hongfa HF115F-2H-4"]
253standard = "Hongfa"
254
255[[presets]]
256id = "HF115F-2D-4"
257title = "Hongfa HF115F-2D-4, DPST-NC power relay, 8 A, 5 mm pinning"
258params = { kind = "HF115F-2D-4" }
259aliases = ["Hongfa HF115F-2D-4"]
260standard = "Hongfa"
261
README.md +62 −1
@@ -128,7 +128,68 @@
128128
129129The catalogue's `Relay_DPDT_Schrack-RT2-FormC-Dual-Coil_RM5mm` waits for a sheet with the dual-coil RT2.
130130
131## Tianbo HJR-4102
132
133Pin 1 is coil terminal 1, as the sheet numbers it. `HJR-4102` is form C (ordering code ...-S-Z), `HJR-4102-A` form A (...-H), without pin 7.
134
135| Type | Contacts | Case | Pins below the board | Pin section (along the case x across it) | PCB layout from pin 1 | Pin 1 from the case end, side | Weight (sheet) | Model |
136|---|---|---|---|---|---|---|---|---|
137| HJR-4102 | SPDT | 15.7 x 10.4 x 11.7 | 3.4 | coil 0.3 x 0.3; 5 and 8 0.45 x 0.3; 6 and 7 0.4 x 0.3 | 5, 6 at 10.16, 12.7; 12, 8, 7 in the row 7.62 across | 1.5, 1.39 | approx. 3.5 g | 3.43 g |
138| HJR-4102-A | SPST-NO | as HJR-4102 | 3.4 | as above | as above, without 7 | 1.5, 1.39 | approx. 3.5 g | 3.43 g |
139
140### Source
141
142Ningbo Tianbo (TBO), data sheet *HJR4102* (通信继电器), read from Chip and Dip's copy (static.chipdip.ru/lib/163/DOC045163777.pdf; the PDF is dated 2019-04 and has no revision printed): ordering code and weight (approx. 3.5 g), page 1; overall and mounting dimensions, page 3: 15.7 x 10.4 x 11.7, pins 3.4; pins 0.3 thick, 0.3 (coil), 2-0.45 and 2-0.4 wide; six holes, 10.16 and 2.54 along, 7.62 across; wiring diagrams of form C and form A.
143
144An older copy of the same sheet (static.chipdip.ru/lib/858/DOC029858842.pdf, document T810S-T002C) gives the case as 15.7 max. x 10.4 ±0.3 x 11.7 max., the pins 3.4 ±0.3, and the pins at 10.16 0.7 wide, not 0.45. The later sheet's values are used.
145
146**Proportions.** The sheet doesn't place the pins in the case: the pattern is centred in it, 1.5 from each end (the side view draws it about 1.5 to 1.8 from the ends) and 1.39 from each side. The inside is the Omron proportions with a smaller block: it fills 0.22 of the inside, so that the mass comes out at the sheet's 3.5 g.
147
148The case is black, as in the sheet's picture.
149
150The old catalogue's `Relay_SPDT_HJR-4102`, measured 2026-11-06: the case 15.7 x 10.4 x 11.4 against the sheet's 11.7, pins 3.6 below against 3.4, all pins 0.3 x 0.3, pin 1 1.25 from the case end. Its 5 and 8 are at 9.86 from pin 1 and its 6 and 7 at 12.4, where the sheet puts them at 10.16 and 12.7: the model is wrong there, and the sheet's layout is used.
151
152## Hongfa HF115F, 2 pole
153
154Pin 1 is a coil terminal. The 2 pole, 8 A, 5 mm pinning versions (HF115F/xxx-2xx-x-4xx): `HF115F-2Z-4` 2 form C, `HF115F-2H-4` 2 form A, `HF115F-2D-4` 2 form B.
155
156| Type | Contacts | Case | Pins below the board | Pin section (along the case x across it) | PCB layout from pin 1 | Pin 1 from the case end, side | Weight (sheet) | Model |
157|---|---|---|---|---|---|---|---|---|
158| HF115F-2Z-4 | DPDT, 8 A | 29 x 12.7 x 15.7 | 3.6 | coil 0.5 x 0.5, contacts 0.5 x 0.8 | 15.12, 20.16, 25.2 in both rows, 7.56 apart | 2.6, 2.57 | approx. 13.5 g | 12.86 g |
159| HF115F-2H-4 | DPST-NO, 8 A | as 2Z | 3.6 | as above | 20.16, 25.2 in both rows | 2.6, 2.57 | approx. 13.5 g | 12.83 g |
160| HF115F-2D-4 | DPST-NC, 8 A | as 2Z | 3.6 | as above | 15.12, 20.16 in both rows | 2.6, 2.57 | approx. 13.5 g | 12.83 g |
161
162### Source
163
164Hongfa data sheet *HF115F Miniature high power relay*, 2025 Rev. 1.00, from Hongfa's own site (source.hongfa.com/Uploads/Product/PDF/HF115F_en.pdf), pages numbered 219 to 222: unit weight approx. 13.5 g, page 219; outline dimensions, 5 mm pinning, page 221: 29 ±0.3 x 12.7 ±0.3 x 15.7 ±0.3, pins 3.6 ±0.5, terminals 0.5 x 0.5 and 0.5 x 0.8 (3 terminals); PCB layout (bottom view), 5 mm pinning, 2 pole, 8 A, page 222: 2.6 from the case end to the coil pins, 20.16 to the middle contacts, 5.04 either side, rows 7.56 apart, for 2 form A, B and C.
165
166**Proportions.** The rows are centred across the case. The case's 0.3 standoffs aren't modelled: it stands on the board. The inside is the Omron proportions; the model is 5 % under the sheet's weight.
167
168The case is black, as in the sheet's picture.
169
170The old catalogue's `Relay_DPDT_Hongfa_HF115F-2Z-x4`, measured 2026-11-06: the case 29 x 12.7 and pin sections as the sheet's, 15.8 high (with standoffs) against 15.7, pins 3.4 below against 3.6, pin 1 2.54 from the case end and 2.54 from its side against 2.6 and 2.57. Its first contact column is at 15.2 against the sheet's 15.12 (20.16 less 5.04), 0.08 off: the sheet's layout is used.
171
172## Sanyou SRD
173
174Pin 1 is the common contact (the sheet numbers no pins). The sheet's bottom view, turned over and then half a turn, so that the common is at the case's -X end: the coil pins 2.0 on, 6 either side of the common's line, and the contacts 12.2 further on, 6 either side. `SRD-1C` is form C (the sheet's 1c), `SRD-1A` form A (1a: the contact on the -Y side), `SRD-1B` form B (1b: on the +Y side). The SRD-DM, SRD-D and SRD-DB ratings share the case.
175
176| Type | Contacts | Case | Pins below the board | Pin section (along the case x across it) | Pin 1 from the case end, side | Weight (sheet) | Model |
177|---|---|---|---|---|---|---|---|
178| SRD-1C | SPDT | 19.6 x 15.4 x 15.5 | 3.5 | common 0.3 x 1; coil 0.55 x 0.55; contacts 1 x 0.4 | 1.3, 7.7 | approx. 8.5 g | 8.62 g |
179| SRD-1A | SPST-NO | as SRD-1C | 3.5 | as above | 1.3, 7.7 | approx. 8.5 g | 8.61 g |
180| SRD-1B | SPST-NC | as SRD-1C | 3.5 | as above | 1.3, 7.7 | approx. 8.5 g | 8.61 g |
181
182### Source
183
184Sanyou Relays, data sheet *SRD-Series Miniature Power Relay*, version V3.2, read from LCSC's copy (atta.szlcsc.com/upload/public/pdf/source/231023/SRD.pdf-ba91e5635ca2ace5c4c74973894313b7.pdf): unit weight approx. 8.5 g, page 1; outline dimensions, page 3: 19.6 x 15.4 x 15.5, pins 3.5; bottom view: 4.1, 12.2, 2.0 and 1.3 along the case, rows 6 and 6 from the centre line, 1.7 from the side, pins 1 wide and 2-0.4 thick (contacts), 2-□0.55 (coil), 0.3 and 1 (common); PCB layouts 1c, 1b and 1a (bottom view), page 3.
185
186**Proportions.** The inside is the Omron proportions with a smaller block: it fills 0.22 of the inside, so that the mass comes out at the sheet's 8.5 g.
187
188The case is black, as in the sheet's picture.
189
190The old catalogue's `Relay_SPDT_SANYOU_SRD_Series_Form_C`, `Relay_SPST_SANYOU_SRD_Series_Form_A` and `_Form_B`, measured 2026-11-06: the pins at the sheet's places and the case at its size and place, turned the same way, with form A's contact on the -Y side and form B's on the +Y side. They differ in the case's height (15.6 against 15.5), the pins below the board (3.4 against 3.5), the coil pins (0.5 square against 0.55) and the contact pins (1 x 0.3 against 1 x 0.4).
191
131192## The family's other relays
132193
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`.
194Panasonic, Fujitsu, Kemet, COTO, CUI, Standex-Meder, HsinDa and Omron G6H, G6K, G6S, G6E, G5LE and G5NB aren't here yet; see `COVERAGE.md`.
134195