加入双LED

This commit is contained in:
chinky 2019-09-25 18:41:23 +08:00
parent c0e3e0f3e3
commit bd08effb28
5 changed files with 109 additions and 51 deletions

View File

@ -1,17 +1,41 @@
(module LED3227 (layer F.Cu) (tedit 5D5FA8CF)
(module LED3227 (layer F.Cu) (tedit 5D78A930)
(fp_text reference REF** (at -0.05 -2.15) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value LED3227 (at 0.1 2.4) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -2.9 1.5) (end -2.9 -1.5) (layer F.SilkS) (width 0.2))
(fp_line (start -3 -1.55) (end 3 -1.55) (layer F.CrtYd) (width 0.05))
(fp_line (start 3 -1.55) (end 3 1.55) (layer F.CrtYd) (width 0.05))
(fp_line (start 3 1.55) (end -3 1.55) (layer F.CrtYd) (width 0.05))
(fp_line (start -3 1.55) (end -3 -1.55) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.9 -1.5) (end 2.5 -1.5) (layer F.SilkS) (width 0.2))
(fp_line (start -2.9 1.5) (end 2.5 1.5) (layer F.SilkS) (width 0.2))
(fp_line (start -2.8 1.5) (end -2.8 -1.5) (layer F.SilkS) (width 0.2))
(fp_line (start -2.8 -1.5) (end 2.7 -1.5) (layer F.SilkS) (width 0.2))
(fp_line (start -2.8 1.5) (end 2.7 1.5) (layer F.SilkS) (width 0.2))
(fp_line (start -0.8 7.75) (end -0.8 5.725) (layer F.Fab) (width 0.1))
(fp_line (start -0.8 5.725) (end -0.125 5.05) (layer F.Fab) (width 0.1))
(fp_line (start -2.95 1.65) (end 2.85 1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.95 -1.65) (end -2.95 1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.85 -1.65) (end -2.95 -1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.85 1.65) (end 2.85 -1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.4 7.75) (end -0.8 7.75) (layer F.Fab) (width 0.1))
(fp_line (start 2.4 5.05) (end 2.4 7.75) (layer F.Fab) (width 0.1))
(fp_line (start -0.125 5.05) (end 2.4 5.05) (layer F.Fab) (width 0.1))
(fp_line (start -0.8 7.75) (end -0.8 5.725) (layer F.Fab) (width 0.1))
(fp_line (start -0.8 5.725) (end -0.125 5.05) (layer F.Fab) (width 0.1))
(fp_line (start -2.95 1.65) (end 2.85 1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.95 -1.65) (end -2.95 1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.85 -1.65) (end -2.95 -1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.85 1.65) (end 2.85 -1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.4 7.75) (end -0.8 7.75) (layer F.Fab) (width 0.1))
(fp_line (start 2.4 5.05) (end 2.4 7.75) (layer F.Fab) (width 0.1))
(fp_line (start -0.125 5.05) (end 2.4 5.05) (layer F.Fab) (width 0.1))
(fp_line (start -0.925 -1.35) (end 1.6 -1.35) (layer F.Fab) (width 0.1))
(fp_line (start 1.6 -1.35) (end 1.6 1.35) (layer F.Fab) (width 0.1))
(fp_line (start 1.6 1.35) (end -1.6 1.35) (layer F.Fab) (width 0.1))
(fp_line (start -1.6 -0.675) (end -0.925 -1.35) (layer F.Fab) (width 0.1))
(fp_line (start -1.6 1.35) (end -1.6 -0.675) (layer F.Fab) (width 0.1))
(fp_line (start -0.925 -1.35) (end 1.6 -1.35) (layer F.Fab) (width 0.1))
(fp_line (start 1.6 -1.35) (end 1.6 1.35) (layer F.Fab) (width 0.1))
(fp_line (start 1.6 1.35) (end -1.6 1.35) (layer F.Fab) (width 0.1))
(fp_line (start -1.6 -0.675) (end -0.925 -1.35) (layer F.Fab) (width 0.1))
(fp_line (start -1.6 1.35) (end -1.6 -0.675) (layer F.Fab) (width 0.1))
(pad 1 smd rect (at -1.75 0.7) (size 1.5 1) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -1.75 -0.7) (size 1.5 1) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at 1.75 -0.7) (size 1.5 1) (layers F.Cu F.Paste F.Mask))

