Skip to content

Commit 6bbf53b

Browse files
committed
kicad: moved crystal and pin header footprints to local library
1 parent dccd1a1 commit 6bbf53b

6 files changed

+250
-139
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
(module Crystal:Crystal_SMD_5032-4Pin_5.0x3.2mm (layer F.Cu) (tedit 5A0FD1B2)
2+
(descr "SMD Crystal SERIES SMD2520/4 http://www.icbase.com/File/PDF/HKC/HKC00061008.pdf, 5.0x3.2mm^2 package")
3+
(tags "SMD SMT crystal")
4+
(attr smd)
5+
(fp_text reference Y1 (at 0 -2.8) (layer F.SilkS)
6+
(effects (font (size 1 1) (thickness 0.15)))
7+
)
8+
(fp_text value Crystal_GND24_8MHz_16pF_KX-9A (at 0 2.8) (layer F.Fab)
9+
(effects (font (size 1 1) (thickness 0.15)))
10+
)
11+
(fp_line (start 2.8 -1.9) (end -2.8 -1.9) (layer F.CrtYd) (width 0.05))
12+
(fp_line (start 2.8 1.9) (end 2.8 -1.9) (layer F.CrtYd) (width 0.05))
13+
(fp_line (start -2.8 1.9) (end 2.8 1.9) (layer F.CrtYd) (width 0.05))
14+
(fp_line (start -2.8 -1.9) (end -2.8 1.9) (layer F.CrtYd) (width 0.05))
15+
(fp_line (start -2.65 1.85) (end 2.65 1.85) (layer F.SilkS) (width 0.12))
16+
(fp_line (start -2.65 -1.85) (end -2.65 1.85) (layer F.SilkS) (width 0.12))
17+
(fp_line (start -2.5 0.6) (end -1.5 1.6) (layer F.Fab) (width 0.1))
18+
(fp_line (start -2.5 -1.4) (end -2.3 -1.6) (layer F.Fab) (width 0.1))
19+
(fp_line (start -2.5 1.4) (end -2.5 -1.4) (layer F.Fab) (width 0.1))
20+
(fp_line (start -2.3 1.6) (end -2.5 1.4) (layer F.Fab) (width 0.1))
21+
(fp_line (start 2.3 1.6) (end -2.3 1.6) (layer F.Fab) (width 0.1))
22+
(fp_line (start 2.5 1.4) (end 2.3 1.6) (layer F.Fab) (width 0.1))
23+
(fp_line (start 2.5 -1.4) (end 2.5 1.4) (layer F.Fab) (width 0.1))
24+
(fp_line (start 2.3 -1.6) (end 2.5 -1.4) (layer F.Fab) (width 0.1))
25+
(fp_line (start -2.3 -1.6) (end 2.3 -1.6) (layer F.Fab) (width 0.1))
26+
(fp_text user %R (at 0 0) (layer F.Fab)
27+
(effects (font (size 1 1) (thickness 0.15)))
28+
)
29+
(pad 4 smd rect (at -1.65 -1) (size 1.6 1.3) (layers F.Cu F.Paste F.Mask))
30+
(pad 3 smd rect (at 1.65 -1) (size 1.6 1.3) (layers F.Cu F.Paste F.Mask))
31+
(pad 2 smd rect (at 1.65 1) (size 1.6 1.3) (layers F.Cu F.Paste F.Mask))
32+
(pad 1 smd rect (at -1.65 1) (size 1.6 1.3) (layers F.Cu F.Paste F.Mask))
33+
(model ${KISYS3DMOD}/Crystal.3dshapes/Crystal_SMD_5032-4Pin_5.0x3.2mm.wrl
34+
(at (xyz 0 0 0))
35+
(scale (xyz 1 1 1))
36+
(rotate (xyz 0 0 0))
37+
)
38+
)
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
(module Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical (layer F.Cu) (tedit 59FED5CC)
2+
(descr "Through hole straight pin header, 1x03, 2.54mm pitch, single row")
3+
(tags "Through hole pin header THT 1x03 2.54mm single row")
4+
(fp_text reference J2 (at 0 -2.33) (layer F.SilkS)
5+
(effects (font (size 1 1) (thickness 0.15)))
6+
)
7+
(fp_text value Conn_01x03 (at 0 7.41) (layer F.Fab)
8+
(effects (font (size 1 1) (thickness 0.15)))
9+
)
10+
(fp_text user %R (at 0 2.54 90) (layer F.Fab)
11+
(effects (font (size 1 1) (thickness 0.15)))
12+
)
13+
(fp_line (start 1.8 -1.8) (end -1.8 -1.8) (layer F.CrtYd) (width 0.05))
14+
(fp_line (start 1.8 6.85) (end 1.8 -1.8) (layer F.CrtYd) (width 0.05))
15+
(fp_line (start -1.8 6.85) (end 1.8 6.85) (layer F.CrtYd) (width 0.05))
16+
(fp_line (start -1.8 -1.8) (end -1.8 6.85) (layer F.CrtYd) (width 0.05))
17+
(fp_line (start -1.33 -1.33) (end 0 -1.33) (layer F.SilkS) (width 0.12))
18+
(fp_line (start -1.33 0) (end -1.33 -1.33) (layer F.SilkS) (width 0.12))
19+
(fp_line (start -1.33 1.27) (end 1.33 1.27) (layer F.SilkS) (width 0.12))
20+
(fp_line (start 1.33 1.27) (end 1.33 6.41) (layer F.SilkS) (width 0.12))
21+
(fp_line (start -1.33 1.27) (end -1.33 6.41) (layer F.SilkS) (width 0.12))
22+
(fp_line (start -1.33 6.41) (end 1.33 6.41) (layer F.SilkS) (width 0.12))
23+
(fp_line (start -1.27 -0.635) (end -0.635 -1.27) (layer F.Fab) (width 0.1))
24+
(fp_line (start -1.27 6.35) (end -1.27 -0.635) (layer F.Fab) (width 0.1))
25+
(fp_line (start 1.27 6.35) (end -1.27 6.35) (layer F.Fab) (width 0.1))
26+
(fp_line (start 1.27 -1.27) (end 1.27 6.35) (layer F.Fab) (width 0.1))
27+
(fp_line (start -0.635 -1.27) (end 1.27 -1.27) (layer F.Fab) (width 0.1))
28+
(pad 3 thru_hole oval (at 0 5.08) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
29+
(pad 2 thru_hole oval (at 0 2.54) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
30+
(pad 1 thru_hole rect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
31+
(model ${KISYS3DMOD}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x03_P2.54mm_Vertical.wrl
32+
(at (xyz 0 0 0))
33+
(scale (xyz 1 1 1))
34+
(rotate (xyz 0 0 0))
35+
)
36+
)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
(module Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical (layer F.Cu) (tedit 59FED5CC)
2+
(descr "Through hole straight pin header, 1x04, 2.54mm pitch, single row")
3+
(tags "Through hole pin header THT 1x04 2.54mm single row")
4+
(fp_text reference J1 (at 0 -2.33) (layer F.SilkS)
5+
(effects (font (size 1 1) (thickness 0.15)))
6+
)
7+
(fp_text value Conn_01x04 (at 0 9.95) (layer F.Fab)
8+
(effects (font (size 1 1) (thickness 0.15)))
9+
)
10+
(fp_text user %R (at 0.099963 3.739699 90) (layer F.Fab)
11+
(effects (font (size 1 1) (thickness 0.15)))
12+
)
13+
(fp_line (start 1.8 -1.8) (end -1.8 -1.8) (layer F.CrtYd) (width 0.05))
14+
(fp_line (start 1.8 9.4) (end 1.8 -1.8) (layer F.CrtYd) (width 0.05))
15+
(fp_line (start -1.8 9.4) (end 1.8 9.4) (layer F.CrtYd) (width 0.05))
16+
(fp_line (start -1.8 -1.8) (end -1.8 9.4) (layer F.CrtYd) (width 0.05))
17+
(fp_line (start -1.33 -1.33) (end 0 -1.33) (layer F.SilkS) (width 0.12))
18+
(fp_line (start -1.33 0) (end -1.33 -1.33) (layer F.SilkS) (width 0.12))
19+
(fp_line (start -1.33 1.27) (end 1.33 1.27) (layer F.SilkS) (width 0.12))
20+
(fp_line (start 1.33 1.27) (end 1.33 8.95) (layer F.SilkS) (width 0.12))
21+
(fp_line (start -1.33 1.27) (end -1.33 8.95) (layer F.SilkS) (width 0.12))
22+
(fp_line (start -1.33 8.95) (end 1.33 8.95) (layer F.SilkS) (width 0.12))
23+
(fp_line (start -1.27 -0.635) (end -0.635 -1.27) (layer F.Fab) (width 0.1))
24+
(fp_line (start -1.27 8.89) (end -1.27 -0.635) (layer F.Fab) (width 0.1))
25+
(fp_line (start 1.27 8.89) (end -1.27 8.89) (layer F.Fab) (width 0.1))
26+
(fp_line (start 1.27 -1.27) (end 1.27 8.89) (layer F.Fab) (width 0.1))
27+
(fp_line (start -0.635 -1.27) (end 1.27 -1.27) (layer F.Fab) (width 0.1))
28+
(pad 4 thru_hole oval (at 0 7.62) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
29+
(pad 3 thru_hole oval (at 0 5.08) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
30+
(pad 2 thru_hole oval (at 0 2.54) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
31+
(pad 1 thru_hole rect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
32+
(model ${KISYS3DMOD}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x04_P2.54mm_Vertical.wrl
33+
(at (xyz 0 0 0))
34+
(scale (xyz 1 1 1))
35+
(rotate (xyz 0 0 0))
36+
)
37+
)

0 commit comments

Comments
 (0)