(kicad_pcb (version 20171130) (host pcbnew "(5.0.2)-1")
  (general
    (thickness 1.6002)
    (drawings 32)
    (tracks 196)
    (zones 0)
    (modules 19)
    (nets 30)
  )
  (page A4)
  (layers
    (0 F.Cu signal)
    (31 B.Cu signal)
    (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)
    (47 F.CrtYd user)
    (48 B.Fab user)
    (49 F.Fab user hide)
  )
  (setup
    (last_trace_width 0.127)
    (user_trace_width 0.254)
    (user_trace_width 0.3048)
    (user_trace_width 0.4064)
    (user_trace_width 0.6096)
    (user_trace_width 0.8128)
    (user_trace_width 1.27)
    (user_trace_width 1.778)
    (user_trace_width 2.54)
    (trace_clearance 0.127)
    (zone_clearance 0.508)
    (zone_45_only no)
    (trace_min 0.127)
    (segment_width 0.2)
    (edge_width 0.15)
    (via_size 0.4572)
    (via_drill 0.254)
    (via_min_size 0.4572)
    (via_min_drill 0.254)
    (user_via 0.762 0.508)
    (user_via 0.889 0.635)
    (user_via 1.016 0.762)
    (user_via 1.143 0.889)
    (user_via 1.27 1.016)
    (user_via 1.524 1.143)
    (user_via 1.778 1.27)
    (user_via 2.032 1.397)
    (uvia_size 0.4572)
    (uvia_drill 0.254)
    (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.524 1.524)
    (pad_drill 0)
    (pad_to_mask_clearance 0.2)
    (solder_mask_min_width 0.25)
    (aux_axis_origin 0 0)
    (visible_elements 7FFFFFFF)
    (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 0)
      (scaleselection 1)
      (outputdirectory "gerbers/"))
  )
  (net 0 "")
  (net 1 VPP)
  (net 2 GND)
  (net 3 +3V3)
  (net 4 /PC0)
  (net 5 /PC1)
  (net 6 /PC2)
  (net 7 /PC3)
  (net 8 /UPDI)
  (net 9 /PA2)
  (net 10 /PA3)
  (net 11 /PA4)
  (net 12 /PA5)
  (net 13 /PA6)
  (net 14 /PA7)
  (net 15 /PB5)
  (net 16 /PB4)
  (net 17 /PB3)
  (net 18 /PB2)
  (net 19 /PB1)
  (net 20 /PB0)
  (net 21 /PA1)
  (net 22 /PC0_high)
  (net 23 /PC0_low)
  (net 24 /PC1_high)
  (net 25 /PC1_low)
  (net 26 /PC3_low)
  (net 27 /PC3_high)
  (net 28 /PC2_low)
  (net 29 /PC2_high)
  (net_class Default "This is the default net class."
    (clearance 0.127)
    (trace_width 0.127)
    (via_dia 0.4572)
    (via_drill 0.254)
    (uvia_dia 0.4572)
    (uvia_drill 0.254)
    (diff_pair_gap 0.127)
    (diff_pair_width 0.127)
    (add_net +3V3)
    (add_net /PA1)
    (add_net /PA2)
    (add_net /PA3)
    (add_net /PA4)
    (add_net /PA5)
    (add_net /PA6)
    (add_net /PA7)
    (add_net /PB0)
    (add_net /PB1)
    (add_net /PB2)
    (add_net /PB3)
    (add_net /PB4)
    (add_net /PB5)
    (add_net /PC0)
    (add_net /PC0_high)
    (add_net /PC0_low)
    (add_net /PC1)
    (add_net /PC1_high)
    (add_net /PC1_low)
    (add_net /PC2)
    (add_net /PC2_high)
    (add_net /PC2_low)
    (add_net /PC3)
    (add_net /PC3_high)
    (add_net /PC3_low)
    (add_net /UPDI)
    (add_net GND)
    (add_net VPP)
  )
  (module Resistor_SMD:R_0402_1005Metric (layer F.Cu) (tedit 5B301BBD)
    (at 162.455 104.13)
    (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 R20 (at 0.485 -10 90) (layer F.SilkS))
    (fp_text value 0 (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 VPP))
    (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 26 /PC3_low))
    (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 5C5A3B89)
    (at 165.425 104.13)
    (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 R21 (at -0.485 -10 90) (layer F.SilkS))
    (fp_text value 0 (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 2 GND))
    (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 27 /PC3_high))
    (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_TO_SOT_SMD:SOT-23 (layer F.Cu) (tedit 5A02FF57)
    (at 163.94 107.13 180)
    (descr "SOT-23, Standard")
    (tags SOT-23)
    (attr smd)
    (fp_text reference Q4 (at 0 16 180) (layer F.SilkS))
    (fp_text value Q_NMOS_GSD (at 0 2.5 180) (layer F.Fab))
    (fp_text user %R (at 0 0 270) (layer F.Fab))
    (pad 3 smd rect (at 1 0 180) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 26 /PC3_low))
    (pad 2 smd rect (at -1 0.95 180) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 27 /PC3_high))
    (pad 1 smd rect (at -1 -0.95 180) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 7 /PC3))
    (model ${KISYS3DMOD}/Package_TO_SOT_SMD.3dshapes/SOT-23.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 5B301BBD)
    (at 165.425 114.53 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 R14 (at 0.485 -10 270) (layer F.SilkS))
    (fp_text value 0 (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 1 VPP))
    (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 23 /PC0_low))
    (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 5B301BBD)
    (at 162.455 114.53 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 R15 (at -0.485 -10 270) (layer F.SilkS))
    (fp_text value 0 (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 2 GND))
    (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 22 /PC0_high))
    (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 5B301BBD)
    (at 172.585 114.53 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 R16 (at 0.485 -10 270) (layer F.SilkS))
    (fp_text value 0 (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 25 /PC1_low))
    (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 1 VPP))
    (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 5B301BBD)
    (at 169.615 114.53 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 R17 (at -0.485 -10 270) (layer F.SilkS))
    (fp_text value 0 (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 24 /PC1_high))
    (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 2 GND))
    (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 5B301BBD)
    (at 169.585 104.13)
    (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 R18 (at 0.485 -10 90) (layer F.SilkS))
    (fp_text value 0 (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 28 /PC2_low))
    (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 VPP))
    (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 5B301BBD)
    (at 172.555 104.13)
    (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 R19 (at -0.485 -10 90) (layer F.SilkS))
    (fp_text value 0 (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 29 /PC2_high))
    (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 GND))
    (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_TO_SOT_SMD:SOT-23 (layer F.Cu) (tedit 5A02FF57)
    (at 163.94 111.53)
    (descr "SOT-23, Standard")
    (tags SOT-23)
    (attr smd)
    (fp_text reference Q1 (at 0.25 16) (layer F.SilkS))
    (fp_text value Q_NMOS_GSD (at 0 2.5) (layer F.Fab))
    (fp_text user %R (at 0 0 90) (layer F.Fab))
    (pad 1 smd rect (at -1 -0.95) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 4 /PC0))
    (pad 2 smd rect (at -1 0.95) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 22 /PC0_high))
    (pad 3 smd rect (at 1 0) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 23 /PC0_low))
    (model ${KISYS3DMOD}/Package_TO_SOT_SMD.3dshapes/SOT-23.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Package_TO_SOT_SMD:SOT-23 (layer F.Cu) (tedit 5A02FF57)
    (at 171.1 111.53)
    (descr "SOT-23, Standard")
    (tags SOT-23)
    (attr smd)
    (fp_text reference Q2 (at -0.31 15.75) (layer F.SilkS))
    (fp_text value Q_NMOS_GSD (at 0 2.5) (layer F.Fab))
    (fp_text user %R (at 0 0 90) (layer F.Fab))
    (pad 1 smd rect (at -1 -0.95) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 5 /PC1))
    (pad 2 smd rect (at -1 0.95) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 24 /PC1_high))
    (pad 3 smd rect (at 1 0) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 25 /PC1_low))
    (model ${KISYS3DMOD}/Package_TO_SOT_SMD.3dshapes/SOT-23.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Package_TO_SOT_SMD:SOT-23 (layer F.Cu) (tedit 5A02FF57)
    (at 171.07 107.13 180)
    (descr "SOT-23, Standard")
    (tags SOT-23)
    (attr smd)
    (fp_text reference Q3 (at 0.03 16 180) (layer F.SilkS))
    (fp_text value Q_NMOS_GSD (at 0 2.5 180) (layer F.Fab))
    (fp_text user %R (at 0 0 270) (layer F.Fab))
    (pad 3 smd rect (at 1 0 180) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 28 /PC2_low))
    (pad 2 smd rect (at -1 0.95 180) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 29 /PC2_high))
    (pad 1 smd rect (at -1 -0.95 180) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 6 /PC2))
    (model ${KISYS3DMOD}/Package_TO_SOT_SMD.3dshapes/SOT-23.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Package_DFN_QFN:VQFN-20-1EP_3x3mm_P0.45mm_EP1.55x1.55mm (layer F.Cu) (tedit 5BBD37D9)
    (at 153.44 109.03 270)
    (descr "VQFN, 20 Pin (http://ww1.microchip.com/downloads/en/DeviceDoc/doc8246.pdf (page 264)), generated with kicad-footprint-generator ipc_dfn_qfn_generator.py")
    (tags "VQFN DFN_QFN")
    (attr smd)
    (fp_text reference U1 (at -1.43 -3.16) (layer F.SilkS))
    (fp_text value ATTINY816VQFN (at 0 2.82 270) (layer F.Fab))
    (fp_text user %R (at 0 0 270) (layer F.Fab))
    (pad 21 smd roundrect (at 0 0 270) (size 1.55 1.55) (layers F.Cu F.Mask) (roundrect_rratio 0.16129)
      (net 2 GND))
    (pad "" smd roundrect (at -0.39 -0.39 270) (size 0.62 0.62) (layers F.Paste) (roundrect_rratio 0.25))
    (pad "" smd roundrect (at -0.39 0.39 270) (size 0.62 0.62) (layers F.Paste) (roundrect_rratio 0.25))
    (pad "" smd roundrect (at 0.39 -0.39 270) (size 0.62 0.62) (layers F.Paste) (roundrect_rratio 0.25))
    (pad "" smd roundrect (at 0.39 0.39 270) (size 0.62 0.62) (layers F.Paste) (roundrect_rratio 0.25))
    (pad 1 smd custom (at -1.45 -0.9 270) (size 0.179289 0.179289) (layers F.Cu F.Paste F.Mask)
      (net 9 /PA2)
      (options (clearance outline) (anchor circle))
      (primitives
        (gr_poly (pts
           (xy -0.3625 -0.0625) (xy 0.2625 -0.0625) (xy 0.3625 0.0375) (xy 0.3625 0.0625) (xy -0.3625 0.0625)
) (width 0.125))
      ))
    (pad 2 smd roundrect (at -1.45 -0.45 270) (size 0.85 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 10 /PA3))
    (pad 3 smd roundrect (at -1.45 0 270) (size 0.85 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 2 GND))
    (pad 4 smd roundrect (at -1.45 0.45 270) (size 0.85 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 3 +3V3))
    (pad 5 smd custom (at -1.45 0.9 270) (size 0.179289 0.179289) (layers F.Cu F.Paste F.Mask)
      (net 11 /PA4)
      (options (clearance outline) (anchor circle))
      (primitives
        (gr_poly (pts
           (xy -0.3625 -0.0625) (xy 0.3625 -0.0625) (xy 0.3625 -0.0375) (xy 0.2625 0.0625) (xy -0.3625 0.0625)
) (width 0.125))
      ))
    (pad 6 smd custom (at -0.9 1.45 270) (size 0.179289 0.179289) (layers F.Cu F.Paste F.Mask)
      (net 12 /PA5)
      (options (clearance outline) (anchor circle))
      (primitives
        (gr_poly (pts
           (xy -0.0625 -0.2625) (xy 0.0375 -0.3625) (xy 0.0625 -0.3625) (xy 0.0625 0.3625) (xy -0.0625 0.3625)
) (width 0.125))
      ))
    (pad 7 smd roundrect (at -0.45 1.45 270) (size 0.25 0.85) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 13 /PA6))
    (pad 8 smd roundrect (at 0 1.45 270) (size 0.25 0.85) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 14 /PA7))
    (pad 9 smd roundrect (at 0.45 1.45 270) (size 0.25 0.85) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 15 /PB5))
    (pad 10 smd custom (at 0.9 1.45 270) (size 0.179289 0.179289) (layers F.Cu F.Paste F.Mask)
      (net 16 /PB4)
      (options (clearance outline) (anchor circle))
      (primitives
        (gr_poly (pts
           (xy -0.0625 -0.3625) (xy -0.0375 -0.3625) (xy 0.0625 -0.2625) (xy 0.0625 0.3625) (xy -0.0625 0.3625)
) (width 0.125))
      ))
    (pad 11 smd custom (at 1.45 0.9 270) (size 0.179289 0.179289) (layers F.Cu F.Paste F.Mask)
      (net 17 /PB3)
      (options (clearance outline) (anchor circle))
      (primitives
        (gr_poly (pts
           (xy -0.3625 -0.0625) (xy 0.3625 -0.0625) (xy 0.3625 0.0625) (xy -0.2625 0.0625) (xy -0.3625 -0.0375)
) (width 0.125))
      ))
    (pad 12 smd roundrect (at 1.45 0.45 270) (size 0.85 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 18 /PB2))
    (pad 13 smd roundrect (at 1.45 0 270) (size 0.85 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 19 /PB1))
    (pad 14 smd roundrect (at 1.45 -0.45 270) (size 0.85 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 20 /PB0))
    (pad 15 smd custom (at 1.45 -0.9 270) (size 0.179289 0.179289) (layers F.Cu F.Paste F.Mask)
      (net 4 /PC0)
      (options (clearance outline) (anchor circle))
      (primitives
        (gr_poly (pts
           (xy -0.3625 0.0375) (xy -0.2625 -0.0625) (xy 0.3625 -0.0625) (xy 0.3625 0.0625) (xy -0.3625 0.0625)
) (width 0.125))
      ))
    (pad 16 smd custom (at 0.9 -1.45 270) (size 0.179289 0.179289) (layers F.Cu F.Paste F.Mask)
      (net 5 /PC1)
      (options (clearance outline) (anchor circle))
      (primitives
        (gr_poly (pts
           (xy -0.0625 -0.3625) (xy 0.0625 -0.3625) (xy 0.0625 0.2625) (xy -0.0375 0.3625) (xy -0.0625 0.3625)
) (width 0.125))
      ))
    (pad 17 smd roundrect (at 0.45 -1.45 270) (size 0.25 0.85) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 6 /PC2))
    (pad 18 smd roundrect (at 0 -1.45 270) (size 0.25 0.85) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 7 /PC3))
    (pad 19 smd roundrect (at -0.45 -1.45 270) (size 0.25 0.85) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
      (net 8 /UPDI))
    (pad 20 smd custom (at -0.9 -1.45 270) (size 0.179289 0.179289) (layers F.Cu F.Paste F.Mask)
      (net 21 /PA1)
      (options (clearance outline) (anchor circle))
      (primitives
        (gr_poly (pts
           (xy -0.0625 -0.3625) (xy 0.0625 -0.3625) (xy 0.0625 0.3625) (xy 0.0375 0.3625) (xy -0.0625 0.2625)
) (width 0.125))
      ))
    (model ${KISYS3DMOD}/Package_DFN_QFN.3dshapes/VQFN-20-1EP_3x3mm_P0.45mm_EP1.55x1.55mm.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 5B301BBE)
    (at 146.94 107.28 180)
    (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 C1 (at -3.25 0 180) (layer F.SilkS))
    (fp_text value 0.1uF (at 0 1.82 180) (layer F.Fab))
    (fp_text user %R (at 0 0 180) (layer F.Fab))
    (pad 1 smd roundrect (at -1.4 0 180) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
      (net 3 +3V3))
    (pad 2 smd roundrect (at 1.4 0 180) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
      (net 2 GND))
    (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 Capacitor_SMD:C_1206_3216Metric (layer F.Cu) (tedit 5B301BBE)
    (at 146.94 110.28 180)
    (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 C2 (at -3.5 0 180) (layer F.SilkS))
    (fp_text value 2uF (at 0 1.82 180) (layer F.Fab))
    (fp_text user %R (at 0 0 180) (layer F.Fab))
    (pad 2 smd roundrect (at 1.4 0 180) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
      (net 2 GND))
    (pad 1 smd roundrect (at -1.4 0 180) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
      (net 3 +3V3))
    (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 Capacitor_SMD:C_1206_3216Metric (layer F.Cu) (tedit 5B301BBE)
    (at 137.7 109.87 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 1.87 2.1 90) (layer F.SilkS))
    (fp_text value 1uF (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 1 VPP))
    (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 2 GND))
    (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 Package_TO_SOT_SMD:SOT-23 (layer F.Cu) (tedit 5A02FF57)
    (at 141.94 110.78 90)
    (descr "SOT-23, Standard")
    (tags SOT-23)
    (attr smd)
    (fp_text reference U3 (at 1.75 1.5 90) (layer F.SilkS))
    (fp_text value AP7381-50SA-7 (at 0 2.5 90) (layer F.Fab))
    (fp_text user %R (at 0 0 180) (layer F.Fab))
    (pad 1 smd rect (at -1 -0.95 90) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 1 VPP))
    (pad 2 smd rect (at -1 0.95 90) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 3 +3V3))
    (pad 3 smd rect (at 1 0 90) (size 0.9 0.8) (layers F.Cu F.Paste F.Mask)
      (net 2 GND))
    (model ${KISYS3DMOD}/Package_TO_SOT_SMD.3dshapes/SOT-23.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Connector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_Vertical (layer B.Cu) (tedit 59FED5CC)
    (at 137.16 116.84 270)
    (descr "Through hole straight pin header, 1x15, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x15 2.54mm single row")
    (fp_text reference J1 (at 0.04 2.96 270) (layer B.SilkS))
    (fp_text value Conn_01x15 (at 0 -37.89 270) (layer B.Fab))
    (fp_text user %R (at 0 -17.78 180) (layer B.Fab))
    (pad 1 thru_hole rect (at 0 0 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 1 VPP))
    (pad 2 thru_hole oval (at 0 -2.54 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 13 /PA6))
    (pad 3 thru_hole oval (at 0 -5.08 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 14 /PA7))
    (pad 4 thru_hole oval (at 0 -7.62 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 15 /PB5))
    (pad 5 thru_hole oval (at 0 -10.16 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 16 /PB4))
    (pad 6 thru_hole oval (at 0 -12.7 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 17 /PB3))
    (pad 7 thru_hole oval (at 0 -15.24 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 18 /PB2))
    (pad 8 thru_hole oval (at 0 -17.78 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 19 /PB1))
    (pad 9 thru_hole oval (at 0 -20.32 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 20 /PB0))
    (pad 10 thru_hole oval (at 0 -22.86 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 4 /PC0))
    (pad 11 thru_hole oval (at 0 -25.4 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 22 /PC0_high))
    (pad 12 thru_hole oval (at 0 -27.94 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 23 /PC0_low))
    (pad 13 thru_hole oval (at 0 -30.48 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 5 /PC1))
    (pad 14 thru_hole oval (at 0 -33.02 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 24 /PC1_high))
    (pad 15 thru_hole oval (at 0 -35.56 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 25 /PC1_low))
    (model ${KISYS3DMOD}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x15_P2.54mm_Vertical.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Connector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_Vertical (layer B.Cu) (tedit 59FED5CC)
    (at 137.16 101.6 270)
    (descr "Through hole straight pin header, 1x15, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x15 2.54mm single row")
    (fp_text reference J2 (at 0 2.76 270) (layer B.SilkS))
    (fp_text value Conn_01x15 (at 0 -37.89 270) (layer B.Fab))
    (fp_text user %R (at 0 -17.78 180) (layer B.Fab))
    (pad 1 thru_hole rect (at 0 0 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 2 thru_hole oval (at 0 -2.54 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 12 /PA5))
    (pad 3 thru_hole oval (at 0 -5.08 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 11 /PA4))
    (pad 4 thru_hole oval (at 0 -7.62 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 10 /PA3))
    (pad 5 thru_hole oval (at 0 -10.16 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 9 /PA2))
    (pad 6 thru_hole oval (at 0 -12.7 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 21 /PA1))
    (pad 7 thru_hole oval (at 0 -15.24 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 3 +3V3))
    (pad 8 thru_hole oval (at 0 -17.78 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 9 thru_hole oval (at 0 -20.32 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 8 /UPDI))
    (pad 10 thru_hole oval (at 0 -22.86 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 7 /PC3))
    (pad 11 thru_hole oval (at 0 -25.4 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 26 /PC3_low))
    (pad 12 thru_hole oval (at 0 -27.94 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 27 /PC3_high))
    (pad 13 thru_hole oval (at 0 -30.48 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 6 /PC2))
    (pad 14 thru_hole oval (at 0 -33.02 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 28 /PC2_low))
    (pad 15 thru_hole oval (at 0 -35.56 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 29 /PC2_high))
    (model ${KISYS3DMOD}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x15_P2.54mm_Vertical.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_text +V (at 137.3 114 90) (layer F.SilkS))
  (gr_line (start 174.6 118.6) (end 135.4 118.6) (layer Edge.Cuts) (width 0.2))
  (gr_line (start 174.6 99.8) (end 174.6 118.6) (layer Edge.Cuts) (width 0.2))
  (gr_line (start 135.4 99.8) (end 174.6 99.8) (layer Edge.Cuts) (width 0.2))
  (gr_line (start 135.4 118.6) (end 135.4 99.8) (layer Edge.Cuts) (width 0.2))
  (gr_text +3V (at 152.5 104.67 90) (layer F.SilkS))
  (gr_text GND (at 155 104.57 90) (layer F.SilkS))
  (gr_text --> (at 164 104.87) (layer F.SilkS))
  (gr_text PC3 (at 160 104.6 90) (layer F.SilkS))
  (gr_text Gnd (at 137.1 104.47 90) (layer F.SilkS))
  (gr_text "DMG2302UK\nx4 MOSFET \n20V 2.8A" (at 162.8 109 180) (layer B.SilkS))
  (gr_text "ATTINY81x\nBreakout v0.1" (at 143.8 108.6) (layer B.SilkS))
  (gr_text --> (at 164.2 113.67 180) (layer F.SilkS))
  (gr_text PA5 (at 139.6 104.47 90) (layer F.SilkS))
  (gr_text --> (at 171.3 113.67 180) (layer F.SilkS))
  (gr_text --> (at 171.04 104.97) (layer F.SilkS))
  (gr_text PC2 (at 167.8 104.6 90) (layer F.SilkS))
  (gr_text PC1 (at 167.8 114 90) (layer F.SilkS))
  (gr_text PC0 (at 160 114 90) (layer F.SilkS))
  (gr_text PB0 (at 157.5 113.97 90) (layer F.SilkS))
  (gr_text PB1 (at 155.1 113.97 90) (layer F.SilkS))
  (gr_text PB2 (at 152.5 113.97 90) (layer F.SilkS))
  (gr_text PB3 (at 149.9 113.97 90) (layer F.SilkS))
  (gr_text PB4 (at 147.5 113.97 90) (layer F.SilkS))
  (gr_text PB5 (at 144.8 113.97 90) (layer F.SilkS))
  (gr_text PA7 (at 142.3 114.07 90) (layer F.SilkS))
  (gr_text PA6 (at 139.8 114.07 90) (layer F.SilkS))
  (gr_text PA4 (at 142.3 104.47 90) (layer F.SilkS))
  (gr_text PA3 (at 144.8 104.47 90) (layer F.SilkS))
  (gr_text PA2 (at 147.1 104.37 90) (layer F.SilkS))
  (gr_text PA1 (at 149.8 104.37 90) (layer F.SilkS))
  (gr_text UPDI (at 157.5 104.8 90) (layer F.SilkS))
  (zone (net 0) (net_name "") (layer B.Mask) (hatch edge 0.508)
    (connect_pads (clearance 0.508))
    (min_thickness 0.254)
    (fill yes (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508))
    (polygon
      (pts
        (xy 152.44 108.03) (xy 154.44 108.03) (xy 154.44 110.03) (xy 152.44 110.03)
      )
    )
  )
  (zone (net 2) (net_name GND) (layer B.Cu) (hatch edge 0.508)
    (connect_pads (clearance 0.508))
    (min_thickness 0.254)
    (fill yes (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508))
    (polygon
      (pts
        (xy 130 90) (xy 180 90) (xy 180 130) (xy 130 130)
      )
    )
  )
)
