Skip to content

Commit ca8b3c8

Browse files
committed
Add 4.2x3.2mm button
1 parent 518ae33 commit ca8b3c8

File tree

3 files changed

+101
-70
lines changed

3 files changed

+101
-70
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
(footprint "Push_SMD_4.2x3.2mm" (version 20221018) (generator pcbnew)
2+
(layer "F.Cu")
3+
(descr "https://www.ckswitches.com/media/3130/ck_rk_datasheet.pdf")
4+
(tags "Momentary Switch (Pushbutton)")
5+
(fp_text reference "Ref**" (at 0 -2.1) (layer "F.Fab")
6+
(effects (font (size 0.5 0.5) (thickness 0.1)))
7+
(tstamp db5baf78-3f6f-4cb3-9a24-bc8a24b69eee)
8+
)
9+
(fp_text value "Val**" (at 0 2.1) (layer "F.Fab")
10+
(effects (font (size 0.5 0.5) (thickness 0.1)))
11+
(tstamp e74bf0d7-1e6b-4443-a81e-f843a29c6474)
12+
)
13+
(fp_line (start -2.1 0.4) (end -2.1 -0.4)
14+
(stroke (width 0.2032) (type solid)) (layer "F.SilkS") (tstamp 43850c12-f257-49d5-ab34-4dbcfd19b099))
15+
(fp_line (start -1.338 -1.6) (end 1.338 -1.6)
16+
(stroke (width 0.2032) (type solid)) (layer "F.SilkS") (tstamp 207fb2b9-cc7e-449e-ae77-7de2cd5b4cd8))
17+
(fp_line (start -0.4 -1.1) (end 0.4 -1.1)
18+
(stroke (width 0.2032) (type default)) (layer "F.SilkS") (tstamp 01e151ff-48a7-4ad7-beb1-26dbafb5fcbe))
19+
(fp_line (start -0.4 1.1) (end 0.4 1.1)
20+
(stroke (width 0.2032) (type default)) (layer "F.SilkS") (tstamp 701435d5-6b78-4361-bf1d-4500e5e76717))
21+
(fp_line (start 1.338 1.6) (end -1.338 1.6)
22+
(stroke (width 0.2032) (type solid)) (layer "F.SilkS") (tstamp 1f83b9e1-fd39-4e6f-a199-89d437b06552))
23+
(fp_line (start 2.1 0.4) (end 2.1 -0.4)
24+
(stroke (width 0.2032) (type solid)) (layer "F.SilkS") (tstamp 9311f5a8-0ba2-483f-ae19-85c856df99bb))
25+
(fp_arc (start -0.4 1.1) (mid -1.5 0) (end -0.4 -1.1)
26+
(stroke (width 0.2032) (type default)) (layer "F.SilkS") (tstamp 00cafe90-793a-4ab7-a54a-3e75ec46339a))
27+
(fp_arc (start 0.4 -1.1) (mid 1.5 0) (end 0.4 1.1)
28+
(stroke (width 0.2032) (type default)) (layer "F.SilkS") (tstamp b506a86f-9dfb-4760-92d7-789ca1288afa))
29+
(fp_rect (start -2.84 -1.7) (end 2.9 1.7)
30+
(stroke (width 0.05) (type default)) (fill none) (layer "F.CrtYd") (tstamp 2d165bfd-7c78-44e7-9217-111292464aad))
31+
(fp_rect (start -2.1 -1.6) (end 2.1 1.6)
32+
(stroke (width 0.1) (type default)) (fill none) (layer "User.1") (tstamp fa9ca43e-fc1d-4b7e-adcf-174da757ba2d))
33+
(pad "1" smd rect (at -2.2 -1.075) (size 1 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
34+
(solder_mask_margin 0.1016) (thermal_bridge_angle 0) (tstamp cc918f06-0764-41fe-a30b-606350fb0a59))
35+
(pad "1" smd rect (at 2.2 -1.075) (size 1 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
36+
(solder_mask_margin 0.1016) (thermal_bridge_angle 0) (tstamp 2c2be15d-50cd-46bb-986d-9989673a2ddb))
37+
(pad "2" smd rect (at -2.2 1.125) (size 1 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
38+
(solder_mask_margin 0.1016) (thermal_bridge_angle 0) (tstamp 1994f94a-d3d4-4580-822e-709f0cf41631))
39+
(pad "2" smd rect (at 2.2 1.075) (size 1 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
40+
(solder_mask_margin 0.1016) (thermal_bridge_angle 0) (tstamp 8fbe9890-33fe-452a-8188-9d04578476a5))
41+
)

Footprints/SparkFun-Switch.pretty/Push_SMD_4.6x2.8mm_1.kicad_mod

Lines changed: 0 additions & 70 deletions
This file was deleted.

Symbols/SparkFun-Switch.kicad_sym

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,66 @@
14101410
)
14111411
)
14121412
)
1413+
(symbol "SPST_Push_SMD_4.2x3.2mm_h2.5mm" (pin_numbers hide) (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
1414+
(property "Reference" "SW" (at 0 5.08 0)
1415+
(effects (font (size 1.27 1.27)))
1416+
)
1417+
(property "Value" "SMD_4.2x3.2mm_h2.5mm" (at 0 -2.54 0)
1418+
(effects (font (size 1.27 1.27)))
1419+
)
1420+
(property "Footprint" "SparkFun-Switch:Push_SMD_4.2x3.2mm" (at 0 -5.08 0)
1421+
(effects (font (size 1.27 1.27)) hide)
1422+
)
1423+
(property "Datasheet" "https://www.ckswitches.com/media/3130/ck_rk_datasheet.pdf" (at 0 -10.16 0)
1424+
(effects (font (size 1.27 1.27)) hide)
1425+
)
1426+
(property "PROD_ID" "SWCH-21771" (at 0 -7.62 0)
1427+
(effects (font (size 1.27 1.27)) hide)
1428+
)
1429+
(property "Mfg Part#" "" (at 0 0 0)
1430+
(effects (font (size 1.27 1.27)) hide)
1431+
)
1432+
(property "ki_keywords" "Momentary push switch lever button" (at 0 0 0)
1433+
(effects (font (size 1.27 1.27)) hide)
1434+
)
1435+
(property "ki_description" "Single Pole Single Throw (SPST) switch" (at 0 0 0)
1436+
(effects (font (size 1.27 1.27)) hide)
1437+
)
1438+
(symbol "SPST_Push_SMD_4.2x3.2mm_h2.5mm_0_1"
1439+
(circle (center -2.032 0) (radius 0.508)
1440+
(stroke (width 0) (type default))
1441+
(fill (type none))
1442+
)
1443+
(polyline
1444+
(pts
1445+
(xy 0 1.27)
1446+
(xy 0 3.048)
1447+
)
1448+
(stroke (width 0) (type default))
1449+
(fill (type none))
1450+
)
1451+
(polyline
1452+
(pts
1453+
(xy 2.54 1.27)
1454+
(xy -2.54 1.27)
1455+
)
1456+
(stroke (width 0) (type default))
1457+
(fill (type none))
1458+
)
1459+
(circle (center 2.032 0) (radius 0.508)
1460+
(stroke (width 0) (type default))
1461+
(fill (type none))
1462+
)
1463+
(pin passive line (at -5.08 0 0) (length 2.54)
1464+
(name "1" (effects (font (size 1.27 1.27))))
1465+
(number "1" (effects (font (size 1.27 1.27))))
1466+
)
1467+
(pin passive line (at 5.08 0 180) (length 2.54)
1468+
(name "2" (effects (font (size 1.27 1.27))))
1469+
(number "2" (effects (font (size 1.27 1.27))))
1470+
)
1471+
)
1472+
)
14131473
(symbol "SPST_Push_SMD_4.6x2.8mm_h1.9mm" (pin_numbers hide) (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
14141474
(property "Reference" "SW" (at 0 5.08 0)
14151475
(effects (font (size 1.27 1.27)))

0 commit comments

Comments
 (0)