(export (version D)
  (design
    (source /home/fowler/weatherstation/schematics/oko-weatherstation.sch)
    (date "Mon 04 Feb 2019 11:06:55 PM CET")
    (tool "Eeschema 5.0.2-4.fc29")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title)
        (company)
        (rev)
        (date)
        (source oko-weatherstation.sch)
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref U1)
      (value 03962A)
      (footprint oko:03962A)
      (libsource (lib oko) (part 03962A) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C3666E0))
    (comp (ref U3)
      (value APDS-9900)
      (footprint oko:APDS-9960)
      (libsource (lib oko) (part APDS-9900) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C366782))
    (comp (ref U4)
      (value GY-BME280)
      (footprint oko:GY-BME280)
      (libsource (lib oko-weatherstation-rescue) (part GY-BME280-oko) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C36680F))
    (comp (ref C1)
      (value 100n)
      (footprint Capacitors_ThroughHole:C_Rect_L4.6mm_W2.0mm_P2.50mm_MKS02_FKP02)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C36B0BF))
    (comp (ref R1)
      (value 100k)
      (footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C36B93E))
    (comp (ref JP1)
      (value Jumper)
      (footprint Pin_Headers:Pin_Header_Angled_1x02_Pitch2.54mm)
      (datasheet ~)
      (libsource (lib Device) (part Jumper) (description "Jumper, normally closed"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C3808D5))
    (comp (ref J7)
      (value Conn_01x06)
      (footprint Pin_Headers:Pin_Header_Angled_1x06_Pitch2.54mm)
      (datasheet ~)
      (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 5C389FC7))
    (comp (ref J1)
      (value VCC_SOLAR)
      (footprint Measurement_Points:Measurement_Point_Square-SMD-Pad_Small)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x01) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C38D2CB))
    (comp (ref J2)
      (value GND_SOLAR)
      (footprint Measurement_Points:Measurement_Point_Square-SMD-Pad_Small)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x01) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C38D8BF))
    (comp (ref J3)
      (value VCC_BAT)
      (footprint Measurement_Points:Measurement_Point_Square-SMD-Pad_Small)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x01) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C38D924))
    (comp (ref J4)
      (value GND_BAT)
      (footprint Measurement_Points:Measurement_Point_Square-SMD-Pad_Small)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x01) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C38D96A))
    (comp (ref J5)
      (value 5V)
      (footprint Measurement_Points:Measurement_Point_Square-SMD-Pad_Small)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x01) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C38D9A1))
    (comp (ref J6)
      (value GND)
      (footprint Measurement_Points:Measurement_Point_Square-SMD-Pad_Small)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x01) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C38DB5F))
    (comp (ref R2)
      (value 4k7)
      (footprint Resistors_SMD:R_0603_1608Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C4D91C5))
    (comp (ref R3)
      (value 4k7)
      (footprint Resistors_SMD:R_0603_1608Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C4D924A))
    (comp (ref J9)
      (value BAT_CHARGED)
      (footprint TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x01) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C57277C))
    (comp (ref J10)
      (value GPIO3)
      (footprint TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x01) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C573A1A))
    (comp (ref J11)
      (value GPIO4)
      (footprint TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x01) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C574DB6))
    (comp (ref J12)
      (value GPIO8)
      (footprint TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x01) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C576251))
    (comp (ref U2)
      (value "WeMos D1 mini")
      (footprint oko:wemos-d1-mini-connectors-only)
      (libsource (lib wemos_mini) (part WeMos_mini) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C36643E))
    (comp (ref C2)
      (value 100n)
      (footprint Capacitors_SMD:C_0603_1608Metric)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C576327))
    (comp (ref R4)
      (value 100k)
      (footprint Resistors_SMD:R_0603_1608Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C57FF00))
    (comp (ref R5)
      (value 1k)
      (footprint Resistors_SMD:R_0603_1608Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C58EB09))
    (comp (ref R6)
      (value 1k)
      (footprint Resistors_SMD:R_0603_1608Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C58EB15))
    (comp (ref J8)
      (value BAT_CHARGING)
      (footprint TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x01) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C5715CF)))
  (libparts
    (libpart (lib Connector_Generic) (part Conn_01x01)
      (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_01x01))
      (pins
        (pin (num 1) (name Pin_1) (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 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 Jumper)
      (description "Jumper, normally closed")
      (docs ~)
      (fields
        (field (name Reference) JP)
        (field (name Value) Jumper))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (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 oko) (part 03962A)
      (fields
        (field (name Reference) U)
        (field (name Value) 03962A))
      (pins
        (pin (num 1) (name VCC_IN) (type passive))
        (pin (num 2) (name VCC_OUT) (type passive))
        (pin (num 3) (name VCC_BAT) (type passive))
        (pin (num 4) (name GND_BAT) (type passive))
        (pin (num 5) (name GND_OUT) (type passive))
        (pin (num 6) (name GND_IN) (type passive))))
    (libpart (lib oko) (part APDS-9900)
      (fields
        (field (name Reference) U)
        (field (name Value) APDS-9900))
      (pins
        (pin (num 1) (name VL) (type BiDi))
        (pin (num 2) (name GND) (type unspc))
        (pin (num 3) (name VCC) (type unspc))
        (pin (num 4) (name SDA) (type BiDi))
        (pin (num 5) (name SCL) (type BiDi))
        (pin (num 6) (name INT) (type BiDi))))
    (libpart (lib oko-weatherstation-rescue) (part GY-BME280-oko)
      (fields
        (field (name Reference) U)
        (field (name Value) GY-BME280-oko))
      (pins
        (pin (num 1) (name SDO) (type BiDi))
        (pin (num 2) (name CSB) (type BiDi))
        (pin (num 3) (name SDA) (type BiDi))
        (pin (num 4) (name SCL) (type BiDi))
        (pin (num 5) (name GND) (type unspc))
        (pin (num 6) (name VCC) (type unspc))))
    (libpart (lib wemos_mini) (part WeMos_mini)
      (fields
        (field (name Reference) U)
        (field (name Value) WeMos_mini))
      (pins
        (pin (num 1) (name 5V) (type power_in))
        (pin (num 2) (name GND) (type power_in))
        (pin (num 3) (name D4) (type BiDi))
        (pin (num 4) (name D3) (type BiDi))
        (pin (num 5) (name D2) (type BiDi))
        (pin (num 6) (name D1) (type BiDi))
        (pin (num 7) (name Rx) (type BiDi))
        (pin (num 8) (name Tx) (type BiDi))
        (pin (num 9) (name Rst) (type BiDi))
        (pin (num 10) (name A0) (type BiDi))
        (pin (num 11) (name D0) (type BiDi))
        (pin (num 12) (name D5) (type BiDi))
        (pin (num 13) (name D6) (type BiDi))
        (pin (num 14) (name D7) (type BiDi))
        (pin (num 15) (name D8) (type BiDi))
        (pin (num 16) (name 3.3V) (type power_out)))))
  (libraries
    (library (logical Connector_Generic)
      (uri /usr/share/kicad/library/Connector_Generic.lib))
    (library (logical Device)
      (uri /usr/share/kicad/library/Device.lib))
    (library (logical oko)
      (uri /home/fowler/weatherstation/schematics/parts/oko.lib))
    (library (logical oko-weatherstation-rescue)
      (uri /home/fowler/weatherstation/schematics/oko-weatherstation-rescue.lib))
    (library (logical wemos_mini)
      (uri /home/fowler/weatherstation/schematics/parts/wemos_mini.lib)))
  (nets
    (net (code 1) (name GPIO8)
      (node (ref U2) (pin 15))
      (node (ref J12) (pin 1)))
    (net (code 2) (name GPIO3)
      (node (ref U2) (pin 4))
      (node (ref J10) (pin 1)))
    (net (code 3) (name GPIO4)
      (node (ref J11) (pin 1))
      (node (ref U2) (pin 3)))
    (net (code 4) (name "Net-(JP1-Pad2)")
      (node (ref U2) (pin 9))
      (node (ref JP1) (pin 2)))
    (net (code 5) (name "Net-(U2-Pad7)")
      (node (ref U2) (pin 7)))
    (net (code 6) (name SCL)
      (node (ref R3) (pin 2))
      (node (ref U3) (pin 5))
      (node (ref U4) (pin 4))
      (node (ref U2) (pin 6)))
    (net (code 7) (name VCC_BAT)
      (node (ref U1) (pin 3))
      (node (ref J7) (pin 4))
      (node (ref J3) (pin 1)))
    (net (code 8) (name GND_BAT)
      (node (ref U1) (pin 4))
      (node (ref J4) (pin 1))
      (node (ref J7) (pin 3)))
    (net (code 9) (name SDA)
      (node (ref U2) (pin 5))
      (node (ref R2) (pin 2))
      (node (ref U3) (pin 4))
      (node (ref U4) (pin 3)))
    (net (code 10) (name "Net-(U2-Pad8)")
      (node (ref U2) (pin 8)))
    (net (code 11) (name "Net-(U3-Pad6)")
      (node (ref U3) (pin 6)))
    (net (code 12) (name "Net-(U3-Pad1)")
      (node (ref U3) (pin 1)))
    (net (code 13) (name "Net-(U4-Pad1)")
      (node (ref U4) (pin 1)))
    (net (code 14) (name "Net-(U4-Pad2)")
      (node (ref U4) (pin 2)))
    (net (code 15) (name 3V3)
      (node (ref U2) (pin 16))
      (node (ref U4) (pin 6))
      (node (ref U3) (pin 3))
      (node (ref R2) (pin 1))
      (node (ref R3) (pin 1)))
    (net (code 16) (name BAT_CHARGING)
      (node (ref R5) (pin 2))
      (node (ref U2) (pin 12)))
    (net (code 17) (name BAT_CHARGED)
      (node (ref U2) (pin 13))
      (node (ref R6) (pin 2)))
    (net (code 18) (name NCHRG)
      (node (ref R5) (pin 1))
      (node (ref J8) (pin 1)))
    (net (code 19) (name NSTBY)
      (node (ref J9) (pin 1))
      (node (ref R6) (pin 1)))
    (net (code 20) (name ANEMOMETER)
      (node (ref U2) (pin 14))
      (node (ref J7) (pin 2))
      (node (ref C1) (pin 2))
      (node (ref C2) (pin 2)))
    (net (code 21) (name GND)
      (node (ref C2) (pin 1))
      (node (ref C1) (pin 1))
      (node (ref J6) (pin 1))
      (node (ref J7) (pin 1))
      (node (ref U2) (pin 2))
      (node (ref U1) (pin 5))
      (node (ref U3) (pin 2))
      (node (ref U4) (pin 5)))
    (net (code 22) (name "Net-(R1-Pad2)")
      (node (ref U2) (pin 10))
      (node (ref R4) (pin 2))
      (node (ref R1) (pin 2)))
    (net (code 23) (name 5V)
      (node (ref R1) (pin 1))
      (node (ref U1) (pin 2))
      (node (ref J5) (pin 1))
      (node (ref R4) (pin 1))
      (node (ref U2) (pin 1)))
    (net (code 24) (name VCC_SOLAR)
      (node (ref J7) (pin 6))
      (node (ref U1) (pin 1))
      (node (ref J1) (pin 1)))
    (net (code 25) (name GND_SOLAR)
      (node (ref U1) (pin 6))
      (node (ref J7) (pin 5))
      (node (ref J2) (pin 1)))
    (net (code 26) (name "Net-(JP1-Pad1)")
      (node (ref U2) (pin 11))
      (node (ref JP1) (pin 1)))))