236 lines
8.8 KiB
Plaintext
236 lines
8.8 KiB
Plaintext
(export (version D)
|
|
(design
|
|
(source /home/ace/Programming/Hardware/ThinkpadBattery/KiCad/battery.sch)
|
|
(date "Sat 10 Oct 2020 02:44:43 AM")
|
|
(tool "Eeschema 5.1.5+dfsg1-2build2")
|
|
(sheet (number 1) (name /) (tstamps /)
|
|
(title_block
|
|
(title)
|
|
(company)
|
|
(rev)
|
|
(date)
|
|
(source battery.sch)
|
|
(comment (number 1) (value ""))
|
|
(comment (number 2) (value ""))
|
|
(comment (number 3) (value ""))
|
|
(comment (number 4) (value "")))))
|
|
(components
|
|
(comp (ref R2)
|
|
(value 10K)
|
|
(footprint Resistor_SMD:R_0402_1005Metric)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5EC31CEC))
|
|
(comp (ref R1)
|
|
(value 3.3K)
|
|
(footprint Resistor_SMD:R_0402_1005Metric)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5EC30F8F))
|
|
(comp (ref U2)
|
|
(value LD1117S33TR_SOT223)
|
|
(footprint Package_TO_SOT_SMD:SOT-223-3_TabPin2)
|
|
(datasheet http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00000544.pdf)
|
|
(libsource (lib Regulator_Linear) (part LD1117S33TR_SOT223) (description "800mA Fixed Low Drop Positive Voltage Regulator, Fixed Output 3.3V, SOT-223"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5EC32906))
|
|
(comp (ref U1)
|
|
(value ATtiny85-20SU)
|
|
(footprint Package_SO:SOIJ-8_5.3x5.3mm_P1.27mm)
|
|
(datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/atmel-2586-avr-8-bit-microcontroller-attiny25-attiny45-attiny85_datasheet.pdf)
|
|
(libsource (lib MCU_Microchip_ATtiny) (part ATtiny85-20SU) (description "20MHz, 8kB Flash, 512B SRAM, 512B EEPROM, debugWIRE, SOIJ-8"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5EC2F108))
|
|
(comp (ref R4)
|
|
(value 10k)
|
|
(footprint Resistor_SMD:R_0402_1005Metric)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5F803F9D))
|
|
(comp (ref C1)
|
|
(value 22uF)
|
|
(footprint Capacitor_SMD:C_0805_2012Metric)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5F8051D0))
|
|
(comp (ref R3)
|
|
(value 10k)
|
|
(footprint Resistor_SMD:R_0402_1005Metric)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5F813E79))
|
|
(comp (ref J1)
|
|
(value Conn_01x06_Male)
|
|
(footprint Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Horizontal)
|
|
(datasheet ~)
|
|
(libsource (lib Connector) (part Conn_01x06_Male) (description "Generic connector, single row, 01x06, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5F8168A9))
|
|
(comp (ref C2)
|
|
(value 22uF)
|
|
(footprint Capacitor_SMD:C_0805_2012Metric)
|
|
(datasheet ~)
|
|
(libsource (lib Device) (part R) (description Resistor))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5F823DED))
|
|
(comp (ref J2)
|
|
(value Conn_01x02_Male)
|
|
(datasheet ~)
|
|
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5F81605B)))
|
|
(libparts
|
|
(libpart (lib Connector) (part Conn_01x02_Male)
|
|
(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_Male))
|
|
(pins
|
|
(pin (num 1) (name Pin_1) (type passive))
|
|
(pin (num 2) (name Pin_2) (type passive))))
|
|
(libpart (lib Connector) (part Conn_01x06_Male)
|
|
(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_Male))
|
|
(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 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 ATtiny25V-10SU)
|
|
(aliases
|
|
(alias ATtiny25-20SU)
|
|
(alias ATtiny45V-10SU)
|
|
(alias ATtiny45-20SU)
|
|
(alias ATtiny85V-10SU)
|
|
(alias ATtiny85-20SU))
|
|
(description "10MHz, 2kB Flash, 128B SRAM, 128B EEPROM, debugWIRE, SOIJ-8")
|
|
(docs http://ww1.microchip.com/downloads/en/DeviceDoc/atmel-2586-avr-8-bit-microcontroller-attiny25-attiny45-attiny85_datasheet.pdf)
|
|
(footprints
|
|
(fp SOIJ*5.3x5.3mm*P1.27mm*))
|
|
(fields
|
|
(field (name Reference) U)
|
|
(field (name Value) ATtiny25V-10SU)
|
|
(field (name Footprint) Package_SO:SOIJ-8_5.3x5.3mm_P1.27mm))
|
|
(pins
|
|
(pin (num 1) (name ~RESET~/PB5) (type BiDi))
|
|
(pin (num 2) (name XTAL1/PB3) (type BiDi))
|
|
(pin (num 3) (name XTAL2/PB4) (type BiDi))
|
|
(pin (num 4) (name GND) (type power_in))
|
|
(pin (num 5) (name AREF/PB0) (type BiDi))
|
|
(pin (num 6) (name PB1) (type BiDi))
|
|
(pin (num 7) (name PB2) (type BiDi))
|
|
(pin (num 8) (name VCC) (type power_in))))
|
|
(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)
|
|
(uri /usr/share/kicad/library/Connector.lib))
|
|
(library (logical Device)
|
|
(uri /usr/share/kicad/library/Device.lib))
|
|
(library (logical MCU_Microchip_ATtiny)
|
|
(uri /usr/share/kicad/library/MCU_Microchip_ATtiny.lib))
|
|
(library (logical Regulator_Linear)
|
|
(uri /usr/share/kicad/library/Regulator_Linear.lib)))
|
|
(nets
|
|
(net (code 1) (name SCL)
|
|
(node (ref J1) (pin 3))
|
|
(node (ref U1) (pin 7)))
|
|
(net (code 2) (name GND)
|
|
(node (ref U1) (pin 4))
|
|
(node (ref U2) (pin 1))
|
|
(node (ref R1) (pin 1))
|
|
(node (ref J2) (pin 2))
|
|
(node (ref C2) (pin 2))
|
|
(node (ref J1) (pin 6))
|
|
(node (ref C1) (pin 2)))
|
|
(net (code 3) (name T_C)
|
|
(node (ref U1) (pin 3))
|
|
(node (ref R3) (pin 1)))
|
|
(net (code 4) (name SDA)
|
|
(node (ref J1) (pin 2))
|
|
(node (ref U1) (pin 5)))
|
|
(net (code 5) (name 3.3v)
|
|
(node (ref C1) (pin 1))
|
|
(node (ref J2) (pin 1))
|
|
(node (ref U2) (pin 2))
|
|
(node (ref U1) (pin 8))
|
|
(node (ref R4) (pin 1)))
|
|
(net (code 6) (name T)
|
|
(node (ref R3) (pin 2))
|
|
(node (ref J1) (pin 4)))
|
|
(net (code 7) (name CurrentSensor)
|
|
(node (ref U1) (pin 6))
|
|
(node (ref J1) (pin 5)))
|
|
(net (code 8) (name 12v)
|
|
(node (ref U2) (pin 3))
|
|
(node (ref C2) (pin 1))
|
|
(node (ref R2) (pin 1))
|
|
(node (ref J1) (pin 1)))
|
|
(net (code 9) (name R)
|
|
(node (ref R4) (pin 2))
|
|
(node (ref U1) (pin 1)))
|
|
(net (code 10) (name VBatSensor)
|
|
(node (ref U1) (pin 2))
|
|
(node (ref R1) (pin 2))
|
|
(node (ref R2) (pin 2))))) |