Skip to content

Commit

Permalink
Remove SMD pads from header footprint
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbez1 committed Mar 9, 2024
1 parent 3fbd0ce commit 631b3d8
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 30 deletions.
36 changes: 36 additions & 0 deletions electronics/lib/sensor_smd_lib.pretty/header_3.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
(footprint "header_3" (version 20211014) (generator pcbnew)
(layer "F.Cu")
(tedit 0)
(attr through_hole)
(fp_text reference "REF**" (at 0 -0.5 unlocked) (layer "F.SilkS") hide
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 101a8797-3680-4abe-aabe-c6dce813daf1)
)
(fp_text value "header_3" (at 0 1 unlocked) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp ee35e07d-dea3-4eb5-b22d-9c94d538b749)
)
(fp_text user "${REFERENCE}" (at 0 2.5 unlocked) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 99bb47cf-f22a-4963-8a1d-f29aa0162523)
)
(fp_line (start -4 0) (end -4 -4.5) (layer "F.SilkS") (width 0.12) (tstamp 6af6ccfe-736f-4f06-a6e3-6cf1e0fa80dd))
(fp_line (start -4 -4.5) (end 4 -4.5) (layer "F.SilkS") (width 0.12) (tstamp 950a6f90-c813-43db-b00a-784bbd02ee10))
(fp_line (start 4 -4.5) (end 4 0) (layer "F.SilkS") (width 0.12) (tstamp b4823ac6-c746-4300-b62f-527829b6a7e7))
(fp_line (start 4 12) (end 4 0) (layer "F.Fab") (width 0.1) (tstamp 424d4d62-61af-4a77-86e0-e0cb43310300))
(fp_line (start -4 0) (end -4 12) (layer "F.Fab") (width 0.1) (tstamp 643dc5c1-dd49-4564-86c5-8e7ca430674a))
(fp_line (start -4 12) (end 4 12) (layer "F.Fab") (width 0.1) (tstamp b42303cf-23cb-428d-8dc8-9e4418031f05))
(pad "1" thru_hole circle (at -2.54 -3.1) (size 1.65 1.65) (drill 0.94) (layers *.Cu *.Mask) (tstamp 1466237d-b9af-4fbc-b4c4-2982be499dbf))
(pad "2" thru_hole circle (at 0 -2.9) (size 1.65 1.65) (drill 0.94) (layers *.Cu *.Mask) (tstamp a1016da6-6728-49d3-8857-a622435d19d1))
(pad "3" thru_hole circle (at 2.54 -3.1) (size 1.65 1.65) (drill 0.94) (layers *.Cu *.Mask) (tstamp 6bed001b-5494-49c3-9861-a9fff7b1a325))
(model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x03_P2.54mm_Vertical.step" hide
(offset (xyz -2.54 0 0.3))
(scale (xyz 1 1 1))
(rotate (xyz -90 90 0))
)
(model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x03_P2.54mm_Horizontal.step"
(offset (xyz 2.54 3 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 90))
)
)
63 changes: 34 additions & 29 deletions electronics/sensor_smd/sensor_smd.kicad_pcb
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@
)
)

(property "COMMIT_DATE" "YYYY-MM-DD")
(property "COMMIT_HASH" "deadbeef")

(net 0 "")
(net 1 "/SIGNAL")
(net 2 "Net-(D1-Pad2)")
Expand Down Expand Up @@ -276,48 +279,47 @@
)
)

