Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KiCad
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
libraries
electronics
KiCad
Commits
d2c94cf1
Commit
d2c94cf1
authored
4 years ago
by
Krisjanis Rijnieks
Browse files
Options
Downloads
Patches
Plain Diff
Add Buttono Omron B3SN with footprint
parent
758f5030
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
fab.dcm
+6
-0
6 additions, 0 deletions
fab.dcm
fab.lib
+17
-0
17 additions, 0 deletions
fab.lib
fab.pretty/Button_Omron_B3SN_6x6mm.kicad_mod
+36
-0
36 additions, 0 deletions
fab.pretty/Button_Omron_B3SN_6x6mm.kicad_mod
with
59 additions
and
0 deletions
fab.dcm
+
6
−
0
View file @
d2c94cf1
...
...
@@ -12,6 +12,12 @@ K audio amplifier headphone mono 3w
F http://www.ti.com/lit/ds/symlink/lm4871.pdf
$ENDCMP
#
$CMP BUTTON_B3SN
D Push button switch, Omron B3SN, Sealed Tactile Switch (SMT), SPST-NO Top Actuated Surface Mount
K switch normally-open pushbutton push-button button tactile spst single pole single throw
F https://omronfs.omron.com/en_US/ecb/products/pdf/en-b3sn.pdf
$ENDCMP
#
$CMP C
D Unpolarized capacitor
K cap capacitor
...
...
This diff is collapsed.
Click to expand it.
fab.lib
+
17
−
0
View file @
d2c94cf1
...
...
@@ -688,6 +688,23 @@ X GND 6 200 -100 100 L 40 40 1 1 P I
ENDDRAW
ENDDEF
#
# BUTTON_B3SN
#
DEF BUTTON_B3SN SW 0 40 N N 1 F N
F0 "SW" 50 100 50 H V L CNN
F1 "BUTTON_B3SN" 0 -60 50 H V C CNN
F2 "fab:Button_Omron_B3SN_6x6mm" 0 200 50 H I C CNN
F3 "" 0 200 50 H I C CNN
DRAW
C -80 0 20 0 1 0 N
C 80 0 20 0 1 0 N
P 2 0 1 0 0 50 0 120 N
P 2 0 1 0 100 50 -100 50 N
X 1 1 -200 0 100 R 50 50 0 1 P
X 2 2 200 0 100 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# C
#
DEF C C 0 10 N Y 1 F N
...
...
This diff is collapsed.
Click to expand it.
fab.pretty/Button_Omron_B3SN_6x6mm.kicad_mod
0 → 100644
+
36
−
0
View file @
d2c94cf1
(module Button_Omron_B3SN_6x6mm (layer F.Cu) (tedit 5EC6588A)
(descr "Surface Mount Tactile Switch for High-Density Packaging")
(tags "Tactile Switch")
(attr smd)
(fp_text reference REF** (at 0 -4.5) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Button_Omron_B3SN_6x6mm (at 0 4.5) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -3 3) (end -3 -3) (layer F.Fab) (width 0.1))
(fp_line (start 3 3) (end -3 3) (layer F.Fab) (width 0.1))
(fp_line (start 3 -3) (end 3 3) (layer F.Fab) (width 0.1))
(fp_line (start -3 -3) (end 3 -3) (layer F.Fab) (width 0.1))
(fp_circle (center 0 0) (end 1.65 0) (layer F.Fab) (width 0.1))
(fp_line (start 3.15 -1) (end 3.15 1) (layer F.SilkS) (width 0.12))
(fp_line (start 3.15 3.15) (end -3.15 3.15) (layer F.SilkS) (width 0.12))
(fp_line (start -3.15 1) (end -3.15 -1) (layer F.SilkS) (width 0.12))
(fp_line (start -3.15 -3.15) (end 3.15 -3.15) (layer F.SilkS) (width 0.12))
(fp_line (start -5 -3.7) (end -5 3.7) (layer F.CrtYd) (width 0.05))
(fp_line (start 5 -3.7) (end -5 -3.7) (layer F.CrtYd) (width 0.05))
(fp_line (start 5 3.7) (end 5 -3.7) (layer F.CrtYd) (width 0.05))
(fp_line (start -5 3.7) (end 5 3.7) (layer F.CrtYd) (width 0.05))
(fp_text user %R (at 0 -4.5) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(pad 2 smd rect (at 3.5 2) (size 3 1.5) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -3.5 2) (size 3 1.5) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at 3.5 -2) (size 3 1.5) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at -3.5 -2) (size 3 1.5) (layers F.Cu F.Paste F.Mask))
(model ${KISYS3DMOD}/Buttons_Switches_SMD.3dshapes/SW_SPST_B3S-1000.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment