285 lines
11 KiB
Text
285 lines
11 KiB
Text
|
(export (version D)
|
||
|
(design
|
||
|
(source /data/Git/IOT/LORA_ATTINY84/LORA_ATTINY84.sch)
|
||
|
(date "Mi 28 Aug 2019 10:33:34 CEST")
|
||
|
(tool "Eeschema 5.1.4")
|
||
|
(sheet (number 1) (name /) (tstamps /)
|
||
|
(title_block
|
||
|
(title)
|
||
|
(company)
|
||
|
(rev)
|
||
|
(date)
|
||
|
(source LORA_ATTINY84.sch)
|
||
|
(comment (number 1) (value ""))
|
||
|
(comment (number 2) (value ""))
|
||
|
(comment (number 3) (value ""))
|
||
|
(comment (number 4) (value "")))))
|
||
|
(components
|
||
|
(comp (ref U1)
|
||
|
(value ATtiny84A-SSU)
|
||
|
(footprint Package_SO:SOIC-14_3.9x8.7mm_P1.27mm)
|
||
|
(datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/doc8183.pdf)
|
||
|
(libsource (lib MCU_Microchip_ATtiny) (part ATtiny84A-SSU) (description "20MHz, 8kB Flash, 512B SRAM, 512B EEPROM, debugWIRE, SOIC-14"))
|
||
|
(sheetpath (names /) (tstamps /))
|
||
|
(tstamp 5D66342E))
|
||
|
(comp (ref J1)
|
||
|
(value Sensor)
|
||
|
(footprint Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_Vertical)
|
||
|
(datasheet ~)
|
||
|
(libsource (lib Connector) (part Conn_01x08_Male) (description "Generic connector, single row, 01x08, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
||
|
(sheetpath (names /) (tstamps /))
|
||
|
(tstamp 5D68DC89))
|
||
|
(comp (ref AE1)
|
||
|
(value Antenna)
|
||
|
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Horizontal)
|
||
|
(datasheet ~)
|
||
|
(libsource (lib Device) (part Antenna) (description Antenna))
|
||
|
(sheetpath (names /) (tstamps /))
|
||
|
(tstamp 5D699DFD))
|
||
|
(comp (ref C2)
|
||
|
(value 100n)
|
||
|
(footprint Capacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolder)
|
||
|
(datasheet ~)
|
||
|
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
||
|
(sheetpath (names /) (tstamps /))
|
||
|
(tstamp 5D6B1612))
|
||
|
(comp (ref C1)
|
||
|
(value 100n)
|
||
|
(footprint Capacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolder)
|
||
|
(datasheet ~)
|
||
|
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
||
|
(sheetpath (names /) (tstamps /))
|
||
|
(tstamp 5D6B2940))
|
||
|
(comp (ref J2)
|
||
|
(value PRG)
|
||
|
(footprint Connector_PinSocket_2.54mm:PinSocket_2x03_P2.54mm_Vertical)
|
||
|
(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 5D69C5BF))
|
||
|
(comp (ref BT1)
|
||
|
(value Battery_Cell)
|
||
|
(footprint Battery:BatteryHolder_Keystone_1060_1x2032)
|
||
|
(datasheet ~)
|
||
|
(libsource (lib Device) (part Battery_Cell) (description "Single-cell battery"))
|
||
|
(sheetpath (names /) (tstamps /))
|
||
|
(tstamp 5D6F40EE))
|
||
|
(comp (ref U2)
|
||
|
(value RFM95W-868S2)
|
||
|
(footprint RFM9X:RFM9X-TH)
|
||
|
(datasheet https://www.hoperf.com/data/upload/portal/20181127/5bfcbea20e9ef.pdf)
|
||
|
(libsource (lib RF_Module) (part RFM95W-868S2) (description "Low power long range transceiver module, SPI and parallel interface, 868 MHz, spreading factor 6 to12, bandwith 7.8 to 500kHz, -111 to -148 dBm, SMD-16, DIP-16"))
|
||
|
(sheetpath (names /) (tstamps /))
|
||
|
(tstamp 5D664943)))
|
||
|
(libparts
|
||
|
(libpart (lib Connector) (part Conn_01x08_Male)
|
||
|
(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_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))
|
||
|
(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 Device) (part Antenna)
|
||
|
(description Antenna)
|
||
|
(docs ~)
|
||
|
(fields
|
||
|
(field (name Reference) AE)
|
||
|
(field (name Value) Antenna))
|
||
|
(pins
|
||
|
(pin (num 1) (name A) (type input))))
|
||
|
(libpart (lib Device) (part Battery_Cell)
|
||
|
(description "Single-cell battery")
|
||
|
(docs ~)
|
||
|
(fields
|
||
|
(field (name Reference) BT)
|
||
|
(field (name Value) Battery_Cell))
|
||
|
(pins
|
||
|
(pin (num 1) (name +) (type passive))
|
||
|
(pin (num 2) (name -) (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 MCU_Microchip_ATtiny) (part ATtiny24V-10SSU)
|
||
|
(aliases
|
||
|
(alias ATtiny24-20SSU)
|
||
|
(alias ATtiny24A-SSU)
|
||
|
(alias ATtiny44V-10SSU)
|
||
|
(alias ATtiny44-20SSU)
|
||
|
(alias ATtiny44A-SSU)
|
||
|
(alias ATtiny84V-10SSU)
|
||
|
(alias ATtiny84-20SSU)
|
||
|
(alias ATtiny84A-SSU))
|
||
|
(description "10MHz, 2kB Flash, 128B SRAM, 128B EEPROM, debugWIRE, SOIC-14")
|
||
|
(docs http://ww1.microchip.com/downloads/en/DeviceDoc/doc8006.pdf)
|
||
|
(footprints
|
||
|
(fp SOIC*3.9x8.7mm*P1.27mm*))
|
||
|
(fields
|
||
|
(field (name Reference) U)
|
||
|
(field (name Value) ATtiny24V-10SSU)
|
||
|
(field (name Footprint) Package_SO:SOIC-14_3.9x8.7mm_P1.27mm))
|
||
|
(pins
|
||
|
(pin (num 1) (name VCC) (type power_in))
|
||
|
(pin (num 2) (name XTAL1/PB0) (type 3state))
|
||
|
(pin (num 3) (name XTAL2/PB1) (type 3state))
|
||
|
(pin (num 4) (name ~RESET~/PB3) (type 3state))
|
||
|
(pin (num 5) (name PB2) (type 3state))
|
||
|
(pin (num 6) (name PA7) (type 3state))
|
||
|
(pin (num 7) (name PA6) (type 3state))
|
||
|
(pin (num 8) (name PA5) (type 3state))
|
||
|
(pin (num 9) (name PA4) (type 3state))
|
||
|
(pin (num 10) (name PA3) (type 3state))
|
||
|
(pin (num 11) (name PA2) (type 3state))
|
||
|
(pin (num 12) (name PA1) (type 3state))
|
||
|
(pin (num 13) (name AREF/PA0) (type 3state))
|
||
|
(pin (num 14) (name GND) (type power_in))))
|
||
|
(libpart (lib RF_Module) (part RFM95W-868S2)
|
||
|
(aliases
|
||
|
(alias RFM95W-915S2)
|
||
|
(alias RFM96W-315S2)
|
||
|
(alias RFM96W-433S2)
|
||
|
(alias RFM97W-868S2)
|
||
|
(alias RFM97W-915S2)
|
||
|
(alias RFM98W-315S2)
|
||
|
(alias RFM98W-433S2)
|
||
|
(alias RFM69HCW))
|
||
|
(description "Low power long range transceiver module, SPI and parallel interface, 868 MHz, spreading factor 6 to12, bandwith 7.8 to 500kHz, -111 to -148 dBm, SMD-16, DIP-16")
|
||
|
(docs https://www.hoperf.com/data/upload/portal/20181127/5bfcbea20e9ef.pdf)
|
||
|
(footprints
|
||
|
(fp HOPERF*RFM9XW*))
|
||
|
(fields
|
||
|
(field (name Reference) U)
|
||
|
(field (name Value) RFM95W-868S2))
|
||
|
(pins
|
||
|
(pin (num 1) (name GND) (type power_in))
|
||
|
(pin (num 2) (name MISO) (type output))
|
||
|
(pin (num 3) (name MOSI) (type input))
|
||
|
(pin (num 4) (name SCK) (type input))
|
||
|
(pin (num 5) (name NSS) (type input))
|
||
|
(pin (num 6) (name RESET) (type BiDi))
|
||
|
(pin (num 7) (name DIO5) (type BiDi))
|
||
|
(pin (num 8) (name GND) (type power_in))
|
||
|
(pin (num 9) (name ANT) (type BiDi))
|
||
|
(pin (num 10) (name GND) (type power_in))
|
||
|
(pin (num 11) (name DIO3) (type BiDi))
|
||
|
(pin (num 12) (name DIO4) (type BiDi))
|
||
|
(pin (num 13) (name 3.3V) (type power_in))
|
||
|
(pin (num 14) (name DIO0) (type BiDi))
|
||
|
(pin (num 15) (name DIO1) (type BiDi))
|
||
|
(pin (num 16) (name DIO2) (type BiDi)))))
|
||
|
(libraries
|
||
|
(library (logical Connector)
|
||
|
(uri /usr/share/kicad/library/Connector.lib))
|
||
|
(library (logical Connector_Generic)
|
||
|
(uri /usr/share/kicad/library/Connector_Generic.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 RF_Module)
|
||
|
(uri /usr/share/kicad/library/RF_Module.lib)))
|
||
|
(nets
|
||
|
(net (code 1) (name +3V3)
|
||
|
(node (ref J1) (pin 8))
|
||
|
(node (ref BT1) (pin 1))
|
||
|
(node (ref U1) (pin 1))
|
||
|
(node (ref J2) (pin 2))
|
||
|
(node (ref C2) (pin 1))
|
||
|
(node (ref C1) (pin 2))
|
||
|
(node (ref U2) (pin 13)))
|
||
|
(net (code 2) (name GND)
|
||
|
(node (ref U2) (pin 1))
|
||
|
(node (ref U2) (pin 10))
|
||
|
(node (ref J1) (pin 7))
|
||
|
(node (ref BT1) (pin 2))
|
||
|
(node (ref C1) (pin 1))
|
||
|
(node (ref J2) (pin 6))
|
||
|
(node (ref C2) (pin 2))
|
||
|
(node (ref U1) (pin 14))
|
||
|
(node (ref U2) (pin 8)))
|
||
|
(net (code 3) (name "Net-(U2-Pad7)")
|
||
|
(node (ref U2) (pin 7)))
|
||
|
(net (code 4) (name DIO0)
|
||
|
(node (ref U1) (pin 2))
|
||
|
(node (ref U2) (pin 14)))
|
||
|
(net (code 5) (name "Net-(U2-Pad15)")
|
||
|
(node (ref U2) (pin 15)))
|
||
|
(net (code 6) (name "Net-(U2-Pad16)")
|
||
|
(node (ref U2) (pin 16)))
|
||
|
(net (code 7) (name NSS)
|
||
|
(node (ref U2) (pin 5))
|
||
|
(node (ref U1) (pin 3)))
|
||
|
(net (code 8) (name "Net-(U2-Pad6)")
|
||
|
(node (ref U2) (pin 6)))
|
||
|
(net (code 9) (name "Net-(AE1-Pad1)")
|
||
|
(node (ref AE1) (pin 1))
|
||
|
(node (ref U2) (pin 9)))
|
||
|
(net (code 10) (name "Net-(U2-Pad12)")
|
||
|
(node (ref U2) (pin 12)))
|
||
|
(net (code 11) (name "Net-(U2-Pad11)")
|
||
|
(node (ref U2) (pin 11)))
|
||
|
(net (code 12) (name PA3)
|
||
|
(node (ref U1) (pin 10))
|
||
|
(node (ref J1) (pin 3)))
|
||
|
(net (code 13) (name PA2)
|
||
|
(node (ref U1) (pin 11))
|
||
|
(node (ref J1) (pin 4)))
|
||
|
(net (code 14) (name PA1)
|
||
|
(node (ref U1) (pin 12))
|
||
|
(node (ref J1) (pin 5)))
|
||
|
(net (code 15) (name PA0)
|
||
|
(node (ref U1) (pin 13))
|
||
|
(node (ref J1) (pin 6)))
|
||
|
(net (code 16) (name PB2)
|
||
|
(node (ref J1) (pin 1))
|
||
|
(node (ref U1) (pin 5)))
|
||
|
(net (code 17) (name PA7)
|
||
|
(node (ref U1) (pin 6))
|
||
|
(node (ref J1) (pin 2)))
|
||
|
(net (code 19) (name MISO)
|
||
|
(node (ref J2) (pin 1))
|
||
|
(node (ref U1) (pin 8))
|
||
|
(node (ref U2) (pin 2)))
|
||
|
(net (code 20) (name SCK)
|
||
|
(node (ref J2) (pin 3))
|
||
|
(node (ref U1) (pin 9))
|
||
|
(node (ref U2) (pin 4)))
|
||
|
(net (code 21) (name MOSI)
|
||
|
(node (ref U1) (pin 7))
|
||
|
(node (ref J2) (pin 4))
|
||
|
(node (ref U2) (pin 3)))
|
||
|
(net (code 22) (name RST)
|
||
|
(node (ref J2) (pin 5))
|
||
|
(node (ref U1) (pin 4)))))
|