(kicad_pcb (version 20211014) (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
    (stackup
      (layer "F.SilkS" (type "Top Silk Screen"))
      (layer "F.Paste" (type "Top Solder Paste"))
      (layer "F.Mask" (type "Top Solder Mask") (thickness 0.01))
      (layer "F.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 1" (type "core") (thickness 1.51) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "B.Cu" (type "copper") (thickness 0.035))
      (layer "B.Mask" (type "Bottom Solder Mask") (thickness 0.01))
      (layer "B.Paste" (type "Bottom Solder Paste"))
      (layer "B.SilkS" (type "Bottom Silk Screen"))
      (copper_finish "None")
      (dielectric_constraints no)
    )
    (pad_to_mask_clearance 0)
    (pcbplotparams
      (layerselection 0x00010fc_ffffffff)
      (disableapertmacros false)
      (usegerberextensions false)
      (usegerberattributes true)
      (usegerberadvancedattributes true)
      (creategerberjobfile true)
      (svguseinch false)
      (svgprecision 6)
      (excludeedgelayer true)
      (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 "GND")
  (net 2 "Net-(J1-Pad2)")
  (net 3 "+5V")
  (net 4 "unconnected-(J1-Pad6)")
  (net 5 "Net-(J1-Pad4)")
  (footprint "Connector_USB:USB_Mini-B_Tensility_54-00023_Vertical" (layer "F.Cu")
    (tedit 5A24F112)
    (at 139.192 95.758)
    (descr "http://www.tensility.com/pdffiles/54-00023.pdf")
    (tags "usb mini receptacle vertical")
    (property "Sheetfile" "miniusb-jst.kicad_sch")
    (property "Sheetname" "")
    (attr through_hole)
    (fp_text reference "J1" (at 1.6 -3.7) (layer "F.SilkS"))
    (fp_text value "USB_B_Micro" (at 1.5 2.2) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 1.5 -1) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0) (size 1.1 1.1) (drill 0.7) (layers *.Cu *.Mask)
      (net 3 "+5V") (pinfunction "VBUS") (pintype "power_out"))
    (pad "2" thru_hole circle (at 0.8 -1.75) (size 1.1 1.1) (drill 0.7) (layers *.Cu *.Mask)
      (net 2 "Net-(J1-Pad2)") (pinfunction "D-") (pintype "bidirectional"))
    (pad "3" thru_hole circle (at 1.6 0) (size 1.1 1.1) (drill 0.7) (layers *.Cu *.Mask)
      (net 2 "Net-(J1-Pad2)") (pinfunction "D+") (pintype "bidirectional"))
    (pad "4" thru_hole circle (at 2.4 -1.75) (size 1.1 1.1) (drill 0.7) (layers *.Cu *.Mask)
      (net 5 "Net-(J1-Pad4)") (pinfunction "ID") (pintype "passive"))
    (pad "5" thru_hole circle (at 3.2 0) (size 1.1 1.1) (drill 0.7) (layers *.Cu *.Mask)
      (net 1 "GND") (pinfunction "GND") (pintype "power_out"))
    (pad "6" thru_hole oval (at 5.25 -0.875) (size 1.1 2.4) (drill oval 0.7 2) (layers *.Cu *.Mask)
      (net 4 "unconnected-(J1-Pad6)") (pinfunction "Shield") (pintype "passive+no_connect"))
    (pad "6" thru_hole oval (at -2.05 -0.875) (size 1.1 2.4) (drill oval 0.7 2) (layers *.Cu *.Mask)
      (net 4 "unconnected-(J1-Pad6)") (pinfunction "Shield") (pintype "passive+no_connect"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_USB.3dshapes/USB_Mini-B_Tensility_54-00023_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_JST:JST_SH_BM04B-SRSS-TB_1x04-1MP_P1.00mm_Vertical" (layer "F.Cu")
    (tedit 5B78AD87)
    (at 140.692 89.861 180)
    (descr "JST SH series connector, BM04B-SRSS-TB (http://www.jst-mfg.com/product/pdf/eng/eSH.pdf), generated with kicad-footprint-generator")
    (tags "connector JST SH side entry")
    (property "Sheetfile" "miniusb-jst.kicad_sch")
    (property "Sheetname" "")
    (attr smd)
    (fp_text reference "J2" (at 0 -3.3) (layer "F.SilkS"))
    (fp_text value "Conn_01x04_Female" (at 0 3.3) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 -0.25) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.5 1.325 180) (size 0.6 1.55) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 1 "GND") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" smd roundrect (at -0.5 1.325 180) (size 0.6 1.55) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 5 "Net-(J1-Pad4)") (pinfunction "Pin_2") (pintype "passive"))
    (pad "3" smd roundrect (at 0.5 1.325 180) (size 0.6 1.55) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 2 "Net-(J1-Pad2)") (pinfunction "Pin_3") (pintype "passive"))
    (pad "4" smd roundrect (at 1.5 1.325 180) (size 0.6 1.55) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 3 "+5V") (pinfunction "Pin_4") (pintype "passive"))
    (pad "MP" smd roundrect (at 2.8 -1.2 180) (size 1.2 1.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.208333))
    (pad "MP" smd roundrect (at -2.8 -1.2 180) (size 1.2 1.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.208333))
    (model "${KICAD6_3DMODEL_DIR}/Connector_JST.3dshapes/JST_SH_BM04B-SRSS-TB_1x04-1MP_P1.00mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_line (start 143.51 97.028) (end 137.922 97.028) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 144.78 87.122) (end 144.78 92.71) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 137.922 92.71) (end 136.652 92.71) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 137.922 97.028) (end 137.922 92.71) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 136.652 92.71) (end 136.652 87.122) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 136.652 87.122) (end 144.78 87.122) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 144.78 92.71) (end 143.51 92.71) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 143.51 92.71) (end 143.51 97.028) (layer "Edge.Cuts") (width 0.1))
  (zone (net 3) (net_name "+5V") (layer "F.Cu") (hatch edge 0.508)
    (connect_pads (clearance 0.508))
    (min_thickness 0.254) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.508) (thermal_bridge_width 0.508))
    (polygon
      (pts
        (xy 144.78 92.71)
        (xy 143.51 92.71)
        (xy 143.51 97.028)
        (xy 137.922 97.028)
        (xy 137.922 92.71)
        (xy 136.652 92.71)
        (xy 136.652 87.122)
        (xy 144.78 87.122)
      )
    )
  )
  (zone (net 3) (net_name "+5V") (layer "B.Cu") (hatch edge 0.508)
    (connect_pads (clearance 0.508))
    (min_thickness 0.254) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.508) (thermal_bridge_width 0.508))
    (polygon
      (pts
        (xy 144.78 92.71)
        (xy 143.51 92.71)
        (xy 143.51 97.028)
        (xy 137.922 97.028)
        (xy 137.922 92.71)
        (xy 136.652 92.71)
        (xy 136.652 87.122)
        (xy 144.78 87.122)
      )
    )
  )
)
