(kicad_pcb (version 20171130) (host pcbnew "(5.1.0-0)")
  (general
    (thickness 1.6)
    (drawings 59)
    (tracks 128)
    (zones 0)
    (modules 23)
    (nets 14)
  )
  (page USLetter)
  (title_block
    (title "AP2112M 3.3V-regulator with TXB0104 logic level shifter")
    (date 2019-04-12)
    (comment 1 creativecommons.org/licenses/by-sa/4.0/)
    (comment 2 "CC BY-SA 4.0")
    (comment 3 "(C) Vlad Belous")
  )
  (layers
    (0 F.Cu mixed)
    (31 B.Cu mixed)
    (34 B.Paste user)
    (35 F.Paste user)
    (36 B.SilkS user)
    (37 F.SilkS user)
    (38 B.Mask user)
    (39 F.Mask user)
    (40 Dwgs.User user)
    (41 Cmts.User user)
    (44 Edge.Cuts user)
    (45 Margin user)
    (46 B.CrtYd user hide)
    (47 F.CrtYd user hide)
    (48 B.Fab user hide)
    (49 F.Fab user hide)
  )
  (setup
    (last_trace_width 0.2032)
    (user_trace_width 0.3048)
    (user_trace_width 0.508)
    (user_trace_width 0.8128)
    (trace_clearance 0.2032)
    (zone_clearance 0)
    (zone_45_only no)
    (trace_min 0.1778)
    (via_size 0.6858)
    (via_drill 0.3302)
    (via_min_size 0.6858)
    (via_min_drill 0.3302)
    (user_via 0.762 0.4064)
    (user_via 0.9144 0.508)
    (uvia_size 0.3)
    (uvia_drill 0.1)
    (uvias_allowed no)
    (uvia_min_size 0.2)
    (uvia_min_drill 0.1)
    (edge_width 0.0254)
    (segment_width 0.2)
    (pcb_text_width 0.3)
    (pcb_text_size 1.5 1.5)
    (mod_edge_width 0.15)
    (mod_text_size 1 1)
    (mod_text_width 0.15)
    (pad_size 1.524 1.524)
    (pad_drill 0.762)
    (pad_to_mask_clearance 0.0508)
    (solder_mask_min_width 0.1016)
    (aux_axis_origin 0 0)
    (visible_elements FFFFFF7F)
    (pcbplotparams
      (layerselection 0x010f0_ffffffff)
      (usegerberextensions true)
      (usegerberattributes false)
      (usegerberadvancedattributes false)
      (creategerberjobfile false)
      (excludeedgelayer true)
      (linewidth 0.025400)
      (plotframeref false)
      (viasonmask false)
      (mode 1)
      (useauxorigin false)
      (hpglpennumber 1)
      (hpglpenspeed 20)
      (hpglpendiameter 15.000000)
      (psnegative false)
      (psa4output false)
      (plotreference true)
      (plotvalue true)
      (plotinvisibletext false)
      (padsonsilk false)
      (subtractmaskfromsilk false)
      (outputformat 4)
      (mirror false)
      (drillshape 0)
      (scaleselection 1)
      (outputdirectory "plot-pdf"))
  )
  (net 0 "")
  (net 1 GND)
  (net 2 5V)
  (net 3 3V3)
  (net 4 "Net-(D1-Pad2)")
  (net 5 H4)
  (net 6 H3)
  (net 7 H2)
  (net 8 H1)
  (net 9 L1)
  (net 10 L2)
  (net 11 L3)
  (net 12 L4)
  (net 13 EN)
  (net_class Default "This is the default net class."
    (clearance 0.2032)
    (trace_width 0.2032)
    (via_dia 0.6858)
    (via_drill 0.3302)
    (uvia_dia 0.3)
    (uvia_drill 0.1)
    (diff_pair_width 0.2032)
    (diff_pair_gap 0.1524)
    (add_net 3V3)
    (add_net 5V)
    (add_net EN)
    (add_net GND)
    (add_net H1)
    (add_net H2)
    (add_net H3)
    (add_net H4)
    (add_net L1)
    (add_net L2)
    (add_net L3)
    (add_net L4)
    (add_net "Net-(D1-Pad2)")
  )
  (module local_footprints:OSHW-Logo_Small_SilkScreen (layer B.Cu) (tedit 5CB14C1D)
    (at 159.893 89.789 180)
    (descr "Open Source Hardware Logo")
    (tags "Logo OSHW")
    (attr virtual)
    (fp_text reference REF*** (at 0 0 180) (layer B.SilkS) hide)
    (fp_text value OSHW-Logo_Small_SilkScreen (at 0.75 0 180) (layer B.Fab) hide)
  )
  (module local_footprints:1206_HS (layer F.Cu) (tedit 5C0C843B)
    (at 149.352 86.36 270)
    (descr "Resistor SMD 1206, reflow soldering, Vishay (see dcrcw.pdf)")
    (tags "resistor 1206")
    (attr smd)
    (fp_text reference C1 (at 0 0) (layer F.SilkS))
    (fp_text value 1u (at 0 1.95 270) (layer F.Fab) hide)
    (fp_text user %R (at 0 0 270) (layer F.Fab))
    (pad 2 smd roundrect (at 1.65 0 270) (size 1.3 1.7) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 GND))
    (pad 1 smd roundrect (at -1.65 0 270) (size 1.3 1.7) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 5V))
    (model ${KISYS3DMOD}/Resistors_SMD.3dshapes/R_1206.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:1206_HS (layer F.Cu) (tedit 5C0C843B)
    (at 149.352 91.44 90)
    (descr "Resistor SMD 1206, reflow soldering, Vishay (see dcrcw.pdf)")
    (tags "resistor 1206")
    (attr smd)
    (fp_text reference C2 (at 0 0 180) (layer F.SilkS))
    (fp_text value 1u (at 0 1.95 90) (layer F.Fab) hide)
    (fp_text user %R (at 0 0 90) (layer F.Fab))
    (pad 1 smd roundrect (at -1.65 0 90) (size 1.3 1.7) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 3 3V3))
    (pad 2 smd roundrect (at 1.65 0 90) (size 1.3 1.7) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 GND))
    (model ${KISYS3DMOD}/Resistors_SMD.3dshapes/R_1206.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:0805_HS (layer F.Cu) (tedit 5C0C83D5)
    (at 157.988 86.614 90)
    (descr "Resistor SMD 0805, reflow soldering, Vishay (see dcrcw.pdf)")
    (tags "resistor 0805")
    (attr smd)
    (fp_text reference C3 (at 0 0 180) (layer F.SilkS))
    (fp_text value 0.1u (at 0 1.75 90) (layer F.Fab) hide)
    (fp_text user %R (at 0 0 90) (layer F.Fab))
    (pad 2 smd roundrect (at 1.15 0 90) (size 1.1 1.3) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 GND))
    (pad 1 smd roundrect (at -1.15 0 90) (size 1.1 1.3) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 5V))
    (model ${KISYS3DMOD}/Resistors_SMD.3dshapes/R_0805.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:0805_HS (layer F.Cu) (tedit 5C0C83D5)
    (at 157.988 91.186 270)
    (descr "Resistor SMD 0805, reflow soldering, Vishay (see dcrcw.pdf)")
    (tags "resistor 0805")
    (attr smd)
    (fp_text reference C4 (at 0 0) (layer F.SilkS))
    (fp_text value 0.1u (at 0 1.75 270) (layer F.Fab) hide)
    (fp_text user %R (at 0 0 270) (layer F.Fab))
    (pad 1 smd roundrect (at -1.15 0 270) (size 1.1 1.3) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 3 3V3))
    (pad 2 smd roundrect (at 1.15 0 270) (size 1.1 1.3) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 GND))
    (model ${KISYS3DMOD}/Resistors_SMD.3dshapes/R_0805.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:1206_Diode_HS (layer F.Cu) (tedit 5C0E1507)
    (at 146.05 82.55 180)
    (descr "Resistor SMD 1206, reflow soldering, Vishay (see dcrcw.pdf)")
    (tags "resistor 1206")
    (attr smd)
    (fp_text reference D1 (at 0.508 0 270) (layer F.SilkS))
    (fp_text value D_Schottky (at 0 1.95 180) (layer F.Fab) hide)
    (fp_text user %R (at 0 0 180) (layer F.Fab))
    (pad 2 smd roundrect (at 1.65 0 180) (size 1.3 1.7) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 4 "Net-(D1-Pad2)"))
    (pad 1 smd roundrect (at -1.65 0 180) (size 1.3 1.7) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 5V))
    (model ${KISYS3DMOD}/Resistors_SMD.3dshapes/R_1206.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:USB-micro-B_4-legs_Banggood (layer F.Cu) (tedit 5CB035CE)
    (at 139.7 88.265 270)
    (descr "USB Micro-B receptacle, 4-legs, unknown part number, www.banggood.com/10pcs-Micro-USB-Type-B-5-Pin-Female-Socket-4-Vertical-Legs-For-Solder-Connector-p-1356004.html")
    (tags "usb micro receptacle")
    (attr smd)
    (fp_text reference J1 (at 0 -1.2 270) (layer F.SilkS) hide)
    (fp_text value USB_B_Micro (at 0 3.45 270) (layer F.Fab))
    (fp_text user "PCB Edge" (at 0 0.45 270) (layer Dwgs.User))
    (fp_text user %R (at 0.1 1.975 270) (layer F.Fab))
    (pad "" np_thru_hole oval (at 2 -3.275 270) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask))
    (pad 6 thru_hole oval (at 3.575 -1.15 270) (size 1.06 1.86) (drill oval 0.45 1.25) (layers *.Cu *.Mask)
      (net 1 GND))
    (pad 6 thru_hole oval (at 3.575 -4.6 270) (size 1.06 1.86) (drill oval 0.45 1.25) (layers *.Cu *.Mask)
      (net 1 GND))
    (pad 5 smd roundrect (at 1.3 -4.2 270) (size 0.4 1.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.5)
      (net 1 GND))
    (pad 4 smd roundrect (at 0.65 -4.2 270) (size 0.4 1.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
    (pad 3 smd roundrect (at 0 -4.2 270) (size 0.4 1.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
    (pad 2 smd roundrect (at -0.65 -4.2 270) (size 0.4 1.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
    (pad 1 smd roundrect (at -1.3 -4.2 270) (size 0.4 1.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.5)
      (net 4 "Net-(D1-Pad2)"))
    (pad 6 thru_hole oval (at -3.575 -1.15 270) (size 1.06 1.86) (drill oval 0.45 1.25) (layers *.Cu *.Mask)
      (net 1 GND))
    (pad 6 thru_hole oval (at -3.575 -4.6 270) (size 1.06 1.86) (drill oval 0.45 1.25) (layers *.Cu *.Mask)
      (net 1 GND))
    (pad "" np_thru_hole oval (at -2 -3.275 270) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask))
  )
  (module local_footprints:Pin_Header_Straight_1x01_Pitch2.54mm (layer F.Cu) (tedit 5CA97A76)
    (at 153.67 82.55)
    (descr "Through hole straight pin header, 1x07, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x07 2.54mm single row")
    (fp_text reference J2 (at 0 -1.6) (layer F.SilkS) hide)
    (fp_text value VIN_HV (at 0 2.54) (layer F.Fab) hide)
    (fp_text user %R (at 0 -1.6 180) (layer F.Fab) hide)
    (pad 1 thru_hole roundrect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 2 5V))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x07_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:Pin_Header_Straight_1x01_Pitch2.54mm (layer F.Cu) (tedit 5CA97A76)
    (at 151.13 82.55)
    (descr "Through hole straight pin header, 1x07, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x07 2.54mm single row")
    (fp_text reference J3 (at 0 -1.6) (layer F.SilkS) hide)
    (fp_text value VIN_HV (at 0 2.54) (layer F.Fab) hide)
    (fp_text user %R (at 0 -1.6 180) (layer F.Fab) hide)
    (pad 1 thru_hole roundrect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 2 5V))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x07_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:Pin_Header_Straight_1x01_Pitch2.54mm (layer F.Cu) (tedit 5CA97A76)
    (at 158.75 82.55)
    (descr "Through hole straight pin header, 1x07, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x07 2.54mm single row")
    (fp_text reference J4 (at 0 -1.6) (layer F.SilkS) hide)
    (fp_text value GND (at 0 2.54) (layer F.Fab) hide)
    (fp_text user %R (at 0 -1.6 180) (layer F.Fab) hide)
    (pad 1 thru_hole roundrect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 1 GND))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x07_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:Pin_Header_Straight_1x01_Pitch2.54mm (layer F.Cu) (tedit 5CA97A76)
    (at 156.21 82.55)
    (descr "Through hole straight pin header, 1x07, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x07 2.54mm single row")
    (fp_text reference J5 (at 0 -1.6) (layer F.SilkS) hide)
    (fp_text value GND (at 0 2.54) (layer F.Fab) hide)
    (fp_text user %R (at 0 -1.6 180) (layer F.Fab) hide)
    (pad 1 thru_hole roundrect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 1 GND))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x07_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:Pin_Header_Straight_1x01_Pitch2.54mm (layer F.Cu) (tedit 5CA97A76)
    (at 153.67 95.25)
    (descr "Through hole straight pin header, 1x07, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x07 2.54mm single row")
    (fp_text reference J6 (at 0 -1.6) (layer F.SilkS) hide)
    (fp_text value VOUT_LV (at 0 2.54) (layer F.Fab) hide)
    (fp_text user %R (at 0 -1.6 180) (layer F.Fab) hide)
    (pad 1 thru_hole roundrect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 3 3V3))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x07_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:Pin_Header_Straight_1x01_Pitch2.54mm (layer F.Cu) (tedit 5CA97A76)
    (at 151.13 95.25)
    (descr "Through hole straight pin header, 1x07, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x07 2.54mm single row")
    (fp_text reference J7 (at 0 -1.6) (layer F.SilkS) hide)
    (fp_text value VOUT_LV (at 0 2.54) (layer F.Fab) hide)
    (fp_text user %R (at 0 -1.6 180) (layer F.Fab) hide)
    (pad 1 thru_hole roundrect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 3 3V3))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x07_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:Pin_Header_Straight_1x01_Pitch2.54mm (layer F.Cu) (tedit 5CA97A76)
    (at 158.75 95.25)
    (descr "Through hole straight pin header, 1x07, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x07 2.54mm single row")
    (fp_text reference J8 (at 0 -1.6) (layer F.SilkS) hide)
    (fp_text value GND (at 0 2.54) (layer F.Fab) hide)
    (fp_text user %R (at 0 -1.6 180) (layer F.Fab) hide)
    (pad 1 thru_hole roundrect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 1 GND))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x07_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:Pin_Header_Straight_1x01_Pitch2.54mm (layer F.Cu) (tedit 5CA97A76)
    (at 156.21 95.25)
    (descr "Through hole straight pin header, 1x07, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x07 2.54mm single row")
    (fp_text reference J9 (at 0 -1.6) (layer F.SilkS) hide)
    (fp_text value GND (at 0 2.54) (layer F.Fab) hide)
    (fp_text user %R (at 0 -1.6 180) (layer F.Fab) hide)
    (pad 1 thru_hole roundrect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 1 GND))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x07_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:Pin_Header_Straight_1x04_Pitch2.54mm (layer F.Cu) (tedit 5CB0398D)
    (at 161.29 82.55 270)
    (descr "Through hole straight pin header, 1x07, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x07 2.54mm single row")
    (fp_text reference J10 (at 0 -10.16 270) (layer F.SilkS) hide)
    (fp_text value SIG_HV (at 0 2.54 270) (layer F.Fab) hide)
    (fp_text user %R (at 0 -10.16 90) (layer F.Fab) hide)
    (pad 4 thru_hole roundrect (at 0 -7.62 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 5 H4))
    (pad 3 thru_hole roundrect (at 0 -5.08 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 6 H3))
    (pad 2 thru_hole roundrect (at 0 -2.54 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 7 H2))
    (pad 1 thru_hole roundrect (at 0 0 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 8 H1))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x07_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:Pin_Header_Straight_1x04_Pitch2.54mm (layer F.Cu) (tedit 5CB0398D)
    (at 161.29 95.25 270)
    (descr "Through hole straight pin header, 1x07, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x07 2.54mm single row")
    (fp_text reference J11 (at 0 -10.16 270) (layer F.SilkS) hide)
    (fp_text value SIG_LV (at 0 2.54 270) (layer F.Fab) hide)
    (fp_text user %R (at 0 -10.16 90) (layer F.Fab) hide)
    (pad 1 thru_hole roundrect (at 0 0 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 9 L1))
    (pad 2 thru_hole roundrect (at 0 -2.54 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 10 L2))
    (pad 3 thru_hole roundrect (at 0 -5.08 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 11 L3))
    (pad 4 thru_hole roundrect (at 0 -7.62 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 12 L4))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x07_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:0805_HS (layer F.Cu) (tedit 5C0C83D5)
    (at 146.939 86.36 270)
    (descr "Resistor SMD 0805, reflow soldering, Vishay (see dcrcw.pdf)")
    (tags "resistor 0805")
    (attr smd)
    (fp_text reference JP1 (at 0 0) (layer F.SilkS))
    (fp_text value "0 Ohm" (at 0 1.75 270) (layer F.Fab) hide)
    (fp_text user %R (at 0 0 270) (layer F.Fab))
    (pad 1 smd roundrect (at -1.15 0 270) (size 1.1 1.3) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 4 "Net-(D1-Pad2)"))
    (pad 2 smd roundrect (at 1.15 0 270) (size 1.1 1.3) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 5V))
    (model ${KISYS3DMOD}/Resistors_SMD.3dshapes/R_0805.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:JST_PH_S2B-PH-K_02x2.00mm_Angled_WiderHole (layer F.Cu) (tedit 5CA9552A)
    (at 170.18 89.916 90)
    (descr "JST PH series connector, S2B-PH-K, side entry type, through hole, Datasheet: http://www.jst-mfg.com/product/pdf/eng/ePH.pdf")
    (tags "connector jst ph")
    (fp_text reference JST_PH_BAT1 (at 6.35 1.27 180) (layer F.SilkS) hide)
    (fp_text value JST_PH_BAT (at 1 7.25 90) (layer F.Fab))
    (fp_text user %R (at 1 2.5 90) (layer F.Fab))
    (pad 2 thru_hole oval (at 2 0 90) (size 1.397 1.778) (drill 0.8382) (layers *.Cu *.Mask)
      (net 1 GND))
    (pad 1 thru_hole roundrect (at 0 0 90) (size 1.397 1.778) (drill 0.8382) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 3 3V3))
    (model ${KISYS3DMOD}/Connectors_JST.3dshapes/JST_PH_S2B-PH-K_02x2.00mm_Angled.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:0805_HS (layer B.Cu) (tedit 5C0C83D5)
    (at 166.116 88.392 180)
    (descr "Resistor SMD 0805, reflow soldering, Vishay (see dcrcw.pdf)")
    (tags "resistor 0805")
    (attr smd)
    (fp_text reference R1 (at 0 0 90) (layer B.SilkS))
    (fp_text value 10k (at 0 -1.75 180) (layer B.Fab) hide)
    (fp_text user %R (at 0 0 180) (layer B.Fab))
    (pad 2 smd roundrect (at 1.15 0 180) (size 1.1 1.3) (layers B.Cu B.Paste B.Mask) (roundrect_rratio 0.25)
      (net 1 GND))
    (pad 1 smd roundrect (at -1.15 0 180) (size 1.1 1.3) (layers B.Cu B.Paste B.Mask) (roundrect_rratio 0.25)
      (net 3 3V3))
    (model ${KISYS3DMOD}/Resistors_SMD.3dshapes/R_0805.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:Conn_01x03_small (layer F.Cu) (tedit 5C735598)
    (at 144.145 95.25 90)
    (fp_text reference SW1 (at 1.905 0 180) (layer F.SilkS) hide)
    (fp_text value SW_REG (at 0 -7.62 90) (layer F.Fab) hide)
    (pad 1 thru_hole circle (at 0 -2.54 90) (size 1.651 1.651) (drill 0.889) (layers *.Cu *.Mask)
      (net 1 GND))
    (pad 2 thru_hole circle (at 0 0 90) (size 1.651 1.651) (drill 0.889) (layers *.Cu *.Mask)
      (net 13 EN))
    (pad 3 thru_hole circle (at 0 2.54 90) (size 1.651 1.651) (drill 0.889) (layers *.Cu *.Mask)
      (net 2 5V))
  )
  (module local_footprints:SOIC-8_3.9x4.9mm_Pitch1.27mm_HS (layer F.Cu) (tedit 5C735721)
    (at 153.416 88.9 90)
    (descr "8-Lead Plastic Small Outline (SN) - Narrow, 3.90 mm Body [SOIC] (see Microchip Packaging Specification 00000049BS.pdf)")
    (tags "SOIC 1.27")
    (attr smd)
    (fp_text reference U1 (at -0.889 -1.524) (layer F.SilkS))
    (fp_text value AP2112M-8SOIC (at 0 3.5 90) (layer F.Fab))
    (fp_text user %R (at 0 0 90) (layer F.Fab))
    (pad 8 smd roundrect (at 2.9 -1.905 90) (size 1.95 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 5V))
    (pad 7 smd roundrect (at 2.9 -0.635 90) (size 1.95 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 GND))
    (pad 6 smd roundrect (at 2.9 0.635 90) (size 1.95 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 GND))
    (pad 5 smd roundrect (at 2.9 1.905 90) (size 1.95 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 13 EN))
    (pad 4 smd roundrect (at -2.9 1.905 90) (size 1.95 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
    (pad 3 smd roundrect (at -2.9 0.635 90) (size 1.95 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
    (pad 2 smd roundrect (at -2.9 -0.635 90) (size 1.95 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
    (pad 1 smd roundrect (at -2.9 -1.905 90) (size 1.95 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 3 3V3))
    (model ${KISYS3DMOD}/Housings_SOIC.3dshapes/SOIC-8_3.9x4.9mm_Pitch1.27mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module local_footprints:SOIC-14_3.9x8.7mm_Pitch1.27mm_HS (layer F.Cu) (tedit 5C10969A)
    (at 163.83 88.9 90)
    (descr "14-Lead Plastic Small Outline (SL) - Narrow, 3.90 mm Body [SOIC] (see Microchip Packaging Specification 00000049BS.pdf)")
    (tags "SOIC 1.27")
    (attr smd)
    (fp_text reference U2 (at -0.889 -3.429 180) (layer F.SilkS))
    (fp_text value TXB0104 (at 0 5.375 90) (layer F.Fab) hide)
    (fp_text user %R (at 0 0 180) (layer F.Fab))
    (pad 14 smd roundrect (at 2.95 -3.81 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 5V))
    (pad 13 smd roundrect (at 2.95 -2.54 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 8 H1))
    (pad 12 smd roundrect (at 2.95 -1.27 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 7 H2))
    (pad 11 smd roundrect (at 2.95 0 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 6 H3))
    (pad 10 smd roundrect (at 2.95 1.27 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 5 H4))
    (pad 9 smd roundrect (at 2.95 2.54 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
    (pad 8 smd roundrect (at 2.95 3.81 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 3 3V3))
    (pad 7 smd roundrect (at -2.95 3.81 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 GND))
    (pad 6 smd roundrect (at -2.95 2.54 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
    (pad 5 smd roundrect (at -2.95 1.27 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 12 L4))
    (pad 4 smd roundrect (at -2.95 0 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 11 L3))
    (pad 3 smd roundrect (at -2.95 -1.27 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 10 L2))
    (pad 2 smd roundrect (at -2.95 -2.54 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 9 L1))
    (pad 1 smd roundrect (at -2.95 -3.81 90) (size 2 0.6) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 3 3V3))
    (model ${KISYS3DMOD}/Housings_SOIC.3dshapes/SOIC-14_3.9x8.7mm_Pitch1.27mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_text NOTES: (at 154.559 85.979) (layer B.SilkS))
  (gr_text "AP2112M + TXB0104" (at 168.529 85.979) (layer B.SilkS))
  (gr_text "LDO + logic level shifter" (at 168.529 84.963) (layer B.SilkS))
  (gr_text "(C) Vlad Belous\nCC BY-SA 4.0" (at 167.894 92.075) (layer B.SilkS))
  (gr_text H4 (at 168.91 84.201) (layer F.SilkS))
  (gr_text H3 (at 166.37 84.201) (layer F.SilkS))
  (gr_text H2 (at 163.83 84.201) (layer F.SilkS))
  (gr_text H1 (at 161.29 84.201) (layer F.SilkS))
  (gr_text GND (at 157.48 84.201) (layer F.SilkS))
  (gr_text 5V (at 152.4 84.201) (layer F.SilkS))
  (gr_text L4 (at 168.91 93.599) (layer F.SilkS))
  (gr_text L3 (at 166.37 93.599) (layer F.SilkS))
  (gr_text L2 (at 163.83 93.599) (layer F.SilkS))
  (gr_text L1 (at 161.29 93.599) (layer F.SilkS))
  (gr_text GND (at 157.48 93.599) (layer F.SilkS))
  (gr_text 3V3 (at 152.4 93.599) (layer F.SilkS))
  (gr_text GND (at 170.18 86.36) (layer B.SilkS))
  (gr_text 3V3 (at 170.18 91.694) (layer B.SilkS))
  (gr_text AP2112M (at 153.416 88.392) (layer F.SilkS))
  (gr_text TXB0104 (at 163.703 88.392) (layer F.SilkS))
  (dimension 15.24 (width 0.15) (layer Cmts.User)
    (gr_text "15.240 mm" (at 185.45 88.9 270) (layer Cmts.User))
    (feature1 (pts (xy 182.88 96.52) (xy 184.736421 96.52)))
    (feature2 (pts (xy 182.88 81.28) (xy 184.736421 81.28)))
    (crossbar (pts (xy 184.15 81.28) (xy 184.15 96.52)))
    (arrow1a (pts (xy 184.15 96.52) (xy 183.563579 95.393496)))
    (arrow1b (pts (xy 184.15 96.52) (xy 184.736421 95.393496)))
    (arrow2a (pts (xy 184.15 81.28) (xy 183.563579 82.406504)))
    (arrow2b (pts (xy 184.15 81.28) (xy 184.736421 82.406504)))
  )
  (dimension 31.75 (width 0.15) (layer Cmts.User)
    (gr_text "31.750 mm" (at 155.575 106.71) (layer Cmts.User))
    (feature1 (pts (xy 171.45 104.14) (xy 171.45 105.996421)))
    (feature2 (pts (xy 139.7 104.14) (xy 139.7 105.996421)))
    (crossbar (pts (xy 139.7 105.41) (xy 171.45 105.41)))
    (arrow1a (pts (xy 171.45 105.41) (xy 170.323496 105.996421)))
    (arrow1b (pts (xy 171.45 105.41) (xy 170.323496 104.823579)))
    (arrow2a (pts (xy 139.7 105.41) (xy 140.826504 105.996421)))
    (arrow2b (pts (xy 139.7 105.41) (xy 140.826504 104.823579)))
  )
  (dimension 31.75 (width 0.15) (layer Cmts.User)
    (gr_text "1.2500 in" (at 155.575 102.9) (layer Cmts.User))
    (feature1 (pts (xy 171.45 100.33) (xy 171.45 102.186421)))
    (feature2 (pts (xy 139.7 100.33) (xy 139.7 102.186421)))
    (crossbar (pts (xy 139.7 101.6) (xy 171.45 101.6)))
    (arrow1a (pts (xy 171.45 101.6) (xy 170.323496 102.186421)))
    (arrow1b (pts (xy 171.45 101.6) (xy 170.323496 101.013579)))
    (arrow2a (pts (xy 139.7 101.6) (xy 140.826504 102.186421)))
    (arrow2b (pts (xy 139.7 101.6) (xy 140.826504 101.013579)))
  )
  (gr_text ON (at 145.542 93.218) (layer F.SilkS))
  (gr_text OFF (at 142.621 93.218) (layer F.SilkS))
  (gr_arc (start 140.97 82.55) (end 140.97 81.28) (angle -90) (layer Edge.Cuts) (width 0.0254))
  (gr_arc (start 140.97 95.25) (end 139.7 95.25) (angle -90) (layer Edge.Cuts) (width 0.0254))
  (gr_arc (start 170.18 95.25) (end 170.18 96.52) (angle -90) (layer Edge.Cuts) (width 0.0254))
  (gr_arc (start 170.18 82.55) (end 171.45 82.55) (angle -90) (layer Edge.Cuts) (width 0.0254))
  (gr_line (start 171.45 82.55) (end 171.45 95.25) (layer Edge.Cuts) (width 0.0254))
  (gr_line (start 140.97 96.52) (end 170.18 96.52) (layer Edge.Cuts) (width 0.0254))
  (gr_line (start 139.7 82.55) (end 139.7 95.25) (layer Edge.Cuts) (width 0.0254))
  (gr_line (start 170.18 81.28) (end 140.97 81.28) (layer Edge.Cuts) (width 0.0254))
  (dimension 15.24 (width 0.15) (layer Cmts.User)
    (gr_text "0.6000 in" (at 181.64 88.9 270) (layer Cmts.User))
    (feature1 (pts (xy 179.07 96.52) (xy 180.926421 96.52)))
    (feature2 (pts (xy 179.07 81.28) (xy 180.926421 81.28)))
    (crossbar (pts (xy 180.34 81.28) (xy 180.34 96.52)))
    (arrow1a (pts (xy 180.34 96.52) (xy 179.753579 95.393496)))
    (arrow1b (pts (xy 180.34 96.52) (xy 180.926421 95.393496)))
    (arrow2a (pts (xy 180.34 81.28) (xy 179.753579 82.406504)))
    (arrow2b (pts (xy 180.34 81.28) (xy 180.926421 82.406504)))
  )
  (zone (net 1) (net_name GND) (layer B.Cu) (hatch edge 0.508)
    (connect_pads (clearance 0.4064))
    (min_thickness 0.4064)
    (fill yes (arc_segments 32) (thermal_gap 0.3048) (thermal_bridge_width 0.508))
    (polygon
      (pts
        (xy 138.43 80.01) (xy 172.72 80.01) (xy 172.72 97.79) (xy 138.43 97.79)
      )
    )
  )
  (zone (net 4) (net_name "Net-(D1-Pad2)") (layer F.Cu) (hatch edge 0.508)
    (connect_pads yes (clearance 0))
    (min_thickness 0.0254)
    (fill yes (arc_segments 32) (thermal_gap 0.3048) (thermal_bridge_width 0.508) (smoothing chamfer) (radius 0.127))
    (polygon
      (pts
        (xy 144.272 87.122) (xy 145.288 87.122) (xy 147.066 85.598) (xy 146.558 85.09) (xy 145.288 86.36)
        (xy 144.272 86.868) (xy 143.764 87.122)
      )
    )
  )
)
