Add rgb led

This commit is contained in:
Luca 2020-10-19 00:19:57 +02:00
parent 818a203384
commit 1def848c3f
2 changed files with 89 additions and 0 deletions

View File

@ -75,6 +75,57 @@ X 2 2 0 -150 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_LED_RABG
#
DEF Device_LED_RABG D 0 0 Y N 1 F N
F0 "D" 0 370 50 H V C CNN
F1 "Device_LED_RABG" 0 -350 50 H V C CNN
F2 "" 0 -50 50 H I C CNN
F3 "" 0 -50 50 H I C CNN
$FPLIST
LED*
LED_SMD:*
LED_THT:*
$ENDFPLIST
DRAW
C 80 0 10 0 1 0 F
T 0 -75 -250 50 0 0 0 B Normal 0 C C
T 0 -75 -50 50 0 0 0 G Normal 0 C C
T 0 -75 150 50 0 0 0 R Normal 0 C C
S 50 -50 50 50 0 1 0 N
S 50 50 50 50 0 1 0 N
S 50 150 50 250 0 1 0 N
S 50 250 50 250 0 1 0 N
S 110 330 -110 -300 0 1 10 f
P 2 0 1 0 -50 -200 -100 -200 N
P 2 0 1 0 -50 -200 50 -200 N
P 2 0 1 10 -50 -150 -50 -250 N
P 2 0 1 0 -50 0 -100 0 N
P 2 0 1 0 -50 0 50 0 N
P 2 0 1 10 -50 50 -50 -50 N
P 2 0 1 0 -50 200 -100 200 N
P 2 0 1 10 -50 250 -50 150 N
P 2 0 1 0 50 0 100 0 N
P 2 0 1 0 50 200 -50 200 N
P 3 0 1 0 -50 50 -50 -50 -50 -50 N
P 3 0 1 0 -50 250 -50 150 -50 150 N
P 4 0 1 0 50 -200 80 -200 80 200 50 200 N
P 4 0 1 10 50 -150 50 -250 -50 -200 50 -150 N
P 4 0 1 10 50 50 50 -50 -50 0 50 50 N
P 4 0 1 10 50 250 50 150 -50 200 50 250 N
P 5 0 1 0 -40 -150 20 -90 -10 -90 20 -90 20 -120 N
P 5 0 1 0 -40 50 20 110 -10 110 20 110 20 80 N
P 5 0 1 0 -40 250 20 310 -10 310 20 310 20 280 N
P 5 0 1 0 0 -150 60 -90 30 -90 60 -90 60 -120 N
P 5 0 1 0 0 50 60 110 30 110 60 110 60 80 N
P 5 0 1 0 0 250 60 310 30 310 60 310 60 280 N
X RK 1 -200 200 100 R 50 50 1 1 P
X A 2 200 0 100 L 50 50 1 1 P
X BK 3 -200 -200 100 R 50 50 1 1 P
X GK 4 -200 0 100 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_R_Small
#
DEF Device_R_Small R 0 10 N N 1 F N

View File

@ -596,4 +596,42 @@ Connection ~ 2950 2900
Wire Wire Line
1000 3000 1000 2900
Connection ~ 1000 2900
$Comp
L Device:LED_RABG D?
U 1 1 5F998A03
P 2000 4500
F 0 "D?" H 2000 4997 50 0000 C CNN
F 1 "MHPA1515RGBDT" H 2000 4906 50 0000 C CNN
F 2 "" H 2000 4450 50 0001 C CNN
F 3 "~" H 2000 4450 50 0001 C CNN
1 2000 4500
1 0 0 -1
$EndComp
$Comp
L power:+3V3 #PWR?
U 1 1 5F99F347
P 2250 4450
F 0 "#PWR?" H 2250 4300 50 0001 C CNN
F 1 "+3V3" H 2265 4623 50 0000 C CNN
F 2 "" H 2250 4450 50 0001 C CNN
F 3 "" H 2250 4450 50 0001 C CNN
1 2250 4450
1 0 0 -1
$EndComp
Wire Wire Line
2250 4450 2250 4500
Wire Wire Line
2250 4500 2200 4500
Text Label 1500 4300 0 50 ~ 0
LED_R
Text Label 1500 4500 0 50 ~ 0
LED_G
Text Label 1500 4700 0 50 ~ 0
LED_B
Wire Wire Line
1500 4300 1800 4300
Wire Wire Line
1500 4500 1800 4500
Wire Wire Line
1500 4700 1800 4700
$EndSCHEMATC