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

871 lines
No EOL
33 KiB
Text

(export (version D)
(design
(source "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Control\\Hardware\\Circuit\\Control.sch")
(date "15.08.2021 15:59:32")
(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 U1)
(value ATmega328P-AU)
(footprint Package_QFP:TQFP-32_7x7mm_P0.8mm)
(datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega328_P%20AVR%20MCU%20with%20picoPower%20Technology%20Data%20Sheet%2040001984A.pdf)
(libsource (lib MCU_Microchip_ATmega) (part ATmega328P-AU) (description "20MHz, 32kB Flash, 2kB SRAM, 1kB EEPROM, TQFP-32"))
(sheetpath (names /) (tstamps /))
(tstamp 61124B57))
(comp (ref J3)
(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 J4)
(value Conn_01x13)
(footprint Connector_PinHeader_1.00mm:PinHeader_1x13_P1.00mm_Vertical)
(datasheet ~)
(libsource (lib Connector_Generic) (part Conn_01x13) (description "Generic connector, single row, 01x13, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 61285557))
(comp (ref J6)
(value Conn_01x04)
(footprint Connector_PinHeader_1.00mm:PinHeader_1x04_P1.00mm_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 J5)
(value Conn_01x04)
(footprint Connector_PinHeader_1.00mm:PinHeader_1x04_P1.00mm_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 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 6113FB23))
(comp (ref R2)
(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 J2)
(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 C2)
(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 C3)
(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 U2)
(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 J8)
(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 R3)
(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 R1)
(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 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 6124E822))
(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 612767EE))
(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 61296637))
(comp (ref R4)
(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 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 6132AA9D))
(comp (ref U3)
(value CD74HC4053PWR)
(footprint CD74HC4053PWR:SOP65P640X120-16N)
(libsource (lib CD74HC4053PWR) (part CD74HC4053PWR) (description ""))
(sheetpath (names /) (tstamps /))
(tstamp 611A257A))
(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 611E06B0))
(comp (ref R6)
(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 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 61203B62))
(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 61212488))
(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)))
(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 output))
(pin (num 2) (name B0) (type output))
(pin (num 3) (name C1) (type output))
(pin (num 4) (name CN) (type output))
(pin (num 5) (name C0) (type output))
(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 output))
(pin (num 13) (name A1) (type output))
(pin (num 14) (name AN) (type output))
(pin (num 15) (name BN) (type output))
(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 Connector_Generic) (part Conn_01x13)
(description "Generic connector, single row, 01x13, script generated (kicad-library-utils/schlib/autogen/connector/)")
(docs ~)
(footprints
(fp Connector*:*_1x??_*))
(fields
(field (name Reference) J)
(field (name Value) Conn_01x13))
(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))
(pin (num 5) (name Pin_5) (type passive))
(pin (num 6) (name Pin_6) (type passive))
(pin (num 7) (name Pin_7) (type passive))
(pin (num 8) (name Pin_8) (type passive))
(pin (num 9) (name Pin_9) (type passive))
(pin (num 10) (name Pin_10) (type passive))
(pin (num 11) (name Pin_11) (type passive))
(pin (num 12) (name Pin_12) (type passive))
(pin (num 13) (name Pin_13) (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 ATmega48PV-10AU)
(aliases
(alias ATmega48P-20AU)
(alias ATmega48A-AU)
(alias ATmega48PA-AU)
(alias ATmega88PV-10AU)
(alias ATmega88P-20AU)
(alias ATmega88A-AU)
(alias ATmega88PA-AU)
(alias ATmega168PV-10AU)
(alias ATmega168P-20AU)
(alias ATmega168A-AU)
(alias ATmega168PA-AU)
(alias ATmega328-AU)
(alias ATmega328P-AU))
(description "10MHz, 4kB Flash, 512B SRAM, 256B EEPROM, TQFP-32")
(docs http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8025-8-bit-AVR-Microcontroller-ATmega48P-88P-168P_Datasheet.pdf)
(footprints
(fp TQFP*7x7mm*P0.8mm*))
(fields
(field (name Reference) U)
(field (name Value) ATmega48PV-10AU)
(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 GND) (type power_in))
(pin (num 4) (name VCC) (type power_in))
(pin (num 5) (name GND) (type passive))
(pin (num 6) (name VCC) (type passive))
(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 ADC6) (type input))
(pin (num 20) (name AREF) (type passive))
(pin (num 21) (name GND) (type passive))
(pin (num 22) (name ADC7) (type input))
(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 VCC)
(node (ref R1) (pin 2))
(node (ref J7) (pin B4A9))
(node (ref J7) (pin A4B9))
(node (ref C3) (pin 1))
(node (ref J2) (pin 2))
(node (ref R2) (pin 2))
(node (ref R5) (pin 1))
(node (ref R4) (pin 1))
(node (ref Q1) (pin 2))
(node (ref C4) (pin 1))
(node (ref U3) (pin 16))
(node (ref C7) (pin 1))
(node (ref U1) (pin 4))
(node (ref U1) (pin 6))
(node (ref U1) (pin 18))
(node (ref U2) (pin 16))
(node (ref J6) (pin 4)))
(net (code 2) (name ICTX)
(node (ref U3) (pin 14))
(node (ref U2) (pin 2)))
(net (code 3) (name ICRX)
(node (ref U3) (pin 15))
(node (ref U2) (pin 3)))
(net (code 4) (name ICRST)
(node (ref C6) (pin 1))
(node (ref U3) (pin 4)))
(net (code 5) (name "Net-(C6-Pad2)")
(node (ref U2) (pin 14))
(node (ref C6) (pin 2)))
(net (code 6) (name GND)
(node (ref U1) (pin 3))
(node (ref U1) (pin 5))
(node (ref U3) (pin 7))
(node (ref SW1) (pin 2))
(node (ref C4) (pin 2))
(node (ref C7) (pin 2))
(node (ref C2) (pin 2))
(node (ref U3) (pin 8))
(node (ref SW2) (pin 2))
(node (ref J2) (pin 6))
(node (ref J1) (pin 3))
(node (ref J7) (pin B1A12))
(node (ref D1) (pin 1))
(node (ref C1) (pin 2))
(node (ref C5) (pin 1))
(node (ref J7) (pin A1B12))
(node (ref C3) (pin 2))
(node (ref J7) (pin S2))
(node (ref J4) (pin 1))
(node (ref J7) (pin S1))
(node (ref J7) (pin S3))
(node (ref J7) (pin S4))
(node (ref U2) (pin 1))
(node (ref J5) (pin 1))
(node (ref U1) (pin 21))
(node (ref J6) (pin 1))
(node (ref J3) (pin A1B12))
(node (ref R6) (pin 1))
(node (ref J3) (pin S4))
(node (ref J3) (pin S3))
(node (ref J3) (pin S1))
(node (ref J3) (pin B1A12))
(node (ref J8) (pin 3))
(node (ref J3) (pin S2)))
(net (code 7) (name D-)
(node (ref J7) (pin A7))
(node (ref U2) (pin 6))
(node (ref J7) (pin B7)))
(net (code 8) (name TX)
(node (ref U1) (pin 31))
(node (ref U3) (pin 2))
(node (ref J5) (pin 2)))
(net (code 9) (name RX)
(node (ref U1) (pin 30))
(node (ref U3) (pin 12))
(node (ref J5) (pin 3)))
(net (code 10) (name D+)
(node (ref U2) (pin 5))
(node (ref J7) (pin B6))
(node (ref J7) (pin A6)))
(net (code 11) (name "Net-(U2-Pad10)")
(node (ref U2) (pin 10)))
(net (code 12) (name "Net-(C5-Pad2)")
(node (ref C5) (pin 2))
(node (ref U2) (pin 4)))
(net (code 13) (name "Net-(U2-Pad9)")
(node (ref U2) (pin 9)))
(net (code 14) (name "Net-(J3-PadB8)")
(node (ref JP6) (pin 1))
(node (ref J3) (pin B8)))
(net (code 15) (name "Net-(U2-Pad11)")
(node (ref U2) (pin 11)))
(net (code 16) (name "Net-(U2-Pad12)")
(node (ref U2) (pin 12)))
(net (code 17) (name "Net-(U2-Pad13)")
(node (ref U2) (pin 13)))
(net (code 18) (name "Net-(U2-Pad15)")
(node (ref U2) (pin 15)))
(net (code 19) (name "Net-(J7-PadA5)")
(node (ref J7) (pin A5)))
(net (code 20) (name "Net-(J7-PadA8)")
(node (ref J7) (pin A8)))
(net (code 21) (name "Net-(J7-PadB5)")
(node (ref J7) (pin B5)))
(net (code 22) (name XTAL1)
(node (ref U1) (pin 7))
(node (ref Y1) (pin 1))
(node (ref C1) (pin 1)))
(net (code 23) (name XTAL2)
(node (ref U1) (pin 8))
(node (ref Y1) (pin 2))
(node (ref C2) (pin 1)))
(net (code 24) (name "Net-(D2-Pad1)")
(node (ref R3) (pin 2))
(node (ref D2) (pin 1)))
(net (code 25) (name "Net-(U2-Pad7)")
(node (ref U2) (pin 7)))
(net (code 26) (name "Net-(U2-Pad8)")
(node (ref U2) (pin 8)))
(net (code 27) (name SIG2B)
(node (ref J8) (pin 2))
(node (ref U1) (pin 10)))
(net (code 28) (name "Net-(J3-PadA8)")
(node (ref J3) (pin A8))
(node (ref JP5) (pin 2)))
(net (code 29) (name "Net-(J7-PadB8)")
(node (ref J7) (pin B8)))
(net (code 30) (name MUXS1)
(node (ref U3) (pin 10))
(node (ref U1) (pin 1)))
(net (code 31) (name "Net-(R6-Pad2)")
(node (ref R6) (pin 2))
(node (ref U3) (pin 6)))
(net (code 32) (name MUXS0)
(node (ref U3) (pin 11))
(node (ref U1) (pin 32)))
(net (code 33) (name MUXS2)
(node (ref U3) (pin 9))
(node (ref U1) (pin 2)))
(net (code 34) (name EXTRX)
(node (ref JP2) (pin 1))
(node (ref U3) (pin 13))
(node (ref JP9) (pin 2)))
(net (code 35) (name EXTTX)
(node (ref U3) (pin 1))
(node (ref JP4) (pin 1))
(node (ref JP7) (pin 2)))
(net (code 36) (name EXTRST)
(node (ref JP5) (pin 1))
(node (ref JP6) (pin 2))
(node (ref U3) (pin 3)))
(net (code 37) (name STOPRST-SIG)
(node (ref SW1) (pin 1))
(node (ref U1) (pin 11)))
(net (code 38) (name RST)
(node (ref J5) (pin 4))
(node (ref R1) (pin 1))
(node (ref R3) (pin 1))
(node (ref SW2) (pin 1))
(node (ref U3) (pin 5))
(node (ref J2) (pin 5))
(node (ref U1) (pin 29)))
(net (code 39) (name "Net-(U1-Pad23)")
(node (ref U1) (pin 23)))
(net (code 40) (name "Net-(U1-Pad24)")
(node (ref U1) (pin 24)))
(net (code 41) (name "Net-(U1-Pad25)")
(node (ref U1) (pin 25)))
(net (code 42) (name "Net-(U1-Pad26)")
(node (ref U1) (pin 26)))
(net (code 43) (name "Net-(D2-Pad2)")
(node (ref Q1) (pin 3))
(node (ref D2) (pin 2)))
(net (code 44) (name STOPRST)
(node (ref Q1) (pin 1))
(node (ref U1) (pin 12)))
(net (code 45) (name SIG1A)
(node (ref U1) (pin 13))
(node (ref J1) (pin 1)))
(net (code 46) (name SIG1B)
(node (ref J1) (pin 2))
(node (ref U1) (pin 14)))
(net (code 47) (name SIG2A)
(node (ref J8) (pin 1))
(node (ref U1) (pin 9)))
(net (code 48) (name "Net-(J3-PadA4B9)")
(node (ref R4) (pin 2))
(node (ref J3) (pin A4B9)))
(net (code 49) (name "Net-(J3-PadB4A9)")
(node (ref R5) (pin 2))
(node (ref J3) (pin B4A9)))
(net (code 50) (name "Net-(J3-PadA6)")
(node (ref JP2) (pin 2))
(node (ref J3) (pin A6))
(node (ref JP1) (pin 2)))
(net (code 51) (name "Net-(J3-PadA7)")
(node (ref J3) (pin A7))
(node (ref JP3) (pin 2))
(node (ref JP4) (pin 2)))
(net (code 52) (name "Net-(J3-PadA5)")
(node (ref J3) (pin A5)))
(net (code 53) (name SDA)
(node (ref J6) (pin 2))
(node (ref U1) (pin 27))
(node (ref JP10) (pin 1))
(node (ref JP1) (pin 1)))
(net (code 54) (name "Net-(J3-PadB6)")
(node (ref JP10) (pin 2))
(node (ref JP9) (pin 1))
(node (ref J3) (pin B6)))
(net (code 55) (name SCL)
(node (ref JP8) (pin 1))
(node (ref J6) (pin 3))
(node (ref JP3) (pin 1))
(node (ref U1) (pin 28)))
(net (code 56) (name "Net-(J3-PadB7)")
(node (ref JP7) (pin 1))
(node (ref J3) (pin B7))
(node (ref JP8) (pin 2)))
(net (code 57) (name "Net-(U1-Pad19)")
(node (ref U1) (pin 19)))
(net (code 58) (name "Net-(U1-Pad20)")
(node (ref U1) (pin 20)))
(net (code 59) (name "Net-(U1-Pad22)")
(node (ref U1) (pin 22)))
(net (code 60) (name "Net-(J3-PadB5)")
(node (ref J3) (pin B5)))
(net (code 61) (name SCK)
(node (ref J2) (pin 3))
(node (ref U1) (pin 17)))
(net (code 62) (name MISO)
(node (ref U1) (pin 16))
(node (ref J2) (pin 1)))
(net (code 63) (name MOSI)
(node (ref U1) (pin 15))
(node (ref J2) (pin 4)))
(net (code 64) (name "Net-(D1-Pad2)")
(node (ref R2) (pin 1))
(node (ref D1) (pin 2)))
(net (code 65) (name ENC1B)
(node (ref J4) (pin 3)))
(net (code 66) (name ENC2A)
(node (ref J4) (pin 4)))
(net (code 67) (name ENC2B)
(node (ref J4) (pin 5)))
(net (code 68) (name ENC3A)
(node (ref J4) (pin 6)))
(net (code 69) (name ENC3B)
(node (ref J4) (pin 7)))
(net (code 70) (name ENC4A)
(node (ref J4) (pin 8)))
(net (code 71) (name ENC4B)
(node (ref J4) (pin 9)))
(net (code 72) (name ENC1A)
(node (ref J4) (pin 2)))
(net (code 73) (name BTN1)
(node (ref J4) (pin 10)))
(net (code 74) (name BTN2)
(node (ref J4) (pin 11)))
(net (code 75) (name BTN3)
(node (ref J4) (pin 12)))
(net (code 76) (name BTN4)
(node (ref J4) (pin 13)))))