(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 "")
  (footprint "Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm" (layer "F.Cu")
    (at 136.8 78.8)
    (descr "QFN, 56 Pin (https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf#page=634), generated with kicad-footprint-generator ipc_noLead_generator.py")
    (tags "QFN NoLead")
    (attr smd)
    (fp_text reference "REF**" (at 0 -4.82) (layer "F.SilkS"))
    (fp_text value "QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm" (at -31.18 -26 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "" smd roundrect (at -0.8 -0.8) (size 1.29 1.29) (layers "F.Paste") (roundrect_rratio 0.193798))
    (pad "" smd roundrect (at -0.8 0.8) (size 1.29 1.29) (layers "F.Paste") (roundrect_rratio 0.193798))
    (pad "" smd roundrect (at 0.8 -0.8) (size 1.29 1.29) (layers "F.Paste") (roundrect_rratio 0.193798))
    (pad "" smd roundrect (at 0.8 0.8) (size 1.29 1.29) (layers "F.Paste") (roundrect_rratio 0.193798))
    (pad "1" smd roundrect (at -3.4375 -2.6) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "2" smd roundrect (at -3.4375 -2.2) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "3" smd roundrect (at -3.4375 -1.8) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "4" smd roundrect (at -3.4375 -1.4) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "5" smd roundrect (at -3.4375 -1) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "6" smd roundrect (at -3.4375 -0.6) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "7" smd roundrect (at -3.4375 -0.2) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "8" smd roundrect (at -3.4375 0.2) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "9" smd roundrect (at -3.4375 0.6) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "10" smd roundrect (at -3.4375 1) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "11" smd roundrect (at -3.4375 1.4) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "12" smd roundrect (at -3.4375 1.8) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "13" smd roundrect (at -3.4375 2.2) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "14" smd roundrect (at -3.4375 2.6) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "15" smd roundrect (at -2.6 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "16" smd roundrect (at -2.2 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "17" smd roundrect (at -1.8 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "18" smd roundrect (at -1.4 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "19" smd roundrect (at -1 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "20" smd roundrect (at -0.6 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "21" smd roundrect (at -0.2 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "22" smd roundrect (at 0.2 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "23" smd roundrect (at 0.6 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "24" smd roundrect (at 1 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "25" smd roundrect (at 1.4 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "26" smd roundrect (at 1.8 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "27" smd roundrect (at 2.2 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "28" smd roundrect (at 2.6 3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "29" smd roundrect (at 3.4375 2.6) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "30" smd roundrect (at 3.4375 2.2) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "31" smd roundrect (at 3.4375 1.8) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "32" smd roundrect (at 3.4375 1.4) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "33" smd roundrect (at 3.4375 1) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "34" smd roundrect (at 3.4375 0.6) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "35" smd roundrect (at 3.4375 0.2) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "36" smd roundrect (at 3.4375 -0.2) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "37" smd roundrect (at 3.4375 -0.6) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "38" smd roundrect (at 3.4375 -1) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "39" smd roundrect (at 3.4375 -1.4) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "40" smd roundrect (at 3.4375 -1.8) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "41" smd roundrect (at 3.4375 -2.2) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "42" smd roundrect (at 3.4375 -2.6) (size 0.875 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "43" smd roundrect (at 2.6 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "44" smd roundrect (at 2.2 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "45" smd roundrect (at 1.8 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "46" smd roundrect (at 1.4 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "47" smd roundrect (at 1 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "48" smd roundrect (at 0.6 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "49" smd roundrect (at 0.2 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "50" smd roundrect (at -0.2 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "51" smd roundrect (at -0.6 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "52" smd roundrect (at -1 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "53" smd roundrect (at -1.4 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "54" smd roundrect (at -1.8 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "55" smd roundrect (at -2.2 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "56" smd roundrect (at -2.6 -3.4375) (size 0.2 0.875) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))
    (pad "57" smd rect (at 0 0) (size 3.2 3.2) (layers "F.Cu" "F.Mask"))
    (model "${KICAD6_3DMODEL_DIR}/Package_DFN_QFN.3dshapes/QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_USB:USB_A_CUI_UJ2-ADH-TH_Horizontal_Stacked" (layer "F.Cu")
    (at 116.142316 92.499998)
    (descr "USB-A two stacked horizontal receptacle, through-hole (https://www.cuidevices.com/product/resource/uj2-adh-th.pdf)")
    (tags "USB-A CUI stacked horizontal through-hole")
    (attr through_hole)
    (fp_text reference "REF**" (at -8.92 -3.99) (layer "F.SilkS"))
    (fp_text value "USB_A_CUI_UJ2-ADH-TH_Horizontal_Stacked" (at -2.2 14.18) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at -4.535 3.5) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0) (size 1.5 1.5) (drill 0.92) (layers "*.Cu" "*.Mask"))
    (pad "2" thru_hole circle (at 0 2.5) (size 1.5 1.5) (drill 0.92) (layers "*.Cu" "*.Mask"))
    (pad "3" thru_hole circle (at 0 4.5) (size 1.5 1.5) (drill 0.92) (layers "*.Cu" "*.Mask"))
    (pad "4" thru_hole circle (at 0 7) (size 1.5 1.5) (drill 0.92) (layers "*.Cu" "*.Mask"))
    (pad "5" thru_hole circle (at 2.62 0) (size 1.5 1.5) (drill 0.92) (layers "*.Cu" "*.Mask"))
    (pad "6" thru_hole circle (at 2.62 2.5) (size 1.5 1.5) (drill 0.92) (layers "*.Cu" "*.Mask"))
    (pad "7" thru_hole circle (at 2.62 4.5) (size 1.5 1.5) (drill 0.92) (layers "*.Cu" "*.Mask"))
    (pad "8" thru_hole circle (at 2.62 7) (size 1.5 1.5) (drill 0.92) (layers "*.Cu" "*.Mask"))
    (pad "9" thru_hole circle (at -2.71 -3.07) (size 3.5 3.5) (drill 2.3) (layers "*.Cu" "*.Mask"))
    (pad "9" thru_hole circle (at -2.71 10.07) (size 3.5 3.5) (drill 2.3) (layers "*.Cu" "*.Mask"))
    (pad "9" thru_hole circle (at 2.97 -3.07) (size 3.5 3.5) (drill 2.3) (layers "*.Cu" "*.Mask"))
    (pad "9" thru_hole circle (at 2.97 10.07) (size 3.5 3.5) (drill 2.3) (layers "*.Cu" "*.Mask"))
    (model "${KICAD7_3DMODEL_DIR}/Connector_USB.3dshapes/USB_A_CUI_UJ2-ADH-TH_Horizontal_Stacked.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_Card:microSD_HC_Hirose_DM3BT-DSF-PEJS" (layer "F.Cu")
    (at 119 79 -90)
    (descr "Micro SD, SMD, reverse on-board, right-angle, push-pull (https://www.hirose.com/product/en/download_file/key_name/DM3BT-DSF-PEJS/category/Drawing%20(2D)/doc_file_id/44097/?file_category_id=6&item_id=06090029900&is_series=)")
    (tags "Micro SD")
    (attr smd)
    (fp_text reference "REF**" (at 0.425 -9.525 90) (layer "F.SilkS"))
    (fp_text value "microSD_HC_Hirose_DM3BT-DSF-PEJS" (at 0.425 9.575 90) (layer "F.Fab"))
    (fp_text user "KEEPOUT" (at 6.85 -3.25) (layer "Cmts.User"))
    (fp_text user "${REFERENCE}" (at 0.325 1.575 90) (layer "F.Fab"))
    (pad "1" smd rect (at -2.775 -7.625 270) (size 0.7 1.4) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "2" smd rect (at -1.675 -7.625 270) (size 0.7 1.4) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "3" smd rect (at -0.575 -7.625 270) (size 0.7 1.4) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "4" smd rect (at 0.525 -7.625 270) (size 0.7 1.4) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "5" smd rect (at 1.625 -7.625 270) (size 0.7 1.4) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "6" smd rect (at 2.725 -7.625 270) (size 0.7 1.4) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "7" smd rect (at 3.825 -7.625 270) (size 0.7 1.4) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "8" smd rect (at 4.925 -7.625 270) (size 0.7 1.4) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "9" smd rect (at 5.875 -7.725 270) (size 0.7 1.2) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "10" smd rect (at 6.725 2.775 270) (size 1.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "11" smd rect (at -6.575 7.375 270) (size 1.5 1.9) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "11" smd rect (at -5.825 7.825 315) (size 0.2 0.2) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "11" smd rect (at -5.575 8.075 270) (size 0.5 0.5) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "11" smd rect (at -4.675 -7.625 270) (size 1 1.4) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "11" smd rect (at 6.725 -3.425 270) (size 1.2 1.2) (layers "F.Cu" "F.Paste" "F.Mask"))
    (pad "11" smd rect (at 6.725 6.375 270) (size 1.2 3.2) (layers "F.Cu" "F.Paste" "F.Mask"))
    (zone (net 0) (net_name "") (layer "F.Cu") (hatch full 0.508)
      (connect_pads (clearance 0))
      (min_thickness 0.254) (filled_areas_thickness no)
      (keepout (tracks not_allowed) (vias not_allowed) (pads not_allowed) (copperpour not_allowed) (footprints not_allowed))
      (fill (thermal_gap 0.508) (thermal_bridge_width 0.508))
      (polygon
        (pts
          (xy 118.225 85.475)
          (xy 118.225 86.225)
          (xy 121.825 86.225)
          (xy 121.825 85.475)
        )
      )
    )
    (zone (net 0) (net_name "") (layer "F.Cu") (hatch full 0.508)
      (connect_pads (clearance 0))
      (min_thickness 0.254) (filled_areas_thickness no)
      (keepout (tracks not_allowed) (vias not_allowed) (pads not_allowed) (copperpour not_allowed) (footprints not_allowed))
      (fill (thermal_gap 0.508) (thermal_bridge_width 0.508))
      (polygon
        (pts
          (xy 123.025 85.475)
          (xy 123.025 86.225)
          (xy 126.275 86.225)
          (xy 126.275 85.475)
        )
      )
    )
    (model "${KICAD6_3DMODEL_DIR}/Connector_Card.3dshapes/microSD_HC_Hirose_DM3BT-DSF-PEJS.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_text "Power distribution" (at 132 111 90) (layer "F.Cu"))
  (gr_text "1cm" (at 111 122) (layer "F.Cu"))
  (gr_text "Extra area and MPU" (at 152 91) (layer "F.Cu"))
)
