(kicad_sch (version 20230121) (generator eeschema)
  (paper "A4")
  (lib_symbols
    (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_Polarized" (pin_numbers hide) (pin_names (offset 0.254)) (in_bom yes) (on_board yes)
      (property "Reference" "C" (at 0.635 2.54 0))
      (property "Value" "C_Polarized" (at 0.635 -2.54 0))
      (property "Footprint" "" (at 0.9652 -3.81 0))
      (property "Datasheet" "~" (at 0 0 0))
      (property "ki_keywords" "cap capacitor" (at 0 0 0))
      (property "ki_description" "Polarized capacitor" (at 0 0 0))
      (property "ki_fp_filters" "CP_*" (at 0 0 0))
      (symbol "C_Polarized_0_1"
        (rectangle (start -2.286 0.508) (end 2.286 1.016)
          (fill (type none))
        )
        (polyline
          (pts
            (xy -1.778 2.286)
            (xy -0.762 2.286)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy -1.27 2.794)
            (xy -1.27 1.778)
          )
          (fill (type none))
        )
        (rectangle (start 2.286 -0.508) (end -2.286 -1.016)
          (fill (type outline))
        )
      )
      (symbol "C_Polarized_1_1"
        (pin passive line (at 0 3.81 270) (length 2.794)
          (name "~")
          (number "1")
        )
        (pin passive line (at 0 -3.81 90) (length 2.794)
          (name "~")
          (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:L_Ferrite_Small" (pin_numbers hide) (pin_names (offset 0.254) hide) (in_bom yes) (on_board yes)
      (property "Reference" "L" (at 1.27 1.016 0))
      (property "Value" "L_Ferrite_Small" (at 1.27 -1.27 0))
      (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, small symbol" (at 0 0 0))
      (property "ki_fp_filters" "Choke_* *Coil* Inductor_* L_*" (at 0 0 0))
      (symbol "L_Ferrite_Small_0_1"
        (arc (start 0 -2.032) (mid 0.5058 -1.524) (end 0 -1.016)
          (fill (type none))
        )
        (arc (start 0 -1.016) (mid 0.5058 -0.508) (end 0 0)
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 -1.905)
            (xy 0.762 -1.651)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 -1.397)
            (xy 0.762 -1.143)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 -0.889)
            (xy 0.762 -0.635)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 -0.381)
            (xy 0.762 -0.127)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 0.127)
            (xy 0.762 0.381)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 0.635)
            (xy 0.762 0.889)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 1.143)
            (xy 0.762 1.397)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 1.651)
            (xy 0.762 1.905)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 -1.651)
            (xy 1.016 -1.905)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 -1.143)
            (xy 1.016 -1.397)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 -0.635)
            (xy 1.016 -0.889)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 -0.127)
            (xy 1.016 -0.381)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 0.381)
            (xy 1.016 0.127)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 0.889)
            (xy 1.016 0.635)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 1.397)
            (xy 1.016 1.143)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 1.905)
            (xy 1.016 1.651)
          )
          (fill (type none))
        )
        (arc (start 0 0) (mid 0.5058 0.508) (end 0 1.016)
          (fill (type none))
        )
        (arc (start 0 1.016) (mid 0.5058 1.524) (end 0 2.032)
          (fill (type none))
        )
      )
      (symbol "L_Ferrite_Small_1_1"
        (pin passive line (at 0 2.54 270) (length 0.508)
          (name "~")
          (number "1")
        )
        (pin passive line (at 0 -2.54 90) (length 0.508)
          (name "~")
          (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 "Diode:1N5822" (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" "1N5822" (at 0 -2.54 0))
      (property "Footprint" "Diode_THT:D_DO-201AD_P15.24mm_Horizontal" (at 0 -4.445 0))
      (property "Datasheet" "http://www.vishay.com/docs/88526/1n5820.pdf" (at 0 0 0))
      (property "ki_keywords" "diode Schottky" (at 0 0 0))
      (property "ki_description" "40V 3A Schottky Barrier Rectifier Diode, DO-201AD" (at 0 0 0))
      (property "ki_fp_filters" "D*DO?201AD*" (at 0 0 0))
      (symbol "1N5822_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 "1N5822_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 "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_Switching:XL4015" (in_bom yes) (on_board yes)
      (property "Reference" "U?" (at -6.35 6.35 0))
      (property "Value" "XL4015" (at 6.35 6.35 0))
      (property "Footprint" "Package_TO_SOT_SMD:TO-263-5_TabPin3" (at 21.59 -7.62 0))
      (property "Datasheet" "http://www.xlsemi.net/datasheet/XL4015%20datasheet-English.pdf" (at 0 0 0))
      (property "ki_keywords" "Buck DC-DC" (at 0 0 0))
      (property "ki_description" "5A 180kHz 36V Buck DC to DC Converter" (at 0 0 0))
      (property "ki_fp_filters" "TO?263*" (at 0 0 0))
      (symbol "XL4015_0_1"
        (rectangle (start -7.62 5.08) (end 7.62 -5.08)
          (fill (type background))
        )
      )
      (symbol "XL4015_1_1"
        (pin power_in line (at 0 -7.62 90) (length 2.54)
          (name "GND")
          (number "1")
        )
        (pin input line (at 10.16 -2.54 180) (length 2.54)
          (name "FB")
          (number "2")
        )
        (pin power_out line (at 10.16 2.54 180) (length 2.54)
          (name "SW")
          (number "3")
        )
        (pin input line (at -10.16 -2.54 0) (length 2.54)
          (name "VC")
          (number "4")
        )
        (pin power_in line (at -10.16 2.54 0) (length 2.54)
          (name "VIN")
          (number "5")
        )
      )
    )
    (symbol "power:+12V" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
      (property "Reference" "#PWR" (at 0 -3.81 0))
      (property "Value" "+12V" (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 \"+12V\"" (at 0 0 0))
      (symbol "+12V_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 "+12V_1_1"
        (pin power_in line (at 0 0 90) (length 0) hide
          (name "+12V")
          (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 113.03 104.14) (diameter 0) (color 0 0 0 0))
  (junction (at 138.43 104.14) (diameter 0) (color 0 0 0 0))
  (junction (at 176.53 86.36) (diameter 0) (color 0 0 0 0))
  (junction (at 157.48 91.44) (diameter 0) (color 0 0 0 0))
  (junction (at 184.15 104.14) (diameter 0) (color 0 0 0 0))
  (junction (at 184.15 86.36) (diameter 0) (color 0 0 0 0))
  (junction (at 171.45 86.36) (diameter 0) (color 0 0 0 0))
  (junction (at 195.58 86.36) (diameter 0) (color 0 0 0 0))
  (junction (at 113.03 86.36) (diameter 0) (color 0 0 0 0))
  (junction (at 157.48 104.14) (diameter 0) (color 0 0 0 0))
  (junction (at 93.98 85.09) (diameter 0) (color 0 0 0 0))
  (junction (at 166.37 86.36) (diameter 0) (color 0 0 0 0))
  (junction (at 101.6 86.36) (diameter 0) (color 0 0 0 0))
  (junction (at 106.68 86.36) (diameter 0) (color 0 0 0 0))
  (junction (at 166.37 104.14) (diameter 0) (color 0 0 0 0))
  (junction (at 121.92 86.36) (diameter 0) (color 0 0 0 0))
  (junction (at 149.86 91.44) (diameter 0) (color 0 0 0 0))
  (wire (pts (xy 101.6 86.36) (xy 106.68 86.36)))
  (wire (pts (xy 176.53 86.36) (xy 184.15 86.36)))
  (wire (pts (xy 157.48 81.28) (xy 157.48 91.44)))
  (wire (pts (xy 176.53 86.36) (xy 176.53 88.9)))
  (wire (pts (xy 166.37 101.6) (xy 166.37 104.14)))
  (wire (pts (xy 44.45 111.76) (xy 48.26 111.76)))
  (wire (pts (xy 154.94 91.44) (xy 157.48 91.44)))
  (wire (pts (xy 43.18 72.39) (xy 43.18 76.2)))
  (wire (pts (xy 149.86 81.28) (xy 149.86 91.44)))
  (wire (pts (xy 184.15 81.28) (xy 184.15 86.36)))
  (wire (pts (xy 138.43 104.14) (xy 138.43 106.68)))
  (wire (pts (xy 195.58 97.79) (xy 195.58 104.14)))
  (wire (pts (xy 195.58 104.14) (xy 184.15 104.14)))
  (wire (pts (xy 149.86 71.12) (xy 149.86 73.66)))
  (wire (pts (xy 87.63 85.09) (xy 93.98 85.09)))
  (wire (pts (xy 148.59 91.44) (xy 149.86 91.44)))
  (wire (pts (xy 195.58 77.47) (xy 195.58 86.36)))
  (wire (pts (xy 106.68 91.44) (xy 106.68 86.36)))
  (wire (pts (xy 93.98 81.28) (xy 93.98 85.09)))
  (wire (pts (xy 195.58 90.17) (xy 195.58 86.36)))
  (wire (pts (xy 113.03 97.79) (xy 113.03 104.14)))
  (wire (pts (xy 44.45 114.3) (xy 44.45 120.65)))
  (wire (pts (xy 138.43 104.14) (xy 157.48 104.14)))
  (wire (pts (xy 113.03 92.71) (xy 113.03 86.36)))
  (wire (pts (xy 184.15 86.36) (xy 195.58 86.36)))
  (wire (pts (xy 166.37 104.14) (xy 184.15 104.14)))
  (wire (pts (xy 166.37 86.36) (xy 166.37 93.98)))
  (wire (pts (xy 166.37 86.36) (xy 171.45 86.36)))
  (wire (pts (xy 121.92 86.36) (xy 128.27 86.36)))
  (wire (pts (xy 45.72 96.52) (xy 49.53 96.52)))
  (wire (pts (xy 163.83 81.28) (xy 184.15 81.28)))
  (wire (pts (xy 148.59 86.36) (xy 166.37 86.36)))
  (wire (pts (xy 157.48 96.52) (xy 157.48 99.06)))
  (wire (pts (xy 93.98 85.09) (xy 93.98 86.36)))
  (wire (pts (xy 166.37 104.14) (xy 157.48 104.14)))
  (wire (pts (xy 106.68 86.36) (xy 113.03 86.36)))
  (wire (pts (xy 101.6 81.28) (xy 101.6 86.36)))
  (wire (pts (xy 149.86 91.44) (xy 149.86 93.98)))
  (wire (pts (xy 121.92 91.44) (xy 128.27 91.44)))
  (wire (pts (xy 45.72 93.98) (xy 49.53 93.98)))
  (wire (pts (xy 113.03 86.36) (xy 121.92 86.36)))
  (wire (pts (xy 106.68 104.14) (xy 113.03 104.14)))
  (wire (pts (xy 43.18 66.04) (xy 43.18 69.85)))
  (wire (pts (xy 106.68 99.06) (xy 106.68 104.14)))
  (wire (pts (xy 184.15 104.14) (xy 184.15 96.52)))
  (wire (pts (xy 49.53 92.71) (xy 49.53 93.98)))
  (wire (pts (xy 138.43 96.52) (xy 138.43 104.14)))
  (wire (pts (xy 158.75 81.28) (xy 157.48 81.28)))
  (wire (pts (xy 113.03 104.14) (xy 138.43 104.14)))
  (wire (pts (xy 171.45 86.36) (xy 171.45 88.9)))
  (wire (pts (xy 184.15 86.36) (xy 184.15 91.44)))
  (wire (pts (xy 149.86 101.6) (xy 149.86 109.22)))
  (global_label "Vbatt_12" (shape input) (at 48.26 111.76 0) (fields_autoplaced)
    (property "Intersheetrefs" "${INTERSHEET_REFS}" (at 59.4698 111.76 0))
  )
  (global_label "Vbatt_low" (shape input) (at 149.86 109.22 0) (fields_autoplaced)
    (property "Intersheetrefs" "${INTERSHEET_REFS}" (at 161.7955 109.22 0))
  )
  (global_label "Vbatt_low" (shape input) (at 49.53 96.52 0) (fields_autoplaced)
    (property "Intersheetrefs" "${INTERSHEET_REFS}" (at 61.4655 96.52 0))
  )
  (global_label "Vbatt_12" (shape input) (at 195.58 77.47 0) (fields_autoplaced)
    (property "Intersheetrefs" "${INTERSHEET_REFS}" (at 206.7898 77.47 0))
  )
  (symbol (lib_id "Device:D_Schottky") (at 97.79 86.36 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "D3" (at 99.06 88.9 0))
    (property "Value" "MBRS340" (at 99.06 91.44 0))
    (property "Footprint" "Diode_SMD:D_SMC_Handsoldering" (at 97.79 86.36 0))
    (property "Datasheet" "~" (at 97.79 86.36 0))
    (pin "1")
    (pin "2")
    (instances
      (project "down_converter"
        (path
          (reference "D3") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "D8") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:+12V") (at 49.53 92.71 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR05" (at 49.53 96.52 0))
    (property "Value" "+12V" (at 49.53 87.63 0))
    (property "Footprint" "" (at 49.53 92.71 0))
    (property "Datasheet" "" (at 49.53 92.71 0))
    (pin "1")
    (instances
      (project "down_converter"
        (path
          (reference "#PWR05") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR015") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 121.92 88.9 0) (mirror x) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "C?" (at 119.38 87.6236 0))
    (property "Value" "1uF" (at 119.38 90.1636 0))
    (property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (at 121.92 88.9 0))
    (property "Datasheet" "~" (at 121.92 88.9 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "C1") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C18") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Polarized") (at 106.68 95.25 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "C?" (at 92.71 95.25 0))
    (property "Value" "470uF/50V" (at 92.71 97.79 0))
    (property "Footprint" "Capacitor_THT:CP_Radial_D8.0mm_P3.50mm" (at 107.6452 99.06 0))
    (property "Datasheet" "~" (at 106.68 95.25 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "C4") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C25") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:D") (at 149.86 77.47 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "D1" (at 154.94 80.01 0))
    (property "Value" "S1FLM-GS08" (at 152.4 80.01 0))
    (property "Footprint" "Diode_SMD:D_SMF" (at 149.86 77.47 0))
    (property "Datasheet" "~" (at 149.86 77.47 0))
    (property "Sim.Device" "D" (at 149.86 77.47 0))
    (property "Sim.Pins" "1=K 2=A" (at 149.86 77.47 0))
    (pin "1")
    (pin "2")
    (instances
      (project "down_converter"
        (path
          (reference "D1") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "D6") (unit 1)
        )
      )
    )
  )
  (symbol (lib_name "GND_1") (lib_id "power:GND") (at 138.43 106.68 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR03" (at 138.43 113.03 0))
    (property "Value" "GND" (at 138.43 111.76 0))
    (property "Footprint" "" (at 138.43 106.68 0))
    (property "Datasheet" "" (at 138.43 106.68 0))
    (pin "1")
    (instances
      (project "down_converter"
        (path
          (reference "#PWR03") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR021") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 157.48 101.6 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 161.29 100.33 0))
    (property "Value" "2.2K" (at 161.29 102.87 0))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 157.48 101.6 0))
    (property "Datasheet" "~" (at 157.48 101.6 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "R4") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R15") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:L_Ferrite_Small") (at 173.99 86.36 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "L?" (at 177.8 87.63 90))
    (property "Value" "47uH/3.5A" (at 173.99 83.82 90))
    (property "Footprint" "Inductor_SMD:L_Bourns_SRP1245A" (at 173.99 86.36 0))
    (property "Datasheet" "~" (at 173.99 86.36 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "L?") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "L1") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "L2") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Diode:1N5822") (at 166.37 97.79 270) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "D?" (at 168.91 96.2025 90))
    (property "Value" "1N5825" (at 168.91 98.7425 90))
    (property "Footprint" "Diode_THT:D_DO-201AD_P15.24mm_Horizontal" (at 161.925 97.79 0))
    (property "Datasheet" "http://www.vishay.com/docs/88526/1n5820.pdf" (at 166.37 97.79 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "D?") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "D5") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "D10") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Polarized") (at 195.58 93.98 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "C?" (at 199.39 91.821 0))
    (property "Value" "330uF/25V" (at 199.39 94.361 0))
    (property "Footprint" "Capacitor_THT:CP_Radial_D8.0mm_P3.50mm" (at 196.5452 97.79 0))
    (property "Datasheet" "~" (at 195.58 93.98 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "C3") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C23") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Connector:Conn_01x02_Pin") (at 38.1 72.39 0) (mirror x) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "J1" (at 38.735 77.47 0))
    (property "Value" "BAT" (at 38.735 74.93 0))
    (property "Footprint" "Connector_AMASS:AMASS_XT30U-M_1x02_P5.0mm_Vertical" (at 38.1 72.39 0))
    (property "Datasheet" "~" (at 38.1 72.39 0))
    (pin "1")
    (pin "2")
    (instances
      (project "down_converter"
        (path
          (reference "J1") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "J1") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "J?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "J?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:+BATT") (at 43.18 66.04 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR04" (at 43.18 69.85 0))
    (property "Value" "+BATT" (at 43.18 60.96 0))
    (property "Footprint" "" (at 43.18 66.04 0))
    (property "Datasheet" "" (at 43.18 66.04 0))
    (pin "1")
    (instances
      (project "down_converter"
        (path
          (reference "#PWR04") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR01") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 157.48 93.98 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 161.29 92.71 0))
    (property "Value" "0" (at 161.29 95.25 0))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 157.48 93.98 0))
    (property "Datasheet" "~" (at 157.48 93.98 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "R3") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R14") (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 44.45 120.65 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR07" (at 44.45 127 0))
    (property "Value" "GND" (at 44.45 125.73 0))
    (property "Footprint" "" (at 44.45 120.65 0))
    (property "Datasheet" "" (at 44.45 120.65 0))
    (pin "1")
    (instances
      (project "down_converter"
        (path
          (reference "#PWR07") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR021") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:L_Ferrite_Small") (at 173.99 88.9 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "L?" (at 180.34 87.63 90))
    (property "Value" "47uH/3.5A" (at 173.99 90.17 90))
    (property "Footprint" "Inductor_SMD:L_Bourns_SRP1245A" (at 173.99 88.9 0))
    (property "Datasheet" "~" (at 173.99 88.9 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "L?") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "L2") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "L3") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Connector:Conn_01x02_Pin") (at 39.37 114.3 0) (mirror x) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "J3" (at 40.005 119.38 0))
    (property "Value" "Output" (at 40.005 116.84 0))
    (property "Footprint" "Connector_AMASS:AMASS_XT30U-F_1x02_P5.0mm_Vertical" (at 39.37 114.3 0))
    (property "Datasheet" "~" (at 39.37 114.3 0))
    (pin "1")
    (pin "2")
    (instances
      (project "down_converter"
        (path
          (reference "J3") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "J2") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 152.4 91.44 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 153.67 88.9 90))
    (property "Value" "10K" (at 153.67 86.36 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 152.4 91.44 0))
    (property "Datasheet" "~" (at 152.4 91.44 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "R2") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R12") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:D") (at 149.86 97.79 270) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "D4" (at 144.78 95.25 0))
    (property "Value" "S1FLM-GS08" (at 147.32 95.25 0))
    (property "Footprint" "Diode_SMD:D_SMF" (at 149.86 97.79 0))
    (property "Datasheet" "~" (at 149.86 97.79 0))
    (property "Sim.Device" "D" (at 149.86 97.79 0))
    (property "Sim.Pins" "1=K 2=A" (at 149.86 97.79 0))
    (pin "1")
    (pin "2")
    (instances
      (project "down_converter"
        (path
          (reference "D4") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "D9") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:GND") (at 43.18 76.2 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR06" (at 43.18 82.55 0))
    (property "Value" "GND" (at 43.18 81.28 0))
    (property "Footprint" "" (at 43.18 76.2 0))
    (property "Datasheet" "" (at 43.18 76.2 0))
    (pin "1")
    (instances
      (project "down_converter"
        (path
          (reference "#PWR06") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR05") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:+12V") (at 149.86 71.12 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR01" (at 149.86 74.93 0))
    (property "Value" "+12V" (at 149.86 66.04 0))
    (property "Footprint" "" (at 149.86 71.12 0))
    (property "Datasheet" "" (at 149.86 71.12 0))
    (pin "1")
    (instances
      (project "down_converter"
        (path
          (reference "#PWR01") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR015") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Connector_Generic:Conn_01x02") (at 40.64 93.98 0) (mirror y) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "J1" (at 40.64 102.87 0))
    (property "Value" "Shunt" (at 40.64 100.33 0))
    (property "Footprint" "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" (at 40.64 93.98 0))
    (property "Datasheet" "~" (at 40.64 93.98 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "J1") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "J2") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:R_Small") (at 161.29 81.28 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "R?" (at 161.29 78.74 90))
    (property "Value" "19.1K" (at 161.29 76.2 90))
    (property "Footprint" "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (at 161.29 81.28 0))
    (property "Datasheet" "~" (at 161.29 81.28 0))
    (pin "1")
    (pin "2")
    (instances
      (project "linky_reader"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "R1") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "R8") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "R?") (unit 1)
        )
      )
      (project "room_sensors"
        (path
          (reference "R?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Regulator_Switching:XL4015") (at 138.43 88.9 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "U1" (at 138.43 78.74 0))
    (property "Value" "XL4015" (at 138.43 81.28 0))
    (property "Footprint" "Package_TO_SOT_SMD:TO-263-5_TabPin3" (at 160.02 96.52 0))
    (property "Datasheet" "http://www.xlsemi.net/datasheet/XL4015%20datasheet-English.pdf" (at 138.43 88.9 0))
    (pin "1")
    (pin "2")
    (pin "3")
    (pin "4")
    (pin "5")
    (instances
      (project "down_converter"
        (path
          (reference "U1") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "U3") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:D_Schottky") (at 97.79 81.28 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "D2" (at 101.6 76.2 0))
    (property "Value" "MBRS340" (at 101.6 78.74 0))
    (property "Footprint" "Diode_SMD:D_SMC_Handsoldering" (at 97.79 81.28 0))
    (property "Datasheet" "~" (at 97.79 81.28 0))
    (pin "1")
    (pin "2")
    (instances
      (project "down_converter"
        (path
          (reference "D2") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "D7") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 113.03 95.25 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "C?" (at 115.57 93.9736 0))
    (property "Value" "1uF" (at 115.57 96.5136 0))
    (property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (at 113.03 95.25 0))
    (property "Datasheet" "~" (at 113.03 95.25 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "C5") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C26") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:+BATT") (at 87.63 85.09 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR02" (at 87.63 88.9 0))
    (property "Value" "+BATT" (at 87.63 80.01 0))
    (property "Footprint" "" (at 87.63 85.09 0))
    (property "Datasheet" "" (at 87.63 85.09 0))
    (pin "1")
    (instances
      (project "down_converter"
        (path
          (reference "#PWR02") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "#PWR017") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "#PWR?") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "Device:C_Small") (at 184.15 93.98 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "C?" (at 186.69 92.7036 0))
    (property "Value" "1uF" (at 186.69 95.2436 0))
    (property "Footprint" "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (at 184.15 93.98 0))
    (property "Datasheet" "~" (at 184.15 93.98 0))
    (pin "1")
    (pin "2")
    (instances
      (project "charger_proto"
        (path
          (reference "C?") (unit 1)
        )
      )
      (project "down_converter"
        (path
          (reference "C2") (unit 1)
        )
      )
      (project "ups_12V"
        (path
          (reference "C22") (unit 1)
        )
      )
      (project "ups_5V"
        (path
          (reference "C?") (unit 1)
        )
      )
    )
  )
  (sheet_instances
    (path (page "1"))
  )
)
