7
mirror of https://gitlab.com/kicad/libraries/kicad-footprints.git synced 2025-04-24 21:33:23 +00:00

Merge pull request from MatthewStephenson/KRC011

Add Kingbright KRC011 Reflective Opto Sensor
This commit is contained in:
Jan W. Krieger 2018-01-11 06:49:43 +01:00 committed by GitHub
commit 8c6b358ec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,39 @@
(module Kingbright_KRC011_Horizontal (layer F.Cu) (tedit 5A56627B)
(descr "Subminiature Reflective Optical Sensor, http://www.kingbright.com/attachments/file/psearch/000/00/00/KRC011(Ver.15).pdf")
(tags "Subminiature Reflective Optical Sensor")
(attr smd)
(fp_text reference REF** (at 0 -2.4) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Kingbright_KRC011_Horizontal (at 0 2.8) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 3.2 -1.1) (end 2.7 -1.1) (layer F.SilkS) (width 0.1))
(fp_line (start -2.75 -1.5) (end -2.75 -1.1) (layer F.SilkS) (width 0.1))
(fp_line (start -3.2 -1.1) (end -2.8 -1.1) (layer F.SilkS) (width 0.1))
(fp_line (start 3.2 -1.1) (end 3.2 1.1) (layer F.SilkS) (width 0.1))
(fp_line (start -3.35 -1.65) (end -3.35 1.25) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.35 1.25) (end 3.35 1.25) (layer F.CrtYd) (width 0.05))
(fp_line (start 3.35 1.25) (end 3.35 -1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.35 -1.65) (end 3.35 -1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.2 -1.075) (end -3.2 1.1) (layer F.SilkS) (width 0.1))
(fp_line (start -1.7 -1.525) (end -2.75 -1.525) (layer F.SilkS) (width 0.1))
(fp_line (start -3.2 1.1) (end 3.2 1.1) (layer F.SilkS) (width 0.1))
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -3.05 -0.425) (end -2.55 -0.925) (layer F.Fab) (width 0.1))
(fp_line (start -3.05 -0.925) (end 3.05 -0.925) (layer F.Fab) (width 0.1))
(fp_line (start 3.05 -0.925) (end 3.05 0.925) (layer F.Fab) (width 0.1))
(fp_line (start 3.05 0.925) (end -3.05 0.925) (layer F.Fab) (width 0.1))
(fp_line (start -3.05 0.925) (end -3.05 -0.925) (layer F.Fab) (width 0.1))
(pad 4 smd rect (at 2.1 -0.425) (size 0.8 1.4) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at 0.7 -0.425) (size 0.8 1.4) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -0.7 -0.425) (size 0.8 1.4) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at -2.1 -0.425) (size 0.8 1.4) (layers F.Cu F.Paste F.Mask))
(model ${KISYS3DMOD}/OptoDevice.3dshapes/Kingbright_KRC011_Horizontal.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)

View File

@ -0,0 +1,39 @@
(module Kingbright_KRC011_Vertical (layer F.Cu) (tedit 5A4FE17E)
(descr "Subminiature Reflective Optical Sensor, http://www.kingbright.com/attachments/file/psearch/000/00/00/KRC011(Ver.15).pdf")
(tags "Subminiature Reflective Optical Sensor")
(attr smd)
(fp_text reference REF** (at 0 -2.4) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Kingbright_KRC011_Vertical (at 0 2.8) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -2.8 1.5) (end -2.8 1.9) (layer F.SilkS) (width 0.1))
(fp_line (start -3.2 1.5) (end -2.8 1.5) (layer F.SilkS) (width 0.1))
(fp_line (start 3.2 1.5) (end 2.7 1.5) (layer F.SilkS) (width 0.1))
(fp_line (start 3.2 -1.525) (end 3.2 1.5) (layer F.SilkS) (width 0.1))
(fp_line (start -3.35 -1.65) (end -3.35 1.95) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.35 1.95) (end 3.35 1.95) (layer F.CrtYd) (width 0.05))
(fp_line (start 3.35 1.95) (end 3.35 -1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.35 -1.65) (end 3.35 -1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.2 -1.525) (end -3.2 1.5) (layer F.SilkS) (width 0.1))
(fp_line (start 3.2 -1.525) (end -3.2 -1.525) (layer F.SilkS) (width 0.1))
(fp_line (start -2.8 1.9) (end -1.6 1.9) (layer F.SilkS) (width 0.1))
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -3.05 0.375) (end -2.05 1.375) (layer F.Fab) (width 0.1))
(fp_line (start -3.05 -1.375) (end 3.05 -1.375) (layer F.Fab) (width 0.1))
(fp_line (start 3.05 -1.375) (end 3.05 1.375) (layer F.Fab) (width 0.1))
(fp_line (start 3.05 1.375) (end -2.05 1.375) (layer F.Fab) (width 0.1))
(fp_line (start -3.05 0.375) (end -3.05 -1.375) (layer F.Fab) (width 0.1))
(pad 4 smd rect (at 2.1 0.975) (size 0.8 1.4) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at 0.7 0.975) (size 0.8 1.4) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -0.7 0.975) (size 0.8 1.4) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at -2.1 0.975) (size 0.8 1.4) (layers F.Cu F.Paste F.Mask))
(model ${KISYS3DMOD}/OptoDevice.3dshapes/Kingbright_KRC011_Vertical.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)