(kicad_pcb (version 4) (host pcbnew 4.0.7)
  (general
    (links 17)
    (no_connects 0)
    (area 149.149999 91.999999 171.525001 120.317619)
    (thickness 1.6)
    (drawings 12)
    (tracks 80)
    (zones 0)
    (modules 7)
    (nets 10)
  )
  (page A4)
  (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.25)
    (trace_clearance 0.2)
    (zone_clearance 0.2)
    (zone_45_only no)
    (trace_min 0.2)
    (segment_width 0.2)
    (edge_width 0.15)
    (via_size 0.6)
    (via_drill 0.4)
    (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.524 1.524)
    (pad_drill 0.762)
    (pad_to_mask_clearance 0.2)
    (aux_axis_origin 0 0)
    (visible_elements 7FFFFFFF)
    (pcbplotparams
      (layerselection 0x010f0_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 ""))
  )
  (net 0 "")
  (net 1 GND)
  (net 2 "Net-(D1-Pad2)")
  (net 3 VCC)
  (net 4 "Net-(HCSR4-Pad2)")
  (net 5 "Net-(HCSR4-Pad3)")
  (net 6 "Net-(R1-Pad2)")
  (net 7 "Net-(RV1-Pad2)")
  (net 8 "Net-(SPI1-Pad1)")
  (net 9 "Net-(SPI1-Pad4)")
  (net_class Default "To jest domyślna klasa połączeń."
    (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 "Net-(D1-Pad2)")
    (add_net "Net-(HCSR4-Pad2)")
    (add_net "Net-(HCSR4-Pad3)")
    (add_net "Net-(R1-Pad2)")
    (add_net "Net-(RV1-Pad2)")
    (add_net "Net-(SPI1-Pad1)")
    (add_net "Net-(SPI1-Pad4)")
    (add_net VCC)
  )
  (module LEDs:LED_1206_HandSoldering (layer F.Cu) (tedit 5B16E227)
    (at 167.005 115.57)
    (descr "LED SMD 1206, hand soldering")
    (tags "LED 1206")
    (attr smd)
    (fp_text reference D1 (at -2.54 1.905) (layer F.SilkS))
    (fp_text value LED (at 0 1.9) (layer F.Fab))
    (pad 1 smd rect (at -2 0) (size 2 1.7) (layers F.Cu F.Paste F.Mask)
      (net 1 GND))
    (pad 2 smd rect (at 2 0) (size 2 1.7) (layers F.Cu F.Paste F.Mask)
      (net 2 "Net-(D1-Pad2)"))
    (model ${KISYS3DMOD}/LEDs.3dshapes/LED_1206.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 180))
    )
  )
  (module Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm (layer F.Cu) (tedit 5B16E293)
    (at 155.575 94.615 90)
    (descr "Through hole straight pin header, 1x04, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x04 2.54mm single row")
    (fp_text reference HCSR4 (at -2.54 2.54 180) (layer F.SilkS))
    (fp_text value s (at 0 9.95 90) (layer F.Fab))
    (fp_text user %R (at 2.54 3.175 180) (layer F.Fab))
    (pad 1 thru_hole rect (at 0 0 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 3 VCC))
    (pad 2 thru_hole oval (at 0 2.54 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 4 "Net-(HCSR4-Pad2)"))
    (pad 3 thru_hole oval (at 0 5.08 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 5 "Net-(HCSR4-Pad3)"))
    (pad 4 thru_hole oval (at 0 7.62 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 1 GND))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x04_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Resistors_SMD:R_1206_HandSoldering (layer F.Cu) (tedit 5B16E224)
    (at 167.005 112.395 180)
    (descr "Resistor SMD 1206, hand soldering")
    (tags "resistor 1206")
    (attr smd)
    (fp_text reference R1 (at 1.27 1.905 180) (layer F.SilkS))
    (fp_text value 10 (at 0 1.9 180) (layer F.Fab))
    (fp_text user %R (at 0 0 180) (layer F.Fab))
    (pad 1 smd rect (at -2 0 180) (size 2 1.7) (layers F.Cu F.Paste F.Mask)
      (net 2 "Net-(D1-Pad2)"))
    (pad 2 smd rect (at 2 0 180) (size 2 1.7) (layers F.Cu F.Paste F.Mask)
      (net 6 "Net-(R1-Pad2)"))
    (model ${KISYS3DMOD}/Resistors_SMD.3dshapes/R_1206.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm (layer F.Cu) (tedit 5B16E317)
    (at 153.035 111.76 90)
    (descr "Through hole straight pin header, 1x04, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x04 2.54mm single row")
    (fp_text reference "RES SCK MISO MOSI" (at 1.905 3.81 180) (layer F.SilkS))
    (fp_text value Conn_01x04 (at 0 9.95 90) (layer F.Fab) hide)
    (fp_text user %R (at 0 3.81 180) (layer F.Fab))
    (pad 1 thru_hole rect (at 0 0 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 8 "Net-(SPI1-Pad1)"))
    (pad 2 thru_hole oval (at 0 2.54 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 4 "Net-(HCSR4-Pad2)"))
    (pad 3 thru_hole oval (at 0 5.08 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 5 "Net-(HCSR4-Pad3)"))
    (pad 4 thru_hole oval (at 0 7.62 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 9 "Net-(SPI1-Pad4)"))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x04_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm (layer F.Cu) (tedit 5B16E240)
    (at 153.035 115.57 90)
    (descr "Through hole straight pin header, 1x03, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x03 2.54mm single row")
    (fp_text reference "VCC OUT GND" (at -2.54 3.175 180) (layer F.SilkS))
    (fp_text value Conn_01x03 (at 0 7.41 90) (layer F.Fab) hide)
    (fp_text user %R (at 0 2.54 180) (layer F.Fab) hide)
    (pad 1 thru_hole rect (at 0 0 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 3 VCC))
    (pad 2 thru_hole oval (at 0 2.54 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 9 "Net-(SPI1-Pad4)"))
    (pad 3 thru_hole oval (at 0 5.08 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 1 GND))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x03_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Housings_DIP:DIP-8_W7.62mm_LongPads (layer F.Cu) (tedit 5B16E058)
    (at 161.29 99.695)
    (descr "8-lead though-hole mounted DIP package, row spacing 7.62 mm (300 mils), LongPads")
    (tags "THT DIP DIL PDIP 2.54mm 7.62mm 300mil LongPads")
    (fp_text reference U1 (at 3.81 -2.33) (layer F.SilkS))
    (fp_text value ATTINY45-20PU (at 4.445 4.445 90) (layer F.Fab) hide)
    (fp_text user %R (at 3.81 3.81) (layer F.Fab))
    (pad 1 thru_hole rect (at 0 0) (size 2.4 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 8 "Net-(SPI1-Pad1)"))
    (pad 5 thru_hole oval (at 7.62 7.62) (size 2.4 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 9 "Net-(SPI1-Pad4)"))
    (pad 2 thru_hole oval (at 0 2.54) (size 2.4 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 6 "Net-(R1-Pad2)"))
    (pad 6 thru_hole oval (at 7.62 5.08) (size 2.4 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 5 "Net-(HCSR4-Pad3)"))
    (pad 3 thru_hole oval (at 0 5.08) (size 2.4 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 7 "Net-(RV1-Pad2)"))
    (pad 7 thru_hole oval (at 7.62 2.54) (size 2.4 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 4 "Net-(HCSR4-Pad2)"))
    (pad 4 thru_hole oval (at 0 7.62) (size 2.4 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 1 GND))
    (pad 8 thru_hole oval (at 7.62 0) (size 2.4 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 3 VCC))
    (model ${KISYS3DMOD}/Housings_DIP.3dshapes/DIP-8_W7.62mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Potentiometers:Potentiometer_Trimmer_VishaySpectrol_Econtrim-Type36T (layer F.Cu) (tedit 588234B0)
    (at 151.765 105.41)
    (descr "Potentiometer, Trimmer, Spectrol Type 36T, Econtrim, Rev A, 02 Aug 2010,")
    (tags "Potentiometer Trimmer Spectrol Type 36T Econtrim Rev A 02 Aug 2010 ")
    (fp_text reference RV1 (at 2.5 -7.05) (layer F.SilkS))
    (fp_text value POT (at 2.5 2.05) (layer F.Fab))
    (pad 2 thru_hole circle (at 2.5 -5) (size 2.5 2.5) (drill 1.2) (layers *.Cu *.Mask)
      (net 7 "Net-(RV1-Pad2)"))
    (pad 3 thru_hole circle (at 5 0) (size 2.5 2.5) (drill 1.2) (layers *.Cu *.Mask)
      (net 1 GND))
    (pad 1 thru_hole circle (at 0 0) (size 2.5 2.5) (drill 1.2) (layers *.Cu *.Mask)
      (net 3 VCC))
  )
  (gr_text GND (at 166.37 94.615) (layer F.SilkS))
  (gr_text VCC (at 152.4 94.615) (layer F.SilkS))
  (gr_text 05.06.2018 (at 168.275 113.665 90) (layer B.SilkS))
  (gr_text "NIKODEM BARTNIK" (at 165.735 107.315 90) (layer B.SilkS))
  (gr_line (start 149.225 117.475) (end 149.225 94.615) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 168.91 120.015) (end 151.765 120.015) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 171.45 94.615) (end 171.45 117.475) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 151.765 92.075) (end 168.91 92.075) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_arc (start 168.91 94.615) (end 168.91 92.075) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_arc (start 168.91 117.475) (end 171.45 117.475) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_arc (start 151.765 117.475) (end 151.765 120.015) (angle 90) (layer Edge.Cuts) (width 0.15))
  (gr_arc (start 151.765 94.615) (end 149.225 94.615) (angle 90) (layer Edge.Cuts) (width 0.15))
  (zone (net 1) (net_name GND) (layer F.Cu) (hatch edge 0.508)
    (connect_pads (clearance 0.2))
    (min_thickness 0.254)
    (fill yes (arc_segments 16) (thermal_gap 0.1) (thermal_bridge_width 0.255))
    (polygon
      (pts
        (xy 149.86 117.475) (xy 149.86 94.615) (xy 151.765 92.71) (xy 168.91 92.71) (xy 170.815 94.615)
        (xy 170.815 117.475) (xy 168.91 119.38) (xy 151.765 119.38)
      )
    )
  )
  (zone (net 3) (net_name VCC) (layer B.Cu) (hatch edge 0.508)
    (connect_pads (clearance 0.2))
    (min_thickness 0.254)
    (fill yes (arc_segments 16) (thermal_gap 0.1) (thermal_bridge_width 0.255))
    (polygon
      (pts
        (xy 149.86 117.475) (xy 149.86 94.615) (xy 151.765 92.71) (xy 168.91 92.71) (xy 170.815 94.615)
        (xy 170.815 117.475) (xy 168.91 119.38) (xy 151.765 119.38)
      )
    )
  )
)
