2018-11-18 10:16:33 +00:00
|
|
|
(export (version D)
|
|
|
|
(design
|
|
|
|
(source P:\Electronics\Stairs\kicad\Stairs.sch)
|
2018-11-25 15:36:34 +00:00
|
|
|
(date "25-11-2018 11:05:06")
|
2018-11-18 10:16:33 +00:00
|
|
|
(tool "Eeschema (5.0.1)-3")
|
|
|
|
(sheet (number 1) (name /) (tstamps /)
|
|
|
|
(title_block
|
|
|
|
(title "Stairs submodule")
|
|
|
|
(company "Mark van Renswoude")
|
|
|
|
(rev 1)
|
|
|
|
(date 2018-09-02)
|
|
|
|
(source Stairs.sch)
|
|
|
|
(comment (number 1) (value ""))
|
|
|
|
(comment (number 2) (value ""))
|
|
|
|
(comment (number 3) (value ""))
|
|
|
|
(comment (number 4) (value "")))))
|
|
|
|
(components
|
|
|
|
(comp (ref PCA9685)
|
|
|
|
(value PCA9685-TSSOP)
|
|
|
|
(footprint Housings_SSOP:TSSOP-28_4.4x9.7mm_Pitch0.65mm)
|
|
|
|
(datasheet DOCUMENTATION)
|
|
|
|
(libsource (lib PCA9685-TSSOP) (part PCA9685-TSSOP) (description ""))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8AD5C2))
|
|
|
|
(comp (ref U2)
|
|
|
|
(value MAX485)
|
|
|
|
(footprint Housings_SOIC:SO-8_5.3x6.2mm_Pitch1.27mm)
|
|
|
|
(datasheet "Maxim Integrated")
|
|
|
|
(fields
|
|
|
|
(field (name Field4) None)
|
|
|
|
(field (name Field5) Unavailable)
|
|
|
|
(field (name Field6) None)
|
|
|
|
(field (name Field7) MAX485))
|
|
|
|
(libsource (lib MAX485) (part MAX485) (description ""))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8AD72A))
|
|
|
|
(comp (ref P6)
|
|
|
|
(value PWR_IN)
|
|
|
|
(footprint Terminal_Blocks:TerminalBlock_bornier-2_P5.08mm)
|
|
|
|
(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 5B8AD8CA))
|
|
|
|
(comp (ref P5)
|
|
|
|
(value PWR_OUT)
|
|
|
|
(footprint Terminal_Blocks:TerminalBlock_bornier-2_P5.08mm)
|
|
|
|
(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 5B8ADA74))
|
|
|
|
(comp (ref P3)
|
|
|
|
(value SENSOR)
|
|
|
|
(footprint Terminal_Blocks:TerminalBlock_bornier-6_P5.08mm)
|
|
|
|
(libsource (lib Connector_Generic) (part Conn_01x06) (description "Generic connector, single row, 01x06, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8AE6A5))
|
|
|
|
(comp (ref P1)
|
|
|
|
(value DATA_IN)
|
|
|
|
(footprint Terminal_Blocks:TerminalBlock_bornier-2_P5.08mm)
|
|
|
|
(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 5B8AE987))
|
|
|
|
(comp (ref P2)
|
|
|
|
(value DATA_OUT)
|
|
|
|
(footprint Terminal_Blocks:TerminalBlock_bornier-2_P5.08mm)
|
|
|
|
(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 5B8AE9DD))
|
|
|
|
(comp (ref AMS1117)
|
|
|
|
(value AMS1117-5)
|
|
|
|
(footprint AMS1117-5.0:SOT229P700X180-4N)
|
|
|
|
(datasheet AMS1117-5.0)
|
|
|
|
(fields
|
|
|
|
(field (name Field4) None)
|
|
|
|
(field (name Field5) Unavailable)
|
|
|
|
(field (name Field6) "Sot223/Pkg 1-Amp 3.3-Volt Low Drop Out Voltage Regulatator")
|
|
|
|
(field (name Field7) "Advanced Monolithic Systems")
|
|
|
|
(field (name Field8) None))
|
|
|
|
(libsource (lib AMS1117-5.0) (part AMS1117-5.0) (description ""))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8AFB24))
|
|
|
|
(comp (ref C3)
|
|
|
|
(value 10µF)
|
2018-11-25 15:36:34 +00:00
|
|
|
(footprint Capacitors_Tantalum_SMD:CP_Tantalum_Case-D_EIA-7343-31_Reflow)
|
2018-11-18 10:16:33 +00:00
|
|
|
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8B090B))
|
|
|
|
(comp (ref C4)
|
|
|
|
(value 100nF)
|
2018-11-25 15:36:34 +00:00
|
|
|
(footprint Capacitors_SMD:C_1206)
|
2018-11-18 10:16:33 +00:00
|
|
|
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8B1267))
|
|
|
|
(comp (ref C2)
|
|
|
|
(value 33pF)
|
2018-11-25 15:36:34 +00:00
|
|
|
(footprint Capacitors_SMD:C_1206)
|
2018-11-18 10:16:33 +00:00
|
|
|
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8B93C9))
|
|
|
|
(comp (ref C1)
|
|
|
|
(value 33pF)
|
2018-11-25 15:36:34 +00:00
|
|
|
(footprint Capacitors_SMD:C_1206)
|
2018-11-18 10:16:33 +00:00
|
|
|
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8B9824))
|
|
|
|
(comp (ref XTAL1)
|
|
|
|
(value "8 Mhz")
|
|
|
|
(footprint Crystals:Crystal_HC49-U_Vertical)
|
|
|
|
(libsource (lib Device) (part Crystal_Small) (description "Two pin crystal, small symbol"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8B9A62))
|
|
|
|
(comp (ref R1)
|
2018-11-25 15:36:34 +00:00
|
|
|
(value 4.7K)
|
|
|
|
(footprint Resistors_SMD:R_0603)
|
2018-11-18 10:16:33 +00:00
|
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8C2380))
|
|
|
|
(comp (ref P7)
|
|
|
|
(value SSD1306)
|
|
|
|
(footprint Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm)
|
|
|
|
(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 5B8C32B0))
|
|
|
|
(comp (ref Q1)
|
|
|
|
(value IRLB8721PBF)
|
2018-11-25 15:36:34 +00:00
|
|
|
(footprint TO_SOT_Packages_THT:TO-220-3_Vertical)
|
2018-11-18 10:16:33 +00:00
|
|
|
(libsource (lib Transistor_FET) (part IRLB8721PBF) (description "62A Id, 30V Vds, N-Channel MOSFET, TO-220"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8C8EA8))
|
|
|
|
(comp (ref R2)
|
|
|
|
(value 150)
|
2018-11-25 15:36:34 +00:00
|
|
|
(footprint Resistors_SMD:R_0603)
|
2018-11-18 10:16:33 +00:00
|
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8CAD1E))
|
|
|
|
(comp (ref R3)
|
|
|
|
(value 150)
|
2018-11-25 15:36:34 +00:00
|
|
|
(footprint Resistors_SMD:R_0603)
|
2018-11-18 10:16:33 +00:00
|
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8CAE68))
|
|
|
|
(comp (ref Q2)
|
|
|
|
(value IRLB8721PBF)
|
2018-11-25 15:36:34 +00:00
|
|
|
(footprint TO_SOT_Packages_THT:TO-220-3_Vertical)
|
2018-11-18 10:16:33 +00:00
|
|
|
(libsource (lib Transistor_FET) (part IRLB8721PBF) (description "62A Id, 30V Vds, N-Channel MOSFET, TO-220"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8CB00E))
|
|
|
|
(comp (ref P4)
|
|
|
|
(value LED)
|
|
|
|
(footprint Terminal_Blocks:TerminalBlock_bornier-4_P5.08mm)
|
|
|
|
(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 5B8CBF27))
|
|
|
|
(comp (ref R4)
|
|
|
|
(value 10K)
|
2018-11-25 15:36:34 +00:00
|
|
|
(footprint Resistors_SMD:R_0603)
|
2018-11-18 10:16:33 +00:00
|
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B8C6BF9))
|
|
|
|
(comp (ref R5)
|
|
|
|
(value 10K)
|
2018-11-25 15:36:34 +00:00
|
|
|
(footprint Resistors_SMD:R_0603)
|
2018-11-18 10:16:33 +00:00
|
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5B925FBE))
|
|
|
|
(comp (ref J1)
|
|
|
|
(value PROG)
|
|
|
|
(footprint Pin_Headers:Pin_Header_Straight_2x03_Pitch2.54mm)
|
|
|
|
(datasheet ~)
|
|
|
|
(libsource (lib Connector_Generic) (part Conn_02x03_Counter_Clockwise) (description "Generic connector, double row, 02x03, counter clockwise pin numbering scheme (similar to DIP packge numbering), script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5BEBD38C))
|
|
|
|
(comp (ref SW1)
|
|
|
|
(value Button)
|
|
|
|
(footprint SMD-BUTTON_4P-5.2X5.2X1.5MM-SKQGAKE010_:SW4-SMD-5.2X5.2X1.5MM)
|
|
|
|
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
2018-11-25 15:36:34 +00:00
|
|
|
(tstamp 5BF329CF))
|
|
|
|
(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 MCU_Microchip_ATmega) (part ATmega328-AU) (description "20MHz, 32kB Flash, 2kB SRAM, 1kB EEPROM, TQFP-32"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5BF96964))
|
|
|
|
(comp (ref R6)
|
|
|
|
(value 4.7K)
|
|
|
|
(footprint Resistors_SMD:R_0603)
|
|
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5C0CFA3C))
|
|
|
|
(comp (ref C5)
|
|
|
|
(value 100nF)
|
|
|
|
(footprint Capacitors_SMD:C_1206)
|
|
|
|
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5C0DFCEB))
|
|
|
|
(comp (ref D1)
|
|
|
|
(value LED)
|
|
|
|
(footprint LEDs:LED_D5.0mm)
|
|
|
|
(datasheet ~)
|
|
|
|
(libsource (lib Device) (part LED) (description "Light emitting diode"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5BFAB89C))
|
|
|
|
(comp (ref D2)
|
|
|
|
(value LED)
|
|
|
|
(footprint LEDs:LED_D5.0mm)
|
|
|
|
(datasheet ~)
|
|
|
|
(libsource (lib Device) (part LED) (description "Light emitting diode"))
|
|
|
|
(sheetpath (names /) (tstamps /))
|
|
|
|
(tstamp 5BFABDA6)))
|
2018-11-18 10:16:33 +00:00
|
|
|
(libparts
|
|
|
|
(libpart (lib AMS1117-5.0) (part AMS1117-5.0)
|
|
|
|
(fields
|
|
|
|
(field (name Reference) U)
|
|
|
|
(field (name Value) AMS1117-5.0)
|
|
|
|
(field (name Footprint) SOT229P700X180-4N)
|
|
|
|
(field (name Datasheet) "Sot223/Pkg 1-Amp 5-Volt Low Drop Out Voltage Regulatator")
|
|
|
|
(field (name Field4) Unavailable)
|
|
|
|
(field (name Field5) "Advanced Monolithic Systems")
|
|
|
|
(field (name Field6) None)
|
|
|
|
(field (name Field7) None)
|
|
|
|
(field (name Field8) AMS1117-5.0))
|
|
|
|
(pins
|
|
|
|
(pin (num 1) (name ADJ/GND) (type power_in))
|
|
|
|
(pin (num 2) (name VOUT) (type output))
|
|
|
|
(pin (num 3) (name VIN) (type input))))
|
|
|
|
(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_01x06)
|
|
|
|
(description "Generic connector, single row, 01x06, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
|
|
|
(docs ~)
|
|
|
|
(footprints
|
|
|
|
(fp Connector*:*_1x??_*))
|
|
|
|
(fields
|
|
|
|
(field (name Reference) J)
|
|
|
|
(field (name Value) Conn_01x06))
|
|
|
|
(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_02x03_Counter_Clockwise)
|
|
|
|
(description "Generic connector, double row, 02x03, 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_02x03_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))))
|
|
|
|
(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_Small)
|
|
|
|
(description "Two pin crystal, small symbol")
|
|
|
|
(docs ~)
|
|
|
|
(footprints
|
|
|
|
(fp Crystal*))
|
|
|
|
(fields
|
|
|
|
(field (name Reference) Y)
|
|
|
|
(field (name Value) Crystal_Small))
|
|
|
|
(pins
|
|
|
|
(pin (num 1) (name 1) (type passive))
|
|
|
|
(pin (num 2) (name 2) (type passive))))
|
2018-11-25 15:36:34 +00:00
|
|
|
(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))))
|
2018-11-18 10:16:33 +00:00
|
|
|
(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 MAX485) (part MAX485)
|
|
|
|
(footprints
|
|
|
|
(fp DIL08)
|
|
|
|
(fp SO08))
|
|
|
|
(fields
|
|
|
|
(field (name Reference) U)
|
|
|
|
(field (name Value) MAX485)
|
|
|
|
(field (name Datasheet) "Maxim Integrated")
|
|
|
|
(field (name Field4) None)
|
|
|
|
(field (name Field5) Unavailable)
|
|
|
|
(field (name Field6) None)
|
|
|
|
(field (name Field7) MAX485))
|
|
|
|
(pins
|
|
|
|
(pin (num 1) (name RO) (type BiDi))
|
|
|
|
(pin (num 2) (name RE) (type BiDi))
|
|
|
|
(pin (num 3) (name DE) (type BiDi))
|
|
|
|
(pin (num 4) (name DI) (type BiDi))
|
|
|
|
(pin (num 5) (name GND) (type power_in))
|
|
|
|
(pin (num 6) (name A) (type BiDi))
|
|
|
|
(pin (num 7) (name B) (type BiDi))
|
|
|
|
(pin (num 8) (name VCC) (type power_in))))
|
2018-11-25 15:36:34 +00:00
|
|
|
(libpart (lib MCU_Microchip_ATmega) (part ATmega48A-AU)
|
2018-11-18 10:16:33 +00:00
|
|
|
(aliases
|
2018-11-25 15:36:34 +00:00
|
|
|
(alias ATmega48PA-AU)
|
|
|
|
(alias ATmega88A-AU)
|
|
|
|
(alias ATmega88PA-AU)
|
|
|
|
(alias ATmega168A-AU)
|
|
|
|
(alias ATmega168PA-AU)
|
|
|
|
(alias ATmega328-AU)
|
|
|
|
(alias ATmega328P-AU))
|
|
|
|
(description "20MHz, 4kB Flash, 512B SRAM, 256B EEPROM, TQFP-32")
|
|
|
|
(docs http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A_88A_168A-Data-Sheet-40002007A.pdf)
|
2018-11-18 10:16:33 +00:00
|
|
|
(footprints
|
2018-11-25 15:36:34 +00:00
|
|
|
(fp TQFP*7x7mm*P0.8mm*))
|
2018-11-18 10:16:33 +00:00
|
|
|
(fields
|
|
|
|
(field (name Reference) U)
|
2018-11-25 15:36:34 +00:00
|
|
|
(field (name Value) ATmega48A-AU)
|
|
|
|
(field (name Footprint) Package_QFP:TQFP-32_7x7mm_P0.8mm))
|
2018-11-18 10:16:33 +00:00
|
|
|
(pins
|
2018-11-25 15:36:34 +00:00
|
|
|
(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))
|
2018-11-18 10:16:33 +00:00
|
|
|
(pin (num 9) (name PD5) (type 3state))
|
2018-11-25 15:36:34 +00:00
|
|
|
(pin (num 10) (name PD6) (type 3state))
|
|
|
|
(pin (num 11) (name PD7) (type 3state))
|
2018-11-18 10:16:33 +00:00
|
|
|
(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))
|
2018-11-25 15:36:34 +00:00
|
|
|
(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))))
|
2018-11-18 10:16:33 +00:00
|
|
|
(libpart (lib PCA9685-TSSOP) (part PCA9685-TSSOP)
|
|
|
|
(fields
|
|
|
|
(field (name Reference) U)
|
|
|
|
(field (name Value) PCA9685-TSSOP)
|
|
|
|
(field (name Footprint) MODULE)
|
|
|
|
(field (name Datasheet) DOCUMENTATION))
|
|
|
|
(pins
|
|
|
|
(pin (num 1) (name A0) (type input))
|
|
|
|
(pin (num 2) (name A1) (type input))
|
|
|
|
(pin (num 3) (name A2) (type input))
|
|
|
|
(pin (num 4) (name A3) (type input))
|
|
|
|
(pin (num 5) (name A4) (type input))
|
|
|
|
(pin (num 6) (name LED0) (type output))
|
|
|
|
(pin (num 7) (name LED1) (type output))
|
|
|
|
(pin (num 8) (name LED2) (type output))
|
|
|
|
(pin (num 9) (name LED3) (type output))
|
|
|
|
(pin (num 10) (name LED4) (type output))
|
|
|
|
(pin (num 11) (name LED5) (type output))
|
|
|
|
(pin (num 12) (name LED6) (type output))
|
|
|
|
(pin (num 13) (name LED7) (type output))
|
|
|
|
(pin (num 14) (name GND) (type input))
|
|
|
|
(pin (num 15) (name LED8) (type output))
|
|
|
|
(pin (num 16) (name LED9) (type output))
|
|
|
|
(pin (num 17) (name LED10) (type output))
|
|
|
|
(pin (num 18) (name LED11) (type output))
|
|
|
|
(pin (num 19) (name LED12) (type output))
|
|
|
|
(pin (num 20) (name LED13) (type output))
|
|
|
|
(pin (num 21) (name LED14) (type output))
|
|
|
|
(pin (num 22) (name LED15) (type output))
|
|
|
|
(pin (num 23) (name OE) (type input))
|
|
|
|
(pin (num 24) (name A5) (type input))
|
|
|
|
(pin (num 25) (name EXTCLK) (type input))
|
|
|
|
(pin (num 26) (name SCL) (type input))
|
|
|
|
(pin (num 27) (name SDA) (type BiDi))
|
|
|
|
(pin (num 28) (name VCC) (type input))))
|
|
|
|
(libpart (lib Switch) (part SW_Push)
|
|
|
|
(description "Push button switch, generic, two pins")
|
|
|
|
(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 Transistor_FET) (part BUZ11)
|
|
|
|
(aliases
|
|
|
|
(alias IRF3205)
|
|
|
|
(alias IRF540N)
|
|
|
|
(alias IRF740)
|
|
|
|
(alias IRLB8721PBF)
|
|
|
|
(alias IRLZ34N)
|
|
|
|
(alias IRLZ44N))
|
|
|
|
(description "30A Id, 50V Vds, N-Channel Power MOSFET, TO-220")
|
|
|
|
(docs http://www.fairchildsemi.com/ds/BU/BUZ11.pdf)
|
|
|
|
(footprints
|
|
|
|
(fp TO?220*))
|
|
|
|
(fields
|
|
|
|
(field (name Reference) Q)
|
|
|
|
(field (name Value) BUZ11)
|
|
|
|
(field (name Footprint) Package_TO_SOT_THT:TO-220-3_Vertical))
|
|
|
|
(pins
|
|
|
|
(pin (num 1) (name G) (type input))
|
|
|
|
(pin (num 2) (name D) (type passive))
|
|
|
|
(pin (num 3) (name S) (type passive)))))
|
|
|
|
(libraries
|
|
|
|
(library (logical AMS1117-5.0)
|
|
|
|
(uri P:\Electronics\Stairs\kicad/libs/AMS1117-5.0.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 MAX485)
|
|
|
|
(uri P:\Electronics\Stairs\kicad/libs/MAX485.lib))
|
2018-11-25 15:36:34 +00:00
|
|
|
(library (logical MCU_Microchip_ATmega)
|
|
|
|
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/MCU_Microchip_ATmega.lib"))
|
2018-11-18 10:16:33 +00:00
|
|
|
(library (logical PCA9685-TSSOP)
|
|
|
|
(uri P:\Electronics\Stairs\kicad/libs/PCA9685-TSSOP.lib))
|
|
|
|
(library (logical Switch)
|
|
|
|
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Switch.lib"))
|
|
|
|
(library (logical Transistor_FET)
|
|
|
|
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Transistor_FET.lib")))
|
|
|
|
(nets
|
2018-11-25 15:36:34 +00:00
|
|
|
(net (code 1) (name GND)
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref C4) (pin 1))
|
2018-11-25 15:36:34 +00:00
|
|
|
(node (ref U1) (pin 3))
|
|
|
|
(node (ref U1) (pin 5))
|
|
|
|
(node (ref R4) (pin 2))
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref C3) (pin 1))
|
2018-11-25 15:36:34 +00:00
|
|
|
(node (ref C5) (pin 2))
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref C1) (pin 2))
|
2018-11-25 15:36:34 +00:00
|
|
|
(node (ref D2) (pin 1))
|
|
|
|
(node (ref D1) (pin 1))
|
|
|
|
(node (ref U1) (pin 21))
|
|
|
|
(node (ref SW1) (pin 2))
|
|
|
|
(node (ref Q2) (pin 3))
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref P7) (pin 4))
|
2018-11-25 15:36:34 +00:00
|
|
|
(node (ref Q1) (pin 3))
|
|
|
|
(node (ref AMS1117) (pin 1))
|
|
|
|
(node (ref J1) (pin 4))
|
|
|
|
(node (ref C2) (pin 2))
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref PCA9685) (pin 14))
|
2018-11-25 15:36:34 +00:00
|
|
|
(node (ref P3) (pin 5))
|
|
|
|
(node (ref P3) (pin 2))
|
|
|
|
(node (ref P5) (pin 2))
|
|
|
|
(node (ref P6) (pin 1))
|
|
|
|
(node (ref U2) (pin 5)))
|
|
|
|
(net (code 2) (name "Net-(P3-Pad3)")
|
|
|
|
(node (ref U1) (pin 24))
|
|
|
|
(node (ref P3) (pin 3)))
|
|
|
|
(net (code 3) (name "Net-(P3-Pad6)")
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref P3) (pin 6))
|
2018-11-25 15:36:34 +00:00
|
|
|
(node (ref U1) (pin 25)))
|
|
|
|
(net (code 4) (name +5V)
|
|
|
|
(node (ref P3) (pin 4))
|
|
|
|
(node (ref P3) (pin 1))
|
|
|
|
(node (ref U2) (pin 8))
|
|
|
|
(node (ref U1) (pin 18))
|
|
|
|
(node (ref AMS1117) (pin 2))
|
|
|
|
(node (ref C4) (pin 2))
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref J1) (pin 6))
|
2018-11-25 15:36:34 +00:00
|
|
|
(node (ref C3) (pin 2))
|
|
|
|
(node (ref PCA9685) (pin 28))
|
|
|
|
(node (ref U1) (pin 4))
|
|
|
|
(node (ref U1) (pin 6))
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref R5) (pin 2))
|
|
|
|
(node (ref R1) (pin 1))
|
2018-11-25 15:36:34 +00:00
|
|
|
(node (ref R6) (pin 2))
|
|
|
|
(node (ref P7) (pin 3)))
|
|
|
|
(net (code 5) (name MISO)
|
|
|
|
(node (ref R6) (pin 1))
|
|
|
|
(node (ref U1) (pin 16))
|
|
|
|
(node (ref J1) (pin 1)))
|
|
|
|
(net (code 6) (name RST)
|
|
|
|
(node (ref U1) (pin 29))
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref J1) (pin 3))
|
|
|
|
(node (ref R5) (pin 1)))
|
2018-11-25 15:36:34 +00:00
|
|
|
(net (code 7) (name MOSI)
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref PCA9685) (pin 27))
|
|
|
|
(node (ref R1) (pin 2))
|
2018-11-25 15:36:34 +00:00
|
|
|
(node (ref J1) (pin 5))
|
|
|
|
(node (ref U1) (pin 15))
|
|
|
|
(node (ref P7) (pin 1)))
|
|
|
|
(net (code 8) (name "Net-(Q1-Pad1)")
|
|
|
|
(node (ref Q1) (pin 1))
|
|
|
|
(node (ref R2) (pin 2)))
|
|
|
|
(net (code 9) (name /PD)
|
|
|
|
(node (ref R4) (pin 1))
|
|
|
|
(node (ref PCA9685) (pin 5))
|
|
|
|
(node (ref PCA9685) (pin 4))
|
|
|
|
(node (ref PCA9685) (pin 3))
|
|
|
|
(node (ref PCA9685) (pin 24))
|
|
|
|
(node (ref PCA9685) (pin 23))
|
|
|
|
(node (ref PCA9685) (pin 1))
|
|
|
|
(node (ref PCA9685) (pin 2)))
|
|
|
|
(net (code 10) (name "Net-(U1-Pad9)")
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref U1) (pin 9)))
|
2018-11-25 15:36:34 +00:00
|
|
|
(net (code 11) (name "Net-(U1-Pad2)")
|
|
|
|
(node (ref U1) (pin 2)))
|
|
|
|
(net (code 12) (name "Net-(U1-Pad14)")
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref U1) (pin 14)))
|
2018-11-25 15:36:34 +00:00
|
|
|
(net (code 13) (name "Net-(U1-Pad13)")
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref U1) (pin 13)))
|
2018-11-25 15:36:34 +00:00
|
|
|
(net (code 14) (name +12V)
|
|
|
|
(node (ref P5) (pin 1))
|
|
|
|
(node (ref P4) (pin 2))
|
|
|
|
(node (ref P4) (pin 4))
|
|
|
|
(node (ref P6) (pin 2))
|
|
|
|
(node (ref AMS1117) (pin 3)))
|
|
|
|
(net (code 15) (name "Net-(U1-Pad28)")
|
|
|
|
(node (ref U1) (pin 28)))
|
|
|
|
(net (code 16) (name "Net-(C5-Pad1)")
|
|
|
|
(node (ref C5) (pin 1))
|
|
|
|
(node (ref U1) (pin 20)))
|
|
|
|
(net (code 17) (name "Net-(U1-Pad27)")
|
|
|
|
(node (ref U1) (pin 27)))
|
|
|
|
(net (code 18) (name "Net-(U1-Pad26)")
|
|
|
|
(node (ref U1) (pin 26)))
|
|
|
|
(net (code 19) (name "Net-(U1-Pad10)")
|
|
|
|
(node (ref U1) (pin 10)))
|
|
|
|
(net (code 20) (name "Net-(U1-Pad1)")
|
|
|
|
(node (ref U1) (pin 1)))
|
|
|
|
(net (code 21) (name "Net-(U1-Pad23)")
|
|
|
|
(node (ref U1) (pin 23)))
|
|
|
|
(net (code 22) (name "Net-(C1-Pad1)")
|
|
|
|
(node (ref U1) (pin 7))
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref XTAL1) (pin 2))
|
|
|
|
(node (ref C1) (pin 1)))
|
2018-11-25 15:36:34 +00:00
|
|
|
(net (code 23) (name "Net-(D2-Pad2)")
|
|
|
|
(node (ref PCA9685) (pin 9))
|
|
|
|
(node (ref D2) (pin 2)))
|
|
|
|
(net (code 24) (name "Net-(D1-Pad2)")
|
|
|
|
(node (ref D1) (pin 2))
|
|
|
|
(node (ref PCA9685) (pin 8)))
|
|
|
|
(net (code 25) (name "Net-(C2-Pad1)")
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref XTAL1) (pin 1))
|
2018-11-25 15:36:34 +00:00
|
|
|
(node (ref U1) (pin 8))
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref C2) (pin 1)))
|
2018-11-25 15:36:34 +00:00
|
|
|
(net (code 26) (name "Net-(U1-Pad11)")
|
|
|
|
(node (ref U1) (pin 11)))
|
|
|
|
(net (code 27) (name "Net-(U1-Pad22)")
|
|
|
|
(node (ref U1) (pin 22)))
|
|
|
|
(net (code 28) (name "Net-(U1-Pad19)")
|
|
|
|
(node (ref U1) (pin 19)))
|
|
|
|
(net (code 29) (name "Net-(SW1-Pad1)")
|
|
|
|
(node (ref SW1) (pin 1))
|
|
|
|
(node (ref U1) (pin 12)))
|
|
|
|
(net (code 30) (name "Net-(PCA9685-Pad21)")
|
|
|
|
(node (ref PCA9685) (pin 21)))
|
|
|
|
(net (code 31) (name "Net-(PCA9685-Pad6)")
|
|
|
|
(node (ref R2) (pin 1))
|
|
|
|
(node (ref PCA9685) (pin 6)))
|
|
|
|
(net (code 32) (name SCK)
|
|
|
|
(node (ref P7) (pin 2))
|
|
|
|
(node (ref U1) (pin 17))
|
|
|
|
(node (ref PCA9685) (pin 26))
|
|
|
|
(node (ref J1) (pin 2)))
|
|
|
|
(net (code 33) (name "Net-(PCA9685-Pad25)")
|
|
|
|
(node (ref PCA9685) (pin 25)))
|
|
|
|
(net (code 34) (name "Net-(PCA9685-Pad22)")
|
|
|
|
(node (ref PCA9685) (pin 22)))
|
|
|
|
(net (code 35) (name "Net-(PCA9685-Pad20)")
|
|
|
|
(node (ref PCA9685) (pin 20)))
|
|
|
|
(net (code 36) (name "Net-(PCA9685-Pad19)")
|
|
|
|
(node (ref PCA9685) (pin 19)))
|
|
|
|
(net (code 37) (name "Net-(PCA9685-Pad18)")
|
|
|
|
(node (ref PCA9685) (pin 18)))
|
|
|
|
(net (code 38) (name "Net-(PCA9685-Pad17)")
|
|
|
|
(node (ref PCA9685) (pin 17)))
|
|
|
|
(net (code 39) (name "Net-(PCA9685-Pad16)")
|
|
|
|
(node (ref PCA9685) (pin 16)))
|
|
|
|
(net (code 40) (name "Net-(PCA9685-Pad15)")
|
|
|
|
(node (ref PCA9685) (pin 15)))
|
|
|
|
(net (code 41) (name "Net-(PCA9685-Pad13)")
|
|
|
|
(node (ref PCA9685) (pin 13)))
|
|
|
|
(net (code 42) (name "Net-(PCA9685-Pad12)")
|
|
|
|
(node (ref PCA9685) (pin 12)))
|
|
|
|
(net (code 43) (name "Net-(PCA9685-Pad11)")
|
|
|
|
(node (ref PCA9685) (pin 11)))
|
|
|
|
(net (code 44) (name "Net-(PCA9685-Pad10)")
|
|
|
|
(node (ref PCA9685) (pin 10)))
|
|
|
|
(net (code 45) (name "Net-(P1-Pad1)")
|
|
|
|
(node (ref U2) (pin 7))
|
|
|
|
(node (ref P1) (pin 1))
|
|
|
|
(node (ref P2) (pin 2)))
|
|
|
|
(net (code 46) (name "Net-(U1-Pad32)")
|
|
|
|
(node (ref U2) (pin 3))
|
|
|
|
(node (ref U2) (pin 2))
|
|
|
|
(node (ref U1) (pin 32)))
|
|
|
|
(net (code 47) (name "Net-(U1-Pad30)")
|
|
|
|
(node (ref U2) (pin 1))
|
|
|
|
(node (ref U1) (pin 30)))
|
|
|
|
(net (code 48) (name "Net-(P4-Pad3)")
|
|
|
|
(node (ref P4) (pin 3))
|
|
|
|
(node (ref Q1) (pin 2)))
|
|
|
|
(net (code 49) (name "Net-(P4-Pad1)")
|
|
|
|
(node (ref P4) (pin 1))
|
|
|
|
(node (ref Q2) (pin 2)))
|
|
|
|
(net (code 50) (name "Net-(Q2-Pad1)")
|
|
|
|
(node (ref Q2) (pin 1))
|
|
|
|
(node (ref R3) (pin 2)))
|
|
|
|
(net (code 51) (name "Net-(PCA9685-Pad7)")
|
|
|
|
(node (ref R3) (pin 1))
|
|
|
|
(node (ref PCA9685) (pin 7)))
|
|
|
|
(net (code 52) (name "Net-(P1-Pad2)")
|
2018-11-18 10:16:33 +00:00
|
|
|
(node (ref P2) (pin 1))
|
2018-11-25 15:36:34 +00:00
|
|
|
(node (ref P1) (pin 2))
|
|
|
|
(node (ref U2) (pin 6)))
|
|
|
|
(net (code 53) (name "Net-(U1-Pad31)")
|
|
|
|
(node (ref U1) (pin 31))
|
|
|
|
(node (ref U2) (pin 4)))))
|