View File

@ -0,0 +1,35 @@
(module LED_RGB_1210 (layer F.Cu) (tedit 5D78A2A5)
(descr "RGB LED 3.2x2.7mm http://www.avagotech.com/docs/AV02-0610EN")
(tags "LED 3227")
(attr smd)
(fp_text reference REF** (at 0 -2.3) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value LED_RGB_1210 (at 0 2.45) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0 -2.3) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.6 -0.675) (end -0.925 -1.35) (layer F.Fab) (width 0.1))
(fp_line (start -1.6 1.35) (end -1.6 -0.675) (layer F.Fab) (width 0.1))
(fp_line (start 1.6 1.35) (end -1.6 1.35) (layer F.Fab) (width 0.1))
(fp_line (start 1.6 -1.35) (end 1.6 1.35) (layer F.Fab) (width 0.1))
(fp_line (start -0.925 -1.35) (end 1.6 -1.35) (layer F.Fab) (width 0.1))
(fp_line (start -2.8 1.5) (end -2.8 -1.5) (layer F.SilkS) (width 0.15))
(fp_line (start 2.7 -1.5) (end -2.8 -1.5) (layer F.SilkS) (width 0.15))
(fp_line (start 2.7 1.5) (end -2.8 1.5) (layer F.SilkS) (width 0.15))
(fp_line (start 2.85 1.65) (end 2.85 -1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.85 -1.65) (end -2.95 -1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.95 -1.65) (end -2.95 1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.95 1.65) (end 2.85 1.65) (layer F.CrtYd) (width 0.05))
(pad 3 smd rect (at 1.75 0.7 180) (size 1.5 1) (layers F.Cu F.Paste F.Mask))
(pad 4 smd rect (at 1.75 -0.7 180) (size 1.5 1) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -1.75 0.7 180) (size 1.5 1) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at -1.75 -0.7 180) (size 1.5 1) (layers F.Cu F.Paste F.Mask))
(model ${KISYS3DMOD}/LED_SMD.3dshapes/LED_RGB_1210.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)

View File

