421 lines
16 KiB
Plaintext
421 lines
16 KiB
Plaintext
(export (version D)
|
|
(design
|
|
(source P:\Electronics\DeskControl\pcb\main\DeskControl.sch)
|
|
(date "28-1-2020 11:47:35")
|
|
(tool "Eeschema (5.1.5)-3")
|
|
(sheet (number 1) (name /) (tstamps /)
|
|
(title_block
|
|
(title)
|
|
(company)
|
|
(rev)
|
|
(date)
|
|
(source DeskControl.sch)
|
|
(comment (number 1) (value ""))
|
|
(comment (number 2) (value ""))
|
|
(comment (number 3) (value ""))
|
|
(comment (number 4) (value "")))))
|
|
(components
|
|
(comp (ref U1)
|
|
(value ATmega328-AU)
|
|
(footprint Housings_QFP:TQFP-32_7x7mm_Pitch0.8mm)
|
|
(datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega328_P%20AVR%20MCU%20with%20picoPower%20Technology%20Data%20Sheet%2040001984A.pdf)
|
|
(libsource (lib DeskControl-rescue) (part ATmega328-AU-MCU_Microchip_ATmega) (description ""))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5D753A97))
|
|
(comp (ref J2)
|
|
(value VL54L0X)
|
|
(footprint Connectors_JST:JST_XH_B04B-XH-A_04x2.50mm_Straight)
|
|
(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 5D753B7C))
|
|
(comp (ref J1)
|
|
(value PROG)
|
|
(footprint Pin_Headers:Pin_Header_Straight_2x03_Pitch2.54mm)
|
|
(datasheet ~)
|
|
(libsource (lib Connector_Generic) (part Conn_02x03_Odd_Even) (description "Generic connector, double row, 02x03, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5D753DE7))
|
|
(comp (ref C3)
|
|
(value 100nF)
|
|
(footprint Capacitors_SMD:C_1206)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5D754323))
|
|
(comp (ref C2)
|
|
(value 100nF)
|
|
(footprint Capacitors_SMD:C_1206)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5D7545D2))
|
|
(comp (ref C1)
|
|
(value 10uF)
|
|
(footprint Capacitors_Tantalum_SMD:CP_Tantalum_Case-D_EIA-7343-31_Reflow)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5D75463E))
|
|
(comp (ref C4)
|
|
(value 33pF)
|
|
(footprint Capacitors_SMD:C_1206)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5D75696A))
|
|
(comp (ref C5)
|
|
(value 33pF)
|
|
(footprint Capacitors_SMD:C_1206)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5D756A0E))
|
|
(comp (ref XTAL1)
|
|
(value "16 Mhz")
|
|
(footprint Crystals:Crystal_HC49-U_Vertical)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part Crystal) (description "Two pin crystal"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5D756FAB))
|
|
(comp (ref R1)
|
|
(value 10k)
|
|
(footprint Resistors_SMD:R_0603)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5D758534))
|
|
(comp (ref J4)
|
|
(value PWR)
|
|
(footprint DeskControl:YT2099_2P_straight)
|
|
(datasheet ~)
|
|
(libsource (lib Connector_Generic) (part Conn_01x02) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5E2FAE20))
|
|
(comp (ref J5)
|
|
(value DM-Master)
|
|
(footprint Pin_Headers:Pin_Header_Straight_2x05_Pitch2.54mm)
|
|
(datasheet ~)
|
|
(libsource (lib Connector_Generic) (part Conn_02x05_Counter_Clockwise) (description "Generic connector, double row, 02x05, counter clockwise pin numbering scheme (similar to DIP packge numbering), script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5E2FE0A5))
|
|
(comp (ref J3)
|
|
(value PoluluG2)
|
|
(footprint Pin_Headers:Pin_Header_Straight_1x08_Pitch2.54mm)
|
|
(datasheet ~)
|
|
(libsource (lib Connector_Generic) (part Conn_01x08) (description "Generic connector, single row, 01x08, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5D7651C5))
|
|
(comp (ref U2)
|
|
(value AMS1117-3.3)
|
|
(footprint TO_SOT_Packages_SMD:SOT-223-3_TabPin2)
|
|
(datasheet http://www.advanced-monolithic.com/pdf/ds1117.pdf)
|
|
(libsource (lib Regulator_Linear) (part AMS1117-3.3) (description "1A Low Dropout regulator, positive, 3.3V fixed output, SOT-223"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5E364C51)))
|
|
(libparts
|
|
(libpart (lib Connector_Generic) (part Conn_01x02)
|
|
(description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
|
(docs ~)
|
|
(footprints
|
|
(fp Connector*:*_1x??_*))
|
|
(fields
|
|
(field (name Reference) J)
|
|
(field (name Value) Conn_01x02))
|
|
(pins
|
|
(pin (num 1) (name Pin_1) (type passive))
|
|
(pin (num 2) (name Pin_2) (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_01x08)
|
|
(description "Generic connector, single row, 01x08, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
|
(docs ~)
|
|
(footprints
|
|
(fp Connector*:*_1x??_*))
|
|
(fields
|
|
(field (name Reference) J)
|
|
(field (name Value) Conn_01x08))
|
|
(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))))
|
|
(libpart (lib Connector_Generic) (part Conn_02x03_Odd_Even)
|
|
(description "Generic connector, double row, 02x03, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)")
|
|
(docs ~)
|
|
(footprints
|
|
(fp Connector*:*_2x??_*))
|
|
(fields
|
|
(field (name Reference) J)
|
|
(field (name Value) Conn_02x03_Odd_Even))
|
|
(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))))
|
|
(libpart (lib Connector_Generic) (part Conn_02x05_Counter_Clockwise)
|
|
(description "Generic connector, double row, 02x05, counter clockwise pin numbering scheme (similar to DIP packge numbering), script generated (kicad-library-utils/schlib/autogen/connector/)")
|
|
(docs ~)
|
|
(footprints
|
|
(fp Connector*:*_2x??_*))
|
|
(fields
|
|
(field (name Reference) J)
|
|
(field (name Value) Conn_02x05_Counter_Clockwise))
|
|
(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))))
|
|
(libpart (lib DeskControl-rescue) (part ATmega328-AU-MCU_Microchip_ATmega)
|
|
(footprints
|
|
(fp TQFP*7x7mm*P0.8mm*))
|
|
(fields
|
|
(field (name Reference) U)
|
|
(field (name Value) ATmega328-AU-MCU_Microchip_ATmega)
|
|
(field (name Footprint) Package_QFP:TQFP-32_7x7mm_P0.8mm))
|
|
(pins
|
|
(pin (num 1) (name PD3) (type 3state))
|
|
(pin (num 2) (name PD4) (type 3state))
|
|
(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 3state))
|
|
(pin (num 8) (name XTAL2/PB7) (type 3state))
|
|
(pin (num 9) (name PD5) (type 3state))
|
|
(pin (num 10) (name PD6) (type 3state))
|
|
(pin (num 11) (name PD7) (type 3state))
|
|
(pin (num 12) (name PB0) (type 3state))
|
|
(pin (num 13) (name PB1) (type 3state))
|
|
(pin (num 14) (name PB2) (type 3state))
|
|
(pin (num 15) (name PB3) (type 3state))
|
|
(pin (num 16) (name PB4) (type 3state))
|
|
(pin (num 17) (name PB5) (type 3state))
|
|
(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 3state))
|
|
(pin (num 24) (name PC1) (type 3state))
|
|
(pin (num 25) (name PC2) (type 3state))
|
|
(pin (num 26) (name PC3) (type 3state))
|
|
(pin (num 27) (name PC4) (type 3state))
|
|
(pin (num 28) (name PC5) (type 3state))
|
|
(pin (num 29) (name ~RESET~/PC6) (type 3state))
|
|
(pin (num 30) (name PD0) (type 3state))
|
|
(pin (num 31) (name PD1) (type 3state))
|
|
(pin (num 32) (name PD2) (type 3state))))
|
|
(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 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 Regulator_Linear) (part AP1117-15)
|
|
(aliases
|
|
(alias AP1117-18)
|
|
(alias AP1117-25)
|
|
(alias AP1117-33)
|
|
(alias AP1117-50)
|
|
(alias LD1117S33TR_SOT223)
|
|
(alias LD1117S12TR_SOT223)
|
|
(alias LD1117S18TR_SOT223)
|
|
(alias LD1117S25TR_SOT223)
|
|
(alias LD1117S50TR_SOT223)
|
|
(alias NCP1117-12_SOT223)
|
|
(alias NCP1117-1.5_SOT223)
|
|
(alias NCP1117-1.8_SOT223)
|
|
(alias NCP1117-2.0_SOT223)
|
|
(alias NCP1117-2.5_SOT223)
|
|
(alias NCP1117-2.85_SOT223)
|
|
(alias NCP1117-3.3_SOT223)
|
|
(alias NCP1117-5.0_SOT223)
|
|
(alias AMS1117-1.5)
|
|
(alias AMS1117-1.8)
|
|
(alias AMS1117-2.5)
|
|
(alias AMS1117-2.85)
|
|
(alias AMS1117-3.3)
|
|
(alias AMS1117-5.0))
|
|
(description "1A Low Dropout regulator, positive, 1.5V fixed output, SOT-223")
|
|
(docs http://www.diodes.com/datasheets/AP1117.pdf)
|
|
(footprints
|
|
(fp SOT?223*TabPin2*))
|
|
(fields
|
|
(field (name Reference) U)
|
|
(field (name Value) AP1117-15)
|
|
(field (name Footprint) Package_TO_SOT_SMD:SOT-223-3_TabPin2))
|
|
(pins
|
|
(pin (num 1) (name GND) (type power_in))
|
|
(pin (num 2) (name VO) (type power_out))
|
|
(pin (num 3) (name VI) (type power_in)))))
|
|
(libraries
|
|
(library (logical Connector_Generic)
|
|
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Connector_Generic.lib"))
|
|
(library (logical DeskControl-rescue)
|
|
(uri P:\Electronics\DeskControl\pcb\main/DeskControl-rescue.lib))
|
|
(library (logical Device)
|
|
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Device.lib"))
|
|
(library (logical Regulator_Linear)
|
|
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Regulator_Linear.lib")))
|
|
(nets
|
|
(net (code 1) (name "Net-(J3-Pad5)")
|
|
(node (ref J3) (pin 5)))
|
|
(net (code 2) (name "Net-(J3-Pad7)")
|
|
(node (ref J3) (pin 7)))
|
|
(net (code 3) (name +12V)
|
|
(node (ref J4) (pin 1))
|
|
(node (ref U2) (pin 3)))
|
|
(net (code 4) (name GND)
|
|
(node (ref U1) (pin 21))
|
|
(node (ref J1) (pin 6))
|
|
(node (ref J5) (pin 1))
|
|
(node (ref J3) (pin 1))
|
|
(node (ref U2) (pin 1))
|
|
(node (ref J2) (pin 2))
|
|
(node (ref U1) (pin 5))
|
|
(node (ref J4) (pin 2))
|
|
(node (ref C5) (pin 2))
|
|
(node (ref C4) (pin 2))
|
|
(node (ref C3) (pin 1))
|
|
(node (ref C2) (pin 1))
|
|
(node (ref C1) (pin 1))
|
|
(node (ref U1) (pin 3)))
|
|
(net (code 5) (name RST)
|
|
(node (ref U1) (pin 29))
|
|
(node (ref J1) (pin 5))
|
|
(node (ref R1) (pin 2)))
|
|
(net (code 6) (name "Net-(U1-Pad32)")
|
|
(node (ref U1) (pin 32)))
|
|
(net (code 7) (name "Net-(U1-Pad2)")
|
|
(node (ref U1) (pin 2)))
|
|
(net (code 8) (name M-PWM)
|
|
(node (ref U1) (pin 23))
|
|
(node (ref J3) (pin 3)))
|
|
(net (code 9) (name "Net-(U1-Pad30)")
|
|
(node (ref U1) (pin 30)))
|
|
(net (code 10) (name "Net-(U1-Pad31)")
|
|
(node (ref U1) (pin 31)))
|
|
(net (code 11) (name "Net-(U1-Pad14)")
|
|
(node (ref U1) (pin 14)))
|
|
(net (code 12) (name BTN-MENU)
|
|
(node (ref J5) (pin 9))
|
|
(node (ref U1) (pin 9)))
|
|
(net (code 13) (name +3V3)
|
|
(node (ref U1) (pin 18))
|
|
(node (ref U1) (pin 4))
|
|
(node (ref R1) (pin 1))
|
|
(node (ref C1) (pin 2))
|
|
(node (ref C2) (pin 2))
|
|
(node (ref J3) (pin 8))
|
|
(node (ref U1) (pin 6))
|
|
(node (ref J5) (pin 2))
|
|
(node (ref J2) (pin 1))
|
|
(node (ref U2) (pin 2))
|
|
(node (ref J1) (pin 2)))
|
|
(net (code 14) (name BTN-DOWN)
|
|
(node (ref J5) (pin 10))
|
|
(node (ref U1) (pin 10)))
|
|
(net (code 15) (name LCD-BL)
|
|
(node (ref J5) (pin 7))
|
|
(node (ref U1) (pin 11)))
|
|
(net (code 16) (name LCD-DC)
|
|
(node (ref U1) (pin 12))
|
|
(node (ref J5) (pin 6)))
|
|
(net (code 17) (name LCD-RST)
|
|
(node (ref U1) (pin 13))
|
|
(node (ref J5) (pin 5)))
|
|
(net (code 18) (name MOSI)
|
|
(node (ref J1) (pin 4))
|
|
(node (ref U1) (pin 15))
|
|
(node (ref J5) (pin 4)))
|
|
(net (code 19) (name MISO)
|
|
(node (ref U1) (pin 16))
|
|
(node (ref J1) (pin 1)))
|
|
(net (code 20) (name SCK)
|
|
(node (ref U1) (pin 17))
|
|
(node (ref J5) (pin 3))
|
|
(node (ref J1) (pin 3)))
|
|
(net (code 21) (name "Net-(U1-Pad19)")
|
|
(node (ref U1) (pin 19)))
|
|
(net (code 22) (name "Net-(U1-Pad22)")
|
|
(node (ref U1) (pin 22)))
|
|
(net (code 23) (name M-DIR)
|
|
(node (ref U1) (pin 24))
|
|
(node (ref J3) (pin 2)))
|
|
(net (code 24) (name M-SLP)
|
|
(node (ref J3) (pin 4))
|
|
(node (ref U1) (pin 25)))
|
|
(net (code 25) (name M-CS)
|
|
(node (ref J3) (pin 6))
|
|
(node (ref U1) (pin 26)))
|
|
(net (code 26) (name SDA)
|
|
(node (ref U1) (pin 27))
|
|
(node (ref J2) (pin 4)))
|
|
(net (code 27) (name SCL)
|
|
(node (ref U1) (pin 28))
|
|
(node (ref J2) (pin 3)))
|
|
(net (code 28) (name "Net-(C5-Pad1)")
|
|
(node (ref U1) (pin 8))
|
|
(node (ref XTAL1) (pin 1))
|
|
(node (ref C5) (pin 1)))
|
|
(net (code 29) (name "Net-(C4-Pad1)")
|
|
(node (ref U1) (pin 7))
|
|
(node (ref XTAL1) (pin 2))
|
|
(node (ref C4) (pin 1)))
|
|
(net (code 30) (name "Net-(C3-Pad2)")
|
|
(node (ref U1) (pin 20))
|
|
(node (ref C3) (pin 2)))
|
|
(net (code 31) (name BTN-UP)
|
|
(node (ref U1) (pin 1))
|
|
(node (ref J5) (pin 8))))) |