This repository has been archived on 2023-12-22. You can view files and clone it, but cannot push or open issues or pull requests.
old-monorepo/Devices/Control/Hardware/Circuit/Control.net
2021-08-29 17:43:07 +02:00

988 lines
No EOL
39 KiB
Text

(export (version D)
(design
(source "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Control\\Hardware\\Circuit\\Control.sch")
(date "29.08.2021 17:03:30")
(tool "Eeschema (5.1.10)-1")
(sheet (number 1) (name /) (tstamps /)
(title_block
(title "LightControl Console")
(company)
(rev v00)
(date 2021-08-10)
(source Control.sch)
(comment (number 1) (value ""))
(comment (number 2) (value ""))
(comment (number 3) (value ""))
(comment (number 4) (value "Author: GHOSCHT")))))
(components
(comp (ref J8)
(value TYPE-C-31-M-12)
(footprint HRO_TYPE-C-31-M-12:HRO_TYPE-C-31-M-12)
(datasheet https://datasheet.lcsc.com/lcsc/1811131825_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf)
(fields
(field (name MANUFACTURER) "HRO Electronics")
(field (name MAXIMUM_PACKAGE_HEIGHT) 3.31mm)
(field (name PARTREV) A)
(field (name STANDARD) "Manufacturer Recommendations"))
(libsource (lib TYPE-C-31-M-12) (part TYPE-C-31-M-12) (description ""))
(sheetpath (names /) (tstamps /))
(tstamp 6112D89A))
(comp (ref JP1)
(value SolderJumper)
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
(sheetpath (names /) (tstamps /))
(tstamp 6113282A))
(comp (ref JP3)
(value SolderJumper)
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
(sheetpath (names /) (tstamps /))
(tstamp 6118262C))
(comp (ref JP10)
(value SolderJumper)
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
(sheetpath (names /) (tstamps /))
(tstamp 611A3577))
(comp (ref JP8)
(value SolderJumper)
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
(sheetpath (names /) (tstamps /))
(tstamp 611A3587))
(comp (ref J5)
(value Conn_01x04)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 613021A3))
(comp (ref J3)
(value Conn_01x04)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 613031C0))
(comp (ref D2)
(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 6113FB23))
(comp (ref R6)
(value 200)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 6114AFDD))
(comp (ref J6)
(value AVR-ISP-6)
(footprint AVR-ISP:AVR-ISP)
(datasheet " ~")
(libsource (lib Connector) (part AVR-ISP-6) (description "Atmel 6-pin ISP connector"))
(sheetpath (names /) (tstamps /))
(tstamp 61134728))
(comp (ref Y1)
(value 16MHz)
(footprint Crystal:Crystal_SMD_HC49-SD_HandSoldering)
(datasheet ~)
(libsource (lib Device) (part Crystal) (description "Two pin crystal"))
(sheetpath (names /) (tstamps /))
(tstamp 6113484F))
(comp (ref C1)
(value 22p)
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 6113DC2F))
(comp (ref C3)
(value 22p)
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 611448F1))
(comp (ref C2)
(value 100n)
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 6115564D))
(comp (ref J1)
(value Screw_Terminal_01x03)
(footprint CUI_TB006-508-03BE:CUI_TB006-508-03BE)
(datasheet ~)
(libsource (lib Connector) (part Screw_Terminal_01x03) (description "Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 6117AFF9))
(comp (ref J7)
(value TYPE-C-31-M-12)
(footprint HRO_TYPE-C-31-M-12:HRO_TYPE-C-31-M-12)
(datasheet https://datasheet.lcsc.com/lcsc/1811131825_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf)
(fields
(field (name MANUFACTURER) "HRO Electronics")
(field (name MAXIMUM_PACKAGE_HEIGHT) 3.31mm)
(field (name PARTREV) A)
(field (name STANDARD) "Manufacturer Recommendations"))
(libsource (lib TYPE-C-31-M-12) (part TYPE-C-31-M-12) (description ""))
(sheetpath (names /) (tstamps /))
(tstamp 6118AF6C))
(comp (ref U4)
(value CH340C)
(footprint Package_SO:SOIC-16_3.9x9.9mm_P1.27mm)
(datasheet https://datasheet.lcsc.com/szlcsc/Jiangsu-Qin-Heng-CH340C_C84681.pdf)
(libsource (lib Interface_USB) (part CH340C) (description "USB serial converter, UART, SOIC-16"))
(sheetpath (names /) (tstamps /))
(tstamp 6118DFFB))
(comp (ref J2)
(value Screw_Terminal_01x03)
(footprint CUI_TB006-508-03BE:CUI_TB006-508-03BE)
(datasheet ~)
(libsource (lib Connector) (part Screw_Terminal_01x03) (description "Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 61192611))
(comp (ref R4)
(value 120)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 611931AE))
(comp (ref R2)
(value 10k)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 611669B4))
(comp (ref JP2)
(value SolderJumper_Bridged)
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
(sheetpath (names /) (tstamps /))
(tstamp 6119BC53))
(comp (ref JP4)
(value SolderJumper_Bridged)
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
(sheetpath (names /) (tstamps /))
(tstamp 6119D4AD))
(comp (ref JP5)
(value SolderJumper_Bridged)
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
(sheetpath (names /) (tstamps /))
(tstamp 6119DE73))
(comp (ref JP6)
(value SolderJumper_Bridged)
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
(sheetpath (names /) (tstamps /))
(tstamp 6119E34D))
(comp (ref JP7)
(value SolderJumper_Bridged)
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
(sheetpath (names /) (tstamps /))
(tstamp 6119F385))
(comp (ref JP9)
(value SolderJumper_Bridged)
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
(sheetpath (names /) (tstamps /))
(tstamp 6119F7AD))
(comp (ref C8)
(value 100n)
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 6124E822))
(comp (ref C5)
(value 100n)
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 612767EE))
(comp (ref C6)
(value 100n)
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 61296637))
(comp (ref R10)
(value 40.2)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 6132AA9D))
(comp (ref R7)
(value 10k)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 612495F2))
(comp (ref Q1)
(value Q_NPN_BCE)
(footprint Package_TO_SOT_SMD:SOT-23_Handsoldering)
(datasheet ~)
(libsource (lib Device) (part Q_NPN_BCE) (description "NPN transistor, base/collector/emitter"))
(sheetpath (names /) (tstamps /))
(tstamp 611AC231))
(comp (ref SW2)
(value SW_Push)
(footprint SKRKAEE020:SKRKAEE020)
(datasheet ~)
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
(sheetpath (names /) (tstamps /))
(tstamp 61257FBA))
(comp (ref R9)
(value 40.2)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 61303408))
(comp (ref R3)
(value 40.2)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 611A5CE7))
(comp (ref U1)
(value ATmega328PB-AU)
(footprint Package_QFP:TQFP-32_7x7mm_P0.8mm)
(datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/40001906C.pdf)
(libsource (lib MCU_Microchip_ATmega) (part ATmega328PB-AU) (description "20MHz, 32kB Flash, 2kB SRAM, 1kB EEPROM, TQFP-32"))
(sheetpath (names /) (tstamps /))
(tstamp 611B4248))
(comp (ref C4)
(value 100n)
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 611E06B0))
(comp (ref U2)
(value CD74HC4053PWR)
(footprint CD74HC4053PWR:SOP65P640X120-16N)
(libsource (lib CD74HC4053PWR) (part CD74HC4053PWR) (description ""))
(sheetpath (names /) (tstamps /))
(tstamp 611A257A))
(comp (ref J4)
(value Conn_01x04)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 61885232))
(comp (ref JP12)
(value SolderJumper_Bridged)
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
(sheetpath (names /) (tstamps /))
(tstamp 6191A11B))
(comp (ref JP11)
(value SolderJumper)
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
(sheetpath (names /) (tstamps /))
(tstamp 6191ADB7))
(comp (ref JP14)
(value SolderJumper_Bridged)
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
(sheetpath (names /) (tstamps /))
(tstamp 619337D7))
(comp (ref JP13)
(value SolderJumper)
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
(sheetpath (names /) (tstamps /))
(tstamp 619337DD))
(comp (ref JP16)
(value SolderJumper_Bridged)
(footprint Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
(sheetpath (names /) (tstamps /))
(tstamp 619648E7))
(comp (ref JP15)
(value SolderJumper)
(footprint Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm)
(datasheet ~)
(libsource (lib Jumper) (part SolderJumper_2_Open) (description "Solder Jumper, 2-pole, open"))
(sheetpath (names /) (tstamps /))
(tstamp 619648ED))
(comp (ref D1)
(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 R1)
(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))
(comp (ref R8)
(value 10k)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 61207BF0))
(comp (ref U3)
(value CD74HC4053PWR)
(footprint CD74HC4053PWR:SOP65P640X120-16N)
(libsource (lib CD74HC4053PWR) (part CD74HC4053PWR) (description ""))
(sheetpath (names /) (tstamps /))
(tstamp 61207BFE))
(comp (ref C7)
(value 100n)
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 612205DD))
(comp (ref SW1)
(value SW_Push)
(footprint SKRKAEE020:SKRKAEE020)
(datasheet ~)
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
(sheetpath (names /) (tstamps /))
(tstamp 6128EB08))
(comp (ref R5)
(value 40.2)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 612A80A8))
(comp (ref R12)
(value 10k)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 612EAB9B))
(comp (ref R13)
(value 10k)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 612ECBE9))
(comp (ref R11)
(value 10k)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 61382EBC))
(comp (ref C9)
(value 100n)
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 614BF013)))
(libparts
(libpart (lib CD74HC4053PWR) (part CD74HC4053PWR)
(fields
(field (name Reference) U)
(field (name Value) CD74HC4053PWR)
(field (name Footprint) SOP65P640X120-16N))
(pins
(pin (num 1) (name B1) (type BiDi))
(pin (num 2) (name B0) (type BiDi))
(pin (num 3) (name C1) (type BiDi))
(pin (num 4) (name CN) (type BiDi))
(pin (num 5) (name C0) (type BiDi))
(pin (num 6) (name ~E) (type input))
(pin (num 7) (name VEE) (type power_in))
(pin (num 8) (name GND) (type power_in))
(pin (num 9) (name S2) (type input))
(pin (num 10) (name S1) (type input))
(pin (num 11) (name S0) (type input))
(pin (num 12) (name A0) (type BiDi))
(pin (num 13) (name A1) (type BiDi))
(pin (num 14) (name AN) (type BiDi))
(pin (num 15) (name BN) (type BiDi))
(pin (num 16) (name VCC) (type power_in))))
(libpart (lib Connector) (part AVR-ISP-6)
(description "Atmel 6-pin ISP connector")
(docs " ~")
(footprints
(fp IDC?Header*2x03*)
(fp Pin?Header*2x03*))
(fields
(field (name Reference) J)
(field (name Value) AVR-ISP-6))
(pins
(pin (num 1) (name MISO) (type passive))
(pin (num 2) (name VCC) (type passive))
(pin (num 3) (name SCK) (type passive))
(pin (num 4) (name MOSI) (type passive))
(pin (num 5) (name ~RST) (type passive))
(pin (num 6) (name GND) (type passive))))
(libpart (lib Connector) (part Screw_Terminal_01x03)
(description "Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)")
(docs ~)
(footprints
(fp TerminalBlock*:*))
(fields
(field (name Reference) J)
(field (name Value) Screw_Terminal_01x03))
(pins
(pin (num 1) (name Pin_1) (type passive))
(pin (num 2) (name Pin_2) (type passive))
(pin (num 3) (name Pin_3) (type passive))))
(libpart (lib Connector_Generic) (part Conn_01x04)
(description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)")
(docs ~)
(footprints
(fp Connector*:*_1x??_*))
(fields
(field (name Reference) J)
(field (name Value) Conn_01x04))
(pins
(pin (num 1) (name Pin_1) (type passive))
(pin (num 2) (name Pin_2) (type passive))
(pin (num 3) (name Pin_3) (type passive))
(pin (num 4) (name Pin_4) (type passive))))
(libpart (lib Device) (part C)
(description "Unpolarized capacitor")
(docs ~)
(footprints
(fp C_*))
(fields
(field (name Reference) C)
(field (name Value) C))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive))))
(libpart (lib Device) (part Crystal)
(description "Two pin crystal")
(docs ~)
(footprints
(fp Crystal*))
(fields
(field (name Reference) Y)
(field (name Value) Crystal))
(pins
(pin (num 1) (name 1) (type passive))
(pin (num 2) (name 2) (type passive))))
(libpart (lib Device) (part LED)
(description "Light emitting diode")
(docs ~)
(footprints
(fp LED*)
(fp LED_SMD:*)
(fp LED_THT:*))
(fields
(field (name Reference) D)
(field (name Value) LED))
(pins
(pin (num 1) (name K) (type passive))
(pin (num 2) (name A) (type passive))))
(libpart (lib Device) (part Q_NPN_BCE)
(description "NPN transistor, base/collector/emitter")
(docs ~)
(fields
(field (name Reference) Q)
(field (name Value) Q_NPN_BCE))
(pins
(pin (num 1) (name B) (type input))
(pin (num 2) (name C) (type passive))
(pin (num 3) (name E) (type passive))))
(libpart (lib Device) (part R)
(description Resistor)
(docs ~)
(footprints
(fp R_*))
(fields
(field (name Reference) R)
(field (name Value) R))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive))))
(libpart (lib Interface_USB) (part CH340C)
(description "USB serial converter, UART, SOIC-16")
(docs https://datasheet.lcsc.com/szlcsc/Jiangsu-Qin-Heng-CH340C_C84681.pdf)
(footprints
(fp SOIC*3.9x9.9mm*P1.27mm*))
(fields
(field (name Reference) U)
(field (name Value) CH340C)
(field (name Footprint) Package_SO:SOIC-16_3.9x9.9mm_P1.27mm))
(pins
(pin (num 1) (name GND) (type power_in))
(pin (num 2) (name TXD) (type output))
(pin (num 3) (name RXD) (type input))
(pin (num 4) (name V3) (type passive))
(pin (num 5) (name UD+) (type BiDi))
(pin (num 6) (name UD-) (type BiDi))
(pin (num 7) (name NC) (type NotConnected))
(pin (num 8) (name NC) (type NotConnected))
(pin (num 9) (name ~CTS) (type input))
(pin (num 10) (name ~DSR) (type input))
(pin (num 11) (name ~RI) (type input))
(pin (num 12) (name ~DCD) (type input))
(pin (num 13) (name ~DTR) (type output))
(pin (num 14) (name ~RTS) (type output))
(pin (num 15) (name R232) (type input))
(pin (num 16) (name VCC) (type power_in))))
(libpart (lib Jumper) (part SolderJumper_2_Bridged)
(description "Solder Jumper, 2-pole, closed/bridged")
(docs ~)
(footprints
(fp SolderJumper*Bridged*))
(fields
(field (name Reference) JP)
(field (name Value) SolderJumper_2_Bridged))
(pins
(pin (num 1) (name A) (type passive))
(pin (num 2) (name B) (type passive))))
(libpart (lib Jumper) (part SolderJumper_2_Open)
(description "Solder Jumper, 2-pole, open")
(docs ~)
(footprints
(fp SolderJumper*Open*))
(fields
(field (name Reference) JP)
(field (name Value) SolderJumper_2_Open))
(pins
(pin (num 1) (name A) (type passive))
(pin (num 2) (name B) (type passive))))
(libpart (lib MCU_Microchip_ATmega) (part ATmega48PB-AU)
(aliases
(alias ATmega88PB-AU)
(alias ATmega168PB-AU)
(alias ATmega328PB-AU))
(description "20MHz, 4kB Flash, 512B SRAM, 256B EEPROM, TQFP-32")
(docs http://ww1.microchip.com/downloads/en/DeviceDoc/40001909A.pdf)
(footprints
(fp TQFP*7x7mm*P0.8mm*))
(fields
(field (name Reference) U)
(field (name Value) ATmega48PB-AU)
(field (name Footprint) Package_QFP:TQFP-32_7x7mm_P0.8mm))
(pins
(pin (num 1) (name PD3) (type BiDi))
(pin (num 2) (name PD4) (type BiDi))
(pin (num 3) (name PE0) (type BiDi))
(pin (num 4) (name VCC) (type power_in))
(pin (num 5) (name GND) (type power_in))
(pin (num 6) (name PE1) (type BiDi))
(pin (num 7) (name XTAL1/PB6) (type BiDi))
(pin (num 8) (name XTAL2/PB7) (type BiDi))
(pin (num 9) (name PD5) (type BiDi))
(pin (num 10) (name PD6) (type BiDi))
(pin (num 11) (name PD7) (type BiDi))
(pin (num 12) (name PB0) (type BiDi))
(pin (num 13) (name PB1) (type BiDi))
(pin (num 14) (name PB2) (type BiDi))
(pin (num 15) (name PB3) (type BiDi))
(pin (num 16) (name PB4) (type BiDi))
(pin (num 17) (name PB5) (type BiDi))
(pin (num 18) (name AVCC) (type power_in))
(pin (num 19) (name PE2) (type BiDi))
(pin (num 20) (name AREF) (type passive))
(pin (num 21) (name GND) (type passive))
(pin (num 22) (name PE3) (type BiDi))
(pin (num 23) (name PC0) (type BiDi))
(pin (num 24) (name PC1) (type BiDi))
(pin (num 25) (name PC2) (type BiDi))
(pin (num 26) (name PC3) (type BiDi))
(pin (num 27) (name PC4) (type BiDi))
(pin (num 28) (name PC5) (type BiDi))
(pin (num 29) (name ~RESET~/PC6) (type BiDi))
(pin (num 30) (name PD0) (type BiDi))
(pin (num 31) (name PD1) (type BiDi))
(pin (num 32) (name PD2) (type BiDi))))
(libpart (lib Switch) (part SW_Push)
(description "Push button switch, generic, two pins")
(docs ~)
(fields
(field (name Reference) SW)
(field (name Value) SW_Push))
(pins
(pin (num 1) (name 1) (type passive))
(pin (num 2) (name 2) (type passive))))
(libpart (lib TYPE-C-31-M-12) (part TYPE-C-31-M-12)
(fields
(field (name Reference) J)
(field (name Value) TYPE-C-31-M-12)
(field (name Footprint) HRO_TYPE-C-31-M-12)
(field (name MAXIMUM_PACKAGE_HEIGHT) 3.31mm)
(field (name STANDARD) "Manufacturer Recommendations")
(field (name PARTREV) A)
(field (name MANUFACTURER) "HRO Electronics"))
(pins
(pin (num A5) (name CC1) (type BiDi))
(pin (num A6) (name DP1) (type BiDi))
(pin (num A7) (name DN1) (type BiDi))
(pin (num A8) (name SBU1) (type BiDi))
(pin (num A1B12) (name GND) (type power_in))
(pin (num A4B9) (name VBUS) (type power_in))
(pin (num B5) (name CC2) (type BiDi))
(pin (num B6) (name DP2) (type BiDi))
(pin (num B7) (name DN2) (type BiDi))
(pin (num B8) (name SBU2) (type BiDi))
(pin (num B1A12) (name GND) (type power_in))
(pin (num B4A9) (name VBUS) (type power_in))
(pin (num S1) (name SHIELD) (type passive))
(pin (num S2) (name SHIELD) (type passive))
(pin (num S3) (name SHIELD) (type passive))
(pin (num S4) (name SHIELD) (type passive)))))
(libraries
(library (logical CD74HC4053PWR)
(uri "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Control\\Hardware\\Circuit/Libraries/CD74HC4053PWR.lib"))
(library (logical Connector)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Connector.lib"))
(library (logical Connector_Generic)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Connector_Generic.lib"))
(library (logical Device)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Device.lib"))
(library (logical Interface_USB)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Interface_USB.lib"))
(library (logical Jumper)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Jumper.lib"))
(library (logical MCU_Microchip_ATmega)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/MCU_Microchip_ATmega.lib"))
(library (logical Switch)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Switch.lib"))
(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 MISO)
(node (ref U3) (pin 15))
(node (ref J6) (pin 1))
(node (ref U1) (pin 16)))
(net (code 2) (name MOSI)
(node (ref U1) (pin 15))
(node (ref J6) (pin 4))
(node (ref U3) (pin 14)))
(net (code 3) (name STOPRST)
(node (ref R3) (pin 2))
(node (ref U1) (pin 23)))
(net (code 4) (name RST)
(node (ref U2) (pin 5))
(node (ref JP15) (pin 2))
(node (ref SW2) (pin 1))
(node (ref U1) (pin 29))
(node (ref R2) (pin 1))
(node (ref J6) (pin 5))
(node (ref J3) (pin 4))
(node (ref R4) (pin 1)))
(net (code 5) (name SCL)
(node (ref J5) (pin 3))
(node (ref JP8) (pin 1))
(node (ref JP3) (pin 1))
(node (ref U1) (pin 28))
(node (ref R12) (pin 2)))
(net (code 6) (name SDA)
(node (ref J5) (pin 2))
(node (ref JP1) (pin 1))
(node (ref JP10) (pin 1))
(node (ref R13) (pin 2))
(node (ref U1) (pin 27)))
(net (code 7) (name RX)
(node (ref J3) (pin 3))
(node (ref R11) (pin 2))
(node (ref U1) (pin 30))
(node (ref JP11) (pin 2))
(node (ref U2) (pin 2)))
(net (code 8) (name VCC)
(node (ref R11) (pin 1))
(node (ref R9) (pin 1))
(node (ref J5) (pin 4))
(node (ref U1) (pin 4))
(node (ref U3) (pin 16))
(node (ref R13) (pin 1))
(node (ref R12) (pin 1))
(node (ref C9) (pin 1))
(node (ref U1) (pin 18))
(node (ref C7) (pin 1))
(node (ref U2) (pin 16))
(node (ref R10) (pin 1))
(node (ref J7) (pin B4A9))
(node (ref C5) (pin 1))
(node (ref R2) (pin 2))
(node (ref C2) (pin 1))
(node (ref C4) (pin 1))
(node (ref U4) (pin 16))
(node (ref J7) (pin A4B9))
(node (ref J6) (pin 2))
(node (ref R6) (pin 2))
(node (ref Q1) (pin 2)))
(net (code 9) (name "Net-(U1-Pad20)")
(node (ref U1) (pin 20)))
(net (code 10) (name TX)
(node (ref J3) (pin 2))
(node (ref U2) (pin 12))
(node (ref JP13) (pin 2))
(node (ref U1) (pin 31)))
(net (code 11) (name XTAL2)
(node (ref U1) (pin 8))
(node (ref Y1) (pin 2))
(node (ref C3) (pin 1)))
(net (code 12) (name XTAL1)
(node (ref Y1) (pin 1))
(node (ref U1) (pin 7))
(node (ref C1) (pin 1)))
(net (code 13) (name SCK)
(node (ref J6) (pin 3))
(node (ref U1) (pin 17)))
(net (code 14) (name "Net-(U1-Pad12)")
(node (ref U1) (pin 12)))
(net (code 15) (name GND)
(node (ref D2) (pin 1))
(node (ref SW2) (pin 2))
(node (ref J7) (pin A1B12))
(node (ref U2) (pin 7))
(node (ref J2) (pin 3))
(node (ref J5) (pin 1))
(node (ref J3) (pin 1))
(node (ref U1) (pin 5))
(node (ref U1) (pin 21))
(node (ref J6) (pin 6))
(node (ref C1) (pin 2))
(node (ref R7) (pin 1))
(node (ref C3) (pin 2))
(node (ref C5) (pin 2))
(node (ref C6) (pin 1))
(node (ref J1) (pin 3))
(node (ref J8) (pin B1A12))
(node (ref J8) (pin S1))
(node (ref J8) (pin S2))
(node (ref J8) (pin S3))
(node (ref J8) (pin S4))
(node (ref C2) (pin 2))
(node (ref C4) (pin 2))
(node (ref U4) (pin 1))
(node (ref J7) (pin S4))
(node (ref J7) (pin S3))
(node (ref J7) (pin S1))
(node (ref J7) (pin B1A12))
(node (ref J7) (pin S2))
(node (ref R5) (pin 1))
(node (ref R8) (pin 1))
(node (ref D1) (pin 1))
(node (ref C9) (pin 2))
(node (ref U3) (pin 8))
(node (ref U3) (pin 7))
(node (ref J8) (pin A1B12))
(node (ref U2) (pin 8))
(node (ref J4) (pin 1))
(node (ref C7) (pin 2)))
(net (code 16) (name MUX1S2)
(node (ref U2) (pin 9))
(node (ref U1) (pin 2)))
(net (code 17) (name MUX1S0)
(node (ref U2) (pin 11))
(node (ref U1) (pin 32)))
(net (code 18) (name MUX1S1)
(node (ref U1) (pin 1))
(node (ref U2) (pin 10)))
(net (code 19) (name SIG2A)
(node (ref J2) (pin 1))
(node (ref U1) (pin 9)))
(net (code 20) (name SIG2B)
(node (ref U1) (pin 10))
(node (ref J2) (pin 2)))
(net (code 21) (name "Net-(U1-Pad22)")
(node (ref U1) (pin 22)))
(net (code 22) (name "Net-(U1-Pad25)")
(node (ref U1) (pin 25)))
(net (code 23) (name "Net-(U1-Pad26)")
(node (ref U1) (pin 26)))
(net (code 24) (name SIG1B)
(node (ref J1) (pin 2))
(node (ref U1) (pin 14)))
(net (code 25) (name SIG1A)
(node (ref J1) (pin 1))
(node (ref U1) (pin 13)))
(net (code 26) (name EXTRX)
(node (ref JP2) (pin 1))
(node (ref J4) (pin 3))
(node (ref U2) (pin 1))
(node (ref JP9) (pin 2))
(node (ref U3) (pin 2)))
(net (code 27) (name EXTTX)
(node (ref U3) (pin 12))
(node (ref J4) (pin 2))
(node (ref JP4) (pin 1))
(node (ref U2) (pin 13))
(node (ref JP7) (pin 2)))
(net (code 28) (name EXTRST)
(node (ref JP5) (pin 1))
(node (ref U2) (pin 3))
(node (ref J4) (pin 4))
(node (ref JP6) (pin 2)))
(net (code 29) (name "Net-(Q1-Pad1)")
(node (ref R3) (pin 1))
(node (ref Q1) (pin 1)))
(net (code 30) (name "Net-(Q1-Pad3)")
(node (ref SW1) (pin 1))
(node (ref R4) (pin 2))
(node (ref Q1) (pin 3)))
(net (code 31) (name "Net-(R7-Pad2)")
(node (ref R7) (pin 2))
(node (ref U2) (pin 6)))
(net (code 32) (name "Net-(U1-Pad24)")
(node (ref U1) (pin 24)))
(net (code 33) (name MUX2S1)
(node (ref U3) (pin 10))
(node (ref U1) (pin 6)))
(net (code 34) (name "Net-(J8-PadA4B9)")
(node (ref J8) (pin A4B9))
(node (ref R9) (pin 2)))
(net (code 35) (name "Net-(U3-Pad3)")
(node (ref U3) (pin 3)))
(net (code 36) (name "Net-(U3-Pad4)")
(node (ref U3) (pin 4)))
(net (code 37) (name "Net-(U3-Pad5)")
(node (ref U3) (pin 5)))
(net (code 38) (name MUX2S0)
(node (ref U3) (pin 11))
(node (ref U1) (pin 3)))
(net (code 39) (name MUX2S2)
(node (ref U1) (pin 19))
(node (ref U3) (pin 9)))
(net (code 40) (name "Net-(U3-Pad1)")
(node (ref U3) (pin 1)))
(net (code 41) (name "Net-(U3-Pad13)")
(node (ref U3) (pin 13)))
(net (code 42) (name "Net-(R5-Pad2)")
(node (ref SW1) (pin 2))
(node (ref R5) (pin 2)))
(net (code 43) (name "Net-(C8-Pad1)")
(node (ref C8) (pin 1))
(node (ref JP16) (pin 2))
(node (ref JP15) (pin 1)))
(net (code 44) (name MUXRX)
(node (ref U2) (pin 15))
(node (ref JP12) (pin 1)))
(net (code 45) (name MUXTX)
(node (ref JP14) (pin 1))
(node (ref U2) (pin 14)))
(net (code 46) (name "Net-(JP13-Pad1)")
(node (ref JP14) (pin 2))
(node (ref JP13) (pin 1))
(node (ref U4) (pin 3)))
(net (code 47) (name MUXRST)
(node (ref U2) (pin 4))
(node (ref JP16) (pin 1)))
(net (code 48) (name "Net-(R8-Pad2)")
(node (ref R8) (pin 2))
(node (ref U3) (pin 6)))
(net (code 49) (name LED)
(node (ref U1) (pin 11))
(node (ref R1) (pin 2)))
(net (code 50) (name "Net-(U4-Pad14)")
(node (ref U4) (pin 14)))
(net (code 51) (name "Net-(D1-Pad2)")
(node (ref D1) (pin 2))
(node (ref R1) (pin 1)))
(net (code 52) (name "Net-(J8-PadB8)")
(node (ref JP6) (pin 1))
(node (ref J8) (pin B8)))
(net (code 53) (name "Net-(J8-PadB5)")
(node (ref J8) (pin B5)))
(net (code 54) (name "Net-(D2-Pad2)")
(node (ref D2) (pin 2))
(node (ref R6) (pin 1)))
(net (code 55) (name "Net-(J8-PadB4A9)")
(node (ref R10) (pin 2))
(node (ref J8) (pin B4A9)))
(net (code 56) (name "Net-(J8-PadA7)")
(node (ref JP3) (pin 2))
(node (ref J8) (pin A7))
(node (ref JP4) (pin 2)))
(net (code 57) (name "Net-(J8-PadA5)")
(node (ref J8) (pin A5)))
(net (code 58) (name "Net-(J8-PadA6)")
(node (ref JP1) (pin 2))
(node (ref J8) (pin A6))
(node (ref JP2) (pin 2)))
(net (code 59) (name "Net-(J8-PadB6)")
(node (ref J8) (pin B6))
(node (ref JP9) (pin 1))
(node (ref JP10) (pin 2)))
(net (code 60) (name "Net-(J8-PadB7)")
(node (ref J8) (pin B7))
(node (ref JP7) (pin 1))
(node (ref JP8) (pin 2)))
(net (code 61) (name "Net-(J8-PadA8)")
(node (ref JP5) (pin 2))
(node (ref J8) (pin A8)))
(net (code 62) (name "Net-(U4-Pad15)")
(node (ref U4) (pin 15)))
(net (code 63) (name "Net-(U4-Pad12)")
(node (ref U4) (pin 12)))
(net (code 64) (name "Net-(C6-Pad2)")
(node (ref U4) (pin 4))
(node (ref C6) (pin 2)))
(net (code 65) (name "Net-(U4-Pad9)")
(node (ref U4) (pin 9)))
(net (code 66) (name "Net-(U4-Pad10)")
(node (ref U4) (pin 10)))
(net (code 67) (name "Net-(U4-Pad11)")
(node (ref U4) (pin 11)))
(net (code 68) (name "Net-(J7-PadB8)")
(node (ref J7) (pin B8)))
(net (code 69) (name "Net-(J7-PadB5)")
(node (ref J7) (pin B5)))
(net (code 70) (name "Net-(J7-PadA5)")
(node (ref J7) (pin A5)))
(net (code 71) (name "Net-(J7-PadA8)")
(node (ref J7) (pin A8)))
(net (code 72) (name "Net-(C8-Pad2)")
(node (ref U4) (pin 13))
(node (ref C8) (pin 2)))
(net (code 73) (name "Net-(JP11-Pad1)")
(node (ref JP12) (pin 2))
(node (ref JP11) (pin 1))
(node (ref U4) (pin 2)))
(net (code 74) (name D+)
(node (ref J7) (pin B6))
(node (ref J7) (pin A6))
(node (ref U4) (pin 5)))
(net (code 75) (name D-)
(node (ref U4) (pin 6))
(node (ref J7) (pin A7))
(node (ref J7) (pin B7)))
(net (code 76) (name "Net-(U4-Pad7)")
(node (ref U4) (pin 7)))
(net (code 77) (name "Net-(U4-Pad8)")
(node (ref U4) (pin 8)))))