674 lines
No EOL
27 KiB
Text
674 lines
No EOL
27 KiB
Text
(export (version D)
|
|
(design
|
|
(source "D:\\Dokumente\\Coding\\Visual Studio Code\\smart-lamp-control\\Devices\\Console\\Hardware\\Circuit\\Console.sch")
|
|
(date "29.08.2021 11:57:42")
|
|
(tool "Eeschema (5.1.10)-1")
|
|
(sheet (number 1) (name /) (tstamps /)
|
|
(title_block
|
|
(title "LightControl Console")
|
|
(company)
|
|
(rev v00)
|
|
(date 2021-08-10)
|
|
(source Console.sch)
|
|
(comment (number 1) (value ""))
|
|
(comment (number 2) (value ""))
|
|
(comment (number 3) (value ""))
|
|
(comment (number 4) (value "Author: GHOSCHT")))))
|
|
(components
|
|
(comp (ref SW1)
|
|
(value PEC11R-4220F-S0012)
|
|
(footprint Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG)
|
|
(datasheet https://datasheet.octopart.com/PEC11R-4220F-S0012-Bourns-datasheet-68303416.pdf)
|
|
(libsource (lib Device) (part Rotary_Encoder_Switch) (description "Rotary encoder, dual channel, incremental quadrate outputs, with switch"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 6112A1C1))
|
|
(comp (ref J2)
|
|
(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 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 SW2)
|
|
(value PEC11R-4220F-S0012)
|
|
(footprint Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG)
|
|
(datasheet https://datasheet.octopart.com/PEC11R-4220F-S0012-Bourns-datasheet-68303416.pdf)
|
|
(libsource (lib Device) (part Rotary_Encoder_Switch) (description "Rotary encoder, dual channel, incremental quadrate outputs, with switch"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 611CC8B9))
|
|
(comp (ref SW3)
|
|
(value PEC11R-4220F-S0012)
|
|
(footprint Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG)
|
|
(datasheet https://datasheet.octopart.com/PEC11R-4220F-S0012-Bourns-datasheet-68303416.pdf)
|
|
(libsource (lib Device) (part Rotary_Encoder_Switch) (description "Rotary encoder, dual channel, incremental quadrate outputs, with switch"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 611CDF12))
|
|
(comp (ref SW4)
|
|
(value PEC11R-4220F-S0012)
|
|
(footprint Bourns-PEC11R-4220F-S0012:Bourns-PEC11R-4220F-S0012-MFG)
|
|
(datasheet https://datasheet.octopart.com/PEC11R-4220F-S0012-Bourns-datasheet-68303416.pdf)
|
|
(libsource (lib Device) (part Rotary_Encoder_Switch) (description "Rotary encoder, dual channel, incremental quadrate outputs, with switch"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 611CEA4E))
|
|
(comp (ref J3)
|
|
(value Conn_01x13)
|
|
(footprint Connector_PinHeader_2.54mm:PinHeader_1x13_P2.54mm_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 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 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 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 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 J1)
|
|
(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 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 611AC9C3))
|
|
(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 611AE464))
|
|
(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 611AECF9))
|
|
(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 611AF363))
|
|
(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 611B0523))
|
|
(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 611B0A60))
|
|
(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 SW5)
|
|
(value SW_Push)
|
|
(footprint SKRKAEE020:SKRKAEE020)
|
|
(datasheet ~)
|
|
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 6132D0B4))
|
|
(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 61C8D3E7))
|
|
(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 61D1A3B1))
|
|
(comp (ref R3)
|
|
(value 200)
|
|
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 61D1A3B7))
|
|
(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 611FCAF6))
|
|
(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 612D3AC9))
|
|
(comp (ref R4)
|
|
(value 10k)
|
|
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 612D449E))
|
|
(comp (ref R5)
|
|
(value 10k)
|
|
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 612D4F68)))
|
|
(libparts
|
|
(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_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 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 Device) (part Rotary_Encoder_Switch)
|
|
(description "Rotary encoder, dual channel, incremental quadrate outputs, with switch")
|
|
(docs ~)
|
|
(footprints
|
|
(fp RotaryEncoder*Switch*))
|
|
(fields
|
|
(field (name Reference) SW)
|
|
(field (name Value) Rotary_Encoder_Switch))
|
|
(pins
|
|
(pin (num A) (name A) (type passive))
|
|
(pin (num B) (name B) (type passive))
|
|
(pin (num C) (name C) (type passive))
|
|
(pin (num S1) (name S1) (type passive))
|
|
(pin (num S2) (name S2) (type passive))))
|
|
(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 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 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\\Console\\Hardware\\Circuit/Libraries/TYPE-C-31-M-12.lib")))
|
|
(nets
|
|
(net (code 1) (name GND)
|
|
(node (ref U1) (pin 5))
|
|
(node (ref D2) (pin 1))
|
|
(node (ref C2) (pin 2))
|
|
(node (ref C1) (pin 2))
|
|
(node (ref J1) (pin 6))
|
|
(node (ref J5) (pin 1))
|
|
(node (ref J4) (pin 1))
|
|
(node (ref C4) (pin 2))
|
|
(node (ref J2) (pin S3))
|
|
(node (ref J2) (pin S4))
|
|
(node (ref J2) (pin S2))
|
|
(node (ref J2) (pin S1))
|
|
(node (ref J2) (pin B1A12))
|
|
(node (ref J2) (pin A1B12))
|
|
(node (ref SW1) (pin C))
|
|
(node (ref SW2) (pin S1))
|
|
(node (ref SW4) (pin S1))
|
|
(node (ref SW4) (pin C))
|
|
(node (ref SW3) (pin S1))
|
|
(node (ref SW3) (pin C))
|
|
(node (ref SW1) (pin S1))
|
|
(node (ref SW2) (pin C))
|
|
(node (ref J3) (pin 1))
|
|
(node (ref U1) (pin 21))
|
|
(node (ref D1) (pin 1))
|
|
(node (ref C3) (pin 2))
|
|
(node (ref SW5) (pin 2)))
|
|
(net (code 2) (name "Net-(J2-PadA7)")
|
|
(node (ref JP3) (pin 2))
|
|
(node (ref J2) (pin A7))
|
|
(node (ref JP4) (pin 2)))
|
|
(net (code 3) (name VCC)
|
|
(node (ref R1) (pin 2))
|
|
(node (ref R2) (pin 2))
|
|
(node (ref R6) (pin 1))
|
|
(node (ref R4) (pin 1))
|
|
(node (ref R5) (pin 1))
|
|
(node (ref J2) (pin A4B9))
|
|
(node (ref J1) (pin 2))
|
|
(node (ref U1) (pin 18))
|
|
(node (ref U1) (pin 4))
|
|
(node (ref J2) (pin B4A9))
|
|
(node (ref C4) (pin 1))
|
|
(node (ref C3) (pin 1))
|
|
(node (ref J5) (pin 4)))
|
|
(net (code 4) (name XTAL2)
|
|
(node (ref U1) (pin 8))
|
|
(node (ref Y1) (pin 2))
|
|
(node (ref C2) (pin 1)))
|
|
(net (code 5) (name XTAL1)
|
|
(node (ref Y1) (pin 1))
|
|
(node (ref U1) (pin 7))
|
|
(node (ref C1) (pin 1)))
|
|
(net (code 6) (name "Net-(U1-Pad22)")
|
|
(node (ref U1) (pin 22)))
|
|
(net (code 7) (name "Net-(U1-Pad20)")
|
|
(node (ref U1) (pin 20)))
|
|
(net (code 8) (name "Net-(U1-Pad19)")
|
|
(node (ref U1) (pin 19)))
|
|
(net (code 9) (name LED)
|
|
(node (ref R3) (pin 2))
|
|
(node (ref U1) (pin 14)))
|
|
(net (code 10) (name RST)
|
|
(node (ref JP5) (pin 1))
|
|
(node (ref J1) (pin 5))
|
|
(node (ref J4) (pin 4))
|
|
(node (ref U1) (pin 29))
|
|
(node (ref SW5) (pin 1))
|
|
(node (ref JP6) (pin 2))
|
|
(node (ref R1) (pin 1)))
|
|
(net (code 11) (name "Net-(D1-Pad2)")
|
|
(node (ref R2) (pin 1))
|
|
(node (ref D1) (pin 2)))
|
|
(net (code 12) (name SDA)
|
|
(node (ref JP1) (pin 1))
|
|
(node (ref U1) (pin 27))
|
|
(node (ref J5) (pin 2))
|
|
(node (ref JP10) (pin 2))
|
|
(node (ref R5) (pin 2)))
|
|
(net (code 13) (name MOSI)
|
|
(node (ref U1) (pin 15))
|
|
(node (ref J1) (pin 4)))
|
|
(net (code 14) (name SCK)
|
|
(node (ref J1) (pin 3))
|
|
(node (ref U1) (pin 17)))
|
|
(net (code 15) (name MISO)
|
|
(node (ref U1) (pin 16))
|
|
(node (ref J1) (pin 1)))
|
|
(net (code 16) (name "Net-(D2-Pad2)")
|
|
(node (ref D2) (pin 2))
|
|
(node (ref R3) (pin 1)))
|
|
(net (code 17) (name "Net-(U1-Pad6)")
|
|
(node (ref U1) (pin 6)))
|
|
(net (code 18) (name "Net-(U1-Pad3)")
|
|
(node (ref U1) (pin 3)))
|
|
(net (code 19) (name ENC3B)
|
|
(node (ref U1) (pin 11))
|
|
(node (ref SW3) (pin B))
|
|
(node (ref J3) (pin 7)))
|
|
(net (code 20) (name ENC3A)
|
|
(node (ref J3) (pin 6))
|
|
(node (ref SW3) (pin A))
|
|
(node (ref U1) (pin 10)))
|
|
(net (code 21) (name ENC2A)
|
|
(node (ref J3) (pin 4))
|
|
(node (ref U1) (pin 2))
|
|
(node (ref SW2) (pin A)))
|
|
(net (code 22) (name ENC1B)
|
|
(node (ref SW1) (pin B))
|
|
(node (ref J3) (pin 3))
|
|
(node (ref U1) (pin 1)))
|
|
(net (code 23) (name ENC2B)
|
|
(node (ref J3) (pin 5))
|
|
(node (ref U1) (pin 9))
|
|
(node (ref SW2) (pin B)))
|
|
(net (code 24) (name ENC1A)
|
|
(node (ref SW1) (pin A))
|
|
(node (ref U1) (pin 32))
|
|
(node (ref J3) (pin 2)))
|
|
(net (code 25) (name TX)
|
|
(node (ref JP9) (pin 2))
|
|
(node (ref U1) (pin 31))
|
|
(node (ref J4) (pin 3))
|
|
(node (ref JP2) (pin 1)))
|
|
(net (code 26) (name RX)
|
|
(node (ref U1) (pin 30))
|
|
(node (ref JP7) (pin 2))
|
|
(node (ref R6) (pin 2))
|
|
(node (ref JP4) (pin 1))
|
|
(node (ref J4) (pin 2)))
|
|
(net (code 27) (name SCL)
|
|
(node (ref J5) (pin 3))
|
|
(node (ref R4) (pin 2))
|
|
(node (ref JP3) (pin 1))
|
|
(node (ref JP8) (pin 2))
|
|
(node (ref U1) (pin 28)))
|
|
(net (code 28) (name BTN4)
|
|
(node (ref U1) (pin 26))
|
|
(node (ref J3) (pin 13))
|
|
(node (ref SW4) (pin S2)))
|
|
(net (code 29) (name BTN3)
|
|
(node (ref SW3) (pin S2))
|
|
(node (ref U1) (pin 25))
|
|
(node (ref J3) (pin 12)))
|
|
(net (code 30) (name BTN2)
|
|
(node (ref J3) (pin 11))
|
|
(node (ref U1) (pin 24))
|
|
(node (ref SW2) (pin S2)))
|
|
(net (code 31) (name BTN1)
|
|
(node (ref SW1) (pin S2))
|
|
(node (ref U1) (pin 23))
|
|
(node (ref J3) (pin 10)))
|
|
(net (code 32) (name ENC4B)
|
|
(node (ref SW4) (pin B))
|
|
(node (ref U1) (pin 13))
|
|
(node (ref J3) (pin 9)))
|
|
(net (code 33) (name ENC4A)
|
|
(node (ref J3) (pin 8))
|
|
(node (ref U1) (pin 12))
|
|
(node (ref SW4) (pin A)))
|
|
(net (code 34) (name "Net-(J2-PadB7)")
|
|
(node (ref JP8) (pin 1))
|
|
(node (ref J2) (pin B7))
|
|
(node (ref JP7) (pin 1)))
|
|
(net (code 35) (name "Net-(J2-PadB6)")
|
|
(node (ref JP10) (pin 1))
|
|
(node (ref JP9) (pin 1))
|
|
(node (ref J2) (pin B6)))
|
|
(net (code 36) (name "Net-(J2-PadA6)")
|
|
(node (ref JP2) (pin 2))
|
|
(node (ref J2) (pin A6))
|
|
(node (ref JP1) (pin 2)))
|
|
(net (code 37) (name "Net-(J2-PadB5)")
|
|
(node (ref J2) (pin B5)))
|
|
(net (code 38) (name "Net-(J2-PadB8)")
|
|
(node (ref JP6) (pin 1))
|
|
(node (ref J2) (pin B8)))
|
|
(net (code 39) (name "Net-(J2-PadA8)")
|
|
(node (ref J2) (pin A8))
|
|
(node (ref JP5) (pin 2)))
|
|
(net (code 40) (name "Net-(J2-PadA5)")
|
|
(node (ref J2) (pin A5))))) |