Mark van Renswoude
b20ce09a2c
OLED worked, displaying large digits worked, reading VCC level worked, started refactoring. Does not currently build, but I'm too tired to figure it out right now.
158 lines
5.7 KiB
Plaintext
158 lines
5.7 KiB
Plaintext
(export (version D)
|
|
(design
|
|
(source P:\Arduino\GameCounter\GameCounter.sch)
|
|
(date "31-7-2017 19:56:04")
|
|
(tool "Eeschema (2017-07-28 revision 75cda5021)-makepkg")
|
|
(sheet (number 1) (name /) (tstamps /)
|
|
(title_block
|
|
(title "Game Counter")
|
|
(company "Mark van Renswoude")
|
|
(rev)
|
|
(date)
|
|
(source GameCounter.sch)
|
|
(comment (number 1) (value ""))
|
|
(comment (number 2) (value ""))
|
|
(comment (number 3) (value ""))
|
|
(comment (number 4) (value "")))))
|
|
(components
|
|
(comp (ref U1)
|
|
(value ATTINY85-20SU)
|
|
(footprint ATTiny85_HandSoldering:SOIC-8_3.9x4.9mm_Pitch1.27mm)
|
|
(libsource (lib atmel) (part ATTINY85-20SU))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 597F285D))
|
|
(comp (ref J1)
|
|
(value "SSD1306 I2C")
|
|
(footprint Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm)
|
|
(libsource (lib conn) (part CONN_01X04_FEMALE))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 597F2CA0))
|
|
(comp (ref R1)
|
|
(value 10k)
|
|
(footprint Resistors_SMD:R_0603_HandSoldering)
|
|
(libsource (lib device) (part R))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 597F3D75))
|
|
(comp (ref C1)
|
|
(value C)
|
|
(footprint Capacitors_ThroughHole:C_Disc_D3.0mm_W1.6mm_P2.50mm)
|
|
(libsource (lib device) (part C))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 597F4561))
|
|
(comp (ref SW1)
|
|
(value SW_Push)
|
|
(footprint Switch_SMD_5x5mm:Switch_SMD_5x5mm)
|
|
(libsource (lib switches) (part SW_Push))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 597F567B))
|
|
(comp (ref SW2)
|
|
(value SW_Push)
|
|
(footprint Switch_SMD_5x5mm:Switch_SMD_5x5mm)
|
|
(libsource (lib switches) (part SW_Push))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 597F574D))
|
|
(comp (ref SW3)
|
|
(value SW_Push)
|
|
(footprint Switch_SMD_5x5mm:Switch_SMD_5x5mm)
|
|
(libsource (lib switches) (part SW_Push))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 597F5781)))
|
|
(libparts
|
|
(libpart (lib atmel) (part ATTINY25-20SU)
|
|
(aliases
|
|
(alias ATTINY45-20SU)
|
|
(alias ATTINY85-20SU))
|
|
(description "SO8 Wide, 2k Flash, 128B SRAM, 128B EEPROM, Debug Wire")
|
|
(docs http://www.atmel.com/images/atmel-2586-avr-8-bit-microcontroller-attiny25-attiny45-attiny85_datasheet.pdf)
|
|
(fields
|
|
(field (name Reference) U)
|
|
(field (name Value) ATTINY25-20SU)
|
|
(field (name Footprint) Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm))
|
|
(pins
|
|
(pin (num 1) (name "PB5(~RESET~/dW/ADC0/PCINT5)") (type BiDi))
|
|
(pin (num 2) (name "PB3(XTAL1/CLKI/~OC1B~/ADC3/PCINT3)") (type BiDi))
|
|
(pin (num 3) (name "PB4(XTAL2/CLKO/OC1B/ADC2/PCINT4)") (type BiDi))
|
|
(pin (num 4) (name GND) (type power_in))
|
|
(pin (num 5) (name "PB0(MOSI/DI/SDA/AIN0/OC0A/~OC1A~/AREF/PCINT0)") (type BiDi))
|
|
(pin (num 6) (name "PB1(MISO/DO/AIN1/OC0B/OC1A/PCINT1)") (type BiDi))
|
|
(pin (num 7) (name "PB2(SCK/USCK/SCL/T0/INT0/ADC1/PCINT2)") (type BiDi))
|
|
(pin (num 8) (name VCC) (type power_in))))
|
|
(libpart (lib device) (part C)
|
|
(description "Unpolarized capacitor")
|
|
(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 conn) (part CONN_01X04_FEMALE)
|
|
(description "Generic Female Connector, Single Row, 01x04, socket header")
|
|
(fields
|
|
(field (name Reference) J)
|
|
(field (name Value) CONN_01X04_FEMALE))
|
|
(pins
|
|
(pin (num 1) (name 1) (type passive))
|
|
(pin (num 2) (name 2) (type passive))
|
|
(pin (num 3) (name 3) (type passive))
|
|
(pin (num 4) (name 4) (type passive))))
|
|
(libpart (lib device) (part R)
|
|
(description Resistor)
|
|
(footprints
|
|
(fp R_*)
|
|
(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 switches) (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)))))
|
|
(libraries
|
|
(library (logical switches)
|
|
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\switches.lib"))
|
|
(library (logical atmel)
|
|
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\atmel.lib"))
|
|
(library (logical conn)
|
|
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\conn.lib"))
|
|
(library (logical device)
|
|
(uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\device.lib")))
|
|
(nets
|
|
(net (code 1) (name "Net-(SW2-Pad1)")
|
|
(node (ref SW2) (pin 1))
|
|
(node (ref U1) (pin 2)))
|
|
(net (code 2) (name "Net-(SW1-Pad1)")
|
|
(node (ref U1) (pin 6))
|
|
(node (ref SW1) (pin 1)))
|
|
(net (code 3) (name GND)
|
|
(node (ref J1) (pin 1))
|
|
(node (ref U1) (pin 4))
|
|
(node (ref C1) (pin 2))
|
|
(node (ref SW2) (pin 2))
|
|
(node (ref SW3) (pin 2))
|
|
(node (ref SW1) (pin 2)))
|
|
(net (code 4) (name "Net-(SW3-Pad1)")
|
|
(node (ref U1) (pin 3))
|
|
(node (ref SW3) (pin 1)))
|
|
(net (code 5) (name "Net-(R1-Pad2)")
|
|
(node (ref R1) (pin 2))
|
|
(node (ref U1) (pin 1)))
|
|
(net (code 6) (name +BATT)
|
|
(node (ref C1) (pin 1))
|
|
(node (ref R1) (pin 1))
|
|
(node (ref U1) (pin 8))
|
|
(node (ref J1) (pin 2)))
|
|
(net (code 7) (name "Net-(J1-Pad4)")
|
|
(node (ref J1) (pin 4))
|
|
(node (ref U1) (pin 5)))
|
|
(net (code 8) (name "Net-(J1-Pad3)")
|
|
(node (ref J1) (pin 3))
|
|
(node (ref U1) (pin 7))))) |