(kicad_pcb (version 4) (host pcbnew 4.0.4-stable)
  (general
    (links 17)
    (no_connects 0)
    (area 98.466667 113.466666 131.675 128.075001)
    (thickness 1.6)
    (drawings 9)
    (tracks 64)
    (zones 0)
    (modules 4)
    (nets 9)
  )
  (page A4)
  (layers
    (0 F.Cu signal hide)
    (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.25)
    (trace_clearance 0.2)
    (zone_clearance 0.508)
    (zone_45_only no)
    (trace_min 0.006)
    (segment_width 0.2)
    (edge_width 0.15)
    (via_size 0.6)
    (via_drill 0.4)
    (via_min_size 0.027)
    (via_min_drill 0.3)
    (uvia_size 0.3)
    (uvia_drill 0.1)
    (uvias_allowed no)
    (uvia_min_size 0)
    (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.762)
    (pad_to_mask_clearance 0.2)
    (aux_axis_origin 0 0)
    (visible_elements FFFFFF5F)
    (pcbplotparams
      (layerselection 0x00030_80000001)
      (usegerberextensions false)
      (excludeedgelayer true)
      (linewidth 0.100000)
      (plotframeref false)
      (viasonmask false)
      (mode 1)
      (useauxorigin false)
      (hpglpennumber 1)
      (hpglpenspeed 20)
      (hpglpendiameter 15)
      (hpglpenoverlay 2)
      (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 ~CS)
  (net 2 MISO)
  (net 3 GND)
  (net 4 VCC)
  (net 5 ~SCK)
  (net 6 MOSI)
  (net 7 ~WP)
  (net 8 ~HOLD)
  (net_class Default "This is the default net class."
    (clearance 0.2)
    (trace_width 0.25)
    (via_dia 0.6)
    (via_drill 0.4)
    (uvia_dia 0.3)
    (uvia_drill 0.1)
    (add_net GND)
    (add_net MISO)
    (add_net MOSI)
    (add_net VCC)
    (add_net ~CS)
    (add_net ~HOLD)
    (add_net ~SCK)
    (add_net ~WP)
  )
  (module Testlib:MOLEX-87264-1052 (layer F.Cu) (tedit 5837284E)
    (at 103.5 120)
    (fp_text reference P1 (at 0 0.5) (layer F.SilkS))
    (fp_text value CONN_02X05 (at 0 5.5) (layer F.Fab))
    (pad 6 thru_hole circle (at -2.25 0) (size 1.524 1.524) (drill 0.9) (layers *.Cu *.Mask)
      (net 1 ~CS))
    (pad 4 thru_hole circle (at -2.25 -2) (size 1.524 1.524) (drill 0.9) (layers *.Cu *.Mask)
      (net 2 MISO))
    (pad 8 thru_hole circle (at -2.25 2) (size 1.524 1.524) (drill 0.9) (layers *.Cu *.Mask)
      (net 3 GND))
    (pad 10 thru_hole circle (at -2.25 4) (size 1.524 1.524) (drill 0.9) (layers *.Cu *.Mask)
      (net 3 GND))
    (pad 2 thru_hole rect (at -2.25 -3.75) (size 1.524 1.524) (drill 0.9) (layers *.Cu *.Mask)
      (net 4 VCC))
    (pad 9 thru_hole circle (at 2.25 4) (size 1.524 1.524) (drill 0.9) (layers *.Cu *.Mask))
    (pad 7 thru_hole circle (at 2.25 2) (size 1.524 1.524) (drill 0.9) (layers *.Cu *.Mask)
      (net 3 GND))
    (pad 5 thru_hole circle (at 2.25 0) (size 1.524 1.524) (drill 0.9) (layers *.Cu *.Mask)
      (net 5 ~SCK))
    (pad 3 thru_hole circle (at 2.25 -2) (size 1.524 1.524) (drill 0.9) (layers *.Cu *.Mask)
      (net 6 MOSI))
    (pad 1 thru_hole circle (at 2.25 -3.75) (size 1.524 1.524) (drill 0.9) (layers *.Cu *.Mask)
      (net 4 VCC))
  )
  (module Pin_Headers:Pin_Header_Straight_1x04 (layer F.Cu) (tedit 0)
    (at 125.5 121.5 270)
    (descr "Through hole pin header")
    (tags "pin header")
    (fp_text reference P2 (at 0 -5.1 270) (layer F.SilkS))
    (fp_text value CONN_01X04 (at 0 -3.1 270) (layer F.Fab))
    (pad 1 thru_hole rect (at 0 0 270) (size 2.032 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 1 ~CS))
    (pad 2 thru_hole oval (at 0 2.54 270) (size 2.032 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 2 MISO))
    (pad 3 thru_hole oval (at 0 5.08 270) (size 2.032 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 7 ~WP))
    (pad 4 thru_hole oval (at 0 7.62 270) (size 2.032 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 3 GND))
    (model Pin_Headers.3dshapes/Pin_Header_Straight_1x04.wrl
      (at (xyz 0 -0.15 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 90))
    )
  )
  (module Pin_Headers:Pin_Header_Straight_1x04 (layer F.Cu) (tedit 0)
    (at 125.5 118.5 270)
    (descr "Through hole pin header")
    (tags "pin header")
    (fp_text reference P3 (at 0 -5.1 270) (layer F.SilkS))
    (fp_text value CONN_01X04 (at 0 -3.1 270) (layer F.Fab))
    (pad 1 thru_hole rect (at 0 0 270) (size 2.032 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 4 VCC))
    (pad 2 thru_hole oval (at 0 2.54 270) (size 2.032 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 8 ~HOLD))
    (pad 3 thru_hole oval (at 0 5.08 270) (size 2.032 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 5 ~SCK))
    (pad 4 thru_hole oval (at 0 7.62 270) (size 2.032 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 6 MOSI))
    (model Pin_Headers.3dshapes/Pin_Header_Straight_1x04.wrl
      (at (xyz 0 -0.15 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 90))
    )
  )
  (module SMD_Packages:SOIC-8-N (layer F.Cu) (tedit 0)
    (at 113 120)
    (descr "Module Narrow CMS SOJ 8 pins large")
    (tags "CMS SOJ")
    (attr smd)
    (fp_text reference U1 (at 0 -1.27) (layer F.SilkS))
    (fp_text value 25LC_EEPROM (at 0 1.27) (layer F.Fab))
    (pad 8 smd rect (at -1.905 -3.175) (size 0.508 1.143) (layers F.Cu F.Paste F.Mask)
      (net 4 VCC))
    (pad 7 smd rect (at -0.635 -3.175) (size 0.508 1.143) (layers F.Cu F.Paste F.Mask)
      (net 8 ~HOLD))
    (pad 6 smd rect (at 0.635 -3.175) (size 0.508 1.143) (layers F.Cu F.Paste F.Mask)
      (net 5 ~SCK))
    (pad 5 smd rect (at 1.905 -3.175) (size 0.508 1.143) (layers F.Cu F.Paste F.Mask)
      (net 6 MOSI))
    (pad 4 smd rect (at 1.905 3.175) (size 0.508 1.143) (layers F.Cu F.Paste F.Mask)
      (net 3 GND))
    (pad 3 smd rect (at 0.635 3.175) (size 0.508 1.143) (layers F.Cu F.Paste F.Mask)
      (net 7 ~WP))
    (pad 2 smd rect (at -0.635 3.175) (size 0.508 1.143) (layers F.Cu F.Paste F.Mask)
      (net 2 MISO))
    (pad 1 smd rect (at -1.905 3.175) (size 0.508 1.143) (layers F.Cu F.Paste F.Mask)
      (net 1 ~CS))
    (model SMD_Packages.3dshapes/SOIC-8-N.wrl
      (at (xyz 0 0 0))
      (scale (xyz 0.5 0.38 0.5))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_line (start 128 128) (end 128 127.5) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 115 128) (end 128 128) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 128 119) (end 128 127.5) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 128 114) (end 115 114) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 128 119) (end 128 114) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 100 114) (end 100 116) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 115 114) (end 100 114) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 100 128) (end 115 128) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 100 128) (end 100 116) (angle 90) (layer Edge.Cuts) (width 0.15))
  (zone (net 4) (net_name VCC) (layer F.Cu) (hatch full 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 128 128) (xy 100 128) (xy 100 114) (xy 128 114)
      )
    )
  )
  (zone (net 3) (net_name GND) (layer B.Cu) (hatch full 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 128 128) (xy 100 128) (xy 100 114) (xy 128 114)
      )
    )
  )
)