(footprint "sensor_smd_lib:header_3_smd" (layer "B.Cu")
(footprint "sensor_smd_lib:header_3" (layer "B.Cu")
(tedit 0) (tstamp 5c84fd6c-972e-4f56-93b5-16e1ca0133a4)
(at 128 113 180)
(property "Sheetfile" "sensor_smd.kicad_sch")
(property "Sheetname" "")
(path "/ae896a98-44ff-4a63-9762-fc32f3a185d2")
(attr smd)
(attr through_hole exclude_from_pos_files)
(fp_text reference "J1" (at 0 0.5 unlocked) (layer "B.SilkS") hide
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
(tstamp 9a8fa404-11e0-46d2-9e79-e8dfa3434a71)
(tstamp 028bd452-ac5d-4748-8a0e-3d86218e45ab)
)
(fp_text value "HEADER MALE RA" (at 0 -1 unlocked) (layer "B.Fab")
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
(tstamp bdaf75f3-ee7a-4dc0-9a7f-9e8f78790cea)
(tstamp 3401e0c2-2796-4497-b904-1b0defe56be1)
)
(fp_text user "${REFERENCE}" (at 0 -2.5 unlocked) (layer "B.Fab")
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
(tstamp e8f3cd00-183a-40dd-b206-f53a67960287)
)
(fp_line (start -4 6.5) (end 4 6.5) (layer "B.SilkS") (width 0.12) (tstamp 7fdcb735-7662-4566-8c32-0f86448395af))
(fp_line (start 4 6.5) (end 4 0) (layer "B.SilkS") (width 0.12) (tstamp ca8c0185-ba9e-4d0f-923b-783422e26248))
(fp_line (start -4 0) (end -4 6.5) (layer "B.SilkS") (width 0.12) (tstamp f64bd234-965a-483d-90b6-7c75e06f2b23))
(fp_line (start -4 -12) (end 4 -12) (layer "B.Fab") (width 0.1) (tstamp 6cf7fe4f-c49d-452a-82ff-f40fc095674d))
(fp_line (start 4 -12) (end 4 0) (layer "B.Fab") (width 0.1) (tstamp bcf51679-0bb6-4562-a9ed-88a4ea3565bc))
(fp_line (start -4 0) (end -4 -12) (layer "B.Fab") (width 0.1) (tstamp e4447d92-a530-4ff6-8506-de20fdde136b))
(pad "1" thru_hole circle (at -2.54 3.1 180) (size 1.5 1.5) (drill 0.94) (layers *.Cu *.Mask)
(net 1 "/SIGNAL") (pinfunction "Pin_1") (pintype "passive") (tstamp 13b6f583-f027-4a24-9c1d-969e85ad616c))
(pad "1" smd roundrect (at -2.54 3 180) (size 1.5 6) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
(net 1 "/SIGNAL") (pinfunction "Pin_1") (pintype "passive") (tstamp 34a3f559-eb92-4126-8f0a-dba57973fe92))
(pad "2" thru_hole circle (at 0 2.9 180) (size 1.5 1.5) (drill 0.94) (layers *.Cu *.Mask)
(net 3 "VDD") (pinfunction "Pin_2") (pintype "passive") (tstamp 28b54791-df25-435d-aac3-a7ba1ec7b46b))
(pad "2" smd roundrect (at 0 3 180) (size 1.5 6) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
(net 3 "VDD") (pinfunction "Pin_2") (pintype "passive") (tstamp 3e381922-d425-4c1b-bed5-b1a9644396fb))
(pad "3" thru_hole circle (at 2.54 3.1 180) (size 1.5 1.5) (drill 0.94) (layers *.Cu *.Mask)
(net 4 "GND") (pinfunction "Pin_3") (pintype "passive") (tstamp 7fb94470-410a-4a80-b897-f08052eab80c))
(pad "3" smd roundrect (at 2.54 3 180) (size 1.5 6) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
(net 4 "GND") (pinfunction "Pin_3") (pintype "passive") (tstamp 9118ceb9-2afd-4e7b-a4cf-bede3d7c2894))
(model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x03_P2.54mm_Vertical.step"
(tstamp 93f521da-73da-4f16-9ba2-c1a65264c7f1)
)
(fp_line (start 4 4.5) (end 4 0) (layer "B.SilkS") (width 0.12) (tstamp 470f58f4-61bf-4ead-999c-10b730a858fe))
(fp_line (start -4 0) (end -4 4.5) (layer "B.SilkS") (width 0.12) (tstamp 49be762a-2120-411e-9ee9-877728745233))
(fp_line (start -4 4.5) (end 4 4.5) (layer "B.SilkS") (width 0.12) (tstamp e14806c5-822f-4fe1-90fc-4882a7a4ebd6))
(fp_line (start -4 -12) (end 4 -12) (layer "B.Fab") (width 0.1) (tstamp c0f5cfa7-7e11-44f0-ae0c-98a6805a2a6e))
(fp_line (start 4 -12) (end 4 0) (layer "B.Fab") (width 0.1) (tstamp dde11119-22e0-4444-a40d-f3178f5f6732))
(fp_line (start -4 0) (end -4 -12) (layer "B.Fab") (width 0.1) (tstamp f06d5d13-a19c-4a02-be44-bccfcc4014bf))
(pad "1" thru_hole circle (at -2.54 3.1 180) (size 1.65 1.65) (drill 0.94) (layers *.Cu *.Mask)
(net 1 "/SIGNAL") (pinfunction "Pin_1") (pintype "passive") (tstamp 0a781074-5fab-4b97-860f-d8aaab75c554))
(pad "2" thru_hole circle (at 0 2.9 180) (size 1.65 1.65) (drill 0.94) (layers *.Cu *.Mask)
(net 3 "VDD") (pinfunction "Pin_2") (pintype "passive") (tstamp e94c1949-9bec-43f0-82f7-ceeb6a37d54c))
(pad "3" thru_hole circle (at 2.54 3.1 180) (size 1.65 1.65) (drill 0.94) (layers *.Cu *.Mask)
(net 4 "GND") (pinfunction "Pin_3") (pintype "passive") (tstamp 9e3eda56-9343-4fbe-ac41-d4dac34f0fa0))
(model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x03_P2.54mm_Vertical.step" hide
(offset (xyz -2.54 0 0.3))
(scale (xyz 1 1 1))
(rotate (xyz -90 90 0))
)
(model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x03_P2.54mm_Horizontal.step"
(offset (xyz 2.54 3 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 90))
)
)

(footprint "sensor_smd_lib:SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mm" (layer "B.Cu")
Expand Down Expand Up @@ -379,16 +381,19 @@
(gr_line (start 93 95) (end 93 111) (layer "Edge.Cuts") (width 0.1) (tstamp 824cc84f-f6e2-459c-b476-331537654def))
(gr_arc (start 131 93) (mid 132.414214 93.585786) (end 133 95) (layer "Edge.Cuts") (width 0.1) (tstamp 9c51c138-ad0e-4f0f-b6a6-a92b47d79837))
(gr_arc (start 95 113) (mid 93.585786 112.414214) (end 93 111) (layer "Edge.Cuts") (width 0.1) (tstamp d77305bc-ade9-4ca7-98ed-76a21a3fcd42))
(gr_text "S" (at 130.5 105.5) (layer "B.SilkS") (tstamp 1b5b6a91-a455-4c15-bc26-25eded7e4d13)
(gr_text "S" (at 130.5 107.5) (layer "B.SilkS") (tstamp 1b5b6a91-a455-4c15-bc26-25eded7e4d13)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(gr_text "MOTOR" (at 102 109 -10) (layer "B.SilkS") (tstamp 4bf38e4d-b1d5-4dfc-9966-fda2b4d0c078)
(gr_text "MOTOR" (at 102 107 15) (layer "B.SilkS") (tstamp 4bf38e4d-b1d5-4dfc-9966-fda2b4d0c078)
(effects (font (size 3 3) (thickness 0.3)) (justify mirror))
)
(gr_text "-" (at 125.5 105.5) (layer "B.SilkS") (tstamp 7dab74b9-0b1b-4086-97a1-bc2ef780dea8)
(gr_text "${COMMIT_HASH}\n${COMMIT_DATE}" (at 112.5 110.5) (layer "B.SilkS") (tstamp 76dd3178-8b8b-428c-864e-bf3cce24c184)
(effects (font (size 1 1) (thickness 0.15)) (justify left mirror))
)
(gr_text "-" (at 125.5 107.5) (layer "B.SilkS") (tstamp 7dab74b9-0b1b-4086-97a1-bc2ef780dea8)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(gr_text "+" (at 128 105.5) (layer "B.SilkS") (tstamp d75b56c5-a973-43fe-896b-ea47ded9f745)
(gr_text "+" (at 128 107.5) (layer "B.SilkS") (tstamp d75b56c5-a973-43fe-896b-ea47ded9f745)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(gr_text "\nCut to\ndisable\nLED" (at 130 99.5) (layer "B.SilkS") (tstamp dded4a69-ce1a-4f52-9640-25b358a44dbe)
Expand Down
5 changes: 4 additions & 1 deletion electronics/sensor_smd/sensor_smd.kicad_pro
Original file line number Diff line number Diff line change
Expand Up @@ -429,5 +429,8 @@
""
]
],
"text_variables": {}
"text_variables": {
"COMMIT_DATE": "YYYY-MM-DD",
"COMMIT_HASH": "deadbeef"
}
}

0 comments on commit 631b3d8

Please sign in to comment.