steve/pin-header
Through-hole pin header, 2.54 mm and 2.00 mm pitch, one or two rows, 1 to 40 pins per row, straight or right-angle.
Straight through-hole pin socket, 2.54 mm pitch, one or two rows, 1 to 40 pins per row.
| 1 | """Straight through-hole pin socket, 2.54 mm pitch, one or two rows. Pin 1 is at the origin, the row along +X, the second row along +Y; the insulator's |
| 2 | underside is on the XY plane, the openings up, the tails down through the board. Dimensions in the README.""" |
| 3 | from steve import Model |
| 4 | |
| 5 | rows = 1 # Rows |
| 6 | pins = 8 # Pins per row |
| 7 | detail = "full" # full: contact openings and tails; simple: a plain block |
| 8 | |
| 9 | # Samtec SSW/SSQ catalogue page (F-226): height 8.51, width 2.43 (one row) and 4.95 (two rows), length 2.54 x positions + 0.51, tail A 4.93 (lead |
| 10 | # style -02), insertion depth up to 6.35. |
| 11 | PITCH = 2.54 |
| 12 | HEIGHT = 8.51 |
| 13 | WIDTHS = {1: 2.43, 2: 4.95} |
| 14 | LENGTH_EXTRA = 0.51 |
| 15 | TAIL = 4.93 |
| 16 | DEPTH = 6.35 |
| 17 | OPENING = 0.4 * PITCH # the opening's and the tail's sizes are proportions, for looks; the page doesn't print them |
| 18 | TAIL_SIZE = 0.2 * PITCH |
| 19 | |
| 20 | width = WIDTHS[rows] |
| 21 | length = PITCH * pins + LENGTH_EXTRA |
| 22 | x0 = -PITCH / 2 - LENGTH_EXTRA / 2 |
| 23 | y0 = (rows - 1) * PITCH / 2 - width / 2 |
| 24 | model = Model() |
| 25 | with model.sketch("body_sketch", on="XY", name="Insulator") as sk: |
| 26 | sk.rect("body_outline", (x0, y0), (x0 + length, y0 + width)) |
| 27 | model.extrude("body", "body_sketch", distance=HEIGHT, name="Insulator") |
| 28 | if detail == "full": |
| 29 | model.plane("top_plane", on="XY", offset=HEIGHT, name="Top") |
| 30 | model.plane("tail_plane", on="XY", offset=-TAIL, name="Tail end") |
| 31 | with model.sketch("openings_sketch", on="top_plane", name="Contact openings") as sk: |
| 32 | for row in range(rows): |
| 33 | for i in range(pins): |
| 34 | x, y = i * PITCH, row * PITCH |
| 35 | sk.rect(f"opening_{row}_{i}", (x - OPENING / 2, y - OPENING / 2), (x + OPENING / 2, y + OPENING / 2)) |
| 36 | model.extrude("openings", "openings_sketch", distance=-DEPTH, op="cut", name="Contact openings") |
| 37 | with model.sketch("tails_sketch", on="tail_plane", name="Tails") as sk: |
| 38 | for row in range(rows): |
| 39 | for i in range(pins): |
| 40 | x, y = i * PITCH, row * PITCH |
| 41 | sk.rect(f"tail_{row}_{i}", (x - TAIL_SIZE / 2, y - TAIL_SIZE / 2), (x + TAIL_SIZE / 2, y + TAIL_SIZE / 2)) |
| 42 | model.extrude("tails", "tails_sketch", distance=TAIL, name="Tails") |
| 43 | model.material("steel-generic", color="#2b2b2d") |
| 44 | result = model.result() |
| 45 |
| 1 | name = "steve/pin-socket" |
| 2 | version = "1.0.0" |
| 3 | runtime = "steve" |
| 4 | license = "MIT" |
| 5 | summary = "Straight through-hole pin socket, 2.54 mm pitch, one or two rows, 1 to 40 pins per row." |
| 6 | description = """Straight through-hole pin socket (female header), 2.54 mm pitch, with contact openings and tails. Pin 1 at the origin, row along +X. Height, width, length and tail from Samtec's SSW page. See the README.""" |
| 7 | tags = ["pin-socket", "female-header", "connector", "board-to-board", "electronics"] |
| 8 | |
| 9 | [parameters.rows] |
| 10 | type = "choice" |
| 11 | default = 1 |
| 12 | choices = [1, 2] |
| 13 | label = "Rows" |
| 14 | |
| 15 | [parameters.pins] |
| 16 | type = "integer" |
| 17 | default = 8 |
| 18 | min = 1 |
| 19 | max = 40 |
| 20 | label = "Pins per row" |
| 21 | |
| 22 | [parameters.detail] |
| 23 | type = "choice" |
| 24 | default = "full" |
| 25 | choices = ["full", "simple"] |
| 26 | label = "Detail" |
| 27 | description = "full: contact openings and tails. simple: a plain block, for big assemblies." |
| 28 |
| 1 | # Presets of this part (factory/PRESETS.md). Written by factory/gen.py. |
| 2 | |
| 3 | [[presets]] |
| 4 | id = "2.54-1x01" |
| 5 | title = "Pin socket 1x01, 2.54 mm" |
| 6 | params = { rows = 1, pins = 1 } |
| 7 | aliases = ["1x01 2.54mm socket", "1x1 socket", "1x1 female header", "1x01 pin socket", "1x1 pin socket", "1 pin socket", "1 pin female header", "1x01 female header"] |
| 8 | standard = "Samtec SSW" |
| 9 | |
| 10 | [[presets]] |
| 11 | id = "2.54-1x02" |
| 12 | title = "Pin socket 1x02, 2.54 mm" |
| 13 | params = { rows = 1, pins = 2 } |
| 14 | aliases = ["1x02 2.54mm socket", "1x2 socket", "1x2 female header", "1x02 pin socket", "1x2 pin socket", "2 pin socket", "2 pin female header", "1x02 female header"] |
| 15 | standard = "Samtec SSW" |
| 16 | |
| 17 | [[presets]] |
| 18 | id = "2.54-1x03" |
| 19 | title = "Pin socket 1x03, 2.54 mm" |
| 20 | params = { rows = 1, pins = 3 } |
| 21 | aliases = ["1x03 2.54mm socket", "1x3 socket", "1x3 female header", "1x03 pin socket", "1x3 pin socket", "3 pin socket", "3 pin female header", "1x03 female header"] |
| 22 | standard = "Samtec SSW" |
| 23 | |
| 24 | [[presets]] |
| 25 | id = "2.54-1x04" |
| 26 | title = "Pin socket 1x04, 2.54 mm" |
| 27 | params = { rows = 1, pins = 4 } |
| 28 | aliases = ["1x04 2.54mm socket", "1x4 socket", "1x4 female header", "1x04 pin socket", "1x4 pin socket", "4 pin socket", "4 pin female header", "1x04 female header"] |
| 29 | standard = "Samtec SSW" |
| 30 | |
| 31 | [[presets]] |
| 32 | id = "2.54-1x05" |
| 33 | title = "Pin socket 1x05, 2.54 mm" |
| 34 | params = { rows = 1, pins = 5 } |
| 35 | aliases = ["1x05 2.54mm socket", "1x5 socket", "1x5 female header", "1x05 pin socket", "1x5 pin socket", "5 pin socket", "5 pin female header", "1x05 female header"] |
| 36 | standard = "Samtec SSW" |
| 37 | |
| 38 | [[presets]] |
| 39 | id = "2.54-1x06" |
| 40 | title = "Pin socket 1x06, 2.54 mm" |
| 41 | params = { rows = 1, pins = 6 } |
| 42 | aliases = ["1x06 2.54mm socket", "1x6 socket", "1x6 female header", "1x06 pin socket", "1x6 pin socket", "6 pin socket", "6 pin female header", "1x06 female header"] |
| 43 | standard = "Samtec SSW" |
| 44 | |
| 45 | [[presets]] |
| 46 | id = "2.54-1x07" |
| 47 | title = "Pin socket 1x07, 2.54 mm" |
| 48 | params = { rows = 1, pins = 7 } |
| 49 | aliases = ["1x07 2.54mm socket", "1x7 socket", "1x7 female header", "1x07 pin socket", "1x7 pin socket", "7 pin socket", "7 pin female header", "1x07 female header"] |
| 50 | standard = "Samtec SSW" |
| 51 | |
| 52 | [[presets]] |
| 53 | id = "2.54-1x08" |
| 54 | title = "Pin socket 1x08, 2.54 mm" |
| 55 | params = { rows = 1, pins = 8 } |
| 56 | aliases = ["1x08 2.54mm socket", "1x8 socket", "1x8 female header", "1x08 pin socket", "1x8 pin socket", "8 pin socket", "8 pin female header", "1x08 female header"] |
| 57 | standard = "Samtec SSW" |
| 58 | |
| 59 | [[presets]] |
| 60 | id = "2.54-1x09" |
| 61 | title = "Pin socket 1x09, 2.54 mm" |
| 62 | params = { rows = 1, pins = 9 } |
| 63 | aliases = ["1x09 2.54mm socket", "1x9 socket", "1x9 female header", "1x09 pin socket", "1x9 pin socket", "9 pin socket", "9 pin female header", "1x09 female header"] |
| 64 | standard = "Samtec SSW" |
| 65 | |
| 66 | [[presets]] |
| 67 | id = "2.54-1x10" |
| 68 | title = "Pin socket 1x10, 2.54 mm" |
| 69 | params = { rows = 1, pins = 10 } |
| 70 | aliases = ["1x10 2.54mm socket", "1x10 socket", "1x10 female header", "1x10 pin socket", "10 pin socket", "10 pin female header"] |
| 71 | standard = "Samtec SSW" |
| 72 | |
| 73 | [[presets]] |
| 74 | id = "2.54-1x11" |
| 75 | title = "Pin socket 1x11, 2.54 mm" |
| 76 | params = { rows = 1, pins = 11 } |
| 77 | aliases = ["1x11 2.54mm socket", "1x11 socket", "1x11 female header", "1x11 pin socket", "11 pin socket", "11 pin female header"] |
| 78 | standard = "Samtec SSW" |
| 79 | |
| 80 | [[presets]] |
| 81 | id = "2.54-1x12" |
| 82 | title = "Pin socket 1x12, 2.54 mm" |
| 83 | params = { rows = 1, pins = 12 } |
| 84 | aliases = ["1x12 2.54mm socket", "1x12 socket", "1x12 female header", "1x12 pin socket", "12 pin socket", "12 pin female header"] |
| 85 | standard = "Samtec SSW" |
| 86 | |
| 87 | [[presets]] |
| 88 | id = "2.54-1x13" |
| 89 | title = "Pin socket 1x13, 2.54 mm" |
| 90 | params = { rows = 1, pins = 13 } |
| 91 | aliases = ["1x13 2.54mm socket", "1x13 socket", "1x13 female header", "1x13 pin socket", "13 pin socket", "13 pin female header"] |
| 92 | standard = "Samtec SSW" |
| 93 | |
| 94 | [[presets]] |
| 95 | id = "2.54-1x14" |
| 96 | title = "Pin socket 1x14, 2.54 mm" |
| 97 | params = { rows = 1, pins = 14 } |
| 98 | aliases = ["1x14 2.54mm socket", "1x14 socket", "1x14 female header", "1x14 pin socket", "14 pin socket", "14 pin female header"] |
| 99 | standard = "Samtec SSW" |
| 100 | |
| 101 | [[presets]] |
| 102 | id = "2.54-1x15" |
| 103 | title = "Pin socket 1x15, 2.54 mm" |
| 104 | params = { rows = 1, pins = 15 } |
| 105 | aliases = ["1x15 2.54mm socket", "1x15 socket", "1x15 female header", "1x15 pin socket", "15 pin socket", "15 pin female header"] |
| 106 | standard = "Samtec SSW" |
| 107 | |
| 108 | [[presets]] |
| 109 | id = "2.54-1x16" |
| 110 | title = "Pin socket 1x16, 2.54 mm" |
| 111 | params = { rows = 1, pins = 16 } |
| 112 | aliases = ["1x16 2.54mm socket", "1x16 socket", "1x16 female header", "1x16 pin socket", "16 pin socket", "16 pin female header"] |
| 113 | standard = "Samtec SSW" |
| 114 | |
| 115 | [[presets]] |
| 116 | id = "2.54-1x17" |
| 117 | title = "Pin socket 1x17, 2.54 mm" |
| 118 | params = { rows = 1, pins = 17 } |
| 119 | aliases = ["1x17 2.54mm socket", "1x17 socket", "1x17 female header", "1x17 pin socket", "17 pin socket", "17 pin female header"] |
| 120 | standard = "Samtec SSW" |
| 121 | |
| 122 | [[presets]] |
| 123 | id = "2.54-1x18" |
| 124 | title = "Pin socket 1x18, 2.54 mm" |
| 125 | params = { rows = 1, pins = 18 } |
| 126 | aliases = ["1x18 2.54mm socket", "1x18 socket", "1x18 female header", "1x18 pin socket", "18 pin socket", "18 pin female header"] |
| 127 | standard = "Samtec SSW" |
| 128 | |
| 129 | [[presets]] |
| 130 | id = "2.54-1x19" |
| 131 | title = "Pin socket 1x19, 2.54 mm" |
| 132 | params = { rows = 1, pins = 19 } |
| 133 | aliases = ["1x19 2.54mm socket", "1x19 socket", "1x19 female header", "1x19 pin socket", "19 pin socket", "19 pin female header"] |
| 134 | standard = "Samtec SSW" |
| 135 | |
| 136 | [[presets]] |
| 137 | id = "2.54-1x20" |
| 138 | title = "Pin socket 1x20, 2.54 mm" |
| 139 | params = { rows = 1, pins = 20 } |
| 140 | aliases = ["1x20 2.54mm socket", "1x20 socket", "1x20 female header", "1x20 pin socket", "20 pin socket", "20 pin female header"] |
| 141 | standard = "Samtec SSW" |
| 142 | |
| 143 | [[presets]] |
| 144 | id = "2.54-1x21" |
| 145 | title = "Pin socket 1x21, 2.54 mm" |
| 146 | params = { rows = 1, pins = 21 } |
| 147 | aliases = ["1x21 2.54mm socket", "1x21 socket", "1x21 female header", "1x21 pin socket", "21 pin socket", "21 pin female header"] |
| 148 | standard = "Samtec SSW" |
| 149 | |
| 150 | [[presets]] |
| 151 | id = "2.54-1x22" |
| 152 | title = "Pin socket 1x22, 2.54 mm" |
| 153 | params = { rows = 1, pins = 22 } |
| 154 | aliases = ["1x22 2.54mm socket", "1x22 socket", "1x22 female header", "1x22 pin socket", "22 pin socket", "22 pin female header"] |
| 155 | standard = "Samtec SSW" |
| 156 | |
| 157 | [[presets]] |
| 158 | id = "2.54-1x23" |
| 159 | title = "Pin socket 1x23, 2.54 mm" |
| 160 | params = { rows = 1, pins = 23 } |
| 161 | aliases = ["1x23 2.54mm socket", "1x23 socket", "1x23 female header", "1x23 pin socket", "23 pin socket", "23 pin female header"] |
| 162 | standard = "Samtec SSW" |
| 163 | |
| 164 | [[presets]] |
| 165 | id = "2.54-1x24" |
| 166 | title = "Pin socket 1x24, 2.54 mm" |
| 167 | params = { rows = 1, pins = 24 } |
| 168 | aliases = ["1x24 2.54mm socket", "1x24 socket", "1x24 female header", "1x24 pin socket", "24 pin socket", "24 pin female header"] |
| 169 | standard = "Samtec SSW" |
| 170 | |
| 171 | [[presets]] |
| 172 | id = "2.54-1x25" |
| 173 | title = "Pin socket 1x25, 2.54 mm" |
| 174 | params = { rows = 1, pins = 25 } |
| 175 | aliases = ["1x25 2.54mm socket", "1x25 socket", "1x25 female header", "1x25 pin socket", "25 pin socket", "25 pin female header"] |
| 176 | standard = "Samtec SSW" |
| 177 | |
| 178 | [[presets]] |
| 179 | id = "2.54-1x26" |
| 180 | title = "Pin socket 1x26, 2.54 mm" |
| 181 | params = { rows = 1, pins = 26 } |
| 182 | aliases = ["1x26 2.54mm socket", "1x26 socket", "1x26 female header", "1x26 pin socket", "26 pin socket", "26 pin female header"] |
| 183 | standard = "Samtec SSW" |
| 184 | |
| 185 | [[presets]] |
| 186 | id = "2.54-1x27" |
| 187 | title = "Pin socket 1x27, 2.54 mm" |
| 188 | params = { rows = 1, pins = 27 } |
| 189 | aliases = ["1x27 2.54mm socket", "1x27 socket", "1x27 female header", "1x27 pin socket", "27 pin socket", "27 pin female header"] |
| 190 | standard = "Samtec SSW" |
| 191 | |
| 192 | [[presets]] |
| 193 | id = "2.54-1x28" |
| 194 | title = "Pin socket 1x28, 2.54 mm" |
| 195 | params = { rows = 1, pins = 28 } |
| 196 | aliases = ["1x28 2.54mm socket", "1x28 socket", "1x28 female header", "1x28 pin socket", "28 pin socket", "28 pin female header"] |
| 197 | standard = "Samtec SSW" |
| 198 | |
| 199 | [[presets]] |
| 200 | id = "2.54-1x29" |
| 201 | title = "Pin socket 1x29, 2.54 mm" |
| 202 | params = { rows = 1, pins = 29 } |
| 203 | aliases = ["1x29 2.54mm socket", "1x29 socket", "1x29 female header", "1x29 pin socket", "29 pin socket", "29 pin female header"] |
| 204 | standard = "Samtec SSW" |
| 205 | |
| 206 | [[presets]] |
| 207 | id = "2.54-1x30" |
| 208 | title = "Pin socket 1x30, 2.54 mm" |
| 209 | params = { rows = 1, pins = 30 } |
| 210 | aliases = ["1x30 2.54mm socket", "1x30 socket", "1x30 female header", "1x30 pin socket", "30 pin socket", "30 pin female header"] |
| 211 | standard = "Samtec SSW" |
| 212 | |
| 213 | [[presets]] |
| 214 | id = "2.54-1x31" |
| 215 | title = "Pin socket 1x31, 2.54 mm" |
| 216 | params = { rows = 1, pins = 31 } |
| 217 | aliases = ["1x31 2.54mm socket", "1x31 socket", "1x31 female header", "1x31 pin socket", "31 pin socket", "31 pin female header"] |
| 218 | standard = "Samtec SSW" |
| 219 | |
| 220 | [[presets]] |
| 221 | id = "2.54-1x32" |
| 222 | title = "Pin socket 1x32, 2.54 mm" |
| 223 | params = { rows = 1, pins = 32 } |
| 224 | aliases = ["1x32 2.54mm socket", "1x32 socket", "1x32 female header", "1x32 pin socket", "32 pin socket", "32 pin female header"] |
| 225 | standard = "Samtec SSW" |
| 226 | |
| 227 | [[presets]] |
| 228 | id = "2.54-1x33" |
| 229 | title = "Pin socket 1x33, 2.54 mm" |
| 230 | params = { rows = 1, pins = 33 } |
| 231 | aliases = ["1x33 2.54mm socket", "1x33 socket", "1x33 female header", "1x33 pin socket", "33 pin socket", "33 pin female header"] |
| 232 | standard = "Samtec SSW" |
| 233 | |
| 234 | [[presets]] |
| 235 | id = "2.54-1x34" |
| 236 | title = "Pin socket 1x34, 2.54 mm" |
| 237 | params = { rows = 1, pins = 34 } |
| 238 | aliases = ["1x34 2.54mm socket", "1x34 socket", "1x34 female header", "1x34 pin socket", "34 pin socket", "34 pin female header"] |
| 239 | standard = "Samtec SSW" |
| 240 | |
| 241 | [[presets]] |
| 242 | id = "2.54-1x35" |
| 243 | title = "Pin socket 1x35, 2.54 mm" |
| 244 | params = { rows = 1, pins = 35 } |
| 245 | aliases = ["1x35 2.54mm socket", "1x35 socket", "1x35 female header", "1x35 pin socket", "35 pin socket", "35 pin female header"] |
| 246 | standard = "Samtec SSW" |
| 247 | |
| 248 | [[presets]] |
| 249 | id = "2.54-1x36" |
| 250 | title = "Pin socket 1x36, 2.54 mm" |
| 251 | params = { rows = 1, pins = 36 } |
| 252 | aliases = ["1x36 2.54mm socket", "1x36 socket", "1x36 female header", "1x36 pin socket", "36 pin socket", "36 pin female header"] |
| 253 | standard = "Samtec SSW" |
| 254 | |
| 255 | [[presets]] |
| 256 | id = "2.54-1x37" |
| 257 | title = "Pin socket 1x37, 2.54 mm" |
| 258 | params = { rows = 1, pins = 37 } |
| 259 | aliases = ["1x37 2.54mm socket", "1x37 socket", "1x37 female header", "1x37 pin socket", "37 pin socket", "37 pin female header"] |
| 260 | standard = "Samtec SSW" |
| 261 | |
| 262 | [[presets]] |
| 263 | id = "2.54-1x38" |
| 264 | title = "Pin socket 1x38, 2.54 mm" |
| 265 | params = { rows = 1, pins = 38 } |
| 266 | aliases = ["1x38 2.54mm socket", "1x38 socket", "1x38 female header", "1x38 pin socket", "38 pin socket", "38 pin female header"] |
| 267 | standard = "Samtec SSW" |
| 268 | |
| 269 | [[presets]] |
| 270 | id = "2.54-1x39" |
| 271 | title = "Pin socket 1x39, 2.54 mm" |
| 272 | params = { rows = 1, pins = 39 } |
| 273 | aliases = ["1x39 2.54mm socket", "1x39 socket", "1x39 female header", "1x39 pin socket", "39 pin socket", "39 pin female header"] |
| 274 | standard = "Samtec SSW" |
| 275 | |
| 276 | [[presets]] |
| 277 | id = "2.54-1x40" |
| 278 | title = "Pin socket 1x40, 2.54 mm" |
| 279 | params = { rows = 1, pins = 40 } |
| 280 | aliases = ["1x40 2.54mm socket", "1x40 socket", "1x40 female header", "1x40 pin socket", "40 pin socket", "40 pin female header"] |
| 281 | standard = "Samtec SSW" |
| 282 | |
| 283 | [[presets]] |
| 284 | id = "2.54-2x01" |
| 285 | title = "Pin socket 2x01, 2.54 mm" |
| 286 | params = { rows = 2, pins = 1 } |
| 287 | aliases = ["2x01 2.54mm socket", "2x1 socket", "2x1 female header", "2x01 pin socket", "2x1 pin socket", "2 pin socket", "2 pin female header", "2x01 female header"] |
| 288 | standard = "Samtec SSW" |
| 289 | |
| 290 | [[presets]] |
| 291 | id = "2.54-2x02" |
| 292 | title = "Pin socket 2x02, 2.54 mm" |
| 293 | params = { rows = 2, pins = 2 } |
| 294 | aliases = ["2x02 2.54mm socket", "2x2 socket", "2x2 female header", "2x02 pin socket", "2x2 pin socket", "4 pin socket", "4 pin female header", "2x02 female header"] |
| 295 | standard = "Samtec SSW" |
| 296 | |
| 297 | [[presets]] |
| 298 | id = "2.54-2x03" |
| 299 | title = "Pin socket 2x03, 2.54 mm" |
| 300 | params = { rows = 2, pins = 3 } |
| 301 | aliases = ["2x03 2.54mm socket", "2x3 socket", "2x3 female header", "2x03 pin socket", "2x3 pin socket", "6 pin socket", "6 pin female header", "2x03 female header"] |
| 302 | standard = "Samtec SSW" |
| 303 | |
| 304 | [[presets]] |
| 305 | id = "2.54-2x04" |
| 306 | title = "Pin socket 2x04, 2.54 mm" |
| 307 | params = { rows = 2, pins = 4 } |
| 308 | aliases = ["2x04 2.54mm socket", "2x4 socket", "2x4 female header", "2x04 pin socket", "2x4 pin socket", "8 pin socket", "8 pin female header", "2x04 female header"] |
| 309 | standard = "Samtec SSW" |
| 310 | |
| 311 | [[presets]] |
| 312 | id = "2.54-2x05" |
| 313 | title = "Pin socket 2x05, 2.54 mm" |
| 314 | params = { rows = 2, pins = 5 } |
| 315 | aliases = ["2x05 2.54mm socket", "2x5 socket", "2x5 female header", "2x05 pin socket", "2x5 pin socket", "10 pin socket", "10 pin female header", "2x05 female header"] |
| 316 | standard = "Samtec SSW" |
| 317 | |
| 318 | [[presets]] |
| 319 | id = "2.54-2x06" |
| 320 | title = "Pin socket 2x06, 2.54 mm" |
| 321 | params = { rows = 2, pins = 6 } |
| 322 | aliases = ["2x06 2.54mm socket", "2x6 socket", "2x6 female header", "2x06 pin socket", "2x6 pin socket", "12 pin socket", "12 pin female header", "2x06 female header"] |
| 323 | standard = "Samtec SSW" |
| 324 | |
| 325 | [[presets]] |
| 326 | id = "2.54-2x07" |
| 327 | title = "Pin socket 2x07, 2.54 mm" |
| 328 | params = { rows = 2, pins = 7 } |
| 329 | aliases = ["2x07 2.54mm socket", "2x7 socket", "2x7 female header", "2x07 pin socket", "2x7 pin socket", "14 pin socket", "14 pin female header", "2x07 female header"] |
| 330 | standard = "Samtec SSW" |
| 331 | |
| 332 | [[presets]] |
| 333 | id = "2.54-2x08" |
| 334 | title = "Pin socket 2x08, 2.54 mm" |
| 335 | params = { rows = 2, pins = 8 } |
| 336 | aliases = ["2x08 2.54mm socket", "2x8 socket", "2x8 female header", "2x08 pin socket", "2x8 pin socket", "16 pin socket", "16 pin female header", "2x08 female header"] |
| 337 | standard = "Samtec SSW" |
| 338 | |
| 339 | [[presets]] |
| 340 | id = "2.54-2x09" |
| 341 | title = "Pin socket 2x09, 2.54 mm" |
| 342 | params = { rows = 2, pins = 9 } |
| 343 | aliases = ["2x09 2.54mm socket", "2x9 socket", "2x9 female header", "2x09 pin socket", "2x9 pin socket", "18 pin socket", "18 pin female header", "2x09 female header"] |
| 344 | standard = "Samtec SSW" |
| 345 | |
| 346 | [[presets]] |
| 347 | id = "2.54-2x10" |
| 348 | title = "Pin socket 2x10, 2.54 mm" |
| 349 | params = { rows = 2, pins = 10 } |
| 350 | aliases = ["2x10 2.54mm socket", "2x10 socket", "2x10 female header", "2x10 pin socket", "20 pin socket", "20 pin female header"] |
| 351 | standard = "Samtec SSW" |
| 352 | |
| 353 | [[presets]] |
| 354 | id = "2.54-2x11" |
| 355 | title = "Pin socket 2x11, 2.54 mm" |
| 356 | params = { rows = 2, pins = 11 } |
| 357 | aliases = ["2x11 2.54mm socket", "2x11 socket", "2x11 female header", "2x11 pin socket", "22 pin socket", "22 pin female header"] |
| 358 | standard = "Samtec SSW" |
| 359 | |
| 360 | [[presets]] |
| 361 | id = "2.54-2x12" |
| 362 | title = "Pin socket 2x12, 2.54 mm" |
| 363 | params = { rows = 2, pins = 12 } |
| 364 | aliases = ["2x12 2.54mm socket", "2x12 socket", "2x12 female header", "2x12 pin socket", "24 pin socket", "24 pin female header"] |
| 365 | standard = "Samtec SSW" |
| 366 | |
| 367 | [[presets]] |
| 368 | id = "2.54-2x13" |
| 369 | title = "Pin socket 2x13, 2.54 mm" |
| 370 | params = { rows = 2, pins = 13 } |
| 371 | aliases = ["2x13 2.54mm socket", "2x13 socket", "2x13 female header", "2x13 pin socket", "26 pin socket", "26 pin female header"] |
| 372 | standard = "Samtec SSW" |
| 373 | |
| 374 | [[presets]] |
| 375 | id = "2.54-2x14" |
| 376 | title = "Pin socket 2x14, 2.54 mm" |
| 377 | params = { rows = 2, pins = 14 } |
| 378 | aliases = ["2x14 2.54mm socket", "2x14 socket", "2x14 female header", "2x14 pin socket", "28 pin socket", "28 pin female header"] |
| 379 | standard = "Samtec SSW" |
| 380 | |
| 381 | [[presets]] |
| 382 | id = "2.54-2x15" |
| 383 | title = "Pin socket 2x15, 2.54 mm" |
| 384 | params = { rows = 2, pins = 15 } |
| 385 | aliases = ["2x15 2.54mm socket", "2x15 socket", "2x15 female header", "2x15 pin socket", "30 pin socket", "30 pin female header"] |
| 386 | standard = "Samtec SSW" |
| 387 | |
| 388 | [[presets]] |
| 389 | id = "2.54-2x16" |
| 390 | title = "Pin socket 2x16, 2.54 mm" |
| 391 | params = { rows = 2, pins = 16 } |
| 392 | aliases = ["2x16 2.54mm socket", "2x16 socket", "2x16 female header", "2x16 pin socket", "32 pin socket", "32 pin female header"] |
| 393 | standard = "Samtec SSW" |
| 394 | |
| 395 | [[presets]] |
| 396 | id = "2.54-2x17" |
| 397 | title = "Pin socket 2x17, 2.54 mm" |
| 398 | params = { rows = 2, pins = 17 } |
| 399 | aliases = ["2x17 2.54mm socket", "2x17 socket", "2x17 female header", "2x17 pin socket", "34 pin socket", "34 pin female header"] |
| 400 | standard = "Samtec SSW" |
| 401 | |
| 402 | [[presets]] |
| 403 | id = "2.54-2x18" |
| 404 | title = "Pin socket 2x18, 2.54 mm" |
| 405 | params = { rows = 2, pins = 18 } |
| 406 | aliases = ["2x18 2.54mm socket", "2x18 socket", "2x18 female header", "2x18 pin socket", "36 pin socket", "36 pin female header"] |
| 407 | standard = "Samtec SSW" |
| 408 | |
| 409 | [[presets]] |
| 410 | id = "2.54-2x19" |
| 411 | title = "Pin socket 2x19, 2.54 mm" |
| 412 | params = { rows = 2, pins = 19 } |
| 413 | aliases = ["2x19 2.54mm socket", "2x19 socket", "2x19 female header", "2x19 pin socket", "38 pin socket", "38 pin female header"] |
| 414 | standard = "Samtec SSW" |
| 415 | |
| 416 | [[presets]] |
| 417 | id = "2.54-2x20" |
| 418 | title = "Pin socket 2x20, 2.54 mm" |
| 419 | params = { rows = 2, pins = 20 } |
| 420 | aliases = ["2x20 2.54mm socket", "2x20 socket", "2x20 female header", "2x20 pin socket", "40 pin socket", "40 pin female header"] |
| 421 | standard = "Samtec SSW" |
| 422 | |
| 423 | [[presets]] |
| 424 | id = "2.54-2x21" |
| 425 | title = "Pin socket 2x21, 2.54 mm" |
| 426 | params = { rows = 2, pins = 21 } |
| 427 | aliases = ["2x21 2.54mm socket", "2x21 socket", "2x21 female header", "2x21 pin socket", "42 pin socket", "42 pin female header"] |
| 428 | standard = "Samtec SSW" |
| 429 | |
| 430 | [[presets]] |
| 431 | id = "2.54-2x22" |
| 432 | title = "Pin socket 2x22, 2.54 mm" |
| 433 | params = { rows = 2, pins = 22 } |
| 434 | aliases = ["2x22 2.54mm socket", "2x22 socket", "2x22 female header", "2x22 pin socket", "44 pin socket", "44 pin female header"] |
| 435 | standard = "Samtec SSW" |
| 436 | |
| 437 | [[presets]] |
| 438 | id = "2.54-2x23" |
| 439 | title = "Pin socket 2x23, 2.54 mm" |
| 440 | params = { rows = 2, pins = 23 } |
| 441 | aliases = ["2x23 2.54mm socket", "2x23 socket", "2x23 female header", "2x23 pin socket", "46 pin socket", "46 pin female header"] |
| 442 | standard = "Samtec SSW" |
| 443 | |
| 444 | [[presets]] |
| 445 | id = "2.54-2x24" |
| 446 | title = "Pin socket 2x24, 2.54 mm" |
| 447 | params = { rows = 2, pins = 24 } |
| 448 | aliases = ["2x24 2.54mm socket", "2x24 socket", "2x24 female header", "2x24 pin socket", "48 pin socket", "48 pin female header"] |
| 449 | standard = "Samtec SSW" |
| 450 | |
| 451 | [[presets]] |
| 452 | id = "2.54-2x25" |
| 453 | title = "Pin socket 2x25, 2.54 mm" |
| 454 | params = { rows = 2, pins = 25 } |
| 455 | aliases = ["2x25 2.54mm socket", "2x25 socket", "2x25 female header", "2x25 pin socket", "50 pin socket", "50 pin female header"] |
| 456 | standard = "Samtec SSW" |
| 457 | |
| 458 | [[presets]] |
| 459 | id = "2.54-2x26" |
| 460 | title = "Pin socket 2x26, 2.54 mm" |
| 461 | params = { rows = 2, pins = 26 } |
| 462 | aliases = ["2x26 2.54mm socket", "2x26 socket", "2x26 female header", "2x26 pin socket", "52 pin socket", "52 pin female header"] |
| 463 | standard = "Samtec SSW" |
| 464 | |
| 465 | [[presets]] |
| 466 | id = "2.54-2x27" |
| 467 | title = "Pin socket 2x27, 2.54 mm" |
| 468 | params = { rows = 2, pins = 27 } |
| 469 | aliases = ["2x27 2.54mm socket", "2x27 socket", "2x27 female header", "2x27 pin socket", "54 pin socket", "54 pin female header"] |
| 470 | standard = "Samtec SSW" |
| 471 | |
| 472 | [[presets]] |
| 473 | id = "2.54-2x28" |
| 474 | title = "Pin socket 2x28, 2.54 mm" |
| 475 | params = { rows = 2, pins = 28 } |
| 476 | aliases = ["2x28 2.54mm socket", "2x28 socket", "2x28 female header", "2x28 pin socket", "56 pin socket", "56 pin female header"] |
| 477 | standard = "Samtec SSW" |
| 478 | |
| 479 | [[presets]] |
| 480 | id = "2.54-2x29" |
| 481 | title = "Pin socket 2x29, 2.54 mm" |
| 482 | params = { rows = 2, pins = 29 } |
| 483 | aliases = ["2x29 2.54mm socket", "2x29 socket", "2x29 female header", "2x29 pin socket", "58 pin socket", "58 pin female header"] |
| 484 | standard = "Samtec SSW" |
| 485 | |
| 486 | [[presets]] |
| 487 | id = "2.54-2x30" |
| 488 | title = "Pin socket 2x30, 2.54 mm" |
| 489 | params = { rows = 2, pins = 30 } |
| 490 | aliases = ["2x30 2.54mm socket", "2x30 socket", "2x30 female header", "2x30 pin socket", "60 pin socket", "60 pin female header"] |
| 491 | standard = "Samtec SSW" |
| 492 | |
| 493 | [[presets]] |
| 494 | id = "2.54-2x31" |
| 495 | title = "Pin socket 2x31, 2.54 mm" |
| 496 | params = { rows = 2, pins = 31 } |
| 497 | aliases = ["2x31 2.54mm socket", "2x31 socket", "2x31 female header", "2x31 pin socket", "62 pin socket", "62 pin female header"] |
| 498 | standard = "Samtec SSW" |
| 499 | |
| 500 | [[presets]] |
| 501 | id = "2.54-2x32" |
| 502 | title = "Pin socket 2x32, 2.54 mm" |
| 503 | params = { rows = 2, pins = 32 } |
| 504 | aliases = ["2x32 2.54mm socket", "2x32 socket", "2x32 female header", "2x32 pin socket", "64 pin socket", "64 pin female header"] |
| 505 | standard = "Samtec SSW" |
| 506 | |
| 507 | [[presets]] |
| 508 | id = "2.54-2x33" |
| 509 | title = "Pin socket 2x33, 2.54 mm" |
| 510 | params = { rows = 2, pins = 33 } |
| 511 | aliases = ["2x33 2.54mm socket", "2x33 socket", "2x33 female header", "2x33 pin socket", "66 pin socket", "66 pin female header"] |
| 512 | standard = "Samtec SSW" |
| 513 | |
| 514 | [[presets]] |
| 515 | id = "2.54-2x34" |
| 516 | title = "Pin socket 2x34, 2.54 mm" |
| 517 | params = { rows = 2, pins = 34 } |
| 518 | aliases = ["2x34 2.54mm socket", "2x34 socket", "2x34 female header", "2x34 pin socket", "68 pin socket", "68 pin female header"] |
| 519 | standard = "Samtec SSW" |
| 520 | |
| 521 | [[presets]] |
| 522 | id = "2.54-2x35" |
| 523 | title = "Pin socket 2x35, 2.54 mm" |
| 524 | params = { rows = 2, pins = 35 } |
| 525 | aliases = ["2x35 2.54mm socket", "2x35 socket", "2x35 female header", "2x35 pin socket", "70 pin socket", "70 pin female header"] |
| 526 | standard = "Samtec SSW" |
| 527 | |
| 528 | [[presets]] |
| 529 | id = "2.54-2x36" |
| 530 | title = "Pin socket 2x36, 2.54 mm" |
| 531 | params = { rows = 2, pins = 36 } |
| 532 | aliases = ["2x36 2.54mm socket", "2x36 socket", "2x36 female header", "2x36 pin socket", "72 pin socket", "72 pin female header"] |
| 533 | standard = "Samtec SSW" |
| 534 | |
| 535 | [[presets]] |
| 536 | id = "2.54-2x37" |
| 537 | title = "Pin socket 2x37, 2.54 mm" |
| 538 | params = { rows = 2, pins = 37 } |
| 539 | aliases = ["2x37 2.54mm socket", "2x37 socket", "2x37 female header", "2x37 pin socket", "74 pin socket", "74 pin female header"] |
| 540 | standard = "Samtec SSW" |
| 541 | |
| 542 | [[presets]] |
| 543 | id = "2.54-2x38" |
| 544 | title = "Pin socket 2x38, 2.54 mm" |
| 545 | params = { rows = 2, pins = 38 } |
| 546 | aliases = ["2x38 2.54mm socket", "2x38 socket", "2x38 female header", "2x38 pin socket", "76 pin socket", "76 pin female header"] |
| 547 | standard = "Samtec SSW" |
| 548 | |
| 549 | [[presets]] |
| 550 | id = "2.54-2x39" |
| 551 | title = "Pin socket 2x39, 2.54 mm" |
| 552 | params = { rows = 2, pins = 39 } |
| 553 | aliases = ["2x39 2.54mm socket", "2x39 socket", "2x39 female header", "2x39 pin socket", "78 pin socket", "78 pin female header"] |
| 554 | standard = "Samtec SSW" |
| 555 | |
| 556 | [[presets]] |
| 557 | id = "2.54-2x40" |
| 558 | title = "Pin socket 2x40, 2.54 mm" |
| 559 | params = { rows = 2, pins = 40 } |
| 560 | aliases = ["2x40 2.54mm socket", "2x40 socket", "2x40 female header", "2x40 pin socket", "80 pin socket", "80 pin female header"] |
| 561 | standard = "Samtec SSW" |
| 562 | |
| 563 | [[presets]] |
| 564 | id = "2.54-1x08-simple" |
| 565 | title = "Pin socket 1x08, 2.54 mm, simple" |
| 566 | params = { rows = 1, pins = 8, detail = "simple" } |
| 567 | aliases = ["1x08 socket simple"] |
| 568 | standard = "Samtec SSW" |
| 569 |
A straight through-hole pin socket (female header), 2.54 mm pitch. Pin 1 is at the origin, the row runs along +X and the second row along +Y. The insulator's underside is on the XY plane.
Samtec SSW/SSQ catalogue page (F-226), https://suddendocs.samtec.com/catalog_english/ssw_th.pdf: height 8.51, width 2.43 (one row) and 4.95 (two rows), length 2.54 x positions + 0.51, tail 4.93 (lead style -02), insertion depth up to 6.35.
Other sockets of the same pitch differ in height and tail, so check the one you buy.
Proportions, for looks only: the contact opening and tail sizes, which that page doesn't print.
Right-angle, surface-mount, 2.00, 1.27 and 1.00 mm sockets aren't here yet; see COVERAGE.md.
| 1 | # Pin socket |
| 2 | |
| 3 | A straight through-hole pin socket (female header), 2.54 mm pitch. Pin 1 is at the origin, the row runs along +X and the second row along +Y. The insulator's underside is on the XY plane. |
| 4 | |
| 5 | ## Source |
| 6 | |
| 7 | Samtec SSW/SSQ catalogue page (F-226), <https://suddendocs.samtec.com/catalog_english/ssw_th.pdf>: height 8.51, width 2.43 (one row) and 4.95 (two rows), length 2.54 x positions + 0.51, tail 4.93 (lead style -02), insertion depth up to 6.35. |
| 8 | |
| 9 | Other sockets of the same pitch differ in height and tail, so check the one you buy. |
| 10 | |
| 11 | **Proportions, for looks only:** the contact opening and tail sizes, which that page doesn't print. |
| 12 | |
| 13 | Right-angle, surface-mount, 2.00, 1.27 and 1.00 mm sockets aren't here yet; see `COVERAGE.md`. |
| 14 |
Straight through-hole pin socket (female header), 2.54 mm pitch, with contact openings and tails. Pin 1 at the origin, row along +X. Height, width, length and tail from Samtec's SSW page. See the README.
A straight through-hole pin socket (female header), 2.54 mm pitch. Pin 1 is at the origin, the row runs along +X and the second row along +Y. The insulator's underside is on the XY plane.
Samtec SSW/SSQ catalogue page (F-226), https://suddendocs.samtec.com/catalog_english/ssw_th.pdf: height 8.51, width 2.43 (one row) and 4.95 (two rows), length 2.54 x positions + 0.51, tail 4.93 (lead style -02), insertion depth up to 6.35.
Other sockets of the same pitch differ in height and tail, so check the one you buy.
Proportions, for looks only: the contact opening and tail sizes, which that page doesn't print.
Right-angle, surface-mount, 2.00, 1.27 and 1.00 mm sockets aren't here yet; see COVERAGE.md.
Through-hole pin header, 2.54 mm and 2.00 mm pitch, one or two rows, 1 to 40 pins per row, straight or right-angle.
JST PH shrouded header, 2.0 mm pitch, top entry: B2B-PH-K to B16B-PH-K.
JST XH shrouded header, 2.5 mm pitch, top entry: B2B-XH-A to B16B-XH-A and B20B-XH-A.
PCB screw terminal block, Phoenix Contact types: MKDS 1,5 (5.0, 5.08 mm), PT 1,5 (3.5 mm), MPT 0,5 (2.54 mm).