(kicad_pcb (version 20221018) (generator pcbnew)
  (general
    (thickness 1.6)
  )
  (paper "A4")
  (layers
    (0 "F.Cu" signal)
    (31 "B.Cu" signal)
    (32 "B.Adhes" user "B.Adhesive")
    (33 "F.Adhes" user "F.Adhesive")
    (34 "B.Paste" user)
    (35 "F.Paste" user)
    (36 "B.SilkS" user "B.Silkscreen")
    (37 "F.SilkS" user "F.Silkscreen")
    (38 "B.Mask" user)
    (39 "F.Mask" user)
    (40 "Dwgs.User" user "User.Drawings")
    (41 "Cmts.User" user "User.Comments")
    (42 "Eco1.User" user "User.Eco1")
    (43 "Eco2.User" user "User.Eco2")
    (44 "Edge.Cuts" user)
    (45 "Margin" user)
    (46 "B.CrtYd" user "B.Courtyard")
    (47 "F.CrtYd" user "F.Courtyard")
    (48 "B.Fab" user)
    (49 "F.Fab" user)
    (50 "User.1" user)
    (51 "User.2" user)
    (52 "User.3" user)
    (53 "User.4" user)
    (54 "User.5" user)
    (55 "User.6" user)
    (56 "User.7" user)
    (57 "User.8" user)
    (58 "User.9" user)
  )
  (setup
    (pad_to_mask_clearance 0)
    (pcbplotparams
      (layerselection 0x00010fc_ffffffff)
      (plot_on_all_layers_selection 0x0000000_00000000)
      (disableapertmacros false)
      (usegerberextensions false)
      (usegerberattributes true)
      (usegerberadvancedattributes true)
      (creategerberjobfile true)
      (dashed_line_dash_ratio 12.000000)
      (dashed_line_gap_ratio 3.000000)
      (svgprecision 4)
      (plotframeref false)
      (viasonmask false)
      (mode 1)
      (useauxorigin false)
      (hpglpennumber 1)
      (hpglpenspeed 20)
      (hpglpendiameter 15.000000)
      (dxfpolygonmode true)
      (dxfimperialunits true)
      (dxfusepcbnewfont true)
      (psnegative false)
      (psa4output false)
      (plotreference true)
      (plotvalue true)
      (plotinvisibletext false)
      (sketchpadsonfab false)
      (subtractmaskfromsilk false)
      (outputformat 1)
      (mirror false)
      (drillshape 1)
      (scaleselection 1)
      (outputdirectory "")
    )
  )
  (net 0 "")
  (net 1 "+3.3V")
  (net 2 "GND")
  (net 3 "+6V")
  (net 4 "/RST")
  (net 5 "/CH_PD")
  (net 6 "/TX")
  (net 7 "/GPIO2")
  (net 8 "/GPIO0")
  (net 9 "/RX")
  (net 10 "unconnected-(U2-OUT+-Pad3)")
  (net 11 "unconnected-(U1-NC-Pad4)")
  (net 12 "Net-(J4-Pin_2)")
  (footprint "Resistor_SMD:R_0805_2012Metric" (layer "F.Cu")
    (at 81.5 56.9125 -90)
    (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "resistor")
    (property "Sheetfile" "RemoteSwitch.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor, US symbol")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R2" (at 0 -1.65 90) (layer "F.SilkS") hide)
    (fp_text value "10K" (at 0 1.65 90) (layer "F.SilkS"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -0.9125 0 270) (size 1.025 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.243902)
      (net 5 "/CH_PD") (pintype "passive"))
    (pad "2" smd roundrect (at 0.9125 0 270) (size 1.025 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.243902)
      (net 1 "+3.3V") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "TP4056_module:TP4056-Module-B" (layer "F.Cu")
    (at 58 82.6971)
    (property "Sheetfile" "RemoteSwitch.kicad_sch")
    (property "Sheetname" "")
    (attr smd)
    (fp_text reference "U2" (at 15.24 -12.7 unlocked) (layer "F.SilkS") hide)
    (fp_text value "TP4056" (at 14.5 -17.4898 unlocked) (layer "F.SilkS"))
    (fp_text user "B+" (at 23 -14.5 unlocked) (layer "F.SilkS"))
    (fp_text user "IN-" (at 5.5 -4.8898 unlocked) (layer "F.SilkS"))
    (fp_text user "B-" (at 23 -7.3898 unlocked) (layer "F.SilkS"))
    (fp_text user "OUT+" (at 22 -17 unlocked) (layer "F.SilkS"))
    (fp_text user "IN+" (at 5.5 -17 unlocked) (layer "F.SilkS"))
    (fp_text user "OUT-" (at 22 -4.8898 unlocked) (layer "F.SilkS"))
    (fp_text user "${REFERENCE}" (at 15.24 -7.62 unlocked) (layer "F.Fab") hide)
    (pad "1" thru_hole circle (at 2.5 -17.1) (size 2 2) (drill 1) (layers "*.Cu" "*.Mask")
      (net 12 "Net-(J4-Pin_2)") (pinfunction "IN+") (pintype "input"))
    (pad "2" thru_hole circle (at 2.5 -4.9898) (size 2 2) (drill 1) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "IN-") (pintype "input"))
    (pad "3" thru_hole circle (at 25.5 -17.1) (size 2 2) (drill 1) (layers "*.Cu" "*.Mask")
      (net 10 "unconnected-(U2-OUT+-Pad3)") (pinfunction "OUT+") (pintype "output"))
    (pad "4" thru_hole circle (at 25.5 -14.56) (size 2 2) (drill 1) (layers "*.Cu" "*.Mask")
      (net 3 "+6V") (pinfunction "Batt+") (pintype "bidirectional"))
    (pad "5" thru_hole circle (at 25.5 -7.5298) (size 2 2) (drill 1) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "Batt-") (pintype "bidirectional"))
    (pad "6" thru_hole circle (at 25.5 -4.9898) (size 2 2) (drill 1) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "OUT-") (pintype "output"))
  )
  (footprint "Resistor_SMD:R_0805_2012Metric" (layer "F.Cu")
    (at 81.5 60.9125 -90)
    (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "resistor")
    (property "Sheetfile" "RemoteSwitch.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor, US symbol")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R1" (at 0 -1.65 90) (layer "F.SilkS") hide)
    (fp_text value "10K" (at 0 1.65 90) (layer "F.SilkS"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -0.9125 0 270) (size 1.025 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.243902)
      (net 4 "/RST") (pintype "passive"))
    (pad "2" smd roundrect (at 0.9125 0 270) (size 1.025 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.243902)
      (net 1 "+3.3V") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_0805_2012Metric" (layer "F.Cu")
    (at 74 76.5 -90)
    (descr "Capacitor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf, https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
    (tags "capacitor")
    (property "Sheetfile" "RemoteSwitch.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor, small symbol")
    (property "ki_keywords" "capacitor cap")
    (attr smd)
    (fp_text reference "C3" (at 0 -1.68 90) (layer "F.SilkS") hide)
    (fp_text value "1.0uF" (at 0 1.68 90) (layer "F.SilkS"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -0.95 0 270) (size 1 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 3 "+6V") (pintype "passive"))
    (pad "2" smd roundrect (at 0.95 0 270) (size 1 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "TerminalBlock_MetzConnect:TerminalBlock_MetzConnect_Type011_RT05502HBWC_1x02_P5.00mm_Horizontal" (layer "F.Cu")
    (at 64 87.75)
    (descr "terminal block Metz Connect Type011_RT05502HBWC, 2 pins, pitch 5mm, size 10x10.5mm^2, drill diamater 1.4mm, pad diameter 2.8mm, see http://www.metz-connect.com/de/system/files/productfiles/Datenblatt_310111_RT055xxHBLC_OFF-022717S.pdf, script-generated using https://github.com/pointhi/kicad-footprint-generator/scripts/TerminalBlock_MetzConnect")
    (tags "THT terminal block Metz Connect Type011_RT05502HBWC pitch 5mm size 10x10.5mm^2 drill 1.4mm pad 2.8mm")
    (property "Sheetfile" "RemoteSwitch.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
    (property "ki_keywords" "screw terminal")
    (attr through_hole)
    (fp_text reference "J4" (at 2.5 -7.56) (layer "F.SilkS") hide)
    (fp_text value "Solar" (at 2.5 5.06) (layer "F.SilkS"))
    (fp_text user "${REFERENCE}" (at 2.5 3.25) (layer "F.Fab") hide)
    (pad "1" thru_hole rect (at 0 0) (size 2.8 2.8) (drill 1.4) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole circle (at 5 0) (size 2.8 2.8) (drill 1.4) (layers "*.Cu" "*.Mask")
      (net 12 "Net-(J4-Pin_2)") (pinfunction "Pin_2") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/TerminalBlock_MetzConnect.3dshapes/TerminalBlock_MetzConnect_Type011_RT05502HBWC_1x02_P5.00mm_Horizontal.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Package_TO_SOT_SMD:SOT-23-5" (layer "F.Cu")
    (at 76 70.5)
    (descr "SOT, 5 Pin (https://www.jedec.org/sites/default/files/docs/Mo-178c.PDF variant AA), generated with kicad-footprint-generator ipc_gullwing_generator.py")
    (tags "SOT TO_SOT_SMD")
    (property "Sheetfile" "RemoteSwitch.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "700mA, Low Drop-out Voltage Regulator, Fixed Output 3.3V, SOT-23-5")
    (property "ki_keywords" "LDO Voltage Regulator 700mA")
    (attr smd)
    (fp_text reference "U1" (at 0 -2.4) (layer "F.SilkS") hide)
    (fp_text value "XC6210B332MR" (at 0 2.4) (layer "F.SilkS"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.1375 -0.95) (size 1.325 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 3 "+6V") (pinfunction "VIN") (pintype "power_in"))
    (pad "2" smd roundrect (at -1.1375 0) (size 1.325 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 2 "GND") (pinfunction "GND") (pintype "power_in"))
    (pad "3" smd roundrect (at -1.1375 0.95) (size 1.325 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 3 "+6V") (pinfunction "CE") (pintype "input"))
    (pad "4" smd roundrect (at 1.1375 0.95) (size 1.325 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 11 "unconnected-(U1-NC-Pad4)") (pinfunction "NC") (pintype "no_connect"))
    (pad "5" smd roundrect (at 1.1375 -0.95) (size 1.325 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 1 "+3.3V") (pinfunction "VOUT") (pintype "power_out"))
    (model "${KICAD7_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/SOT-23-5.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "TerminalBlock_MetzConnect:TerminalBlock_MetzConnect_Type011_RT05502HBWC_1x02_P5.00mm_Horizontal" (layer "F.Cu")
    (at 76 87.75)
    (descr "terminal block Metz Connect Type011_RT05502HBWC, 2 pins, pitch 5mm, size 10x10.5mm^2, drill diamater 1.4mm, pad diameter 2.8mm, see http://www.metz-connect.com/de/system/files/productfiles/Datenblatt_310111_RT055xxHBLC_OFF-022717S.pdf, script-generated using https://github.com/pointhi/kicad-footprint-generator/scripts/TerminalBlock_MetzConnect")
    (tags "THT terminal block Metz Connect Type011_RT05502HBWC pitch 5mm size 10x10.5mm^2 drill 1.4mm pad 2.8mm")
    (property "Sheetfile" "RemoteSwitch.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
    (property "ki_keywords" "screw terminal")
    (attr through_hole)
    (fp_text reference "J5" (at 2.5 -7.56) (layer "F.SilkS") hide)
    (fp_text value "Switch" (at 2.5 5.06) (layer "F.SilkS"))
    (fp_text user "${REFERENCE}" (at 2.5 3.25) (layer "F.Fab") hide)
    (pad "1" thru_hole rect (at 0 0) (size 2.8 2.8) (drill 1.4) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole circle (at 5 0) (size 2.8 2.8) (drill 1.4) (layers "*.Cu" "*.Mask")
      (net 5 "/CH_PD") (pinfunction "Pin_2") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/TerminalBlock_MetzConnect.3dshapes/TerminalBlock_MetzConnect_Type011_RT05502HBWC_1x02_P5.00mm_Horizontal.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_Tantalum_SMD:CP_EIA-6032-15_Kemet-U" (layer "F.Cu")
    (at 62 71)
    (descr "Tantalum Capacitor SMD Kemet-U (6032-15 Metric), IPC_7351 nominal, (Body size from: http://www.kemet.com/Lists/ProductCatalog/Attachments/253/KEM_TC101_STD.pdf), generated with kicad-footprint-generator")
    (tags "capacitor tantalum")
    (property "Sheetfile" "RemoteSwitch.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Polarized capacitor, US symbol")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C1" (at 0 -2.55) (layer "F.SilkS") hide)
    (fp_text value "10uF" (at 0.4625 -3) (layer "F.SilkS"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "1" smd roundrect (at -2.4625 0) (size 2.075 2.35) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.120482)
      (net 1 "+3.3V") (pintype "passive"))
    (pad "2" smd roundrect (at 2.4625 0) (size 2.075 2.35) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.120482)
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_Tantalum_SMD.3dshapes/CP_EIA-6032-15_Kemet-U.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_0805_2012Metric" (layer "F.Cu")
    (at 68 76.45 -90)
    (descr "Capacitor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf, https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
    (tags "capacitor")
    (property "Sheetfile" "RemoteSwitch.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor, small symbol")
    (property "ki_keywords" "capacitor cap")
    (attr smd)
    (fp_text reference "C4" (at 0 -1.68 90) (layer "F.SilkS") hide)
    (fp_text value "1.0uF" (at 0 1.68 90) (layer "F.SilkS"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -0.95 0 270) (size 1 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 1 "+3.3V") (pintype "passive"))
    (pad "2" smd roundrect (at 0.95 0 270) (size 1 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_0805_2012Metric" (layer "F.Cu")
    (at 69 71)
    (descr "Capacitor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf, https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
    (tags "capacitor")
    (property "Sheetfile" "RemoteSwitch.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C2" (at 0 -1.68) (layer "F.SilkS") hide)
    (fp_text value "0.1uF" (at -0.05 -2) (layer "F.SilkS"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "1" smd roundrect (at -0.95 0) (size 1 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 2 "GND") (pintype "passive"))
    (pad "2" smd roundrect (at 0.95 0) (size 1 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 1 "+3.3V") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical" (layer "B.Cu")
    (at 76.3 60.5 90)
    (descr "Through hole straight pin header, 1x04, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x04 2.54mm single row")
    (property "Sheetfile" "RemoteSwitch.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x04, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J2" (at 0 2.33 90) (layer "B.SilkS") hide)
    (fp_text value "Conn_01x04_Pin" (at 0 -9.95 90) (layer "B.Fab") hide)
    (fp_text user "${REFERENCE}" (at 0 -3.81) (layer "B.Fab") hide)
    (pad "1" thru_hole rect (at 0 0 90) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole oval (at 0 -2.54 90) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 7 "/GPIO2") (pinfunction "Pin_2") (pintype "passive"))
    (pad "3" thru_hole oval (at 0 -5.08 90) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 8 "/GPIO0") (pinfunction "Pin_3") (pintype "passive"))
    (pad "4" thru_hole oval (at 0 -7.62 90) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 9 "/RX") (pinfunction "Pin_4") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x04_P2.54mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical" (layer "B.Cu")
    (at 68.7 57 -90)
    (descr "Through hole straight pin header, 1x04, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x04 2.54mm single row")
    (property "Sheetfile" "RemoteSwitch.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x04, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J1" (at 0 2.33 90) (layer "B.SilkS") hide)
    (fp_text value "Conn_01x04_Pin" (at 0 -9.95 90) (layer "B.Fab") hide)
    (fp_text user "${REFERENCE}" (at 0 -3.81) (layer "B.Fab") hide)
    (pad "1" thru_hole rect (at 0 0 270) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 1 "+3.3V") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole oval (at 0 -2.54 270) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 4 "/RST") (pinfunction "Pin_2") (pintype "passive"))
    (pad "3" thru_hole oval (at 0 -5.08 270) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 5 "/CH_PD") (pinfunction "Pin_3") (pintype "passive"))
    (pad "4" thru_hole oval (at 0 -7.62 270) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 6 "/TX") (pinfunction "Pin_4") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x04_P2.54mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_rect (start 58 52) (end 85 94)
    (fill none) (layer "Edge.Cuts"))
  (gr_text "ESP8266 Switch with TP5046,\nSolar and CH_PD connection\nCopyright 2025 R J Parkinson" (at 81 80) (layer "B.SilkS"))
  (gr_text "B+" (at 81 75) (layer "B.SilkS"))
  (gr_text "B-" (at 81 82) (layer "B.SilkS"))
  (gr_text "GND" (at 58.5 85.5 -90) (layer "F.SilkS"))
  (gr_text "ESP8266" (at 67.5 54.5) (layer "F.SilkS"))
  (gr_text "GND" (at 75 64) (layer "F.SilkS"))
)
