(kicad_sch (version 20230121) (generator eeschema)
  (paper "A4")
  (lib_symbols
    (symbol "Comparator:LM393" (pin_names (offset 0.127)) (in_bom yes) (on_board yes)
      (property "Reference" "U" (at 3.81 3.81 0))
      (property "Value" "LM393" (at 6.35 -3.81 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "http://www.ti.com/lit/ds/symlink/lm393.pdf" (at 0 0 0))
      (property "ki_locked" "" (at 0 0 0))
      (property "ki_keywords" "cmp open collector" (at 0 0 0))
      (property "ki_description" "Low-Power, Low-Offset Voltage, Dual Comparators, DIP-8/SOIC-8/TO-99-8" (at 0 0 0))
      (property "ki_fp_filters" "SOIC*3.9x4.9mm*P1.27mm* DIP*W7.62mm* SOP*5.28x5.23mm*P1.27mm* VSSOP*3.0x3.0mm*P0.65mm* TSSOP*4.4x3mm*P0.65mm*" (at 0 0 0))
      (symbol "LM393_1_1"
        (polyline
          (pts
            (xy -5.08 5.08)
            (xy 5.08 0)
            (xy -5.08 -5.08)
            (xy -5.08 5.08)
          )
          (fill (type background))
        )
        (polyline
          (pts
            (xy 3.302 -0.508)
            (xy 2.794 -0.508)
            (xy 3.302 0)
            (xy 2.794 0.508)
            (xy 2.286 0)
            (xy 2.794 -0.508)
            (xy 2.286 -0.508)
          )
          (fill (type none))
        )
        (pin open_collector line (at 7.62 0 180) (length 2.54)
          (name "~")
          (number "1")
        )
        (pin input line (at -7.62 -2.54 0) (length 2.54)
          (name "-")
          (number "2")
        )
        (pin input line (at -7.62 2.54 0) (length 2.54)
          (name "+")
          (number "3")
        )
      )
      (symbol "LM393_2_1"
        (polyline
          (pts
            (xy -5.08 5.08)
            (xy 5.08 0)
            (xy -5.08 -5.08)
            (xy -5.08 5.08)
          )
          (fill (type background))
        )
        (polyline
          (pts
            (xy 3.302 -0.508)
            (xy 2.794 -0.508)
            (xy 3.302 0)
            (xy 2.794 0.508)
            (xy 2.286 0)
            (xy 2.794 -0.508)
            (xy 2.286 -0.508)
          )
          (fill (type none))
        )
        (pin input line (at -7.62 2.54 0) (length 2.54)
          (name "+")
          (number "5")
        )
        (pin input line (at -7.62 -2.54 0) (length 2.54)
          (name "-")
          (number "6")
        )
        (pin open_collector line (at 7.62 0 180) (length 2.54)
          (name "~")
          (number "7")
        )
      )
      (symbol "LM393_3_1"
        (pin power_in line (at -2.54 -7.62 90) (length 3.81)
          (name "V-")
          (number "4")
        )
        (pin power_in line (at -2.54 7.62 270) (length 3.81)
          (name "V+")
          (number "8")
        )
      )
    )
    (symbol "Connector:Conn_01x02_Pin" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
      (property "Reference" "J" (at 0 2.54 0))
      (property "Value" "Conn_01x02_Pin" (at 0 -5.08 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "~" (at 0 0 0))
      (property "ki_locked" "" (at 0 0 0))
      (property "ki_keywords" "connector" (at 0 0 0))
      (property "ki_description" "Generic connector, single row, 01x02, script generated" (at 0 0 0))
      (property "ki_fp_filters" "Connector*:*_1x??_*" (at 0 0 0))
      (symbol "Conn_01x02_Pin_1_1"
        (polyline
          (pts
            (xy 1.27 -2.54)
            (xy 0.8636 -2.54)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.27 0)
            (xy 0.8636 0)
          )
          (fill (type none))
        )
        (rectangle (start 0.8636 -2.413) (end 0 -2.667)
          (fill (type outline))
        )
        (rectangle (start 0.8636 0.127) (end 0 -0.127)
          (fill (type outline))
        )
        (pin passive line (at 5.08 0 180) (length 3.81)
          (name "Pin_1")
          (number "1")
        )
        (pin passive line (at 5.08 -2.54 180) (length 3.81)
          (name "Pin_2")
          (number "2")
        )
      )
    )
    (symbol "Connector_Generic:Conn_01x02" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
      (property "Reference" "J" (at 0 2.54 0))
      (property "Value" "Conn_01x02" (at 0 -5.08 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "~" (at 0 0 0))
      (property "ki_keywords" "connector" (at 0 0 0))
      (property "ki_description" "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)" (at 0 0 0))
      (property "ki_fp_filters" "Connector*:*_1x??_*" (at 0 0 0))
      (symbol "Conn_01x02_1_1"
        (rectangle (start -1.27 -2.413) (end 0 -2.667)
          (fill (type none))
        )
        (rectangle (start -1.27 0.127) (end 0 -0.127)
          (fill (type none))
        )
        (rectangle (start -1.27 1.27) (end 1.27 -3.81)
          (fill (type background))
        )
        (pin passive line (at -5.08 0 0) (length 3.81)
          (name "Pin_1")
          (number "1")
        )
        (pin passive line (at -5.08 -2.54 0) (length 3.81)
          (name "Pin_2")
          (number "2")
        )
      )
    )
    (symbol "Device:C_Small" (pin_numbers hide) (pin_names (offset 0.254) hide) (in_bom yes) (on_board yes)
      (property "Reference" "C" (at 0.254 1.778 0))
      (property "Value" "C_Small" (at 0.254 -2.032 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "~" (at 0 0 0))
      (property "ki_keywords" "capacitor cap" (at 0 0 0))
      (property "ki_description" "Unpolarized capacitor, small symbol" (at 0 0 0))
      (property "ki_fp_filters" "C_*" (at 0 0 0))
      (symbol "C_Small_0_1"
        (polyline
          (pts
            (xy -1.524 -0.508)
            (xy 1.524 -0.508)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy -1.524 0.508)
            (xy 1.524 0.508)
          )
          (fill (type none))
        )
      )
      (symbol "C_Small_1_1"
        (pin passive line (at 0 2.54 270) (length 2.032)
          (name "~")
          (number "1")
        )
        (pin passive line (at 0 -2.54 90) (length 2.032)
          (name "~")
          (number "2")
        )
      )
    )
    (symbol "Device:D" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
      (property "Reference" "D" (at 0 2.54 0))
      (property "Value" "D" (at 0 -2.54 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "~" (at 0 0 0))
      (property "Sim.Device" "D" (at 0 0 0))
      (property "Sim.Pins" "1=K 2=A" (at 0 0 0))
      (property "ki_keywords" "diode" (at 0 0 0))
      (property "ki_description" "Diode" (at 0 0 0))
      (property "ki_fp_filters" "TO-???* *_Diode_* *SingleDiode* D_*" (at 0 0 0))
      (symbol "D_0_1"
        (polyline
          (pts
            (xy -1.27 1.27)
            (xy -1.27 -1.27)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.27 0)
            (xy -1.27 0)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.27 1.27)
            (xy 1.27 -1.27)
            (xy -1.27 0)
            (xy 1.27 1.27)
          )
          (fill (type none))
        )
      )
      (symbol "D_1_1"
        (pin passive line (at -3.81 0 0) (length 2.54)
          (name "K")
          (number "1")
        )
        (pin passive line (at 3.81 0 180) (length 2.54)
          (name "A")
          (number "2")
        )
      )
    )
    (symbol "Device:D_Schottky" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
      (property "Reference" "D" (at 0 2.54 0))
      (property "Value" "D_Schottky" (at 0 -2.54 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "~" (at 0 0 0))
      (property "ki_keywords" "diode Schottky" (at 0 0 0))
      (property "ki_description" "Schottky diode" (at 0 0 0))
      (property "ki_fp_filters" "TO-???* *_Diode_* *SingleDiode* D_*" (at 0 0 0))
      (symbol "D_Schottky_0_1"
        (polyline
          (pts
            (xy 1.27 0)
            (xy -1.27 0)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.27 1.27)
            (xy 1.27 -1.27)
            (xy -1.27 0)
            (xy 1.27 1.27)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy -1.905 0.635)
            (xy -1.905 1.27)
            (xy -1.27 1.27)
            (xy -1.27 -1.27)
            (xy -0.635 -1.27)
            (xy -0.635 -0.635)
          )
          (fill (type none))
        )
      )
      (symbol "D_Schottky_1_1"
        (pin passive line (at -3.81 0 0) (length 2.54)
          (name "K")
          (number "1")
        )
        (pin passive line (at 3.81 0 180) (length 2.54)
          (name "A")
          (number "2")
        )
      )
    )
    (symbol "Device:Fuse_Small" (pin_numbers hide) (pin_names (offset 0.254) hide) (in_bom yes) (on_board yes)
      (property "Reference" "F" (at 0 -1.524 0))
      (property "Value" "Fuse_Small" (at 0 1.524 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "~" (at 0 0 0))
      (property "ki_keywords" "fuse" (at 0 0 0))
      (property "ki_description" "Fuse, small symbol" (at 0 0 0))
      (property "ki_fp_filters" "*Fuse*" (at 0 0 0))
      (symbol "Fuse_Small_0_1"
        (rectangle (start -1.27 0.508) (end 1.27 -0.508)
          (fill (type none))
        )
        (polyline
          (pts
            (xy -1.27 0)
            (xy 1.27 0)
          )
          (fill (type none))
        )
      )
      (symbol "Fuse_Small_1_1"
        (pin passive line (at -2.54 0 0) (length 1.27)
          (name "~")
          (number "1")
        )
        (pin passive line (at 2.54 0 180) (length 1.27)
          (name "~")
          (number "2")
        )
      )
    )
    (symbol "Device:LED_Small" (pin_numbers hide) (pin_names (offset 0.254) hide) (in_bom yes) (on_board yes)
      (property "Reference" "D" (at -1.27 3.175 0))
      (property "Value" "LED_Small" (at -4.445 -2.54 0))
      (property "Footprint" "" (at 0 0 90))
      (property "Datasheet" "~" (at 0 0 90))
      (property "ki_keywords" "LED diode light-emitting-diode" (at 0 0 0))
      (property "ki_description" "Light emitting diode, small symbol" (at 0 0 0))
      (property "ki_fp_filters" "LED* LED_SMD:* LED_THT:*" (at 0 0 0))
      (symbol "LED_Small_0_1"
        (polyline
          (pts
            (xy -0.762 -1.016)
            (xy -0.762 1.016)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 0)
            (xy -0.762 0)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 -1.016)
            (xy -0.762 0)
            (xy 0.762 1.016)
            (xy 0.762 -1.016)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0 0.762)
            (xy -0.508 1.27)
            (xy -0.254 1.27)
            (xy -0.508 1.27)
            (xy -0.508 1.016)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.508 1.27)
            (xy 0 1.778)
            (xy 0.254 1.778)
            (xy 0 1.778)
            (xy 0 1.524)
          )
          (fill (type none))
        )
      )
      (symbol "LED_Small_1_1"
        (pin passive line (at -2.54 0 0) (length 1.778)
          (name "K")
          (number "1")
        )
        (pin passive line (at 2.54 0 180) (length 1.778)
          (name "A")
          (number "2")
        )
      )
    )
    (symbol "Device:L_Ferrite" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
      (property "Reference" "L" (at -1.27 0 90))
      (property "Value" "L_Ferrite" (at 2.794 0 90))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "~" (at 0 0 0))
      (property "ki_keywords" "inductor choke coil reactor magnetic" (at 0 0 0))
      (property "ki_description" "Inductor with ferrite core" (at 0 0 0))
      (property "ki_fp_filters" "Choke_* *Coil* Inductor_* L_*" (at 0 0 0))
      (symbol "L_Ferrite_0_1"
        (arc (start 0 -2.54) (mid 0.6323 -1.905) (end 0 -1.27)
          (fill (type none))
        )
        (arc (start 0 -1.27) (mid 0.6323 -0.635) (end 0 0)
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 -2.794)
            (xy 1.016 -2.286)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 -1.778)
            (xy 1.016 -1.27)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 -0.762)
            (xy 1.016 -0.254)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 0.254)
            (xy 1.016 0.762)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 1.27)
            (xy 1.016 1.778)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 2.286)
            (xy 1.016 2.794)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.524 -2.286)
            (xy 1.524 -2.794)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.524 -1.27)
            (xy 1.524 -1.778)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.524 -0.254)
            (xy 1.524 -0.762)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.524 0.762)
            (xy 1.524 0.254)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.524 1.778)
            (xy 1.524 1.27)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.524 2.794)
            (xy 1.524 2.286)
          )
          (fill (type none))
        )
        (arc (start 0 0) (mid 0.6323 0.635) (end 0 1.27)
          (fill (type none))
        )
        (arc (start 0 1.27) (mid 0.6323 1.905) (end 0 2.54)
          (fill (type none))
        )
      )
      (symbol "L_Ferrite_1_1"
        (pin passive line (at 0 3.81 270) (length 1.27)
          (name "1")
          (number "1")
        )
        (pin passive line (at 0 -3.81 90) (length 1.27)
          (name "2")
          (number "2")
        )
      )
    )
    (symbol "Device:R_Small" (pin_numbers hide) (pin_names (offset 0.254) hide) (in_bom yes) (on_board yes)
      (property "Reference" "R" (at 0.762 0.508 0))
      (property "Value" "R_Small" (at 0.762 -1.016 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "~" (at 0 0 0))
      (property "ki_keywords" "R resistor" (at 0 0 0))
      (property "ki_description" "Resistor, small symbol" (at 0 0 0))
      (property "ki_fp_filters" "R_*" (at 0 0 0))
      (symbol "R_Small_0_1"
        (rectangle (start -0.762 1.778) (end 0.762 -1.778)
          (fill (type none))
        )
      )
      (symbol "R_Small_1_1"
        (pin passive line (at 0 2.54 270) (length 0.762)
          (name "~")
          (number "1")
        )
        (pin passive line (at 0 -2.54 90) (length 0.762)
          (name "~")
          (number "2")
        )
      )
    )
    (symbol "GND_1" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
      (property "Reference" "#PWR" (at 0 -6.35 0))
      (property "Value" "GND_1" (at 0 -3.81 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "" (at 0 0 0))
      (property "ki_keywords" "global power" (at 0 0 0))
      (property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0))
      (symbol "GND_1_0_1"
        (polyline
          (pts
            (xy 0 0)
            (xy 0 -1.27)
            (xy 1.27 -1.27)
            (xy 0 -2.54)
            (xy -1.27 -1.27)
            (xy 0 -1.27)
          )
          (fill (type none))
        )
      )
      (symbol "GND_1_1_1"
        (pin power_in line (at 0 0 270) (length 0) hide
          (name "GND")
          (number "1")
        )
      )
    )
    (symbol "Regulator_Linear:L7805" (pin_names (offset 0.254)) (in_bom yes) (on_board yes)
      (property "Reference" "U" (at -3.81 3.175 0))
      (property "Value" "L7805" (at 0 3.175 0))
      (property "Footprint" "" (at 0.635 -3.81 0))
      (property "Datasheet" "http://www.st.com/content/ccc/resource/technical/document/datasheet/41/4f/b3/b0/12/d4/47/88/CD00000444.pdf/files/CD00000444.pdf/jcr:content/translations/en.CD00000444.pdf" (at 0 -1.27 0))
      (property "ki_keywords" "Voltage Regulator 1.5A Positive" (at 0 0 0))
      (property "ki_description" "Positive 1.5A 35V Linear Regulator, Fixed Output 5V, TO-220/TO-263/TO-252" (at 0 0 0))
      (property "ki_fp_filters" "TO?252* TO?263* TO?220*" (at 0 0 0))
      (symbol "L7805_0_1"
        (rectangle (start -5.08 1.905) (end 5.08 -5.08)
          (fill (type background))
        )
      )
      (symbol "L7805_1_1"
        (pin power_in line (at -7.62 0 0) (length 2.54)
          (name "IN")
          (number "1")
        )
        (pin power_in line (at 0 -7.62 90) (length 2.54)
          (name "GND")
          (number "2")
        )
        (pin power_out line (at 7.62 0 180) (length 2.54)
          (name "OUT")
          (number "3")
        )
      )
    )
    (symbol "Transistor_FET:DMP3013SFV" (pin_names hide) (in_bom yes) (on_board yes)
      (property "Reference" "Q" (at 5.08 1.905 0))
      (property "Value" "DMP3013SFV" (at 5.08 0 0))
      (property "Footprint" "Package_SON:Diodes_PowerDI3333-8" (at 5.08 -1.905 0))
      (property "Datasheet" "https://www.diodes.com/assets/Datasheets/DMP3013SFV.pdf" (at 0 0 90))
      (property "ki_keywords" "P-Channel MOSFET" (at 0 0 0))
      (property "ki_description" "-12A Id, -30V Vds, P-Channel Power MOSFET, 9.5mOhm Ron, 33.7nC Qg (typ), PowerDI3333-8" (at 0 0 0))
      (property "ki_fp_filters" "Diodes*PowerDI3333*" (at 0 0 0))
      (symbol "DMP3013SFV_0_1"
        (polyline
          (pts
            (xy 0.254 0)
            (xy -2.54 0)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.254 1.905)
            (xy 0.254 -1.905)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 -1.27)
            (xy 0.762 -2.286)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 0.508)
            (xy 0.762 -0.508)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 2.286)
            (xy 0.762 1.27)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 2.54 2.54)
            (xy 2.54 1.778)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 2.54 -2.54)
            (xy 2.54 0)
            (xy 0.762 0)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 1.778)
            (xy 3.302 1.778)
            (xy 3.302 -1.778)
            (xy 0.762 -1.778)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 2.286 0)
            (xy 1.27 0.381)
            (xy 1.27 -0.381)
            (xy 2.286 0)
          )
          (fill (type outline))
        )
        (polyline
          (pts
            (xy 2.794 -0.508)
            (xy 2.921 -0.381)
            (xy 3.683 -0.381)
            (xy 3.81 -0.254)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 3.302 -0.381)
            (xy 2.921 0.254)
            (xy 3.683 0.254)
            (xy 3.302 -0.381)
          )
          (fill (type none))
        )
        (circle (center 1.651 0) (radius 2.794)
          (fill (type none))
        )
        (circle (center 2.54 -1.778) (radius 0.254)
          (fill (type outline))
        )
        (circle (center 2.54 1.778) (radius 0.254)
          (fill (type outline))
        )
      )
      (symbol "DMP3013SFV_1_1"
        (pin passive line (at 2.54 -5.08 90) (length 2.54)
          (name "S")
          (number "1")
        )
        (pin passive line (at 2.54 -5.08 90) (length 2.54) hide
          (name "S")
          (number "2")
        )
        (pin passive line (at 2.54 -5.08 90) (length 2.54) hide
          (name "S")
          (number "3")
        )
        (pin passive line (at -5.08 0 0) (length 2.54)
          (name "G")
          (number "4")
        )
        (pin passive line (at 2.54 5.08 270) (length 2.54)
          (name "D")
          (number "5")
        )
      )
    )
    (symbol "Transistor_FET:MMBF170" (pin_names hide) (in_bom yes) (on_board yes)
      (property "Reference" "Q" (at 5.08 1.905 0))
      (property "Value" "MMBF170" (at 5.08 0 0))
      (property "Footprint" "Package_TO_SOT_SMD:SOT-23" (at 5.08 -1.905 0))
      (property "Datasheet" "https://www.diodes.com/assets/Datasheets/ds30104.pdf" (at 0 0 0))
      (property "ki_keywords" "N-Channel MOSFET" (at 0 0 0))
      (property "ki_description" "0.5A Id, 60V Vds, N-Channel MOSFET, SOT-23" (at 0 0 0))
      (property "ki_fp_filters" "SOT?23*" (at 0 0 0))
      (symbol "MMBF170_0_1"
        (polyline
          (pts
            (xy 0.254 0)
            (xy -2.54 0)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.254 1.905)
            (xy 0.254 -1.905)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 -1.27)
            (xy 0.762 -2.286)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 0.508)
            (xy 0.762 -0.508)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 2.286)
            (xy 0.762 1.27)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 2.54 2.54)
            (xy 2.54 1.778)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 2.54 -2.54)
            (xy 2.54 0)
            (xy 0.762 0)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 -1.778)
            (xy 3.302 -1.778)
            (xy 3.302 1.778)
            (xy 0.762 1.778)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 0)
            (xy 2.032 0.381)
            (xy 2.032 -0.381)
            (xy 1.016 0)
          )
          (fill (type outline))
        )
        (polyline
          (pts
            (xy 2.794 0.508)
            (xy 2.921 0.381)
            (xy 3.683 0.381)
            (xy 3.81 0.254)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 3.302 0.381)
            (xy 2.921 -0.254)
            (xy 3.683 -0.254)
            (xy 3.302 0.381)
          )
          (fill (type none))
        )
        (circle (center 1.651 0) (radius 2.794)
          (fill (type none))
        )
        (circle (center 2.54 -1.778) (radius 0.254)
          (fill (type outline))
        )
        (circle (center 2.54 1.778) (radius 0.254)
          (fill (type outline))
        )
      )
      (symbol "MMBF170_1_1"
        (pin input line (at -5.08 0 0) (length 2.54)
          (name "G")
          (number "1")
        )
        (pin passive line (at 2.54 -5.08 90) (length 2.54)
          (name "S")
          (number "2")
        )
        (pin passive line (at 2.54 5.08 270) (length 2.54)
          (name "D")
          (number "3")
        )
      )
    )
    (symbol "aib:LMT85P" (in_bom yes) (on_board yes)
      (property "Reference" "U" (at -6.35 6.35 0))
      (property "Value" "LMT85P" (at 5.08 6.35 0))
      (property "Footprint" "Package_TO_SOT_THT:TO-92" (at 0 -10.16 0))
      (property "Datasheet" "http://www.ti.com/lit/ds/symlink/lmt85-q1.pdf" (at 0 0 0))
      (property "ki_keywords" "temperature sensor thermistor ntc" (at 0 0 0))
      (property "ki_description" "Analog temperature sensor, NTC, 0.3C accuracy, -8.2mV/C, -50C to +150C, 1.8 to 5.5V, SC-70-5" (at 0 0 0))
      (property "ki_fp_filters" "*SC?70*" (at 0 0 0))
      (symbol "LMT85P_0_1"
        (rectangle (start -7.62 5.08) (end 7.62 -5.08)
          (fill (type background))
        )
        (circle (center -4.445 -2.54) (radius 1.27)
          (fill (type outline))
        )
        (rectangle (start -3.81 -1.905) (end -5.08 0)
          (fill (type outline))
        )
        (arc (start -3.81 3.175) (mid -4.445 3.8073) (end -5.08 3.175)
          (fill (type none))
        )
        (polyline
          (pts
            (xy -5.08 0.635)
            (xy -4.445 0.635)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy -5.08 1.27)
            (xy -4.445 1.27)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy -5.08 1.905)
            (xy -4.445 1.905)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy -5.08 2.54)
            (xy -4.445 2.54)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy -5.08 3.175)
            (xy -5.08 0)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy -5.08 3.175)
            (xy -4.445 3.175)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy -3.81 3.175)
            (xy -3.81 0)
          )
          (fill (type none))
        )
      )
      (symbol "LMT85P_1_1"
        (pin power_in line (at -2.54 7.62 270) (length 2.54)
          (name "V_{DD}")
          (number "1")
        )
        (pin output line (at 10.16 0 180) (length 2.54)
          (name "OUT")
          (number "2")
        )
        (pin power_in line (at 0 -7.62 90) (length 2.54)
          (name "GND")
          (number "3")
        )
      )
    )
    (symbol "aib:MP26124" (in_bom yes) (on_board yes)
      (property "Reference" "U" (at 0 0 0))
      (property "Value" "MP26124" (at 0 0 0))
      (property "Footprint" "Package_DFN_QFN:QFN-16-1EP_4x4mm_P0.65mm_EP2.1x2.1mm" (at 0 0 0))
      (property "Datasheet" "" (at 0 0 0))
      (property "ki_description" "4S Li ion charger" (at 0 0 0))
      (symbol "MP26124_0_1"
        (rectangle (start -7.62 -2.54) (end 7.62 -33.02)
          (fill (type none))
        )
      )
      (symbol "MP26124_1_1"
        (pin power_in line (at -10.16 -5.08 0) (length 2.54)
          (name "VCC")
          (number "1")
        )
        (pin passive line (at 10.16 -20.32 180) (length 2.54)
          (name "BATT")
          (number "10")
        )
        (pin passive line (at 10.16 -16.51 180) (length 2.54)
          (name "CSP")
          (number "11")
        )
        (pin power_in line (at 10.16 -31.75 180) (length 2.54)
          (name "GND")
          (number "12")
        )
        (pin passive line (at 10.16 -12.7 180) (length 2.54)
          (name "TMR")
          (number "13")
        )
        (pin passive line (at 10.16 -8.89 180) (length 2.54)
          (name "BST")
          (number "14")
        )
        (pin passive line (at 10.16 -5.08 180) (length 2.54)
          (name "SW")
          (number "15")
        )
        (pin power_in line (at -10.16 -8.89 0) (length 2.54)
          (name "Vin")
          (number "16")
        )
        (pin passive line (at -10.16 -12.7 0) (length 2.54)
          (name "NTC")
          (number "2")
        )
        (pin passive line (at -10.16 -16.51 0) (length 2.54)
          (name "~{ACOK}")
          (number "3")
        )
        (pin passive line (at -10.16 -20.32 0) (length 2.54)
          (name "~{CHGOK}")
          (number "4")
        )
        (pin passive line (at -10.16 -24.13 0) (length 2.54)
          (name "Vref33")
          (number "5")
        )
        (pin passive line (at -10.16 -27.94 0) (length 2.54)
          (name "~{EN}")
          (number "6")
        )
        (pin power_in line (at -10.16 -31.75 0) (length 2.54)
          (name "SGND")
          (number "7")
        )
        (pin passive line (at 10.16 -27.94 180) (length 2.54)
          (name "COMPV")
          (number "8")
        )
        (pin passive line (at 10.16 -24.13 180) (length 2.54)
          (name "COMPI")
          (number "9")
        )
      )
    )
    (symbol "power:+5V" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
      (property "Reference" "#PWR" (at 0 -3.81 0))
      (property "Value" "+5V" (at 0 3.556 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "" (at 0 0 0))
      (property "ki_keywords" "global power" (at 0 0 0))
      (property "ki_description" "Power symbol creates a global label with name \"+5V\"" (at 0 0 0))
      (symbol "+5V_0_1"
        (polyline
          (pts
            (xy -0.762 1.27)
            (xy 0 2.54)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0 0)
            (xy 0 2.54)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0 2.54)
            (xy 0.762 1.27)
          )
          (fill (type none))
        )
      )
      (symbol "+5V_1_1"
        (pin power_in line (at 0 0 90) (length 0) hide
          (name "+5V")
          (number "1")
        )
      )
    )
    (symbol "power:+BATT" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
      (property "Reference" "#PWR" (at 0 -3.81 0))
      (property "Value" "+BATT" (at 0 3.556 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "" (at 0 0 0))
      (property "ki_keywords" "global power battery" (at 0 0 0))
      (property "ki_description" "Power symbol creates a global label with name \"+BATT\"" (at 0 0 0))
      (symbol "+BATT_0_1"
        (polyline
          (pts
            (xy -0.762 1.27)
            (xy 0 2.54)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0 0)
            (xy 0 2.54)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0 2.54)
            (xy 0.762 1.27)
          )
          (fill (type none))
        )
      )
      (symbol "+BATT_1_1"
        (pin power_in line (at 0 0 90) (length 0) hide
          (name "+BATT")
          (number "1")
        )
      )
    )
    (symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
      (property "Reference" "#PWR" (at 0 -6.35 0))
      (property "Value" "GND" (at 0 -3.81 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "" (at 0 0 0))
      (property "ki_keywords" "power-flag" (at 0 0 0))
      (property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0))
      (symbol "GND_0_1"
        (polyline
          (pts
            (xy 0 0)
            (xy 0 -1.27)
            (xy 1.27 -1.27)
            (xy 0 -2.54)
            (xy -1.27 -1.27)
            (xy 0 -1.27)
          )
          (fill (type none))
        )
      )
      (symbol "GND_1_1"
        (pin power_in line (at 0 0 270) (length 0) hide
          (name "GND")
          (number "1")
        )
      )
    )
  )
  (junction (at 160.02 78.74) (diameter 0) (color 0 0 0 0))
  (junction (at 109.22 189.23) (diameter 0) (color 0 0 0 0))
  (junction (at 26.67 171.45) (diameter 0) (color 0 0 0 0))
  (junction (at 97.79 97.79) (diameter 0) (color 0 0 0 0))
  (junction (at 54.61 160.02) (diameter 0) (color 0 0 0 0))
  (junction (at 160.02 86.36) (diameter 0) (color 0 0 0 0))
  (junction (at 154.94 82.55) (diameter 0) (color 0 0 0 0))
  (junction (at 120.65 181.61) (diameter 0) (color 0 0 0 0))
  (junction (at 54.61 193.04) (diameter 0) (color 0 0 0 0))
  (junction (at 160.02 111.76) (diameter 0) (color 0 0 0 0))
  (junction (at 36.83 58.42) (diameter 0) (color 0 0 0 0))
  (junction (at 81.28 179.07) (diameter 0) (color 0 0 0 0))
  (junction (at 143.51 179.07) (diameter 0) (color 0 0 0 0))
  (junction (at 38.1 138.43) (diameter 0) (color 0 0 0 0))
  (junction (at 179.07 95.25) (diameter 0) (color 0 0 0 0))
  (junction (at 120.65 166.37) (diameter 0) (color 0 0 0 0))
  (junction (at 53.34 66.04) (diameter 0) (color 0 0 0 0))
  (junction (at 86.36 97.79) (diameter 0) (color 0 0 0 0))
  (junction (at 123.19 68.58) (diameter 0) (color 0 0 0 0))
  (junction (at 160.02 82.55) (diameter 0) (color 0 0 0 0))
  (junction (at 92.71 97.79) (diameter 0) (color 0 0 0 0))
  (junction (at 154.94 95.25) (diameter 0) (color 0 0 0 0))
  (junction (at 102.87 90.17) (diameter 0) (color 0 0 0 0))
  (junction (at 107.95 82.55) (diameter 0) (color 0 0 0 0))
  (junction (at 60.96 181.61) (diameter 0) (color 0 0 0 0))
  (junction (at 137.16 77.47) (diameter 0) (color 0 0 0 0))
  (junction (at 152.4 90.17) (diameter 0) (color 0 0 0 0))
  (junction (at 38.1 153.67) (diameter 0) (color 0 0 0 0))
  (junction (at 26.67 160.02) (diameter 0) (color 0 0 0 0))
  (junction (at 125.73 181.61) (diameter 0) (color 0 0 0 0))
  (junction (at 20.32 31.75) (diameter 0) (color 0 0 0 0))
  (junction (at 154.94 111.76) (diameter 0) (color 0 0 0 0))
  (junction (at 102.87 82.55) (diameter 0) (color 0 0 0 0))
  (junction (at 143.51 166.37) (diameter 0) (color 0 0 0 0))
  (junction (at 54.61 181.61) (diameter 0) (color 0 0 0 0))
  (junction (at 137.16 72.39) (diameter 0) (color 0 0 0 0))
  (junction (at 76.2 179.07) (diameter 0) (color 0 0 0 0))
  (junction (at 143.51 111.76) (diameter 0) (color 0 0 0 0))
  (junction (at 64.77 58.42) (diameter 0) (color 0 0 0 0))
  (junction (at 109.22 176.53) (diameter 0) (color 0 0 0 0))
  (junction (at 154.94 86.36) (diameter 0) (color 0 0 0 0))
  (junction (at 132.08 111.76) (diameter 0) (color 0 0 0 0))
  (junction (at 20.32 21.59) (diameter 0) (color 0 0 0 0))
  (junction (at 111.76 68.58) (diameter 0) (color 0 0 0 0))
  (junction (at 87.63 91.44) (diameter 0) (color 0 0 0 0))
  (no_connect (at 83.82 25.4))
  (wire (pts (xy 60.96 58.42) (xy 64.77 58.42)))
  (wire (pts (xy 125.73 190.5) (xy 125.73 181.61)))
  (wire (pts (xy 120.65 165.1) (xy 120.65 166.37)))
  (wire (pts (xy 107.95 24.13) (xy 107.95 27.94)))
  (wire (pts (xy 64.77 63.5) (xy 64.77 66.04)))
  (wire (pts (xy 132.08 97.79) (xy 147.32 97.79)))
  (wire (pts (xy 80.01 97.79) (xy 86.36 97.79)))
  (wire (pts (xy 132.08 77.47) (xy 137.16 77.47)))
  (wire (pts (xy 97.79 90.17) (xy 102.87 90.17)))
  (wire (pts (xy 152.4 146.05) (xy 152.4 151.13)))
  (wire (pts (xy 29.21 189.23) (xy 29.21 193.04)))
  (wire (pts (xy 54.61 173.99) (xy 54.61 181.61)))
  (wire (pts (xy 143.51 166.37) (xy 143.51 179.07)))
  (wire (pts (xy 109.22 176.53) (xy 125.73 176.53)))
  (wire (pts (xy 160.02 78.74) (xy 160.02 82.55)))
  (wire (pts (xy 160.02 86.36) (xy 160.02 111.76)))
  (wire (pts (xy 102.87 77.47) (xy 102.87 82.55)))
  (wire (pts (xy 81.28 156.21) (xy 81.28 179.07)))
  (wire (pts (xy 102.87 82.55) (xy 102.87 83.82)))
  (wire (pts (xy 152.4 90.17) (xy 154.94 90.17)))
  (wire (pts (xy 54.61 181.61) (xy 54.61 186.69)))
  (wire (pts (xy 137.16 72.39) (xy 137.16 77.47)))
  (wire (pts (xy 26.67 160.02) (xy 26.67 171.45)))
  (wire (pts (xy 54.61 193.04) (xy 54.61 194.31)))
  (wire (pts (xy 38.1 138.43) (xy 26.67 138.43)))
  (wire (pts (xy 26.67 171.45) (xy 27.94 171.45)))
  (wire (pts (xy 49.53 147.32) (xy 49.53 153.67)))
  (wire (pts (xy 105.41 149.86) (xy 105.41 151.13)))
  (wire (pts (xy 168.91 144.78) (xy 168.91 146.05)))
  (wire (pts (xy 120.65 166.37) (xy 134.62 166.37)))
  (wire (pts (xy 76.2 160.02) (xy 76.2 179.07)))
  (wire (pts (xy 36.83 63.5) (xy 36.83 66.04)))
  (wire (pts (xy 115.57 21.59) (xy 116.84 21.59)))
  (wire (pts (xy 102.87 88.9) (xy 102.87 90.17)))
  (wire (pts (xy 54.61 160.02) (xy 54.61 161.29)))
  (wire (pts (xy 152.4 67.31) (xy 152.4 90.17)))
  (wire (pts (xy 139.7 166.37) (xy 143.51 166.37)))
  (wire (pts (xy 74.93 82.55) (xy 87.63 82.55)))
  (wire (pts (xy 102.87 90.17) (xy 111.76 90.17)))
  (wire (pts (xy 26.67 173.99) (xy 26.67 171.45)))
  (wire (pts (xy 140.97 101.6) (xy 143.51 101.6)))
  (wire (pts (xy 25.4 45.72) (xy 25.4 52.07)))
  (wire (pts (xy 109.22 182.88) (xy 109.22 189.23)))
  (wire (pts (xy 154.94 95.25) (xy 179.07 95.25)))
  (wire (pts (xy 49.53 142.24) (xy 49.53 138.43)))
  (wire (pts (xy 64.77 55.88) (xy 64.77 58.42)))
  (wire (pts (xy 36.83 58.42) (xy 45.72 58.42)))
  (wire (pts (xy 87.63 82.55) (xy 87.63 91.44)))
  (wire (pts (xy 97.79 85.09) (xy 97.79 90.17)))
  (wire (pts (xy 101.6 175.26) (xy 101.6 189.23)))
  (wire (pts (xy 139.7 190.5) (xy 143.51 190.5)))
  (wire (pts (xy 64.77 66.04) (xy 53.34 66.04)))
  (wire (pts (xy 120.65 186.69) (xy 120.65 189.23)))
  (wire (pts (xy 107.95 64.77) (xy 107.95 82.55)))
  (wire (pts (xy 109.22 172.72) (xy 109.22 176.53)))
  (wire (pts (xy 143.51 179.07) (xy 147.32 179.07)))
  (wire (pts (xy 33.02 58.42) (xy 36.83 58.42)))
  (wire (pts (xy 118.11 64.77) (xy 107.95 64.77)))
  (wire (pts (xy 54.61 166.37) (xy 54.61 168.91)))
  (wire (pts (xy 85.09 91.44) (xy 87.63 91.44)))
  (wire (pts (xy 160.02 82.55) (xy 160.02 86.36)))
  (wire (pts (xy 36.83 66.04) (xy 53.34 66.04)))
  (wire (pts (xy 26.67 138.43) (xy 26.67 160.02)))
  (wire (pts (xy 80.01 91.44) (xy 80.01 97.79)))
  (wire (pts (xy 109.22 165.1) (xy 109.22 167.64)))
  (wire (pts (xy 154.94 82.55) (xy 154.94 86.36)))
  (wire (pts (xy 39.37 171.45) (xy 39.37 172.72)))
  (wire (pts (xy 152.4 161.29) (xy 152.4 163.83)))
  (wire (pts (xy 54.61 181.61) (xy 60.96 181.61)))
  (wire (pts (xy 29.21 193.04) (xy 54.61 193.04)))
  (wire (pts (xy 60.96 187.96) (xy 60.96 181.61)))
  (wire (pts (xy 53.34 68.58) (xy 53.34 66.04)))
  (wire (pts (xy 38.1 153.67) (xy 49.53 153.67)))
  (wire (pts (xy 107.95 21.59) (xy 110.49 21.59)))
  (wire (pts (xy 154.94 97.79) (xy 154.94 99.06)))
  (wire (pts (xy 74.93 87.63) (xy 74.93 82.55)))
  (wire (pts (xy 105.41 151.13) (xy 100.33 151.13)))
  (wire (pts (xy 179.07 100.33) (xy 179.07 111.76)))
  (wire (pts (xy 160.02 146.05) (xy 163.83 146.05)))
  (wire (pts (xy 33.02 25.4) (xy 33.02 21.59)))
  (wire (pts (xy 33.02 171.45) (xy 39.37 171.45)))
  (wire (pts (xy 88.9 77.47) (xy 92.71 77.47)))
  (wire (pts (xy 143.51 190.5) (xy 143.51 179.07)))
  (wire (pts (xy 81.28 179.07) (xy 81.28 187.96)))
  (wire (pts (xy 132.08 105.41) (xy 132.08 111.76)))
  (wire (pts (xy 33.02 27.94) (xy 33.02 31.75)))
  (wire (pts (xy 33.02 31.75) (xy 20.32 31.75)))
  (wire (pts (xy 144.78 67.31) (xy 152.4 67.31)))
  (wire (pts (xy 179.07 111.76) (xy 160.02 111.76)))
  (wire (pts (xy 152.4 90.17) (xy 132.08 90.17)))
  (wire (pts (xy 20.32 27.94) (xy 20.32 31.75)))
  (wire (pts (xy 143.51 107.95) (xy 143.51 111.76)))
  (wire (pts (xy 87.63 91.44) (xy 97.79 91.44)))
  (wire (pts (xy 111.76 86.36) (xy 105.41 86.36)))
  (wire (pts (xy 160.02 111.76) (xy 154.94 111.76)))
  (wire (pts (xy 154.94 104.14) (xy 154.94 111.76)))
  (wire (pts (xy 143.51 101.6) (xy 143.51 102.87)))
  (wire (pts (xy 109.22 189.23) (xy 109.22 190.5)))
  (wire (pts (xy 154.94 78.74) (xy 154.94 82.55)))
  (wire (pts (xy 137.16 67.31) (xy 137.16 72.39)))
  (wire (pts (xy 81.28 156.21) (xy 82.55 156.21)))
  (wire (pts (xy 73.66 187.96) (xy 76.2 187.96)))
  (wire (pts (xy 102.87 68.58) (xy 111.76 68.58)))
  (wire (pts (xy 88.9 68.58) (xy 88.9 77.47)))
  (wire (pts (xy 152.4 95.25) (xy 154.94 95.25)))
  (wire (pts (xy 54.61 191.77) (xy 54.61 193.04)))
  (wire (pts (xy 143.51 111.76) (xy 132.08 111.76)))
  (wire (pts (xy 120.65 181.61) (xy 125.73 181.61)))
  (wire (pts (xy 120.65 166.37) (xy 120.65 167.64)))
  (wire (pts (xy 83.82 27.94) (xy 87.63 27.94)))
  (wire (pts (xy 88.9 68.58) (xy 97.79 68.58)))
  (wire (pts (xy 143.51 156.21) (xy 143.51 166.37)))
  (wire (pts (xy 33.02 21.59) (xy 20.32 21.59)))
  (wire (pts (xy 116.84 68.58) (xy 123.19 68.58)))
  (wire (pts (xy 143.51 72.39) (xy 137.16 72.39)))
  (wire (pts (xy 39.37 181.61) (xy 43.18 181.61)))
  (wire (pts (xy 134.62 190.5) (xy 125.73 190.5)))
  (wire (pts (xy 26.67 160.02) (xy 54.61 160.02)))
  (wire (pts (xy 151.13 72.39) (xy 160.02 72.39)))
  (wire (pts (xy 107.95 101.6) (xy 111.76 101.6)))
  (wire (pts (xy 58.42 87.63) (xy 64.77 87.63)))
  (wire (pts (xy 132.08 82.55) (xy 137.16 82.55)))
  (wire (pts (xy 48.26 181.61) (xy 48.26 176.53)))
  (wire (pts (xy 111.76 78.74) (xy 111.76 68.58)))
  (wire (pts (xy 102.87 82.55) (xy 107.95 82.55)))
  (wire (pts (xy 101.6 189.23) (xy 109.22 189.23)))
  (wire (pts (xy 120.65 189.23) (xy 109.22 189.23)))
  (wire (pts (xy 48.26 176.53) (xy 60.96 176.53)))
  (wire (pts (xy 154.94 146.05) (xy 152.4 146.05)))
  (wire (pts (xy 154.94 111.76) (xy 143.51 111.76)))
  (wire (pts (xy 132.08 78.74) (xy 132.08 77.47)))
  (wire (pts (xy 20.32 21.59) (xy 20.32 25.4)))
  (wire (pts (xy 140.97 179.07) (xy 143.51 179.07)))
  (wire (pts (xy 36.83 52.07) (xy 36.83 58.42)))
  (wire (pts (xy 105.41 92.71) (xy 92.71 92.71)))
  (wire (pts (xy 97.79 91.44) (xy 97.79 97.79)))
  (wire (pts (xy 68.58 187.96) (xy 60.96 187.96)))
  (wire (pts (xy 120.65 172.72) (xy 120.65 181.61)))
  (wire (pts (xy 111.76 111.76) (xy 132.08 111.76)))
  (wire (pts (xy 86.36 97.79) (xy 86.36 102.87)))
  (wire (pts (xy 132.08 101.6) (xy 135.89 101.6)))
  (wire (pts (xy 143.51 156.21) (xy 144.78 156.21)))
  (wire (pts (xy 73.66 160.02) (xy 76.2 160.02)))
  (wire (pts (xy 152.4 97.79) (xy 154.94 97.79)))
  (wire (pts (xy 132.08 86.36) (xy 154.94 86.36)))
  (wire (pts (xy 123.19 64.77) (xy 123.19 68.58)))
  (wire (pts (xy 76.2 179.07) (xy 81.28 179.07)))
  (wire (pts (xy 97.79 97.79) (xy 111.76 97.79)))
  (wire (pts (xy 92.71 92.71) (xy 92.71 97.79)))
  (wire (pts (xy 132.08 93.98) (xy 152.4 93.98)))
  (wire (pts (xy 111.76 105.41) (xy 111.76 111.76)))
  (wire (pts (xy 87.63 97.79) (xy 86.36 97.79)))
  (wire (pts (xy 90.17 175.26) (xy 90.17 161.29)))
  (wire (pts (xy 109.22 176.53) (xy 109.22 177.8)))
  (wire (pts (xy 81.28 179.07) (xy 87.63 179.07)))
  (wire (pts (xy 90.17 151.13) (xy 95.25 151.13)))
  (wire (pts (xy 107.95 82.55) (xy 111.76 82.55)))
  (wire (pts (xy 101.6 175.26) (xy 90.17 175.26)))
  (wire (pts (xy 49.53 138.43) (xy 38.1 138.43)))
  (wire (pts (xy 33.02 52.07) (xy 36.83 52.07)))
  (wire (pts (xy 160.02 72.39) (xy 160.02 78.74)))
  (wire (pts (xy 105.41 86.36) (xy 105.41 92.71)))
  (wire (pts (xy 152.4 93.98) (xy 152.4 95.25)))
  (wire (pts (xy 54.61 160.02) (xy 68.58 160.02)))
  (label "CSP" (at 140.97 90.17 0) (fields_autoplaced))
  (label "BATT" (at 170.18 95.25 0) (fields_autoplaced))
  (label "SW" (at 133.35 77.47 0) (fields_autoplaced))
  (label "Vin" (at 104.14 82.55 0) (fields_autoplaced))
  (global_label "Vch" (shape input) (at 25.4 58.42 180) (fields_autoplaced)
    (property "Intersheetrefs" "${INTERSHEET_REFS}" (at 19.0886 58.42 0))
  )
  (global_label "~{EN}" (shape input) (at 107.95 101.6 180) (fields_autoplaced)
    (property "Intersheetrefs" "${INTERSHEET_REFS}" (at 102.4853 101.6 0))
  )
  (global_label "Vbatt_low" (shape input) (at 147.32 179.07 0) (fields_autoplaced)
    (property "Intersheetrefs" "${INTERSHEET_REFS}" (at 159.2555 179.07 0))
  )
  (global_label "CHGOK" (shape input) (at 111.76 93.98 180) (fields_autoplaced)
    (property "Intersheetrefs" "${INTERSHEET_REFS}" (at 102.3038 93.98 0))
  )
  (global_label "~{EN}" (shape input) (at 87.63 179.07 0) (fields_autoplaced)
    (property "Intersheetrefs" "${INTERSHEET_REFS}" (at 93.0947 179.07 0))
  )
  (global_label "Vch" (shape input) (at 88.9 77.47 180) (fields_autoplaced)
    (property "Intersheetrefs" "${INTERSHEET_REFS}" (at 82.5886 77.47 0))
  )
  (global_label "Vch" (shape input) (at 116.84 21.59 0) (fields_autoplaced)
    (property "Intersheetrefs" "${INTERSHEET_REFS}" (at 123.1514 21.59 0))
  )
  (global_label "CHGOK" (shape input) (at 58.42 87.63 180) (fields_autoplaced)
    (property "Intersheetrefs" "${INTERSHEET_REFS}" (at 48.9638 87.63 0))
  )
  (global_label "Vbatt_low" (shape input) (at 87.63 27.94 0) (fields_autoplaced)
    (property "Intersheetrefs" "${INTERSHEET_REFS}" (at 99.5655 27.94 0))
  )
  (symbol (lib_id "power:+BATT") (at 25.4 45.72 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR04" (at 25.4 49.53 0))
    (property "Value" "+BATT" (at 25.4 40.64 0))
    (property "Footprint" "" (at 25.4 45.72 0))
    (property "Datasheet" "" (at 25.4 45.72 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR04") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 90.17 97.79 270) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 90.17 100.33 90))
    (property "Value" "10K" (at 90.17 95.25 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 90.17 97.79 0))
    (property "Datasheet" "~" (at 90.17 97.79 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R5") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 154.94 92.71 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 161.29 91.44 0))
    (property "Value" "200m/2W" (at 166.37 93.98 0))
    (property "Footprint" "Resistor_SMD:R_2512_6332Metric_Pad1.40x3.35mm_HandSolder" (at 154.94 92.71 0))
    (property "Datasheet" "~" (at 154.94 92.71 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R4") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 109.22 180.34 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 113.03 179.07 0))
    (property "Value" "10K" (at 113.03 181.61 0))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 109.22 180.34 0))
    (property "Datasheet" "~" (at 109.22 180.34 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R17") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:+5V") (at 105.41 144.78 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR013" (at 105.41 148.59 0))
    (property "Value" "+5V" (at 105.41 139.7 0))
    (property "Footprint" "" (at 105.41 144.78 0))
    (property "Datasheet" "" (at 105.41 144.78 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR013") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_name "GND_1") (lib_id "power:GND") (at 38.1 153.67 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "#PWR014" (at 38.1 160.02 0))
    (property "Value" "GND" (at 34.29 156.21 0))
    (property "Footprint" "" (at 38.1 153.67 0))
    (property "Datasheet" "" (at 38.1 153.67 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR014") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:D") (at 29.21 58.42 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "D2" (at 30.48 62.23 0))
    (property "Value" "S1FLM-GS08" (at 31.75 55.88 0))
    (property "Footprint" "Diode_SMD:D_SMF" (at 29.21 58.42 0))
    (property "Datasheet" "~" (at 29.21 58.42 0))
    (property "Sim.Device" "D" (at 29.21 58.42 0))
    (property "Sim.Pins" "1=K 2=A" (at 29.21 58.42 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger"
        (path
          (reference "D2") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "D?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:GND") (at 132.08 111.76 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR010" (at 132.08 118.11 0))
    (property "Value" "GND" (at 132.08 116.84 0))
    (property "Footprint" "" (at 132.08 111.76 0))
    (property "Datasheet" "" (at 132.08 111.76 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR010") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 166.37 146.05 270) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 166.37 151.13 90))
    (property "Value" "1K" (at 166.37 148.59 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 166.37 146.05 0))
    (property "Datasheet" "~" (at 166.37 146.05 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R9") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 82.55 91.44 270) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "C?" (at 82.5436 85.09 90))
    (property "Value" "1uF" (at 82.5436 87.63 90))
    (property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (at 82.55 91.44 0))
    (property "Datasheet" "~" (at 82.55 91.44 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C8") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:+BATT") (at 20.32 21.59 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR01" (at 20.32 25.4 0))
    (property "Value" "+BATT" (at 20.32 16.51 0))
    (property "Footprint" "" (at 20.32 21.59 0))
    (property "Datasheet" "" (at 20.32 21.59 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR01") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 157.48 82.55 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "C?" (at 161.29 83.82 90))
    (property "Value" "100nF" (at 161.29 86.36 90))
    (property "Footprint" "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" (at 157.48 82.55 0))
    (property "Datasheet" "~" (at 157.48 82.55 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C6") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:GND") (at 20.32 31.75 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR03" (at 20.32 38.1 0))
    (property "Value" "GND" (at 20.32 36.83 0))
    (property "Footprint" "" (at 20.32 31.75 0))
    (property "Datasheet" "" (at 20.32 31.75 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR03") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_name "GND_1") (lib_id "power:GND") (at 152.4 163.83 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR015" (at 152.4 170.18 0))
    (property "Value" "GND" (at 152.4 168.91 0))
    (property "Footprint" "" (at 152.4 163.83 0))
    (property "Datasheet" "" (at 152.4 163.83 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR015") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 71.12 187.96 270) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 71.12 190.5 90))
    (property "Value" "470K" (at 71.12 193.04 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 71.12 187.96 0))
    (property "Datasheet" "~" (at 71.12 187.96 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R20") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 109.22 170.18 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 113.03 168.91 0))
    (property "Value" "100K" (at 113.03 171.45 0))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 109.22 170.18 0))
    (property "Datasheet" "~" (at 109.22 170.18 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R13") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Connector:Conn_01x02_Pin") (at 27.94 27.94 0) (mirror x) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "J4" (at 28.575 33.02 0))
    (property "Value" "BAT_OUT" (at 28.575 30.48 0))
    (property "Footprint" "Connector_AMASS:AMASS_XT30U-M_1x02_P5.0mm_Vertical" (at 27.94 27.94 0))
    (property "Datasheet" "~" (at 27.94 27.94 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger"
        (path
          (reference "J4") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "J?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "J?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "J?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 157.48 78.74 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "C?" (at 161.29 80.01 90))
    (property "Value" "100nF" (at 161.29 82.55 90))
    (property "Footprint" "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" (at 157.48 78.74 0))
    (property "Datasheet" "~" (at 157.48 78.74 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C4") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 78.74 187.96 270) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 78.74 190.5 90))
    (property "Value" "1.2K" (at 78.74 193.04 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 78.74 187.96 0))
    (property "Datasheet" "~" (at 78.74 187.96 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R21") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:GND") (at 86.36 102.87 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR09" (at 86.36 109.22 0))
    (property "Value" "GND" (at 86.36 107.95 0))
    (property "Footprint" "" (at 86.36 102.87 0))
    (property "Datasheet" "" (at 86.36 102.87 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR09") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Comparator:LM393") (at 68.58 179.07 0) (mirror x) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "U3" (at 68.58 172.72 0))
    (property "Value" "LM393" (at 68.58 170.18 0))
    (property "Footprint" "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm" (at 68.58 179.07 0))
    (property "Datasheet" "http://www.ti.com/lit/ds/symlink/lm393.pdf" (at 68.58 179.07 0))
    (pin "1")
    (pin "2")
    (pin "3")
    (pin "5")
    (pin "6")
    (pin "7")
    (pin "4")
    (pin "8")
    (instances
      (project "charger"
        (path
          (reference "U3") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "U?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 157.48 86.36 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "C?" (at 161.29 87.63 90))
    (property "Value" "100nF" (at 157.48 74.93 90))
    (property "Footprint" "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" (at 157.48 86.36 0))
    (property "Datasheet" "~" (at 157.48 86.36 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C7") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:GND") (at 53.34 68.58 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR06" (at 53.34 74.93 0))
    (property "Value" "GND" (at 53.34 73.66 0))
    (property "Footprint" "" (at 53.34 68.58 0))
    (property "Datasheet" "" (at 53.34 68.58 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR06") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 54.61 171.45 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 52.07 171.45 90))
    (property "Value" "10K" (at 49.53 171.45 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 54.61 171.45 0))
    (property "Datasheet" "~" (at 54.61 171.45 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R16") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:LED_Small") (at 157.48 146.05 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "D5" (at 157.48 148.59 0))
    (property "Value" "Yellow" (at 157.48 151.13 0))
    (property "Footprint" "Diode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolder" (at 157.48 146.05 90))
    (property "Datasheet" "~" (at 157.48 146.05 90))
    (pin "1")
    (pin "2")
    (instances
      (project "charger"
        (path
          (reference "D5") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "D?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "D?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "D?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "aib:LMT85P") (at 29.21 181.61 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "U4" (at 20.32 180.34 0))
    (property "Value" "LMT85P" (at 20.32 182.88 0))
    (property "Footprint" "Connector_Hirose:Hirose_DF13-03P-1.25DS_1x03_P1.25mm_Horizontal" (at 29.21 191.77 0))
    (property "Datasheet" "http://www.ti.com/lit/ds/symlink/lmt85-q1.pdf" (at 29.21 181.61 0))
    (pin "1")
    (pin "2")
    (pin "3")
    (instances
      (project "charger"
        (path
          (reference "U4") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "U?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "U?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Comparator:LM393") (at 133.35 179.07 0) (mirror x) (unit 2)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "U3" (at 134.62 173.99 0))
    (property "Value" "LM393" (at 134.62 171.45 0))
    (property "Footprint" "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm" (at 133.35 179.07 0))
    (property "Datasheet" "http://www.ti.com/lit/ds/symlink/lm393.pdf" (at 133.35 179.07 0))
    (pin "1")
    (pin "2")
    (pin "3")
    (pin "5")
    (pin "6")
    (pin "7")
    (pin "4")
    (pin "8")
    (instances
      (project "charger"
        (path
          (reference "U3") (unit 2)
        )
      )
      (project "ups_12V"
        (path
          (reference "U?") (unit 2)
        )
      )
    )
  )
  (symbol (lib_id "Connector_Generic:Conn_01x02") (at 78.74 25.4 0) (mirror y) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "J?" (at 78.74 34.29 0))
    (property "Value" "down_conv_shunt" (at 78.74 31.75 0))
    (property "Footprint" "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" (at 78.74 25.4 0))
    (property "Datasheet" "~" (at 78.74 25.4 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "J?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "J2") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "J?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Regulator_Linear:L7805") (at 53.34 58.42 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "U1" (at 53.34 52.07 0))
    (property "Value" "L7805" (at 53.34 54.61 0))
    (property "Footprint" "Package_TO_SOT_SMD:TO-252-3_TabPin2" (at 53.975 62.23 0))
    (property "Datasheet" "http://www.st.com/content/ccc/resource/technical/document/datasheet/41/4f/b3/b0/12/d4/47/88/CD00000444.pdf/files/CD00000444.pdf/jcr:content/translations/en.CD00000444.pdf" (at 53.34 59.69 0))
    (pin "1")
    (pin "2")
    (pin "3")
    (instances
      (project "charger"
        (path
          (reference "U1") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "U?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 45.72 181.61 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 45.72 179.07 90))
    (property "Value" "1K" (at 45.72 176.53 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 45.72 181.61 0))
    (property "Datasheet" "~" (at 45.72 181.61 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R18") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 54.61 189.23 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 52.07 189.23 90))
    (property "Value" "3.3K" (at 49.53 189.23 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 54.61 189.23 0))
    (property "Datasheet" "~" (at 54.61 189.23 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R22") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 138.43 101.6 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 138.43 99.06 90))
    (property "Value" "42.2K" (at 138.43 104.14 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 138.43 101.6 0))
    (property "Datasheet" "~" (at 138.43 101.6 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R8") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 36.83 60.96 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "C?" (at 39.37 59.6836 0))
    (property "Value" "100nF" (at 39.37 62.2236 0))
    (property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (at 36.83 60.96 0))
    (property "Datasheet" "~" (at 36.83 60.96 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C1") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Transistor_FET:MMBF170") (at 149.86 156.21 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "Q3" (at 156.21 154.94 0))
    (property "Value" "MMBF170" (at 156.21 157.48 0))
    (property "Footprint" "Package_TO_SOT_SMD:SOT-23" (at 154.94 158.115 0))
    (property "Datasheet" "https://www.diodes.com/assets/Datasheets/ds30104.pdf" (at 149.86 156.21 0))
    (pin "3")
    (pin "1")
    (pin "2")
    (instances
      (project "charger"
        (path
          (reference "Q3") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:Fuse_Small") (at 113.03 21.59 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "F1" (at 113.03 16.51 0))
    (property "Value" "5A" (at 113.03 19.05 0))
    (property "Footprint" "Fuse:Fuse_1206_3216Metric_Pad1.42x1.75mm_HandSolder" (at 113.03 21.59 0))
    (property "Datasheet" "~" (at 113.03 21.59 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger"
        (path
          (reference "F1") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 143.51 105.41 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "C?" (at 146.05 104.1463 0))
    (property "Value" "2.2nF" (at 146.05 106.6863 0))
    (property "Footprint" "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" (at 143.51 105.41 0))
    (property "Datasheet" "~" (at 143.51 105.41 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C11") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:+5V") (at 120.65 165.1 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR017" (at 120.65 168.91 0))
    (property "Value" "+5V" (at 120.65 160.02 0))
    (property "Footprint" "" (at 120.65 165.1 0))
    (property "Datasheet" "" (at 120.65 165.1 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR017") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 179.07 97.79 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "C?" (at 181.61 96.5263 0))
    (property "Value" "10uF/50V" (at 181.61 99.0663 0))
    (property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (at 179.07 97.79 0))
    (property "Datasheet" "~" (at 179.07 97.79 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C9") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 154.94 101.6 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "C?" (at 157.48 100.3363 0))
    (property "Value" "4.7nF" (at 157.48 102.8763 0))
    (property "Footprint" "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" (at 154.94 101.6 0))
    (property "Datasheet" "~" (at 154.94 101.6 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C10") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 137.16 190.5 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 137.16 187.96 90))
    (property "Value" "100K" (at 137.16 185.42 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 137.16 190.5 0))
    (property "Datasheet" "~" (at 137.16 190.5 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R23") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 105.41 147.32 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 110.49 147.32 90))
    (property "Value" "1K" (at 107.95 147.32 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 105.41 147.32 0))
    (property "Datasheet" "~" (at 105.41 147.32 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R15") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:L_Ferrite") (at 140.97 67.31 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "L1" (at 139.7 62.23 90))
    (property "Value" "10uH" (at 140.97 64.77 90))
    (property "Footprint" "Inductor_SMD:L_6.3x6.3_H3" (at 140.97 67.31 0))
    (property "Datasheet" "~" (at 140.97 67.31 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger"
        (path
          (reference "L1") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "L?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "L?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Comparator:LM393") (at 40.64 146.05 0) (unit 3)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "U3" (at 39.37 144.78 0))
    (property "Value" "LM393" (at 39.37 147.32 0))
    (property "Footprint" "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm" (at 40.64 146.05 0))
    (property "Datasheet" "http://www.ti.com/lit/ds/symlink/lm393.pdf" (at 40.64 146.05 0))
    (pin "1")
    (pin "2")
    (pin "3")
    (pin "5")
    (pin "6")
    (pin "7")
    (pin "4")
    (pin "8")
    (instances
      (project "charger"
        (path
          (reference "U3") (unit 3)
        )
      )
      (project "ups_12V"
        (path
          (reference "U?") (unit 3)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 137.16 166.37 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 137.16 163.83 90))
    (property "Value" "10K" (at 137.16 161.29 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 137.16 166.37 0))
    (property "Datasheet" "~" (at 137.16 166.37 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R11") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:D") (at 29.21 52.07 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "D1" (at 31.75 46.99 0))
    (property "Value" "S1FLM-GS08" (at 31.75 49.53 0))
    (property "Footprint" "Diode_SMD:D_SMF" (at 29.21 52.07 0))
    (property "Datasheet" "~" (at 29.21 52.07 0))
    (property "Sim.Device" "D" (at 29.21 52.07 0))
    (property "Sim.Pins" "1=K 2=A" (at 29.21 52.07 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger"
        (path
          (reference "D1") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "D?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_name "GND_1") (lib_id "power:GND") (at 39.37 172.72 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR018" (at 39.37 179.07 0))
    (property "Value" "GND" (at 39.37 177.8 0))
    (property "Footprint" "" (at 39.37 172.72 0))
    (property "Datasheet" "" (at 39.37 172.72 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR018") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 137.16 80.01 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "C?" (at 139.7 78.7336 0))
    (property "Value" "100nF" (at 139.7 81.2736 0))
    (property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (at 137.16 80.01 0))
    (property "Datasheet" "~" (at 137.16 80.01 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C5") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:+5V") (at 38.1 138.43 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR011" (at 38.1 142.24 0))
    (property "Value" "+5V" (at 38.1 133.35 0))
    (property "Footprint" "" (at 38.1 138.43 0))
    (property "Datasheet" "" (at 38.1 138.43 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR011") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:LED_Small") (at 97.79 151.13 0) (mirror x) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "D6" (at 97.79 148.59 0))
    (property "Value" "Red" (at 97.79 146.05 0))
    (property "Footprint" "Diode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolder" (at 97.79 151.13 90))
    (property "Datasheet" "~" (at 97.79 151.13 90))
    (pin "1")
    (pin "2")
    (instances
      (project "charger"
        (path
          (reference "D6") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "D?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "D?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "D?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 95.25 97.79 270) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 95.25 100.33 90))
    (property "Value" "10K" (at 95.25 95.25 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 95.25 97.79 0))
    (property "Datasheet" "~" (at 95.25 97.79 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R6") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 149.86 97.79 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 149.86 95.25 90))
    (property "Value" "750" (at 149.86 100.33 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 149.86 97.79 0))
    (property "Datasheet" "~" (at 149.86 97.79 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R7") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_name "GND_1") (lib_id "power:GND") (at 109.22 190.5 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "#PWR019" (at 109.22 196.85 0))
    (property "Value" "GND" (at 111.76 193.04 0))
    (property "Footprint" "" (at 109.22 190.5 0))
    (property "Datasheet" "" (at 109.22 190.5 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR019") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 114.3 68.58 270) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "C?" (at 116.84 69.85 90))
    (property "Value" "1uF" (at 116.84 72.39 90))
    (property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (at 114.3 68.58 0))
    (property "Datasheet" "~" (at 114.3 68.58 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C14") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 30.48 171.45 270) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "C?" (at 30.4736 165.1 90))
    (property "Value" "100nF" (at 30.4736 167.64 90))
    (property "Footprint" "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" (at 30.48 171.45 0))
    (property "Datasheet" "~" (at 30.48 171.45 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C13") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Connector:Conn_01x02_Pin") (at 102.87 24.13 0) (mirror x) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "J1" (at 103.505 29.21 0))
    (property "Value" "V_CH" (at 103.505 26.67 0))
    (property "Footprint" "Connector_AMASS:AMASS_XT30U-M_1x02_P5.0mm_Vertical" (at 102.87 24.13 0))
    (property "Datasheet" "~" (at 102.87 24.13 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger"
        (path
          (reference "J1") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "J?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "J?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "J?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 64.77 60.96 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "C?" (at 67.31 59.6836 0))
    (property "Value" "100nF" (at 67.31 62.2236 0))
    (property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (at 64.77 60.96 0))
    (property "Datasheet" "~" (at 64.77 60.96 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C2") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Transistor_FET:DMP3013SFV") (at 97.79 80.01 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "Q1" (at 97.79 71.12 90))
    (property "Value" "DMP3013SFV" (at 97.79 73.66 90))
    (property "Footprint" "Package_SON:Diodes_PowerDI3333-8" (at 99.695 74.93 0))
    (property "Datasheet" "https://www.diodes.com/assets/Datasheets/DMP3013SFV.pdf" (at 97.79 80.01 90))
    (pin "1")
    (pin "2")
    (pin "3")
    (pin "4")
    (pin "5")
    (instances
      (project "charger"
        (path
          (reference "Q1") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "Q?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_name "GND_1") (lib_id "power:GND") (at 54.61 194.31 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "#PWR020" (at 54.61 200.66 0))
    (property "Value" "GND" (at 57.15 196.85 0))
    (property "Footprint" "" (at 54.61 194.31 0))
    (property "Datasheet" "" (at 54.61 194.31 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR020") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 102.87 86.36 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 100.33 85.09 0))
    (property "Value" "10K" (at 100.33 87.63 0))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 102.87 86.36 0))
    (property "Datasheet" "~" (at 102.87 86.36 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R2") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Transistor_FET:MMBF170") (at 87.63 156.21 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "Q2" (at 93.98 154.94 0))
    (property "Value" "MMBF170" (at 93.98 157.48 0))
    (property "Footprint" "Package_TO_SOT_SMD:SOT-23" (at 92.71 158.115 0))
    (property "Datasheet" "https://www.diodes.com/assets/Datasheets/ds30104.pdf" (at 87.63 156.21 0))
    (pin "2")
    (pin "3")
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "Q2") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Connector:Conn_01x02_Pin") (at 15.24 27.94 0) (mirror x) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "J3" (at 15.875 33.02 0))
    (property "Value" "BAT_IN" (at 15.875 30.48 0))
    (property "Footprint" "Connector_AMASS:AMASS_XT30U-M_1x02_P5.0mm_Vertical" (at 15.24 27.94 0))
    (property "Datasheet" "~" (at 15.24 27.94 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger"
        (path
          (reference "J3") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "J?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "J?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "J?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 49.53 144.78 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "C?" (at 52.07 143.5036 0))
    (property "Value" "100nF" (at 52.07 146.0436 0))
    (property "Footprint" "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" (at 49.53 144.78 0))
    (property "Datasheet" "~" (at 49.53 144.78 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C12") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 120.65 184.15 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 116.84 184.15 0))
    (property "Value" "1K" (at 116.84 186.69 0))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 120.65 184.15 0))
    (property "Datasheet" "~" (at 120.65 184.15 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R19") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 120.65 64.77 270) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "C?" (at 120.6436 58.42 90))
    (property "Value" "10uF/50V" (at 120.6436 60.96 90))
    (property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (at 120.65 64.77 0))
    (property "Datasheet" "~" (at 120.65 64.77 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "C3") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:GND") (at 123.19 68.58 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR07" (at 123.19 74.93 0))
    (property "Value" "GND" (at 123.19 73.66 0))
    (property "Footprint" "" (at 123.19 68.58 0))
    (property "Datasheet" "" (at 123.19 68.58 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR07") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:+BATT") (at 179.07 95.25 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR08" (at 179.07 99.06 0))
    (property "Value" "+BATT" (at 179.07 90.17 0))
    (property "Footprint" "" (at 179.07 95.25 0))
    (property "Datasheet" "" (at 179.07 95.25 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR08") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:+BATT") (at 109.22 165.1 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR016" (at 109.22 168.91 0))
    (property "Value" "+BATT" (at 109.22 160.02 0))
    (property "Footprint" "" (at 109.22 165.1 0))
    (property "Datasheet" "" (at 109.22 165.1 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR016") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 71.12 160.02 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 71.12 157.48 90))
    (property "Value" "33K" (at 71.12 154.94 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 71.12 160.02 0))
    (property "Datasheet" "~" (at 71.12 160.02 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R10") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 120.65 170.18 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 124.46 168.91 0))
    (property "Value" "3.3K" (at 124.46 171.45 0))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 120.65 170.18 0))
    (property "Datasheet" "~" (at 120.65 170.18 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R14") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_name "GND_1") (lib_id "power:GND") (at 107.95 27.94 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR02" (at 107.95 34.29 0))
    (property "Value" "GND" (at 107.95 33.02 0))
    (property "Footprint" "" (at 107.95 27.94 0))
    (property "Datasheet" "" (at 107.95 27.94 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR02") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:+5V") (at 64.77 55.88 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR05" (at 64.77 59.69 0))
    (property "Value" "+5V" (at 64.77 50.8 0))
    (property "Footprint" "" (at 64.77 55.88 0))
    (property "Datasheet" "" (at 64.77 55.88 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR05") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 72.39 87.63 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 72.39 85.09 90))
    (property "Value" "1K" (at 72.39 90.17 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 72.39 87.63 0))
    (property "Datasheet" "~" (at 72.39 87.63 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R3") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:+5V") (at 168.91 144.78 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR012" (at 168.91 148.59 0))
    (property "Value" "+5V" (at 168.91 139.7 0))
    (property "Footprint" "" (at 168.91 144.78 0))
    (property "Datasheet" "" (at 168.91 144.78 0))
    (pin "1")
    (instances
      (project "charger"
        (path
          (reference "#PWR012") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:LED_Small") (at 67.31 87.63 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "D4" (at 67.31 90.17 0))
    (property "Value" "Blue" (at 67.31 92.71 0))
    (property "Footprint" "Diode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolder" (at 67.31 87.63 90))
    (property "Datasheet" "~" (at 67.31 87.63 90))
    (pin "1")
    (pin "2")
    (instances
      (project "charger"
        (path
          (reference "D4") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "D?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "D?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "D?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:D_Schottky") (at 147.32 72.39 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "D3" (at 143.51 73.66 0))
    (property "Value" "MBRS340" (at 143.51 76.2 0))
    (property "Footprint" "Diode_SMD:D_SMC_Handsoldering" (at 147.32 72.39 0))
    (property "Datasheet" "~" (at 147.32 72.39 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger"
        (path
          (reference "D3") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "D?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 100.33 68.58 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 100.33 66.04 90))
    (property "Value" "10" (at 100.33 63.5 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 100.33 68.58 0))
    (property "Datasheet" "~" (at 100.33 68.58 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R1") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "aib:MP26124") (at 121.92 73.66 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "U2" (at 121.92 107.95 0))
    (property "Value" "MP26124" (at 121.92 110.49 0))
    (property "Footprint" "Package_DFN_QFN:QFN-16-1EP_4x4mm_P0.65mm_EP2.1x2.1mm" (at 121.92 73.66 0))
    (property "Datasheet" "" (at 121.92 73.66 0))
    (pin "1")
    (pin "10")
    (pin "11")
    (pin "12")
    (pin "13")
    (pin "14")
    (pin "15")
    (pin "16")
    (pin "2")
    (pin "3")
    (pin "4")
    (pin "5")
    (pin "6")
    (pin "7")
    (pin "8")
    (pin "9")
    (instances
      (project "charger"
        (path
          (reference "U2") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 54.61 163.83 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 52.07 163.83 90))
    (property "Value" "200" (at 49.53 163.83 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 54.61 163.83 0))
    (property "Datasheet" "~" (at 54.61 163.83 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "charger"
        (path
          (reference "R12") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (sheet_instances
    (path (page "1"))
  )
)