@ -1,6 +1,47 @@
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# 15-22SURSYGC_S530-A2_TR8
#
DEF 15-22SURSYGC_S530-A2_TR8 DL 0 40 Y N 2 L N
F0 "DL" 0 -250 50 H V C CNN
F1 "15-22SURSYGC_S530-A2_TR8" -50 -350 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
A 0 0 150 0 600 1 1 10 N 150 0 74 129
A 0 0 150 600 1200 1 1 10 N 74 129 -76 129
A 0 0 150 1200 1800 1 1 10 N -76 129 -150 0
A 0 0 150 1800 -1200 2 1 10 N -150 0 -76 -129
A 0 0 150 -1200 -600 2 1 10 N -76 -129 74 -129
A 0 0 150 -600 0 2 1 10 N 74 -129 150 0
T 0 0 -150 54 0 1 1 YellowGreen Normal 0 C C
T 0 0 150 66 0 2 1 Red Normal 0 C C
P 2 1 1 10 -150 0 -150 -100 N
P 2 1 1 10 -150 0 150 0 N
P 2 1 1 10 50 100 50 -100 N
P 2 1 1 10 110 120 180 190 N
P 2 1 1 10 150 0 150 -100 N
P 2 1 1 10 150 80 220 150 N
P 4 1 1 10 -50 -100 50 0 -50 100 -50 -100 N
P 4 1 1 10 180 190 140 170 160 150 180 190 F
P 4 1 1 10 220 150 180 130 200 110 220 150 F
P 2 2 1 10 -150 0 -150 100 N
P 2 2 1 10 -150 0 150 0 N
P 2 2 1 10 50 -100 50 100 N
P 2 2 1 10 110 -120 180 -190 N
P 2 2 1 10 150 -80 220 -150 N
P 2 2 1 10 150 0 150 100 N
P 4 2 1 10 -50 100 50 0 -50 -100 -50 100 N
P 4 2 1 10 180 -190 140 -170 160 -150 180 -190 F
P 4 2 1 10 220 -150 180 -130 200 -110 220 -150 F
X A1 1 -300 0 150 R 70 1 1 1 P
X K1 4 300 0 150 L 70 1 1 1 P
X K2 2 300 0 150 L 70 1 2 1 P
X A1 3 -300 0 150 R 70 1 2 1 P
ENDDRAW
ENDDEF
#
# 1N4148
#
DEF 1N4148 D 0 40 N N 1 F N
@ -406,47 +447,6 @@ X A 3 -200 -100 200 R 50 50 2 1 P
ENDDRAW
ENDDEF
#
# LED_Daul_Red_YellowGreen
#
DEF LED_Daul_Red_YellowGreen DL 0 40 Y N 2 L N
F0 "DL" 0 -250 50 H V C CNN
F1 "LED_Daul_Red_YellowGreen" -50 -350 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
A 0 0 150 0 600 1 1 10 N 150 0 74 129
A 0 0 150 600 1200 1 1 10 N 74 129 -76 129
A 0 0 150 1200 1800 1 1 10 N -76 129 -150 0
A 0 0 150 1800 -1200 2 1 10 N -150 0 -76 -129
A 0 0 150 -1200 -600 2 1 10 N -76 -129 74 -129
A 0 0 150 -600 0 2 1 10 N 74 -129 150 0
T 0 0 -150 54 0 1 1 YellowGreen Normal 0 C C
T 0 0 150 66 0 2 1 Red Normal 0 C C
P 2 1 1 10 -150 0 -150 -100 N
P 2 1 1 10 -150 0 150 0 N
P 2 1 1 10 50 100 50 -100 N
P 2 1 1 10 110 120 180 190 N
P 2 1 1 10 150 0 150 -100 N
P 2 1 1 10 150 80 220 150 N
P 4 1 1 10 -50 -100 50 0 -50 100 -50 -100 F
P 4 1 1 10 180 190 140 170 160 150 180 190 F
P 4 1 1 10 220 150 180 130 200 110 220 150 F
P 2 2 1 10 -150 0 -150 100 N
P 2 2 1 10 -150 0 150 0 N
P 2 2 1 10 50 -100 50 100 N
P 2 2 1 10 110 -120 180 -190 N
P 2 2 1 10 150 -80 220 -150 N
P 2 2 1 10 150 0 150 100 N
P 4 2 1 10 -50 100 50 0 -50 -100 -50 100 F
P 4 2 1 10 180 -190 140 -170 160 -150 180 -190 F
P 4 2 1 10 220 -150 180 -130 200 -110 220 -150 F
X K 1 350 0 200 L 70 1 1 1 P
X A 4 -350 0 200 R 70 1 1 1 P
X K 2 350 0 200 L 70 1 2 1 P
X A 3 -350 0 200 R 70 1 2 1 P
ENDDRAW
ENDDEF
#
# LL4148
#
DEF LL4148 D 0 40 N N 1 F N

View File

@ -17,7 +17,7 @@ D RS232 Transceiver This part covers 232 drivers that are compatible with the MA
K PROD_ID:NA-XXXXX
$ENDCMP
#
$CMP MP2161A
$CMP MP2161AGJ
D 2A, 6V, 1.5MHz, 17μA IQ, COT Synchronous Step-Down Converter in 8-pin TSOT23
K step-down dc-dc buck regulator
F https://www.monolithicpower.cn/cn/documentview/productdocument/index/version/2/document_type/Datasheet/lang/EN/sku/MP2161A/document_id/935/

View File

@ -317,7 +317,6 @@ P 2 0 1 0 0 -50 0 -100 N
P 2 0 1 0 0 25 0 -25 N
P 2 0 1 0 0 100 0 50 N
P 2 0 1 0 0 175 0 125 N
P 2 1 1 0 675 750 675 700 N
X Vin 1 -400 100 100 R 50 50 1 1 P
X GND 2 -400 -100 100 R 50 50 1 1 P
X 0V 4 400 -100 100 L 50 50 1 1 P