(kicad_pcb (version 20171130) (host pcbnew "(5.0.1)-3")
  (general
    (thickness 1.6)
    (drawings 10)
    (tracks 251)
    (zones 0)
    (modules 26)
    (nets 31)
  )
  (page A4)
  (title_block
    (title "Wii Remote SPI Camera Emulator")
    (date 2018-11-04)
  )
  (layers
    (0 F.Cu signal)
    (31 B.Cu signal)
    (32 B.Adhes user)
    (33 F.Adhes user)
    (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)
    (42 Eco1.User user)
    (43 Eco2.User user)
    (44 Edge.Cuts user)
    (45 Margin user)
    (46 B.CrtYd user)
    (47 F.CrtYd user)
    (48 B.Fab user)
    (49 F.Fab user)
  )
  (setup
    (last_trace_width 0.2)
    (trace_clearance 0.2)
    (zone_clearance 0.508)
    (zone_45_only no)
    (trace_min 0.2)
    (segment_width 0.2)
    (edge_width 0.15)
    (via_size 0.5)
    (via_drill 0.3)
    (via_min_size 0.4)
    (via_min_drill 0.3)
    (uvia_size 0.3)
    (uvia_drill 0.1)
    (uvias_allowed no)
    (uvia_min_size 0.2)
    (uvia_min_drill 0.1)
    (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 1)
    (pad_drill 0)
    (pad_to_mask_clearance 0.05)
    (solder_mask_min_width 0.15)
    (aux_axis_origin 0 0)
    (visible_elements 7FFDFFFF)
    (pcbplotparams
      (layerselection 0x010fc_ffffffff)
      (usegerberextensions false)
      (usegerberattributes false)
      (usegerberadvancedattributes false)
      (creategerberjobfile false)
      (excludeedgelayer true)
      (linewidth 0.100000)
      (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 1)
      (mirror false)
      (drillshape 1)
      (scaleselection 1)
      (outputdirectory ""))
  )
  (net 0 "")
  (net 1 Vss)
  (net 2 Vdd)
  (net 3 "Net-(C3-Pad1)")
  (net 4 SDA)
  (net 5 SCL)
  (net 6 PLUS_OUT)
  (net 7 HOME_OUT)
  (net 8 WC)
  (net 9 RMB_OUT)
  (net 10 PGD)
  (net 11 PGC)
  (net 12 MOSI1)
  (net 13 MISO1)
  (net 14 SCK1)
  (net 15 CS1)
  (net 16 MOSI2)
  (net 17 MISO2)
  (net 18 SCK2)
  (net 19 CS2)
  (net 20 "Net-(IC1-Pad23)")
  (net 21 MCLR)
  (net 22 PLUS_IN)
  (net 23 HOME_IN)
  (net 24 "Net-(U2-Pad4)")
  (net 25 "Net-(U2-Pad9)")
  (net 26 "Net-(U2-Pad10)")
  (net 27 "Net-(U2-Pad11)")
  (net 28 "Net-(Q1-Pad3)")
  (net 29 "Net-(IC1-Pad9)")
  (net 30 "Net-(IC1-Pad13)")
  (net_class Default "This is the default net class."
    (clearance 0.2)
    (trace_width 0.2)
    (via_dia 0.5)
    (via_drill 0.3)
    (uvia_dia 0.3)
    (uvia_drill 0.1)
    (add_net CS1)
    (add_net CS2)
    (add_net HOME_IN)
    (add_net HOME_OUT)
    (add_net MCLR)
    (add_net MISO1)
    (add_net MISO2)
    (add_net MOSI1)
    (add_net MOSI2)
    (add_net "Net-(C3-Pad1)")
    (add_net "Net-(IC1-Pad13)")
    (add_net "Net-(IC1-Pad23)")
    (add_net "Net-(IC1-Pad9)")
    (add_net "Net-(Q1-Pad3)")
    (add_net "Net-(U2-Pad10)")
    (add_net "Net-(U2-Pad11)")
    (add_net "Net-(U2-Pad4)")
    (add_net "Net-(U2-Pad9)")
    (add_net PGC)
    (add_net PGD)
    (add_net PLUS_IN)
    (add_net PLUS_OUT)
    (add_net RMB_OUT)
    (add_net SCK1)
    (add_net SCK2)
    (add_net SCL)
    (add_net SDA)
    (add_net Vdd)
    (add_net Vss)
    (add_net WC)
  )
  (net_class Power ""
    (clearance 0.2)
    (trace_width 0.3)
    (via_dia 0.5)
    (via_drill 0.3)
    (uvia_dia 0.3)
    (uvia_drill 0.1)
  )
  (module "Connector_USB:USB_Micro-B_Hirose_ZX62M-B-5P(30)" (layer F.Cu) (tedit 5BDF856F)
    (at 127.3 101.9 180)
    (descr "USB Micro-B receptacle, http://www.mouser.com/ds/2/445/629105150521-469306.pdf")
    (tags "usb micro receptacle")
    (attr smd)
    (fp_text reference J1 (at 0 -2 180) (layer F.SilkS) hide)
    (fp_text value USB_B_Micro (at -0.025 4.5 180) (layer F.Fab))
    (fp_text user %R (at 0 0 180) (layer F.Fab))
    (fp_text user "PCB Edge" (at 0 1.9 180) (layer Dwgs.User))
    (pad 1 smd rect (at -1.3 -4.75 180) (size 0.4 1.3) (layers F.Cu F.Paste F.Mask)
      (net 10 PGD))
    (pad 2 smd rect (at -0.65 -4.75 180) (size 0.4 1.3) (layers F.Cu F.Paste F.Mask)
      (net 11 PGC))
    (pad 3 smd rect (at 0 -4.75 180) (size 0.4 1.3) (layers F.Cu F.Paste F.Mask)
      (net 2 Vdd))
    (pad 4 smd rect (at 0.65 -4.75 180) (size 0.4 1.3) (layers F.Cu F.Paste F.Mask)
      (net 21 MCLR))
    (pad 5 smd rect (at 1.3 -4.75 180) (size 0.4 1.3) (layers F.Cu F.Paste F.Mask)
      (net 1 Vss))
    (pad 6 smd rect (at -5.2 0 180) (size 1.6 2.4) (layers F.Cu F.Paste F.Mask)
      (net 1 Vss))
    (pad 6 smd rect (at 5.2 0 180) (size 1.6 2.4) (layers F.Cu F.Paste F.Mask)
      (net 1 Vss))
    (pad 6 smd rect (at 5.2 -4.3 180) (size 1.6 2.4) (layers F.Cu F.Paste F.Mask)
      (net 1 Vss))
    (pad 6 smd rect (at -5.2 -4.3 180) (size 1.6 2.4) (layers F.Cu F.Paste F.Mask)
      (net 1 Vss))
    (pad 6 smd rect (at -2.6 -6.4 180) (size 1.5 1.5) (layers F.Cu F.Paste F.Mask)
      (net 1 Vss))
    (pad 6 smd rect (at 2.6 -6.4 180) (size 1.5 1.5) (layers F.Cu F.Paste F.Mask)
      (net 1 Vss))
    (model ${KISYS3DMOD}/Connector_USB.3dshapes/USB_Micro-B_Wuerth_629105150521.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Capacitor_SMD:C_1206_3216Metric (layer F.Cu) (tedit 5BDF85D4)
    (at 119.75 103.7 90)
    (descr "Capacitor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
    (tags capacitor)
    (attr smd)
    (fp_text reference C3 (at 0 -1.82 90) (layer F.SilkS) hide)
    (fp_text value 10uF (at 0 1.82 90) (layer F.Fab))
    (fp_text user %R (at 0 0 90) (layer F.Fab))
    (pad 1 smd roundrect (at -1.4 0 90) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
      (net 3 "Net-(C3-Pad1)"))
    (pad 2 smd roundrect (at 1.4 0 90) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
      (net 1 Vss))
    (model ${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_1206_3216Metric.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Resistor_SMD:R_0402_1005Metric (layer F.Cu) (tedit 5BDF85BD)
    (at 116.535 108.2)
    (descr "Resistor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
    (tags resistor)
    (attr smd)
    (fp_text reference R2 (at 0 -1.17) (layer F.SilkS) hide)
    (fp_text value 4.7k (at 0 1.17) (layer F.Fab))
    (fp_text user %R (at 0 0) (layer F.Fab))
    (pad 2 smd roundrect (at 0.485 0) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 5 SCL))
    (pad 1 smd roundrect (at -0.485 0) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 Vdd))
    (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Package_LGA:LGA-14_3x2.5mm_P0.5mm (layer F.Cu) (tedit 5BDF9E94)
    (at 110.6 104.8 270)
    (descr "LGA, 14 Pin (http://www.st.com/resource/en/datasheet/lsm6ds3.pdf), generated with kicad-footprint-generator ipc_lga_layoutBorder_generator.py")
    (tags "LGA LGA")
    (attr smd)
    (fp_text reference U2 (at 0 -2.2 270) (layer F.SilkS) hide)
    (fp_text value LSM6DS3 (at 0 2.2 270) (layer F.Fab))
    (fp_text user %R (at 0 0 270) (layer F.Fab))
    (pad 1 smd rect (at -1.1375 -0.75 270) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)
      (net 13 MISO1))
    (pad 2 smd rect (at -1.1375 -0.25 270) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)
      (net 1 Vss))
    (pad 3 smd rect (at -1.1375 0.25 270) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)
      (net 1 Vss))
    (pad 4 smd rect (at -1.1375 0.75 270) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)
      (net 24 "Net-(U2-Pad4)"))
    (pad 5 smd rect (at -0.5 0.8875 270) (size 0.25 0.675) (layers F.Cu F.Paste F.Mask)
      (net 2 Vdd))
    (pad 6 smd rect (at 0 0.8875 270) (size 0.25 0.675) (layers F.Cu F.Paste F.Mask)
      (net 1 Vss))
    (pad 7 smd rect (at 0.5 0.8875 270) (size 0.25 0.675) (layers F.Cu F.Paste F.Mask)
      (net 1 Vss))
    (pad 8 smd rect (at 1.1375 0.75 270) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)
      (net 2 Vdd))
    (pad 9 smd rect (at 1.1375 0.25 270) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)
      (net 25 "Net-(U2-Pad9)"))
    (pad 10 smd rect (at 1.1375 -0.25 270) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)
      (net 26 "Net-(U2-Pad10)"))
    (pad 11 smd rect (at 1.1375 -0.75 270) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)
      (net 27 "Net-(U2-Pad11)"))
    (pad 12 smd rect (at 0.5 -0.8875 270) (size 0.25 0.675) (layers F.Cu F.Paste F.Mask)
      (net 15 CS1))
    (pad 13 smd rect (at 0 -0.8875 270) (size 0.25 0.675) (layers F.Cu F.Paste F.Mask)
      (net 14 SCK1))
    (pad 14 smd rect (at -0.5 -0.8875 270) (size 0.25 0.675) (layers F.Cu F.Paste F.Mask)
      (net 12 MOSI1))
    (model ${KISYS3DMOD}/Package_LGA.3dshapes/LGA-14_3x2.5mm_P0.5mm_LayoutBorder3x4y.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Capacitor_SMD:C_0402_1005Metric (layer F.Cu) (tedit 5BDF85D0)
    (at 107.15 104.3)
    (descr "Capacitor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
    (tags capacitor)
    (attr smd)
    (fp_text reference C1 (at 0 -1.17) (layer F.SilkS) hide)
    (fp_text value 0.1uF (at 0 1.17) (layer F.Fab))
    (fp_text user %R (at 0 0) (layer F.Fab))
    (pad 1 smd roundrect (at -0.485 0) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 Vss))
    (pad 2 smd roundrect (at 0.485 0) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 Vdd))
    (model ${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_0402_1005Metric.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Capacitor_SMD:C_0402_1005Metric (layer F.Cu) (tedit 5BDF85C8)
    (at 107.15 106.05 180)
    (descr "Capacitor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
    (tags capacitor)
    (attr smd)
    (fp_text reference C2 (at 0 -1.17 180) (layer F.SilkS) hide)
    (fp_text value 0.1uF (at 0 1.17 180) (layer F.Fab))
    (fp_text user %R (at 0 0 180) (layer F.Fab))
    (pad 2 smd roundrect (at 0.485 0 180) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 Vss))
    (pad 1 smd roundrect (at -0.485 0 180) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 Vdd))
    (model ${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_0402_1005Metric.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Capacitor_SMD:C_0402_1005Metric (layer F.Cu) (tedit 5BDF85C4)
    (at 114.7 108.685 270)
    (descr "Capacitor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
    (tags capacitor)
    (attr smd)
    (fp_text reference C4 (at 0 -1.17 270) (layer F.SilkS) hide)
    (fp_text value 0.1uF (at 0 1.17 270) (layer F.Fab))
    (fp_text user %R (at 0 0 270) (layer F.Fab))
    (pad 1 smd roundrect (at -0.485 0 270) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 Vdd))
    (pad 2 smd roundrect (at 0.485 0 270) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 Vss))
    (model ${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_0402_1005Metric.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Capacitor_SMD:C_0402_1005Metric (layer F.Cu) (tedit 5BDF85CC)
    (at 117.5 101.05)
    (descr "Capacitor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
    (tags capacitor)
    (attr smd)
    (fp_text reference C5 (at 0 -1.17) (layer F.SilkS) hide)
    (fp_text value 0.1uF (at 0 1.17) (layer F.Fab))
    (fp_text user %R (at 0 0) (layer F.Fab))
    (pad 2 smd roundrect (at 0.485 0) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 Vss))
    (pad 1 smd roundrect (at -0.485 0) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 Vdd))
    (model ${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_0402_1005Metric.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Package_TO_SOT_SMD:SOT-323_SC-70 (layer F.Cu) (tedit 5BDF857F)
    (at 102.05 105.5)
    (descr "SOT-323, SC-70")
    (tags "SOT-323 SC-70")
    (attr smd)
    (fp_text reference Q1 (at -0.05 -1.95) (layer F.SilkS) hide)
    (fp_text value Q_NPN_BEC (at -0.05 2.05) (layer F.Fab))
    (fp_text user %R (at 0 0 90) (layer F.Fab))
    (pad 1 smd rect (at -1 -0.65 270) (size 0.45 0.7) (layers F.Cu F.Paste F.Mask)
      (net 9 RMB_OUT))
    (pad 2 smd rect (at -1 0.65 270) (size 0.45 0.7) (layers F.Cu F.Paste F.Mask)
      (net 1 Vss))
    (pad 3 smd rect (at 1 0 270) (size 0.45 0.7) (layers F.Cu F.Paste F.Mask)
      (net 28 "Net-(Q1-Pad3)"))
    (model ${KISYS3DMOD}/Package_TO_SOT_SMD.3dshapes/SOT-323_SC-70.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Resistor_SMD:R_0402_1005Metric (layer F.Cu) (tedit 5BDF8F7B)
    (at 118.5 108.2 180)
    (descr "Resistor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
    (tags resistor)
    (attr smd)
    (fp_text reference R1 (at 0 -1.17 180) (layer F.SilkS) hide)
    (fp_text value 4.7k (at 0 1.17 180) (layer F.Fab))
    (fp_text user %R (at 0 0 180) (layer F.Fab))
    (pad 1 smd roundrect (at -0.485 0 180) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 Vdd))
    (pad 2 smd roundrect (at 0.485 0 180) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 4 SDA))
    (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Resistor_SMD:R_0402_1005Metric (layer F.Cu) (tedit 5BDF85B9)
    (at 116.05 109.85 270)
    (descr "Resistor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
    (tags resistor)
    (attr smd)
    (fp_text reference R3 (at 0 -1.17 270) (layer F.SilkS) hide)
    (fp_text value 10k (at 0 1.17 270) (layer F.Fab))
    (fp_text user %R (at 0 0 270) (layer F.Fab))
    (pad 1 smd roundrect (at -0.485 0 270) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 Vdd))
    (pad 2 smd roundrect (at 0.485 0 270) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 8 WC))
    (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Resistor_SMD:R_0402_1005Metric (layer F.Cu) (tedit 5BDF85B6)
    (at 126.585 110.15 180)
    (descr "Resistor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
    (tags resistor)
    (attr smd)
    (fp_text reference R4 (at 0 -1.17 180) (layer F.SilkS) hide)
    (fp_text value 10k (at 0 1.17 180) (layer F.Fab))
    (fp_text user %R (at 0 0 180) (layer F.Fab))
    (pad 2 smd roundrect (at 0.485 0 180) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 21 MCLR))
    (pad 1 smd roundrect (at -0.485 0 180) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 Vdd))
    (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module TestPoint:TestPoint_Pad_D1.0mm (layer F.Cu) (tedit 5BDFB2C7)
    (at 122.1 109.5)
    (descr "SMD pad as test Point, diameter 1.0mm")
    (tags "test point SMD pad")
    (attr virtual)
    (fp_text reference TP1 (at 0 -1.448) (layer F.SilkS) hide)
    (fp_text value TestPoint (at 0 1.55) (layer F.Fab))
    (fp_text user %R (at 0 -1.45) (layer F.Fab))
    (pad 1 smd circle (at 0 0) (size 1 1) (layers F.Cu F.Mask)
      (net 2 Vdd) (clearance 0.3))
  )
  (module TestPoint:TestPoint_Pad_D1.0mm (layer F.Cu) (tedit 5BDFB2CD)
    (at 132.5 109.5)
    (descr "SMD pad as test Point, diameter 1.0mm")
    (tags "test point SMD pad")
    (attr virtual)
    (fp_text reference TP2 (at 0 -1.448) (layer F.SilkS) hide)
    (fp_text value TestPoint (at 0 1.55) (layer F.Fab))
    (fp_text user %R (at 0 -1.45) (layer F.Fab))
    (pad 1 smd circle (at 0 0) (size 1 1) (layers F.Cu F.Mask)
      (net 1 Vss) (clearance 0.3))
  )
  (module Package_DFN_QFN:UDFN-5_1.7x1.4mm_P0.4mm (layer F.Cu) (tedit 5BDF8583)
    (at 117.9 109.95 180)
    (descr "6-Lead Plastic DFN (1.3mm x 1.2mm) ")
    (tags "DFN 0.4")
    (attr smd)
    (fp_text reference U1 (at 0 -1.7 180) (layer F.SilkS) hide)
    (fp_text value M24128-BFMH6TG (at 0 1.5 180) (layer F.Fab))
    (fp_text user %R (at 0 0.025 180) (layer F.Fab))
    (pad 1 smd rect (at -0.5 -0.4 180) (size 0.6 0.2) (layers F.Cu F.Paste F.Mask)
      (net 2 Vdd))
    (pad 2 smd rect (at 0 0 180) (size 1.6 0.2) (layers F.Cu F.Paste F.Mask)
      (net 1 Vss))
    (pad 5 smd rect (at 0.5 -0.4 180) (size 0.6 0.2) (layers F.Cu F.Paste F.Mask)
      (net 8 WC))
    (pad 3 smd rect (at -0.5 0.4 180) (size 0.6 0.2) (layers F.Cu F.Paste F.Mask)
      (net 4 SDA))
    (pad 4 smd rect (at 0.5 0.4 180) (size 0.6 0.2) (layers F.Cu F.Paste F.Mask)
      (net 5 SCL))
    (model ${KISYS3DMOD}/Package_DFN_QFN.3dshapes/DFN-6_1.3x1.2mm_P0.4mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Capacitor_SMD:C_0402_1005Metric (layer F.Cu) (tedit 5BDF879D)
    (at 119.95 109.85 90)
    (descr "Capacitor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
    (tags capacitor)
    (attr smd)
    (fp_text reference C6 (at 0 -1.17 90) (layer F.SilkS) hide)
    (fp_text value 0.1uF (at 0 1.17 90) (layer F.Fab))
    (fp_text user %R (at 0 0 90) (layer F.Fab))
    (pad 1 smd roundrect (at -0.485 0 90) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 Vdd))
    (pad 2 smd roundrect (at 0.485 0 90) (size 0.59 0.64) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 Vss))
    (model ${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_0402_1005Metric.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Package_DFN_QFN:QFN-28_4x4mm_P0.4mm (layer F.Cu) (tedit 5BDF9E90)
    (at 115.8 104.7)
    (descr "QFN, 28 Pin (http://ww1.microchip.com/downloads/en/PackagingSpec/00000049BQ.pdf (Page 280)), generated with kicad-footprint-generator ipc_dfn_qfn_generator.py")
    (tags "QFN DFN_QFN")
    (attr smd)
    (fp_text reference IC1 (at 0 -3.3) (layer F.SilkS) hide)
    (fp_text value PIC24FJ64GA702-IMV (at 0 3.3) (layer F.Fab))
    (fp_text user %R (at 0 0) (layer F.Fab))
    (pad 1 smd roundrect (at -1.9375 -1.2) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 13 MISO1))
    (pad 2 smd roundrect (at -1.9375 -0.8) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 12 MOSI1))
    (pad 3 smd roundrect (at -1.9375 -0.4) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 14 SCK1))
    (pad 4 smd roundrect (at -1.9375 0) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 15 CS1))
    (pad 5 smd roundrect (at -1.9375 0.4) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 Vss))
    (pad 6 smd roundrect (at -1.9375 0.8) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 6 PLUS_OUT))
    (pad 7 smd roundrect (at -1.9375 1.2) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 7 HOME_OUT))
    (pad 8 smd roundrect (at -1.2 1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 8 WC))
    (pad 9 smd roundrect (at -0.8 1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 29 "Net-(IC1-Pad9)"))
    (pad 10 smd roundrect (at -0.4 1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 Vdd))
    (pad 11 smd roundrect (at 0 1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 10 PGD))
    (pad 12 smd roundrect (at 0.4 1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 11 PGC))
    (pad 13 smd roundrect (at 0.8 1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 30 "Net-(IC1-Pad13)"))
    (pad 14 smd roundrect (at 1.2 1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 5 SCL))
    (pad 15 smd roundrect (at 1.9375 1.2) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 4 SDA))
    (pad 16 smd roundrect (at 1.9375 0.8) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 Vss))
    (pad 17 smd roundrect (at 1.9375 0.4) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 3 "Net-(C3-Pad1)"))
    (pad 18 smd roundrect (at 1.9375 0) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 16 MOSI2))
    (pad 19 smd roundrect (at 1.9375 -0.4) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 17 MISO2))
    (pad 20 smd roundrect (at 1.9375 -0.8) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 18 SCK2))
    (pad 21 smd roundrect (at 1.9375 -1.2) (size 0.825 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 19 CS2))
    (pad 22 smd roundrect (at 1.2 -1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 9 RMB_OUT))
    (pad 23 smd roundrect (at 0.8 -1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 20 "Net-(IC1-Pad23)"))
    (pad 24 smd roundrect (at 0.4 -1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 1 Vss))
    (pad 25 smd roundrect (at 0 -1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 Vdd))
    (pad 26 smd roundrect (at -0.4 -1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 21 MCLR))
    (pad 27 smd roundrect (at -0.8 -1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 23 HOME_IN))
    (pad 28 smd roundrect (at -1.2 -1.9375) (size 0.2 0.825) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 22 PLUS_IN))
    (model ${KISYS3DMOD}/Package_DFN_QFN.3dshapes/QFN-28-1EP_4x4mm_P0.4mm_EP2.4x2.4mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module TestPoint:TestPoint_Pad_D0.7mm (layer F.Cu) (tedit 5BDFB2A5)
    (at 103.25 101.25)
    (descr "SMD pad as test Point, diameter 1.0mm")
    (tags "test point SMD pad")
    (attr virtual)
    (fp_text reference TP3 (at 0 -1.448) (layer F.SilkS) hide)
    (fp_text value TestPoint (at 0 1.55) (layer F.Fab))
    (fp_text user %R (at 0 -1.45) (layer F.Fab))
    (pad 1 smd circle (at 0 0) (size 0.7 0.7) (layers F.Cu F.Mask)
      (net 16 MOSI2) (clearance 0.3))
  )
  (module TestPoint:TestPoint_Pad_D0.7mm (layer F.Cu) (tedit 5BDFB2A0)
    (at 105.25 101.25)
    (descr "SMD pad as test Point, diameter 1.0mm")
    (tags "test point SMD pad")
    (attr virtual)
    (fp_text reference TP4 (at 0 -1.448) (layer F.SilkS) hide)
    (fp_text value TestPoint (at 0 1.55) (layer F.Fab))
    (fp_text user %R (at 0 -1.45) (layer F.Fab))
    (pad 1 smd circle (at 0 0) (size 0.7 0.7) (layers F.Cu F.Mask)
      (net 17 MISO2) (clearance 0.3))
  )
  (module TestPoint:TestPoint_Pad_D0.7mm (layer F.Cu) (tedit 5BDFB29B)
    (at 107.25 101.25)
    (descr "SMD pad as test Point, diameter 1.0mm")
    (tags "test point SMD pad")
    (attr virtual)
    (fp_text reference TP5 (at 0 -1.448) (layer F.SilkS) hide)
    (fp_text value TestPoint (at 0 1.55) (layer F.Fab))
    (fp_text user %R (at 0 -1.45) (layer F.Fab))
    (pad 1 smd circle (at 0 0) (size 0.7 0.7) (layers F.Cu F.Mask)
      (net 18 SCK2) (clearance 0.3))
  )
  (module TestPoint:TestPoint_Pad_D0.7mm (layer F.Cu) (tedit 5BDFB293)
    (at 109.25 101.25)
    (descr "SMD pad as test Point, diameter 1.0mm")
    (tags "test point SMD pad")
    (attr virtual)
    (fp_text reference TP6 (at 0 -1.448) (layer F.SilkS) hide)
    (fp_text value TestPoint (at 0 1.55) (layer F.Fab))
    (fp_text user %R (at 0 -1.45) (layer F.Fab))
    (pad 1 smd circle (at 0 0) (size 0.7 0.7) (layers F.Cu F.Mask)
      (net 19 CS2) (clearance 0.3))
  )
  (module TestPoint:TestPoint_Pad_D0.7mm (layer F.Cu) (tedit 5BDFB28D)
    (at 111.25 101.25)
    (descr "SMD pad as test Point, diameter 1.0mm")
    (tags "test point SMD pad")
    (attr virtual)
    (fp_text reference TP7 (at 0 -1.448) (layer F.SilkS) hide)
    (fp_text value TestPoint (at 0 1.55) (layer F.Fab))
    (fp_text user %R (at 0 -1.45) (layer F.Fab))
    (pad 1 smd circle (at 0 0) (size 0.7 0.7) (layers F.Cu F.Mask)
      (net 22 PLUS_IN) (clearance 0.3))
  )
  (module TestPoint:TestPoint_Pad_D0.7mm (layer F.Cu) (tedit 5BDFB283)
    (at 113.25 101.25)
    (descr "SMD pad as test Point, diameter 1.0mm")
    (tags "test point SMD pad")
    (attr virtual)
    (fp_text reference TP8 (at 0 -1.448) (layer F.SilkS) hide)
    (fp_text value TestPoint (at 0 1.55) (layer F.Fab))
    (fp_text user %R (at 0 -1.45) (layer F.Fab))
    (pad 1 smd circle (at 0 0) (size 0.7 0.7) (layers F.Cu F.Mask)
      (net 23 HOME_IN) (clearance 0.3))
  )
  (module TestPoint:TestPoint_Pad_D0.7mm (layer F.Cu) (tedit 5BDFB2AA)
    (at 101.25 101.25)
    (descr "SMD pad as test Point, diameter 1.0mm")
    (tags "test point SMD pad")
    (attr virtual)
    (fp_text reference TP9 (at 0 -1.448) (layer F.SilkS) hide)
    (fp_text value TestPoint (at 0 1.55) (layer F.Fab))
    (fp_text user %R (at 0 -1.45) (layer F.Fab))
    (pad 1 smd circle (at 0 0) (size 0.7 0.7) (layers F.Cu F.Mask)
      (net 6 PLUS_OUT) (clearance 0.3))
  )
  (module TestPoint:TestPoint_Pad_D0.7mm (layer F.Cu) (tedit 5BDFB2B1)
    (at 101.25 103.25)
    (descr "SMD pad as test Point, diameter 1.0mm")
    (tags "test point SMD pad")
    (attr virtual)
    (fp_text reference TP10 (at 0 -1.448) (layer F.SilkS) hide)
    (fp_text value TestPoint (at 0 1.55) (layer F.Fab))
    (fp_text user %R (at 0 -1.45) (layer F.Fab))
    (pad 1 smd circle (at 0 0) (size 0.7 0.7) (layers F.Cu F.Mask)
      (net 7 HOME_OUT) (clearance 0.3))
  )
  (module TestPoint:TestPoint_Pad_D0.7mm (layer F.Cu) (tedit 5BDFB2B6)
    (at 103.25 103.25)
    (descr "SMD pad as test Point, diameter 1.0mm")
    (tags "test point SMD pad")
    (attr virtual)
    (fp_text reference TP11 (at 0 -1.448) (layer F.SilkS) hide)
    (fp_text value TestPoint (at 0 1.55) (layer F.Fab))
    (fp_text user %R (at 0 -1.45) (layer F.Fab))
    (pad 1 smd circle (at 0 0) (size 0.7 0.7) (layers F.Cu F.Mask)
      (net 28 "Net-(Q1-Pad3)") (clearance 0.3))
  )
  (gr_line (start 131.2 100) (end 134 100) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 131.2 105.5) (end 131.2 100) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 123.4 105.5) (end 131.2 105.5) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 123.4 100) (end 123.4 105.5) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 100 100) (end 123.4 100) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 113.5 111) (end 134 111) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 100 100) (end 100 107) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 113.5 107) (end 100 107) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 113.5 111) (end 113.5 107) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 134 100) (end 134 111) (layer Edge.Cuts) (width 0.15))
  (zone (net 1) (net_name Vss) (layer F.Cu) (hatch edge 0.508)
    (connect_pads (clearance 0.2))
    (min_thickness 0.2)
    (fill yes (arc_segments 16) (thermal_gap 0.2) (thermal_bridge_width 0.21))
    (polygon
      (pts
        (xy 100 100) (xy 123.4 100) (xy 123.4 105.5) (xy 131.2 105.5) (xy 131.2 100)
        (xy 134 100) (xy 134 111) (xy 113.5 111) (xy 113.5 107) (xy 100 107)
      )
    )
  )
  (zone (net 1) (net_name Vss) (layer B.Cu) (hatch edge 0.508)
    (connect_pads (clearance 0.2))
    (min_thickness 0.2)
    (fill yes (arc_segments 16) (thermal_gap 0.2) (thermal_bridge_width 0.21))
    (polygon
      (pts
        (xy 100 100) (xy 123.4 100) (xy 123.4 105.5) (xy 131.2 105.5) (xy 131.2 100)
        (xy 134 100) (xy 134 111) (xy 113.5 111) (xy 113.5 107) (xy 100 107)
      )
    )
  )
)
