You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

312 lines
12 KiB
Plaintext

(export (version D)
(design
(source C:\Users\Cole\Documents\lamp_pcb\lamp_pcb.sch)
(date "5/29/2021 4:51:06 PM")
(tool "Eeschema (5.1.7)-1")
(sheet (number 1) (name /) (tstamps /)
(title_block
(title)
(company)
(rev)
(date)
(source lamp_pcb.sch)
(comment (number 1) (value ""))
(comment (number 2) (value ""))
(comment (number 3) (value ""))
(comment (number 4) (value "")))))
(components
(comp (ref P1)
(value USB_C_Plug_USB2.0)
(footprint Connector_USB:USB_C_Plug_Molex_105444)
(datasheet https://www.usb.org/sites/default/files/documents/usb_type-c.zip)
(libsource (lib Connector) (part USB_C_Plug_USB2.0) (description "USB 2.0-only Type-C Plug connector"))
(sheetpath (names /) (tstamps /))
(tstamp 60B29D1E))
(comp (ref D1)
(value LED_RGBC)
(footprint Connector_PinHeader_1.00mm:PinHeader_2x02_P1.00mm_Vertical)
(datasheet ~)
(libsource (lib Device) (part LED_RGBC) (description "RGB LED, red/green/blue/cathode"))
(sheetpath (names /) (tstamps /))
(tstamp 60B3463D))
(comp (ref R3)
(value 220)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 60B383AA))
(comp (ref R1)
(value 220)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 60B393AF))
(comp (ref R2)
(value 220)
(footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 60B3964C))
(comp (ref J2)
(value Conn_01x04_Female)
(footprint Connector_PinHeader_1.00mm:PinHeader_1x04_P1.00mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x04_Female) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 60B3AEC9))
(comp (ref U1)
(value ATtiny261A-SU)
(footprint Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm)
(datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/doc8197.pdf)
(libsource (lib MCU_Microchip_ATtiny) (part ATtiny261A-SU) (description "20MHz, 2kB Flash, 128B SRAM, 128B EEPROM, SOIC-20"))
(sheetpath (names /) (tstamps /))
(tstamp 60B444FB))
(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 60B5C7F7))
(comp (ref J3)
(value Conn_01x02_Female)
(footprint Connector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Female) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 60B5ABF8))
(comp (ref J1)
(value Conn_01x02_Female)
(footprint Connector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Female) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 60B66FC2))
(comp (ref C1)
(value 0.1uF)
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 60B6B842))
(comp (ref C2)
(value 0.1uF)
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 60B6F8BF)))
(libparts
(libpart (lib Connector) (part Conn_01x02_Female)
(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_Female))
(pins
(pin (num 1) (name Pin_1) (type passive))
(pin (num 2) (name Pin_2) (type passive))))
(libpart (lib Connector) (part Conn_01x04_Female)
(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_Female))
(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) (part USB_C_Plug_USB2.0)
(description "USB 2.0-only Type-C Plug connector")
(docs https://www.usb.org/sites/default/files/documents/usb_type-c.zip)
(footprints
(fp USB*C*Plug*))
(fields
(field (name Reference) P)
(field (name Value) USB_C_Plug_USB2.0))
(pins
(pin (num A1) (name GND) (type passive))
(pin (num A4) (name VBUS) (type passive))
(pin (num A5) (name CC) (type BiDi))
(pin (num A6) (name D+) (type BiDi))
(pin (num A7) (name D-) (type BiDi))
(pin (num A9) (name VBUS) (type passive))
(pin (num A12) (name GND) (type passive))
(pin (num B1) (name GND) (type passive))
(pin (num B4) (name VBUS) (type passive))
(pin (num B5) (name VCONN) (type BiDi))
(pin (num B9) (name VBUS) (type passive))
(pin (num B12) (name GND) (type passive))
(pin (num S1) (name SHIELD) (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 LED_RGBC)
(description "RGB LED, red/green/blue/cathode")
(docs ~)
(footprints
(fp LED*)
(fp LED_SMD:*)
(fp LED_THT:*))
(fields
(field (name Reference) D)
(field (name Value) LED_RGBC))
(pins
(pin (num 1) (name RA) (type passive))
(pin (num 2) (name GA) (type passive))
(pin (num 3) (name BA) (type passive))
(pin (num 4) (name K) (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 MCU_Microchip_ATtiny) (part ATtiny461V-10SU)
(aliases
(alias ATtiny461-20SU)
(alias ATtiny861V-10SU)
(alias ATtiny861-20SU)
(alias ATtiny261A-SU)
(alias ATtiny461A-SU)
(alias ATtiny861A-SU))
(description "10MHz, 4kB Flash, 256B SRAM, 256B EEPROM, SOIC-20")
(docs http://ww1.microchip.com/downloads/en/DeviceDoc/atmel-2588-8-bit-avr-microcontrollers-tinyavr-attiny261-attiny461-attiny861_datasheet.pdf)
(footprints
(fp SOIC*7.5x12.8mm*P1.27mm*))
(fields
(field (name Reference) U)
(field (name Value) ATtiny461V-10SU)
(field (name Footprint) Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm))
(pins
(pin (num 1) (name PB0) (type BiDi))
(pin (num 2) (name PB1) (type BiDi))
(pin (num 3) (name PB2) (type BiDi))
(pin (num 4) (name PB3) (type BiDi))
(pin (num 5) (name VCC) (type power_in))
(pin (num 6) (name GND) (type power_in))
(pin (num 7) (name XTAL1/PB4) (type BiDi))
(pin (num 8) (name XTAL2/PB5) (type BiDi))
(pin (num 9) (name PB6) (type BiDi))
(pin (num 10) (name ~RESET~/PB7) (type BiDi))
(pin (num 11) (name PA7) (type BiDi))
(pin (num 12) (name PA6) (type BiDi))
(pin (num 13) (name PA5) (type BiDi))
(pin (num 14) (name PA4) (type BiDi))
(pin (num 15) (name AVCC) (type power_in))
(pin (num 16) (name AGND) (type power_in))
(pin (num 17) (name AREF/PA3) (type BiDi))
(pin (num 18) (name PA2) (type BiDi))
(pin (num 19) (name PA1) (type BiDi))
(pin (num 20) (name PA0) (type BiDi)))))
(libraries
(library (logical Connector)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Connector.lib"))
(library (logical Device)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Device.lib"))
(library (logical MCU_Microchip_ATtiny)
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library/MCU_Microchip_ATtiny.lib")))
(nets
(net (code 1) (name "Net-(J2-Pad4)")
(node (ref J2) (pin 4))
(node (ref U1) (pin 3)))
(net (code 2) (name "Net-(J2-Pad1)")
(node (ref U1) (pin 10))
(node (ref J2) (pin 1)))
(net (code 3) (name "Net-(J3-Pad2)")
(node (ref J3) (pin 2))
(node (ref U1) (pin 20))
(node (ref R4) (pin 1)))
(net (code 4) (name "Net-(J2-Pad2)")
(node (ref J2) (pin 2))
(node (ref R3) (pin 2))
(node (ref U1) (pin 1)))
(net (code 5) (name "Net-(J2-Pad3)")
(node (ref U1) (pin 2))
(node (ref J2) (pin 3)))
(net (code 6) (name "Net-(C1-Pad1)")
(node (ref C1) (pin 1))
(node (ref C2) (pin 1))
(node (ref P1) (pin A4))
(node (ref P1) (pin A9))
(node (ref P1) (pin B4))
(node (ref P1) (pin B9))
(node (ref U1) (pin 5))
(node (ref U1) (pin 15))
(node (ref J3) (pin 1))
(node (ref J1) (pin 1)))
(net (code 7) (name "Net-(R2-Pad2)")
(node (ref U1) (pin 8))
(node (ref R2) (pin 2)))
(net (code 8) (name "Net-(D1-Pad3)")
(node (ref D1) (pin 3))
(node (ref R3) (pin 1)))
(net (code 9) (name "Net-(R1-Pad2)")
(node (ref U1) (pin 4))
(node (ref R1) (pin 2)))
(net (code 10) (name "Net-(D1-Pad1)")
(node (ref R2) (pin 1))
(node (ref D1) (pin 1)))
(net (code 11) (name "Net-(D1-Pad2)")
(node (ref D1) (pin 2))
(node (ref R1) (pin 1)))
(net (code 12) (name "Net-(P1-PadB5)")
(node (ref P1) (pin B5)))
(net (code 13) (name "Net-(P1-PadA5)")
(node (ref P1) (pin A5)))
(net (code 14) (name "Net-(P1-PadA6)")
(node (ref P1) (pin A6)))
(net (code 15) (name "Net-(P1-PadA7)")
(node (ref P1) (pin A7)))
(net (code 16) (name "Net-(C1-Pad2)")
(node (ref R4) (pin 2))
(node (ref C2) (pin 2))
(node (ref U1) (pin 16))
(node (ref C1) (pin 2))
(node (ref P1) (pin B1))
(node (ref P1) (pin A1))
(node (ref P1) (pin A12))
(node (ref P1) (pin B12))
(node (ref J1) (pin 2))
(node (ref U1) (pin 6))
(node (ref D1) (pin 4))
(node (ref P1) (pin S1)))
(net (code 17) (name "Net-(U1-Pad7)")
(node (ref U1) (pin 7)))
(net (code 18) (name "Net-(U1-Pad9)")
(node (ref U1) (pin 9)))
(net (code 19) (name "Net-(U1-Pad13)")
(node (ref U1) (pin 13)))
(net (code 20) (name "Net-(U1-Pad11)")
(node (ref U1) (pin 11)))
(net (code 21) (name "Net-(U1-Pad12)")
(node (ref U1) (pin 12)))
(net (code 22) (name "Net-(U1-Pad14)")
(node (ref U1) (pin 14)))
(net (code 23) (name "Net-(U1-Pad17)")
(node (ref U1) (pin 17)))
(net (code 24) (name "Net-(U1-Pad18)")
(node (ref U1) (pin 18)))
(net (code 25) (name "Net-(U1-Pad19)")
(node (ref U1) (pin 19)))))