Sign in with STEVE

Compare versions

4 files changed, +169 −46 1.1.0: MC 1,5 headers at 3.81 mm. MSTBA 2,5 parts are unchanged.

part.py +16 −8
@@ -1,21 +1,29 @@
1"""PCB header for pluggable terminal blocks, Phoenix Contact MSTBA 2,5 type: right-angle, 5.0 or 5.08 mm pitch, 2 to 16 positions. Pin 1 is at the origin, the row
1"""PCB header for pluggable terminal blocks, right-angle, Phoenix Contact MSTBA 2,5 type (5.0 or 5.08 mm, 2 to 16 positions) or MC 1,5 type (3.81 mm, 2 to 16). Pin 1 is at the origin, the row
22along +X, the housing on the XY plane with its opening facing -Y, the solder pins down through the board. Dimensions from Phoenix Contact's data sheet in the README."""
33from steve import Model
44
5series = "MSTBA 2,5" # Series
56pitch = 5.08 # mm Pitch
67positions = 2 # Positions
78detail = "full" # full: the opening, the mating pins and the solder pins; simple: the housing's outline
89
9# Phoenix Contact data sheet, MSTBA 2,5/ 2-G-5,08 (1757242), Dimensions p. 5 and Dimensional drawing p. 6: width a + 7 (5.0 mm) or a + 7.08 (5.08 mm), length 12,
10# series: (pitches, length, height above the board, solder pin length, solder pins from the back face, past each end pin by pitch, pin section)
11# MSTBA 2,5: data sheet MSTBA 2,5/ 2-G-5,08 (1757242), Dimensions p. 5 and Dimensional drawing p. 6: width a + 7 (5.0 mm) or a + 7.08 (5.08 mm), length 12,
1012# height 8.6 above the board, solder pins 3.5 long, 2 from the back face. The drawing gives the same housing for 5.0 and 5.08 mm pitch.
11LENGTH, HEIGHT, PIN_LENGTH, PIN_FROM_BACK = 12, 8.6, 3.5, 2
12PIN = 1.2 # the pin section, the wall and the mating pins' reach are proportions, for looks: the data sheet doesn't dimension them
13# MC 1,5: data sheet MC 1,5/ 2-G-3,81 (1803277), Technische Daten p. 1 and Massszeichnung p. 4: width a + 5.2, length 9.2, height 7.25, solder pins 3.4 long,
14# 0.8 x 0.8, 8 from the opening (1.2 from the back face).
15SERIES = {
16 "MSTBA 2,5": ((5.0, 5.08), 12, 8.6, 3.5, 2, {5.0: 3.5, 5.08: 3.54}, 1.2),
17 "MC 1,5": ((3.81,), 9.2, 7.25, 3.4, 1.2, {3.81: 2.6}, 0.8),
18}
19pitches, LENGTH, HEIGHT, PIN_LENGTH, PIN_FROM_BACK, ENDS, PIN = SERIES[series]
20# the wall and the mating pins' reach are proportions, for looks: the data sheets don't dimension them
1321SHORT = 1.5 # the mating pins stop this far short of the opening, where the plug's contacts meet them
14WALL = 1.0
15if pitch not in (5.0, 5.08) or not 2 <= positions <= 16:
16 raise ValueError("MSTBA 2,5 comes in 5.0 and 5.08 mm pitch, 2 to 16 positions.")
22WALL = 1.0 if series == "MSTBA 2,5" else 0.8
23if pitch not in pitches or not 2 <= positions <= 16:
24 raise ValueError(f"{series} comes in pitch {pitches}, 2 to 16 positions.")
1725
18end = 3.5 if pitch == 5.0 else 3.54
26end = ENDS[pitch]
1927width = (positions - 1) * pitch + 2 * end
2028x0 = -end
2129back = PIN_FROM_BACK
pypart.toml +12 −4
@@ -1,15 +1,23 @@
11name = "steve/pluggable-terminal-header"
2version = "1.0.0"
2version = "1.1.0"
33runtime = "steve"
44license = "MIT"
5summary = "PCB header for pluggable terminal blocks, Phoenix Contact MSTBA 2,5 type: right-angle, 5.0 and 5.08 mm pitch, 2 to 16 positions."
6description = """Right-angle PCB header of the MSTBA 2,5 type, with its opening, mating pins and solder pins. Width, length, height and pins from Phoenix Contact's data sheet. See the README."""
5summary = "PCB header for pluggable terminal blocks, right-angle: Phoenix Contact MSTBA 2,5 (5.0, 5.08 mm) and MC 1,5 (3.81 mm) types, 2 to 16 positions."
6changes = "MC 1,5 headers at 3.81 mm. MSTBA 2,5 parts are unchanged."
7description = """Right-angle PCB header of the MSTBA 2,5 or MC 1,5 type, with its opening, mating pins and solder pins. Width, length, height and pins from Phoenix Contact's data sheets. See the README."""
78tags = ["terminal-block", "pluggable", "header", "phoenix", "mstb", "connector", "electronics"]
9
10[parameters.series]
11type = "choice"
12default = "MSTBA 2,5"
13choices = ["MSTBA 2,5", "MC 1,5"]
14label = "Series"
815
916[parameters.pitch]
1017type = "choice"
1118default = 5.08
12choices = [5.0, 5.08]
19choices = [3.81, 5.0, 5.08]
20description = "MSTBA 2,5: 5.0 or 5.08. MC 1,5: 3.81."
1321unit = "mm"
1422label = "Pitch"
1523
presets.toml +136 −31
@@ -1,219 +1,324 @@
11# Presets of this part (factory/PRESETS.md). Written by factory/gen.py.
2
3[[presets]]
4id = "MC1.5-2-G-3.81"
5title = "Pluggable terminal header, 2 positions, 3.81 mm, right-angle (MC 1,5)"
6params = { series = "MC 1,5", pitch = 3.81, positions = 2 }
7aliases = ["MC 1,5/2-G-3,81", "MC 1,5/2-G", "2 pin pluggable terminal header 3.81", "2 way pluggable terminal block 3.81mm", "2P pluggable header 3.81"]
8standard = "Phoenix Contact"
9
10[[presets]]
11id = "MC1.5-3-G-3.81"
12title = "Pluggable terminal header, 3 positions, 3.81 mm, right-angle (MC 1,5)"
13params = { series = "MC 1,5", pitch = 3.81, positions = 3 }
14aliases = ["MC 1,5/3-G-3,81", "MC 1,5/3-G", "3 pin pluggable terminal header 3.81", "3 way pluggable terminal block 3.81mm", "3P pluggable header 3.81"]
15standard = "Phoenix Contact"
16
17[[presets]]
18id = "MC1.5-4-G-3.81"
19title = "Pluggable terminal header, 4 positions, 3.81 mm, right-angle (MC 1,5)"
20params = { series = "MC 1,5", pitch = 3.81, positions = 4 }
21aliases = ["MC 1,5/4-G-3,81", "MC 1,5/4-G", "4 pin pluggable terminal header 3.81", "4 way pluggable terminal block 3.81mm", "4P pluggable header 3.81"]
22standard = "Phoenix Contact"
23
24[[presets]]
25id = "MC1.5-5-G-3.81"
26title = "Pluggable terminal header, 5 positions, 3.81 mm, right-angle (MC 1,5)"
27params = { series = "MC 1,5", pitch = 3.81, positions = 5 }
28aliases = ["MC 1,5/5-G-3,81", "MC 1,5/5-G", "5 pin pluggable terminal header 3.81", "5 way pluggable terminal block 3.81mm", "5P pluggable header 3.81"]
29standard = "Phoenix Contact"
30
31[[presets]]
32id = "MC1.5-6-G-3.81"
33title = "Pluggable terminal header, 6 positions, 3.81 mm, right-angle (MC 1,5)"
34params = { series = "MC 1,5", pitch = 3.81, positions = 6 }
35aliases = ["MC 1,5/6-G-3,81", "MC 1,5/6-G", "6 pin pluggable terminal header 3.81", "6 way pluggable terminal block 3.81mm", "6P pluggable header 3.81"]
36standard = "Phoenix Contact"
37
38[[presets]]
39id = "MC1.5-7-G-3.81"
40title = "Pluggable terminal header, 7 positions, 3.81 mm, right-angle (MC 1,5)"
41params = { series = "MC 1,5", pitch = 3.81, positions = 7 }
42aliases = ["MC 1,5/7-G-3,81", "MC 1,5/7-G", "7 pin pluggable terminal header 3.81", "7 way pluggable terminal block 3.81mm", "7P pluggable header 3.81"]
43standard = "Phoenix Contact"
44
45[[presets]]
46id = "MC1.5-8-G-3.81"
47title = "Pluggable terminal header, 8 positions, 3.81 mm, right-angle (MC 1,5)"
48params = { series = "MC 1,5", pitch = 3.81, positions = 8 }
49aliases = ["MC 1,5/8-G-3,81", "MC 1,5/8-G", "8 pin pluggable terminal header 3.81", "8 way pluggable terminal block 3.81mm", "8P pluggable header 3.81"]
50standard = "Phoenix Contact"
51
52[[presets]]
53id = "MC1.5-9-G-3.81"
54title = "Pluggable terminal header, 9 positions, 3.81 mm, right-angle (MC 1,5)"
55params = { series = "MC 1,5", pitch = 3.81, positions = 9 }
56aliases = ["MC 1,5/9-G-3,81", "MC 1,5/9-G", "9 pin pluggable terminal header 3.81", "9 way pluggable terminal block 3.81mm", "9P pluggable header 3.81"]
57standard = "Phoenix Contact"
58
59[[presets]]
60id = "MC1.5-10-G-3.81"
61title = "Pluggable terminal header, 10 positions, 3.81 mm, right-angle (MC 1,5)"
62params = { series = "MC 1,5", pitch = 3.81, positions = 10 }
63aliases = ["MC 1,5/10-G-3,81", "MC 1,5/10-G", "10 pin pluggable terminal header 3.81", "10 way pluggable terminal block 3.81mm", "10P pluggable header 3.81"]
64standard = "Phoenix Contact"
65
66[[presets]]
67id = "MC1.5-11-G-3.81"
68title = "Pluggable terminal header, 11 positions, 3.81 mm, right-angle (MC 1,5)"
69params = { series = "MC 1,5", pitch = 3.81, positions = 11 }
70aliases = ["MC 1,5/11-G-3,81", "MC 1,5/11-G", "11 pin pluggable terminal header 3.81", "11 way pluggable terminal block 3.81mm", "11P pluggable header 3.81"]
71standard = "Phoenix Contact"
72
73[[presets]]
74id = "MC1.5-12-G-3.81"
75title = "Pluggable terminal header, 12 positions, 3.81 mm, right-angle (MC 1,5)"
76params = { series = "MC 1,5", pitch = 3.81, positions = 12 }
77aliases = ["MC 1,5/12-G-3,81", "MC 1,5/12-G", "12 pin pluggable terminal header 3.81", "12 way pluggable terminal block 3.81mm", "12P pluggable header 3.81"]
78standard = "Phoenix Contact"
79
80[[presets]]
81id = "MC1.5-13-G-3.81"
82title = "Pluggable terminal header, 13 positions, 3.81 mm, right-angle (MC 1,5)"
83params = { series = "MC 1,5", pitch = 3.81, positions = 13 }
84aliases = ["MC 1,5/13-G-3,81", "MC 1,5/13-G", "13 pin pluggable terminal header 3.81", "13 way pluggable terminal block 3.81mm", "13P pluggable header 3.81"]
85standard = "Phoenix Contact"
86
87[[presets]]
88id = "MC1.5-14-G-3.81"
89title = "Pluggable terminal header, 14 positions, 3.81 mm, right-angle (MC 1,5)"
90params = { series = "MC 1,5", pitch = 3.81, positions = 14 }
91aliases = ["MC 1,5/14-G-3,81", "MC 1,5/14-G", "14 pin pluggable terminal header 3.81", "14 way pluggable terminal block 3.81mm", "14P pluggable header 3.81"]
92standard = "Phoenix Contact"
93
94[[presets]]
95id = "MC1.5-15-G-3.81"
96title = "Pluggable terminal header, 15 positions, 3.81 mm, right-angle (MC 1,5)"
97params = { series = "MC 1,5", pitch = 3.81, positions = 15 }
98aliases = ["MC 1,5/15-G-3,81", "MC 1,5/15-G", "15 pin pluggable terminal header 3.81", "15 way pluggable terminal block 3.81mm", "15P pluggable header 3.81"]
99standard = "Phoenix Contact"
100
101[[presets]]
102id = "MC1.5-16-G-3.81"
103title = "Pluggable terminal header, 16 positions, 3.81 mm, right-angle (MC 1,5)"
104params = { series = "MC 1,5", pitch = 3.81, positions = 16 }
105aliases = ["MC 1,5/16-G-3,81", "MC 1,5/16-G", "16 pin pluggable terminal header 3.81", "16 way pluggable terminal block 3.81mm", "16P pluggable header 3.81"]
106standard = "Phoenix Contact"
2107
3108[[presets]]
4109id = "MSTBA2.5-2-G-5.0"
5110title = "Pluggable terminal header, 2 positions, 5.0 mm, right-angle (MSTBA 2,5)"
6params = { pitch = 5, positions = 2 }
111params = { series = "MSTBA 2,5", pitch = 5, positions = 2 }
7112aliases = ["MSTBA 2,5/2-G-5,0", "MSTBA 2,5/2-G", "2 pin pluggable terminal header 5.0", "2 way pluggable terminal block 5.0mm", "2P pluggable header 5.0"]
8113standard = "Phoenix Contact"
9114
10115[[presets]]
11116id = "MSTBA2.5-3-G-5.0"
12117title = "Pluggable terminal header, 3 positions, 5.0 mm, right-angle (MSTBA 2,5)"
13params = { pitch = 5, positions = 3 }
118params = { series = "MSTBA 2,5", pitch = 5, positions = 3 }
14119aliases = ["MSTBA 2,5/3-G-5,0", "MSTBA 2,5/3-G", "3 pin pluggable terminal header 5.0", "3 way pluggable terminal block 5.0mm", "3P pluggable header 5.0"]
15120standard = "Phoenix Contact"
16121
17122[[presets]]
18123id = "MSTBA2.5-4-G-5.0"
19124title = "Pluggable terminal header, 4 positions, 5.0 mm, right-angle (MSTBA 2,5)"
20params = { pitch = 5, positions = 4 }
125params = { series = "MSTBA 2,5", pitch = 5, positions = 4 }
21126aliases = ["MSTBA 2,5/4-G-5,0", "MSTBA 2,5/4-G", "4 pin pluggable terminal header 5.0", "4 way pluggable terminal block 5.0mm", "4P pluggable header 5.0"]
22127standard = "Phoenix Contact"
23128
24129[[presets]]
25130id = "MSTBA2.5-5-G-5.0"
26131title = "Pluggable terminal header, 5 positions, 5.0 mm, right-angle (MSTBA 2,5)"
27params = { pitch = 5, positions = 5 }
132params = { series = "MSTBA 2,5", pitch = 5, positions = 5 }
28133aliases = ["MSTBA 2,5/5-G-5,0", "MSTBA 2,5/5-G", "5 pin pluggable terminal header 5.0", "5 way pluggable terminal block 5.0mm", "5P pluggable header 5.0"]
29134standard = "Phoenix Contact"
30135
31136[[presets]]
32137id = "MSTBA2.5-6-G-5.0"
33138title = "Pluggable terminal header, 6 positions, 5.0 mm, right-angle (MSTBA 2,5)"
34params = { pitch = 5, positions = 6 }
139params = { series = "MSTBA 2,5", pitch = 5, positions = 6 }
35140aliases = ["MSTBA 2,5/6-G-5,0", "MSTBA 2,5/6-G", "6 pin pluggable terminal header 5.0", "6 way pluggable terminal block 5.0mm", "6P pluggable header 5.0"]
36141standard = "Phoenix Contact"
37142
38143[[presets]]
39144id = "MSTBA2.5-7-G-5.0"
40145title = "Pluggable terminal header, 7 positions, 5.0 mm, right-angle (MSTBA 2,5)"
41params = { pitch = 5, positions = 7 }
146params = { series = "MSTBA 2,5", pitch = 5, positions = 7 }
42147aliases = ["MSTBA 2,5/7-G-5,0", "MSTBA 2,5/7-G", "7 pin pluggable terminal header 5.0", "7 way pluggable terminal block 5.0mm", "7P pluggable header 5.0"]
43148standard = "Phoenix Contact"
44149
45150[[presets]]
46151id = "MSTBA2.5-8-G-5.0"
47152title = "Pluggable terminal header, 8 positions, 5.0 mm, right-angle (MSTBA 2,5)"
48params = { pitch = 5, positions = 8 }
153params = { series = "MSTBA 2,5", pitch = 5, positions = 8 }
49154aliases = ["MSTBA 2,5/8-G-5,0", "MSTBA 2,5/8-G", "8 pin pluggable terminal header 5.0", "8 way pluggable terminal block 5.0mm", "8P pluggable header 5.0"]
50155standard = "Phoenix Contact"
51156
52157[[presets]]
53158id = "MSTBA2.5-9-G-5.0"
54159title = "Pluggable terminal header, 9 positions, 5.0 mm, right-angle (MSTBA 2,5)"
55params = { pitch = 5, positions = 9 }
160params = { series = "MSTBA 2,5", pitch = 5, positions = 9 }
56161aliases = ["MSTBA 2,5/9-G-5,0", "MSTBA 2,5/9-G", "9 pin pluggable terminal header 5.0", "9 way pluggable terminal block 5.0mm", "9P pluggable header 5.0"]
57162standard = "Phoenix Contact"
58163
59164[[presets]]
60165id = "MSTBA2.5-10-G-5.0"
61166title = "Pluggable terminal header, 10 positions, 5.0 mm, right-angle (MSTBA 2,5)"
62params = { pitch = 5, positions = 10 }
167params = { series = "MSTBA 2,5", pitch = 5, positions = 10 }
63168aliases = ["MSTBA 2,5/10-G-5,0", "MSTBA 2,5/10-G", "10 pin pluggable terminal header 5.0", "10 way pluggable terminal block 5.0mm", "10P pluggable header 5.0"]
64169standard = "Phoenix Contact"
65170
66171[[presets]]
67172id = "MSTBA2.5-11-G-5.0"
68173title = "Pluggable terminal header, 11 positions, 5.0 mm, right-angle (MSTBA 2,5)"
69params = { pitch = 5, positions = 11 }
174params = { series = "MSTBA 2,5", pitch = 5, positions = 11 }
70175aliases = ["MSTBA 2,5/11-G-5,0", "MSTBA 2,5/11-G", "11 pin pluggable terminal header 5.0", "11 way pluggable terminal block 5.0mm", "11P pluggable header 5.0"]
71176standard = "Phoenix Contact"
72177
73178[[presets]]
74179id = "MSTBA2.5-12-G-5.0"
75180title = "Pluggable terminal header, 12 positions, 5.0 mm, right-angle (MSTBA 2,5)"
76params = { pitch = 5, positions = 12 }
181params = { series = "MSTBA 2,5", pitch = 5, positions = 12 }
77182aliases = ["MSTBA 2,5/12-G-5,0", "MSTBA 2,5/12-G", "12 pin pluggable terminal header 5.0", "12 way pluggable terminal block 5.0mm", "12P pluggable header 5.0"]
78183standard = "Phoenix Contact"
79184
80185[[presets]]
81186id = "MSTBA2.5-13-G-5.0"
82187title = "Pluggable terminal header, 13 positions, 5.0 mm, right-angle (MSTBA 2,5)"
83params = { pitch = 5, positions = 13 }
188params = { series = "MSTBA 2,5", pitch = 5, positions = 13 }
84189aliases = ["MSTBA 2,5/13-G-5,0", "MSTBA 2,5/13-G", "13 pin pluggable terminal header 5.0", "13 way pluggable terminal block 5.0mm", "13P pluggable header 5.0"]
85190standard = "Phoenix Contact"
86191
87192[[presets]]
88193id = "MSTBA2.5-14-G-5.0"
89194title = "Pluggable terminal header, 14 positions, 5.0 mm, right-angle (MSTBA 2,5)"
90params = { pitch = 5, positions = 14 }
195params = { series = "MSTBA 2,5", pitch = 5, positions = 14 }
91196aliases = ["MSTBA 2,5/14-G-5,0", "MSTBA 2,5/14-G", "14 pin pluggable terminal header 5.0", "14 way pluggable terminal block 5.0mm", "14P pluggable header 5.0"]
92197standard = "Phoenix Contact"
93198
94199[[presets]]
95200id = "MSTBA2.5-15-G-5.0"
96201title = "Pluggable terminal header, 15 positions, 5.0 mm, right-angle (MSTBA 2,5)"
97params = { pitch = 5, positions = 15 }
202params = { series = "MSTBA 2,5", pitch = 5, positions = 15 }
98203aliases = ["MSTBA 2,5/15-G-5,0", "MSTBA 2,5/15-G", "15 pin pluggable terminal header 5.0", "15 way pluggable terminal block 5.0mm", "15P pluggable header 5.0"]
99204standard = "Phoenix Contact"
100205
101206[[presets]]
102207id = "MSTBA2.5-16-G-5.0"
103208title = "Pluggable terminal header, 16 positions, 5.0 mm, right-angle (MSTBA 2,5)"
104params = { pitch = 5, positions = 16 }
209params = { series = "MSTBA 2,5", pitch = 5, positions = 16 }
105210aliases = ["MSTBA 2,5/16-G-5,0", "MSTBA 2,5/16-G", "16 pin pluggable terminal header 5.0", "16 way pluggable terminal block 5.0mm", "16P pluggable header 5.0"]
106211standard = "Phoenix Contact"
107212
108213[[presets]]
109214id = "MSTBA2.5-2-G-5.08"
110215title = "Pluggable terminal header, 2 positions, 5.08 mm, right-angle (MSTBA 2,5)"
111params = { pitch = 5.08, positions = 2 }
216params = { series = "MSTBA 2,5", pitch = 5.08, positions = 2 }
112217aliases = ["MSTBA 2,5/2-G-5,08", "MSTBA 2,5/2-G", "2 pin pluggable terminal header 5.08", "2 way pluggable terminal block 5.08mm", "2P pluggable header 5.08"]
113218standard = "Phoenix Contact"
114219
115220[[presets]]
116221id = "MSTBA2.5-3-G-5.08"
117222title = "Pluggable terminal header, 3 positions, 5.08 mm, right-angle (MSTBA 2,5)"
118params = { pitch = 5.08, positions = 3 }
223params = { series = "MSTBA 2,5", pitch = 5.08, positions = 3 }
119224aliases = ["MSTBA 2,5/3-G-5,08", "MSTBA 2,5/3-G", "3 pin pluggable terminal header 5.08", "3 way pluggable terminal block 5.08mm", "3P pluggable header 5.08"]
120225standard = "Phoenix Contact"
121226
122227[[presets]]
123228id = "MSTBA2.5-4-G-5.08"
124229title = "Pluggable terminal header, 4 positions, 5.08 mm, right-angle (MSTBA 2,5)"
125params = { pitch = 5.08, positions = 4 }
230params = { series = "MSTBA 2,5", pitch = 5.08, positions = 4 }
126231aliases = ["MSTBA 2,5/4-G-5,08", "MSTBA 2,5/4-G", "4 pin pluggable terminal header 5.08", "4 way pluggable terminal block 5.08mm", "4P pluggable header 5.08"]
127232standard = "Phoenix Contact"
128233
129234[[presets]]
130235id = "MSTBA2.5-5-G-5.08"
131236title = "Pluggable terminal header, 5 positions, 5.08 mm, right-angle (MSTBA 2,5)"
132params = { pitch = 5.08, positions = 5 }
237params = { series = "MSTBA 2,5", pitch = 5.08, positions = 5 }
133238aliases = ["MSTBA 2,5/5-G-5,08", "MSTBA 2,5/5-G", "5 pin pluggable terminal header 5.08", "5 way pluggable terminal block 5.08mm", "5P pluggable header 5.08"]
134239standard = "Phoenix Contact"
135240
136241[[presets]]
137242id = "MSTBA2.5-6-G-5.08"
138243title = "Pluggable terminal header, 6 positions, 5.08 mm, right-angle (MSTBA 2,5)"
139params = { pitch = 5.08, positions = 6 }
244params = { series = "MSTBA 2,5", pitch = 5.08, positions = 6 }
140245aliases = ["MSTBA 2,5/6-G-5,08", "MSTBA 2,5/6-G", "6 pin pluggable terminal header 5.08", "6 way pluggable terminal block 5.08mm", "6P pluggable header 5.08"]
141246standard = "Phoenix Contact"
142247
143248[[presets]]
144249id = "MSTBA2.5-7-G-5.08"
145250title = "Pluggable terminal header, 7 positions, 5.08 mm, right-angle (MSTBA 2,5)"
146params = { pitch = 5.08, positions = 7 }
251params = { series = "MSTBA 2,5", pitch = 5.08, positions = 7 }
147252aliases = ["MSTBA 2,5/7-G-5,08", "MSTBA 2,5/7-G", "7 pin pluggable terminal header 5.08", "7 way pluggable terminal block 5.08mm", "7P pluggable header 5.08"]
148253standard = "Phoenix Contact"
149254
150255[[presets]]
151256id = "MSTBA2.5-8-G-5.08"
152257title = "Pluggable terminal header, 8 positions, 5.08 mm, right-angle (MSTBA 2,5)"
153params = { pitch = 5.08, positions = 8 }
258params = { series = "MSTBA 2,5", pitch = 5.08, positions = 8 }
154259aliases = ["MSTBA 2,5/8-G-5,08", "MSTBA 2,5/8-G", "8 pin pluggable terminal header 5.08", "8 way pluggable terminal block 5.08mm", "8P pluggable header 5.08"]
155260standard = "Phoenix Contact"
156261
157262[[presets]]
158263id = "MSTBA2.5-9-G-5.08"
159264title = "Pluggable terminal header, 9 positions, 5.08 mm, right-angle (MSTBA 2,5)"
160params = { pitch = 5.08, positions = 9 }
265params = { series = "MSTBA 2,5", pitch = 5.08, positions = 9 }
161266aliases = ["MSTBA 2,5/9-G-5,08", "MSTBA 2,5/9-G", "9 pin pluggable terminal header 5.08", "9 way pluggable terminal block 5.08mm", "9P pluggable header 5.08"]
162267standard = "Phoenix Contact"
163268
164269[[presets]]
165270id = "MSTBA2.5-10-G-5.08"
166271title = "Pluggable terminal header, 10 positions, 5.08 mm, right-angle (MSTBA 2,5)"
167params = { pitch = 5.08, positions = 10 }
272params = { series = "MSTBA 2,5", pitch = 5.08, positions = 10 }
168273aliases = ["MSTBA 2,5/10-G-5,08", "MSTBA 2,5/10-G", "10 pin pluggable terminal header 5.08", "10 way pluggable terminal block 5.08mm", "10P pluggable header 5.08"]
169274standard = "Phoenix Contact"
170275
171276[[presets]]
172277id = "MSTBA2.5-11-G-5.08"
173278title = "Pluggable terminal header, 11 positions, 5.08 mm, right-angle (MSTBA 2,5)"
174params = { pitch = 5.08, positions = 11 }
279params = { series = "MSTBA 2,5", pitch = 5.08, positions = 11 }
175280aliases = ["MSTBA 2,5/11-G-5,08", "MSTBA 2,5/11-G", "11 pin pluggable terminal header 5.08", "11 way pluggable terminal block 5.08mm", "11P pluggable header 5.08"]
176281standard = "Phoenix Contact"
177282
178283[[presets]]
179284id = "MSTBA2.5-12-G-5.08"
180285title = "Pluggable terminal header, 12 positions, 5.08 mm, right-angle (MSTBA 2,5)"
181params = { pitch = 5.08, positions = 12 }
286params = { series = "MSTBA 2,5", pitch = 5.08, positions = 12 }
182287aliases = ["MSTBA 2,5/12-G-5,08", "MSTBA 2,5/12-G", "12 pin pluggable terminal header 5.08", "12 way pluggable terminal block 5.08mm", "12P pluggable header 5.08"]
183288standard = "Phoenix Contact"
184289
185290[[presets]]
186291id = "MSTBA2.5-13-G-5.08"
187292title = "Pluggable terminal header, 13 positions, 5.08 mm, right-angle (MSTBA 2,5)"
188params = { pitch = 5.08, positions = 13 }
293params = { series = "MSTBA 2,5", pitch = 5.08, positions = 13 }
189294aliases = ["MSTBA 2,5/13-G-5,08", "MSTBA 2,5/13-G", "13 pin pluggable terminal header 5.08", "13 way pluggable terminal block 5.08mm", "13P pluggable header 5.08"]
190295standard = "Phoenix Contact"
191296
192297[[presets]]
193298id = "MSTBA2.5-14-G-5.08"
194299title = "Pluggable terminal header, 14 positions, 5.08 mm, right-angle (MSTBA 2,5)"
195params = { pitch = 5.08, positions = 14 }
300params = { series = "MSTBA 2,5", pitch = 5.08, positions = 14 }
196301aliases = ["MSTBA 2,5/14-G-5,08", "MSTBA 2,5/14-G", "14 pin pluggable terminal header 5.08", "14 way pluggable terminal block 5.08mm", "14P pluggable header 5.08"]
197302standard = "Phoenix Contact"
198303
199304[[presets]]
200305id = "MSTBA2.5-15-G-5.08"
201306title = "Pluggable terminal header, 15 positions, 5.08 mm, right-angle (MSTBA 2,5)"
202params = { pitch = 5.08, positions = 15 }
307params = { series = "MSTBA 2,5", pitch = 5.08, positions = 15 }
203308aliases = ["MSTBA 2,5/15-G-5,08", "MSTBA 2,5/15-G", "15 pin pluggable terminal header 5.08", "15 way pluggable terminal block 5.08mm", "15P pluggable header 5.08"]
204309standard = "Phoenix Contact"
205310
206311[[presets]]
207312id = "MSTBA2.5-16-G-5.08"
208313title = "Pluggable terminal header, 16 positions, 5.08 mm, right-angle (MSTBA 2,5)"
209params = { pitch = 5.08, positions = 16 }
314params = { series = "MSTBA 2,5", pitch = 5.08, positions = 16 }
210315aliases = ["MSTBA 2,5/16-G-5,08", "MSTBA 2,5/16-G", "16 pin pluggable terminal header 5.08", "16 way pluggable terminal block 5.08mm", "16P pluggable header 5.08"]
211316standard = "Phoenix Contact"
212317
213318[[presets]]
214319id = "MSTBA2.5-2-G-5.08-simple"
215320title = "Pluggable terminal header, 2 positions, 5.08 mm, simple"
216params = { pitch = 5.08, positions = 2, detail = "simple" }
321params = { series = "MSTBA 2,5", pitch = 5.08, positions = 2, detail = "simple" }
217322aliases = ["MSTBA 2,5/2-G-5,08 simple"]
218323standard = "Phoenix Contact"
219324
README.md +5 −3
@@ -1,6 +1,6 @@
11# Pluggable terminal block header
22
3A right-angle PCB header for pluggable terminal blocks, of the Phoenix Contact MSTBA 2,5 type, 5.0 or 5.08 mm pitch, 2 to 16 positions. Pin 1 is at the origin, the row runs along +X, and the housing sits on the XY plane with its opening facing -Y. The solder pins go down through the board.
3A right-angle PCB header for pluggable terminal blocks, of the Phoenix Contact MSTBA 2,5 type (5.0 or 5.08 mm pitch) or MC 1,5 type (3.81 mm), 2 to 16 positions. Pin 1 is at the origin, the row runs along +X, and the housing sits on the XY plane with its opening facing -Y. The solder pins go down through the board.
44
55## Source
66
@@ -11,7 +11,9 @@
1111
1212The data sheet is for the 2-position, 5.08 mm part. Its drawing gives the same housing for both pitches.
1313
14**Proportions, for looks only:** the pin section, the wall, and the mating pins' reach. The data sheet's side view doesn't dimension the reach, so the pins run to 1.5 mm short of the opening, where the plug's contacts meet them. The plug isn't part of this header. The housing is PA, modelled as `pa6`, green.
14MC 1,5: data sheet *MC 1,5/ 2-G-3,81* (1803277, German, 10.03.2011), a copy at <https://asset.conrad.com/media10/add/160267/c1/-/de/000740533DS02/tehnicni-podatki-740533-pinsko-ohisje-za-tiskano-vezje-mc-phoenix-contact-1803277-raster-381-mm-1-kos.pdf>. Technical data (page 1): length 9.2, pins 0.8 x 0.8. Dimensional drawing (page 4): width a + 5.2, height 7.25, solder pins 3.4 long and 8 from the opening.
1515
16Vertical (MSTBVA) and flanged (GF) headers aren't here yet; see `COVERAGE.md`.
16**Proportions, for looks only:** the MSTBA pin section (1.2), the wall, and the mating pins' reach. The data sheet's side view doesn't dimension the reach, so the pins run to 1.5 mm short of the opening, where the plug's contacts meet them. The plug isn't part of this header. The housing is PA, modelled as `pa6`, green.
1717
18Vertical (MSTBVA, MCV), flanged (GF) and 3.5 mm MC headers aren't here yet; see `COVERAGE.md`.
19