Add status led to control

This commit is contained in:
GHOSCHT 2021-08-17 12:17:31 +02:00
parent 086053ac1b
commit f60e2614fa
3 changed files with 860 additions and 711 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
(export (version D)
(design
(source "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Control\\Hardware\\Circuit\\Control.sch")
(date "17.08.2021 12:11:07")
(date "17.08.2021 12:15:46")
(tool "Eeschema (5.1.10)-1")
(sheet (number 1) (name /) (tstamps /)
(title_block
@ -352,7 +352,21 @@
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
(sheetpath (names /) (tstamps /))
(tstamp 619648ED)))
(tstamp 619648ED))
(comp (ref D3)
(value 17-21/BHC-XL2M2TY/3T)
(footprint LED_SMD:LED_0805_2012Metric_Castellated)
(datasheet ~)
(libsource (lib Device) (part LED) (description "Light emitting diode"))
(sheetpath (names /) (tstamps /))
(tstamp 61C08A60))
(comp (ref R8)
(value 200)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 61C08A66)))
(libparts
(libpart (lib CD74HC4053PWR) (part CD74HC4053PWR)
(fields
@ -622,264 +636,269 @@
(library (logical TYPE-C-31-M-12)
(uri "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Control\\Hardware\\Circuit/Libraries/TYPE-C-31-M-12.lib")))
(nets
(net (code 1) (name "Net-(D2-Pad1)")
(node (ref D2) (pin 1))
(node (ref R3) (pin 2)))
(net (code 2) (name STOPRST-BTN)
(node (ref U1) (pin 24))
(node (ref SW1) (pin 1)))
(net (code 1) (name VCC)
(node (ref U1) (pin 18))
(node (ref C3) (pin 1))
(node (ref R1) (pin 2))
(node (ref C4) (pin 1))
(node (ref U1) (pin 4))
(node (ref R5) (pin 1))
(node (ref U2) (pin 16))
(node (ref Q1) (pin 2))
(node (ref C7) (pin 1))
(node (ref U3) (pin 16))
(node (ref R4) (pin 1))
(node (ref J7) (pin A4B9))
(node (ref R2) (pin 2))
(node (ref J7) (pin B4A9))
(node (ref J6) (pin 4))
(node (ref J2) (pin 2)))
(net (code 2) (name RST)
(node (ref R1) (pin 1))
(node (ref R3) (pin 1))
(node (ref JP15) (pin 2))
(node (ref U3) (pin 5))
(node (ref J5) (pin 4))
(node (ref SW2) (pin 1))
(node (ref U1) (pin 29))
(node (ref J2) (pin 5)))
(net (code 3) (name GND)
(node (ref J5) (pin 1))
(node (ref SW2) (pin 2))
(node (ref U3) (pin 7))
(node (ref C1) (pin 2))
(node (ref R6) (pin 1))
(node (ref C5) (pin 1))
(node (ref C2) (pin 2))
(node (ref J7) (pin S4))
(node (ref U2) (pin 1))
(node (ref C3) (pin 2))
(node (ref J1) (pin 3))
(node (ref C7) (pin 2))
(node (ref J7) (pin S3))
(node (ref J4) (pin 1))
(node (ref U3) (pin 8))
(node (ref J6) (pin 1))
(node (ref D1) (pin 1))
(node (ref J2) (pin 6))
(node (ref J7) (pin S1))
(node (ref J7) (pin S2))
(node (ref C3) (pin 2))
(node (ref C7) (pin 2))
(node (ref D3) (pin 1))
(node (ref J7) (pin B1A12))
(node (ref J3) (pin A1B12))
(node (ref J7) (pin A1B12))
(node (ref J1) (pin 3))
(node (ref J7) (pin S2))
(node (ref J5) (pin 1))
(node (ref U2) (pin 1))
(node (ref J7) (pin S4))
(node (ref J7) (pin S3))
(node (ref C2) (pin 2))
(node (ref C1) (pin 2))
(node (ref J3) (pin S1))
(node (ref J3) (pin S2))
(node (ref J3) (pin S3))
(node (ref J3) (pin S4))
(node (ref J3) (pin B1A12))
(node (ref J8) (pin 3))
(node (ref SW1) (pin 2))
(node (ref J3) (pin S4))
(node (ref J3) (pin S3))
(node (ref J3) (pin S2))
(node (ref J3) (pin S1))
(node (ref D1) (pin 1))
(node (ref J6) (pin 1))
(node (ref J7) (pin S1))
(node (ref C4) (pin 2))
(node (ref C5) (pin 1))
(node (ref J4) (pin 1))
(node (ref R6) (pin 1))
(node (ref SW2) (pin 2))
(node (ref SW1) (pin 2))
(node (ref U1) (pin 5))
(node (ref U1) (pin 21))
(node (ref J7) (pin B1A12))
(node (ref U1) (pin 5)))
(net (code 4) (name RST)
(node (ref R3) (pin 1))
(node (ref R1) (pin 1))
(node (ref JP15) (pin 2))
(node (ref J2) (pin 5))
(node (ref J5) (pin 4))
(node (ref U3) (pin 5))
(node (ref U1) (pin 29))
(node (ref SW2) (pin 1)))
(net (code 5) (name VCC)
(node (ref C3) (pin 1))
(node (ref J2) (pin 2))
(node (ref J7) (pin B4A9))
(node (ref R5) (pin 1))
(node (ref R4) (pin 1))
(node (ref Q1) (pin 2))
(node (ref R1) (pin 2))
(node (ref U1) (pin 4))
(node (ref C4) (pin 1))
(node (ref C7) (pin 1))
(node (ref R2) (pin 2))
(node (ref U1) (pin 18))
(node (ref J6) (pin 4))
(node (ref U2) (pin 16))
(node (ref J7) (pin A4B9))
(node (ref U3) (pin 16)))
(net (code 6) (name EXTRX)
(node (ref U1) (pin 15))
(node (ref JP9) (pin 2))
(node (ref J4) (pin 3))
(node (ref J2) (pin 4))
(node (ref U3) (pin 1))
(node (ref JP2) (pin 1)))
(net (code 7) (name EXTTX)
(node (ref JP7) (pin 2))
(node (ref JP4) (pin 1))
(node (ref U3) (pin 13))
(node (ref U1) (pin 16))
(node (ref J4) (pin 2))
(node (ref J2) (pin 1)))
(net (code 8) (name EXTRST)
(node (ref JP5) (pin 1))
(node (ref JP6) (pin 2))
(node (ref J4) (pin 4))
(node (ref U3) (pin 3)))
(net (code 9) (name "Net-(Q1-Pad1)")
(node (ref R7) (pin 1))
(node (ref Q1) (pin 1)))
(net (code 10) (name "Net-(D2-Pad2)")
(node (ref D2) (pin 2))
(node (ref Q1) (pin 3)))
(net (code 11) (name "Net-(J3-PadA4B9)")
(node (ref U3) (pin 8))
(node (ref U3) (pin 7)))
(net (code 4) (name "Net-(J3-PadA4B9)")
(node (ref R4) (pin 2))
(node (ref J3) (pin A4B9)))
(net (code 12) (name "Net-(U1-Pad25)")
(node (ref U1) (pin 25)))
(net (code 13) (name "Net-(U1-Pad26)")
(node (ref U1) (pin 26)))
(net (code 14) (name SDA)
(node (ref J6) (pin 2))
(node (ref JP1) (pin 1))
(node (ref U1) (pin 27))
(node (ref JP10) (pin 1)))
(net (code 15) (name SCL)
(node (ref JP8) (pin 1))
(node (ref JP3) (pin 1))
(node (ref U1) (pin 28))
(node (ref J6) (pin 3)))
(net (code 16) (name "Net-(U1-Pad3)")
(node (ref U1) (pin 3)))
(net (code 17) (name "Net-(U1-Pad6)")
(node (ref U1) (pin 6)))
(net (code 18) (name XTAL2)
(node (ref C2) (pin 1))
(node (ref Y1) (pin 2))
(node (ref U1) (pin 8)))
(net (code 19) (name STOPRST)
(node (ref U1) (pin 23))
(node (ref R7) (pin 2)))
(net (code 20) (name "Net-(U1-Pad11)")
(node (ref U1) (pin 11)))
(net (code 21) (name "Net-(U1-Pad12)")
(net (code 5) (name "Net-(Q1-Pad1)")
(node (ref Q1) (pin 1))
(node (ref R7) (pin 1)))
(net (code 6) (name STOPRST)
(node (ref R7) (pin 2))
(node (ref U1) (pin 23)))
(net (code 7) (name "Net-(U1-Pad12)")
(node (ref U1) (pin 12)))
(net (code 22) (name MUXS2)
(node (ref U3) (pin 9))
(node (ref U1) (pin 2)))
(net (code 23) (name SCK)
(net (code 8) (name "Net-(D2-Pad2)")
(node (ref D2) (pin 2))
(node (ref Q1) (pin 3)))
(net (code 9) (name "Net-(D2-Pad1)")
(node (ref D2) (pin 1))
(node (ref R3) (pin 2)))
(net (code 10) (name STOPRST-BTN)
(node (ref SW1) (pin 1))
(node (ref U1) (pin 24)))
(net (code 11) (name "Net-(U1-Pad6)")
(node (ref U1) (pin 6)))
(net (code 12) (name XTAL1)
(node (ref U1) (pin 7))
(node (ref Y1) (pin 1))
(node (ref C1) (pin 1)))
(net (code 13) (name XTAL2)
(node (ref Y1) (pin 2))
(node (ref C2) (pin 1))
(node (ref U1) (pin 8)))
(net (code 14) (name "Net-(U1-Pad20)")
(node (ref U1) (pin 20)))
(net (code 15) (name "Net-(U1-Pad22)")
(node (ref U1) (pin 22)))
(net (code 16) (name SCK)
(node (ref J2) (pin 3))
(node (ref U1) (pin 17)))
(net (code 24) (name "Net-(U1-Pad19)")
(net (code 17) (name "Net-(U1-Pad19)")
(node (ref U1) (pin 19)))
(net (code 25) (name "Net-(U1-Pad20)")
(node (ref U1) (pin 20)))
(net (code 26) (name "Net-(U1-Pad22)")
(node (ref U1) (pin 22)))
(net (code 27) (name SIG1B)
(node (ref J1) (pin 2))
(node (ref U1) (pin 14)))
(net (code 28) (name SIG1A)
(net (code 18) (name "Net-(U1-Pad25)")
(node (ref U1) (pin 25)))
(net (code 19) (name "Net-(U1-Pad26)")
(node (ref U1) (pin 26)))
(net (code 20) (name SDA)
(node (ref J6) (pin 2))
(node (ref JP10) (pin 1))
(node (ref JP1) (pin 1))
(node (ref U1) (pin 27)))
(net (code 21) (name SCL)
(node (ref JP8) (pin 1))
(node (ref JP3) (pin 1))
(node (ref J6) (pin 3))
(node (ref U1) (pin 28)))
(net (code 22) (name "Net-(U1-Pad3)")
(node (ref U1) (pin 3)))
(net (code 23) (name SIG2A)
(node (ref U1) (pin 9))
(node (ref J8) (pin 1)))
(net (code 24) (name SIG2B)
(node (ref J8) (pin 2))
(node (ref U1) (pin 10)))
(net (code 25) (name SIG1A)
(node (ref J1) (pin 1))
(node (ref U1) (pin 13)))
(net (code 29) (name SIG2A)
(node (ref J8) (pin 1))
(node (ref U1) (pin 9)))
(net (code 30) (name SIG2B)
(node (ref U1) (pin 10))
(node (ref J8) (pin 2)))
(net (code 31) (name "Net-(J7-PadA8)")
(node (ref J7) (pin A8)))
(net (code 32) (name MUXTX)
(node (ref JP14) (pin 1))
(node (ref U3) (pin 14)))
(net (code 33) (name MUXRST)
(node (ref JP16) (pin 1))
(node (ref U3) (pin 4)))
(net (code 34) (name "Net-(J3-PadB4A9)")
(node (ref J3) (pin B4A9))
(node (ref R5) (pin 2)))
(net (code 35) (name "Net-(J7-PadB8)")
(net (code 26) (name SIG1B)
(node (ref J1) (pin 2))
(node (ref U1) (pin 14)))
(net (code 27) (name MUXRST)
(node (ref U3) (pin 4))
(node (ref JP16) (pin 1)))
(net (code 28) (name RX)
(node (ref J5) (pin 3))
(node (ref U1) (pin 30))
(node (ref U3) (pin 2))
(node (ref JP11) (pin 2)))
(net (code 29) (name TX)
(node (ref JP13) (pin 2))
(node (ref U1) (pin 31))
(node (ref J5) (pin 2))
(node (ref U3) (pin 12)))
(net (code 30) (name EXTRX)
(node (ref J4) (pin 3))
(node (ref U3) (pin 1))
(node (ref J2) (pin 4))
(node (ref JP2) (pin 1))
(node (ref U1) (pin 15))
(node (ref JP9) (pin 2)))
(net (code 31) (name "Net-(J7-PadB8)")
(node (ref J7) (pin B8)))
(net (code 36) (name "Net-(J7-PadB5)")
(net (code 32) (name "Net-(J3-PadB4A9)")
(node (ref R5) (pin 2))
(node (ref J3) (pin B4A9)))
(net (code 33) (name EXTTX)
(node (ref J2) (pin 1))
(node (ref J4) (pin 2))
(node (ref JP4) (pin 1))
(node (ref JP7) (pin 2))
(node (ref U1) (pin 16))
(node (ref U3) (pin 13)))
(net (code 34) (name "Net-(J7-PadB5)")
(node (ref J7) (pin B5)))
(net (code 37) (name "Net-(J7-PadA5)")
(net (code 35) (name "Net-(J7-PadA5)")
(node (ref J7) (pin A5)))
(net (code 36) (name "Net-(J7-PadA8)")
(node (ref J7) (pin A8)))
(net (code 37) (name MUXS2)
(node (ref U1) (pin 2))
(node (ref U3) (pin 9)))
(net (code 38) (name "Net-(R6-Pad2)")
(node (ref U3) (pin 6))
(node (ref R6) (pin 2)))
(net (code 39) (name MUXS0)
(node (ref U1) (pin 32))
(node (ref U3) (pin 11)))
(node (ref U3) (pin 11))
(node (ref U1) (pin 32)))
(net (code 40) (name MUXS1)
(node (ref U1) (pin 1))
(node (ref U3) (pin 10)))
(net (code 41) (name RX)
(node (ref U3) (pin 2))
(node (ref U1) (pin 30))
(node (ref J5) (pin 3))
(node (ref JP11) (pin 2)))
(net (code 42) (name TX)
(node (ref JP13) (pin 2))
(node (ref U3) (pin 12))
(node (ref J5) (pin 2))
(node (ref U1) (pin 31)))
(node (ref U3) (pin 10))
(node (ref U1) (pin 1)))
(net (code 41) (name EXTRST)
(node (ref JP5) (pin 1))
(node (ref JP6) (pin 2))
(node (ref J4) (pin 4))
(node (ref U3) (pin 3)))
(net (code 42) (name MUXRX)
(node (ref U3) (pin 15))
(node (ref JP12) (pin 1)))
(net (code 43) (name "Net-(JP11-Pad1)")
(node (ref U2) (pin 2))
(node (ref JP11) (pin 1))
(node (ref JP12) (pin 2)))
(net (code 44) (name "Net-(JP13-Pad1)")
(node (ref JP14) (pin 2))
(node (ref U2) (pin 3))
(node (ref JP13) (pin 1)))
(net (code 44) (name MUXTX)
(node (ref JP14) (pin 1))
(node (ref U3) (pin 14)))
(net (code 45) (name "Net-(C6-Pad1)")
(node (ref C6) (pin 1))
(node (ref JP15) (pin 1))
(node (ref JP16) (pin 2))
(node (ref JP15) (pin 1)))
(node (ref C6) (pin 1)))
(net (code 46) (name "Net-(U2-Pad14)")
(node (ref U2) (pin 14)))
(net (code 47) (name MUXRX)
(node (ref JP12) (pin 1))
(node (ref U3) (pin 15)))
(net (code 48) (name XTAL1)
(node (ref Y1) (pin 1))
(node (ref U1) (pin 7))
(node (ref C1) (pin 1)))
(net (code 49) (name "Net-(J3-PadA8)")
(node (ref J3) (pin A8))
(node (ref JP5) (pin 2)))
(net (code 47) (name "Net-(D3-Pad2)")
(node (ref D3) (pin 2))
(node (ref R8) (pin 1)))
(net (code 48) (name "Net-(JP13-Pad1)")
(node (ref JP14) (pin 2))
(node (ref JP13) (pin 1))
(node (ref U2) (pin 3)))
(net (code 49) (name LED)
(node (ref U1) (pin 11))
(node (ref R8) (pin 2)))
(net (code 50) (name "Net-(J3-PadA5)")
(node (ref J3) (pin A5)))
(net (code 51) (name "Net-(J3-PadB8)")
(net (code 51) (name "Net-(J3-PadA8)")
(node (ref JP5) (pin 2))
(node (ref J3) (pin A8)))
(net (code 52) (name "Net-(J3-PadB8)")
(node (ref J3) (pin B8))
(node (ref JP6) (pin 1)))
(net (code 52) (name "Net-(J3-PadB5)")
(net (code 53) (name "Net-(J3-PadB5)")
(node (ref J3) (pin B5)))
(net (code 53) (name "Net-(D1-Pad2)")
(net (code 54) (name "Net-(D1-Pad2)")
(node (ref D1) (pin 2))
(node (ref R2) (pin 1)))
(net (code 54) (name "Net-(J3-PadA6)")
(net (code 55) (name "Net-(J3-PadA6)")
(node (ref JP1) (pin 2))
(node (ref JP2) (pin 2))
(node (ref J3) (pin A6)))
(net (code 55) (name "Net-(J3-PadA7)")
(node (ref J3) (pin A6))
(node (ref JP2) (pin 2)))
(net (code 56) (name "Net-(J3-PadA7)")
(node (ref J3) (pin A7))
(node (ref JP3) (pin 2))
(node (ref JP4) (pin 2))
(node (ref J3) (pin A7)))
(net (code 56) (name "Net-(J3-PadB7)")
(node (ref J3) (pin B7))
(node (ref JP4) (pin 2)))
(net (code 57) (name "Net-(J3-PadB7)")
(node (ref JP8) (pin 2))
(node (ref JP7) (pin 1))
(node (ref JP8) (pin 2)))
(net (code 57) (name "Net-(J3-PadB6)")
(node (ref JP9) (pin 1))
(node (ref J3) (pin B7)))
(net (code 58) (name "Net-(J3-PadB6)")
(node (ref J3) (pin B6))
(node (ref JP10) (pin 2))
(node (ref J3) (pin B6)))
(net (code 58) (name D+)
(node (ref J7) (pin B6))
(node (ref J7) (pin A6))
(node (ref U2) (pin 5)))
(node (ref JP9) (pin 1)))
(net (code 59) (name D-)
(node (ref J7) (pin A7))
(node (ref U2) (pin 6))
(node (ref J7) (pin B7))
(node (ref J7) (pin A7)))
(net (code 60) (name "Net-(U2-Pad8)")
(node (ref U2) (pin 8)))
(net (code 61) (name "Net-(U2-Pad9)")
(node (ref U2) (pin 9)))
(net (code 62) (name "Net-(C6-Pad2)")
(node (ref C6) (pin 2))
(node (ref U2) (pin 13)))
(net (code 63) (name "Net-(U2-Pad10)")
(node (ref U2) (pin 10)))
(net (code 64) (name "Net-(U2-Pad11)")
(node (ref U2) (pin 11)))
(net (code 65) (name "Net-(U2-Pad12)")
(node (ref U2) (pin 12)))
(net (code 66) (name "Net-(U2-Pad15)")
(node (ref J7) (pin B7)))
(net (code 60) (name D+)
(node (ref J7) (pin A6))
(node (ref J7) (pin B6))
(node (ref U2) (pin 5)))
(net (code 61) (name "Net-(C6-Pad2)")
(node (ref U2) (pin 13))
(node (ref C6) (pin 2)))
(net (code 62) (name "Net-(U2-Pad15)")
(node (ref U2) (pin 15)))
(net (code 67) (name "Net-(C5-Pad2)")
(net (code 63) (name "Net-(U2-Pad12)")
(node (ref U2) (pin 12)))
(net (code 64) (name "Net-(C5-Pad2)")
(node (ref U2) (pin 4))
(node (ref C5) (pin 2)))
(net (code 65) (name "Net-(U2-Pad9)")
(node (ref U2) (pin 9)))
(net (code 66) (name "Net-(U2-Pad10)")
(node (ref U2) (pin 10)))
(net (code 67) (name "Net-(U2-Pad11)")
(node (ref U2) (pin 11)))
(net (code 68) (name "Net-(U2-Pad7)")
(node (ref U2) (pin 7)))))
(node (ref U2) (pin 7)))
(net (code 69) (name "Net-(U2-Pad8)")
(node (ref U2) (pin 8)))))

View file

@ -1523,7 +1523,6 @@ NoConn ~ 1450 3050
NoConn ~ 1450 3150
NoConn ~ 2650 2250
NoConn ~ 2650 2350
NoConn ~ 2650 3550
Wire Wire Line
2650 1350 2650 1300
Wire Wire Line
@ -1830,4 +1829,59 @@ Wire Wire Line
15050 4500 15050 4600
Connection ~ 15050 4500
NoConn ~ 13700 4600
Text Notes 550 7200 0 50 ~ 0
Status LED
Wire Notes Line
1850 7200 550 7200
Wire Notes Line
1850 8750 1850 7200
Wire Notes Line
550 8750 1850 8750
Wire Notes Line
550 7200 550 8750
$Comp
L Device:LED D3
U 1 1 61C08A60
P 650 8200
F 0 "D3" V 689 8082 50 0000 R CNN
F 1 "17-21/BHC-XL2M2TY/3T" V 598 8082 50 0000 R CNN
F 2 "LED_SMD:LED_0805_2012Metric_Castellated" H 650 8200 50 0001 C CNN
F 3 "~" H 650 8200 50 0001 C CNN
1 650 8200
0 -1 -1 0
$EndComp
$Comp
L Device:R R8
U 1 1 61C08A66
P 650 7750
F 0 "R8" H 580 7704 50 0000 R CNN
F 1 "200" H 580 7795 50 0000 R CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 580 7750 50 0001 C CNN
F 3 "~" H 650 7750 50 0001 C CNN
1 650 7750
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR0118
U 1 1 61C08A6C
P 650 8500
F 0 "#PWR0118" H 650 8250 50 0001 C CNN
F 1 "GND" H 655 8327 50 0000 C CNN
F 2 "" H 650 8500 50 0001 C CNN
F 3 "" H 650 8500 50 0001 C CNN
1 650 8500
1 0 0 -1
$EndComp
Wire Wire Line
650 7450 650 7600
Wire Wire Line
650 7900 650 8050
Wire Wire Line
650 8350 650 8500
Text GLabel 650 7450 1 50 Input ~ 0
LED
Text GLabel 2750 3550 2 50 Input ~ 0
LED
Wire Wire Line
2650 3550 2750 3550
$EndSCHEMATC