(kicad_pcb (version 4) (host pcbnew 4.0.6)
  (general
    (links 19)
    (no_connects 0)
    (area 149.784999 100.254999 172.795001 121.995001)
    (thickness 1.6)
    (drawings 12)
    (tracks 64)
    (zones 0)
    (modules 13)
    (nets 11)
  )
  (page A4)
  (layers
    (0 F.Cu mixed)
    (31 B.Cu mixed)
    (36 B.SilkS user)
    (37 F.SilkS user)
    (38 B.Mask user)
    (39 F.Mask user)
    (44 Edge.Cuts user)
    (49 F.Fab user)
  )
  (setup
    (last_trace_width 0.1524)
    (trace_clearance 0.1524)
    (zone_clearance 0.508)
    (zone_45_only no)
    (trace_min 0.1524)
    (segment_width 0.2)
    (edge_width 0.15)
    (via_size 0.6858)
    (via_drill 0.3302)
    (via_min_size 0.6858)
    (via_min_drill 0.3302)
    (uvia_size 0.762)
    (uvia_drill 0.508)
    (uvias_allowed no)
    (uvia_min_size 0)
    (uvia_min_drill 0)
    (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 3 3)
    (pad_drill 2.2)
    (pad_to_mask_clearance 0.2)
    (aux_axis_origin 0 0)
    (visible_elements FFFEFF7F)
    (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 1)
      (scaleselection 1)
      (outputdirectory ""))
  )
  (net 0 "")
  (net 1 GND)
  (net 2 "Net-(D1-Pad2)")
  (net 3 VCC)
  (net 4 "Net-(R2-Pad2)")
  (net 5 "Net-(RV1-Pad2)")
  (net 6 "Net-(U1-Pad1)")
  (net 7 "Net-(U1-Pad2)")
  (net 8 "Net-(J2-Pad1)")
  (net 9 /DATA)
  (net 10 "Net-(Q1-Pad2)")
  (net_class Default "Esta es la clase de red por defecto."
    (clearance 0.1524)
    (trace_width 0.1524)
    (via_dia 0.6858)
    (via_drill 0.3302)
    (uvia_dia 0.762)
    (uvia_drill 0.508)
  )
  (net_class big ""
    (clearance 0.3048)
    (trace_width 0.3048)
    (via_dia 0.6858)
    (via_drill 0.3302)
    (uvia_dia 0.762)
    (uvia_drill 0.508)
    (add_net /DATA)
    (add_net GND)
    (add_net "Net-(D1-Pad2)")
    (add_net "Net-(J2-Pad1)")
    (add_net "Net-(Q1-Pad2)")
    (add_net "Net-(R2-Pad2)")
    (add_net "Net-(RV1-Pad2)")
    (add_net "Net-(U1-Pad1)")
    (add_net "Net-(U1-Pad2)")
    (add_net VCC)
  )
  (module Mounting_Holes:MountingHole_2.7mm (layer F.Cu) (tedit 598DF436)
    (at 152.4 119.38)
    (descr "Mounting Hole 2.7mm, no annular")
    (tags "mounting hole 2.7mm no annular")
    (fp_text reference P2 (at 0 -3.7) (layer F.SilkS) hide)
    (fp_text value MountingHole_2.7mm (at 0 3.7) (layer F.Fab) hide)
    (pad "" np_thru_hole circle (at 0 0) (size 3 3) (drill 2.2) (layers *.Cu *.Mask))
  )
  (module Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm (layer F.Cu) (tedit 598DF0CF)
    (at 152.4 104.14 90)
    (descr "Through hole straight pin header, 1x02, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x02 2.54mm single row")
    (fp_text reference J2 (at -6.35 0 90) (layer F.SilkS) hide)
    (fp_text value Relay (at 0 4.93 90) (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-(J2-Pad1)"))
    (pad 2 thru_hole oval (at 0 2.54 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 1 GND))
    (model Pin_Headers.3dshapes/Pin_Header_Straight_1x02_Pitch2.54mm.wrl
      (at (xyz 0 -0.05 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 90))
    )
  )
  (module LEDs:LED_D3.0mm (layer F.Cu) (tedit 598DEDD5)
    (at 163.83 119.38)
    (descr "LED, diameter 3.0mm, 2 pins")
    (tags "LED diameter 3.0mm 2 pins")
    (fp_text reference D1 (at 1.27 -2.54) (layer F.SilkS))
    (fp_text value LED (at 1.27 2.96) (layer F.Fab))
    (pad 1 thru_hole rect (at 0 0) (size 1.8 1.8) (drill 0.9) (layers *.Cu *.Mask)
      (net 1 GND))
    (pad 2 thru_hole circle (at 2.54 0) (size 1.8 1.8) (drill 0.9) (layers *.Cu *.Mask)
      (net 2 "Net-(D1-Pad2)"))
    (model LEDs.3dshapes/LED_D3.0mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 0.393701 0.393701 0.393701))
      (rotate (xyz 0 0 0))
    )
  )
  (module Potentiometers:Potentiometer_Trimmer_Bourns_3296W (layer F.Cu) (tedit 598DED86)
    (at 165.1 114.3 270)
    (descr "Spindle Trimmer Potentiometer, Bourns 3296W, https://www.bourns.com/pdfs/3296.pdf")
    (tags "Spindle Trimmer Potentiometer   Bourns 3296W")
    (fp_text reference RV1 (at 0 -1.27 270) (layer F.SilkS))
    (fp_text value POT (at -2.54 3.67 270) (layer F.Fab))
    (pad 1 thru_hole circle (at 0 0 270) (size 1.44 1.44) (drill 0.8) (layers *.Cu *.Mask)
      (net 1 GND))
    (pad 2 thru_hole circle (at -2.54 0 270) (size 1.44 1.44) (drill 0.8) (layers *.Cu *.Mask)
      (net 5 "Net-(RV1-Pad2)"))
    (pad 3 thru_hole circle (at -5.08 0 270) (size 1.44 1.44) (drill 0.8) (layers *.Cu *.Mask)
      (net 3 VCC))
    (model Potentiometers.3dshapes/Potentiometer_Trimmer_Bourns_3296W.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 -90))
    )
  )
  (module Housings_DIP:DIP-8_W7.62mm_Socket (layer F.Cu) (tedit 598DED4A)
    (at 152.4 107.18)
    (descr "8-lead dip package, row spacing 7.62 mm (300 mils), Socket")
    (tags "DIL DIP PDIP 2.54mm 7.62mm 300mil Socket")
    (fp_text reference U1 (at 3.81 3.81) (layer F.SilkS))
    (fp_text value ATTINY85-20PU (at 3.81 10.01) (layer F.Fab) hide)
    (pad 1 thru_hole rect (at 0 0) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 6 "Net-(U1-Pad1)"))
    (pad 5 thru_hole oval (at 7.62 7.62) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 10 "Net-(Q1-Pad2)"))
    (pad 2 thru_hole oval (at 0 2.54) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 7 "Net-(U1-Pad2)"))
    (pad 6 thru_hole oval (at 7.62 5.08) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 9 /DATA))
    (pad 3 thru_hole oval (at 0 5.08) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 4 "Net-(R2-Pad2)"))
    (pad 7 thru_hole oval (at 7.62 2.54) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 5 "Net-(RV1-Pad2)"))
    (pad 4 thru_hole oval (at 0 7.62) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 1 GND))
    (pad 8 thru_hole oval (at 7.62 0) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 3 VCC))
    (model Housings_DIP.3dshapes/DIP-8_W7.62mm_Socket.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm (layer F.Cu) (tedit 598DF0CC)
    (at 170.18 106.68)
    (descr "Through hole straight pin header, 1x02, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x02 2.54mm single row")
    (fp_text reference J1 (at 6.35 1.27) (layer F.SilkS) hide)
    (fp_text value Trafo (at 0 4.93) (layer F.Fab))
    (pad 1 thru_hole rect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 3 VCC))
    (pad 2 thru_hole oval (at 0 2.54) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 1 GND))
    (model Pin_Headers.3dshapes/Pin_Header_Straight_1x02_Pitch2.54mm.wrl
      (at (xyz 0 -0.05 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 90))
    )
  )
  (module Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm (layer F.Cu) (tedit 598DF0C9)
    (at 157.48 104.14 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 J3 (at 6.35 1.27 90) (layer F.SilkS) hide)
    (fp_text value "Sensor PIR" (at 0 7.47 90) (layer F.Fab))
    (pad 1 thru_hole rect (at 0 0 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 1 GND))
    (pad 2 thru_hole oval (at 0 2.54 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 9 /DATA))
    (pad 3 thru_hole oval (at 0 5.08 90) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 3 VCC))
    (model Pin_Headers.3dshapes/Pin_Header_Straight_1x03_Pitch2.54mm.wrl
      (at (xyz 0 -0.1 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 90))
    )
  )
  (module Mounting_Holes:MountingHole_2.2mm_M2_Pad (layer F.Cu) (tedit 598DF812)
    (at 170.18 102.87)
    (descr "Mounting Hole 2.2mm, M2")
    (tags "mounting hole 2.2mm m2")
    (fp_text reference P7 (at 0 -3.2) (layer F.SilkS) hide)
    (fp_text value MountingHole_2.2mm_M2_Pad (at 0 3.2) (layer F.Fab))
    (pad 1 thru_hole circle (at 0 0) (size 3 3) (drill 2.2) (layers *.Cu *.Mask))
  )
  (module Discret:R1 (layer F.Cu) (tedit 598DFE0F)
    (at 170.18 114.3 270)
    (descr "Resistance verticale")
    (tags R)
    (fp_text reference R2 (at 1.27 1.27 270) (layer F.SilkS))
    (fp_text value "R 10K" (at -1.143 2.54 270) (layer F.Fab))
    (pad 1 thru_hole circle (at -1.27 0 270) (size 1.397 1.397) (drill 0.8128) (layers *.Cu *.Mask)
      (net 1 GND))
    (pad 2 thru_hole circle (at 1.27 0 270) (size 1.397 1.397) (drill 0.8128) (layers *.Cu *.Mask)
      (net 4 "Net-(R2-Pad2)"))
    (model Discret.3dshapes/R1.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Discret:R1 (layer F.Cu) (tedit 598DFE4A)
    (at 166.37 104.14 270)
    (descr "Resistance verticale")
    (tags R)
    (fp_text reference R1 (at 1.27 1.27 270) (layer F.SilkS))
    (fp_text value "R 150" (at -1.143 2.54 270) (layer F.Fab))
    (pad 1 thru_hole circle (at -1.27 0 270) (size 1.397 1.397) (drill 0.8128) (layers *.Cu *.Mask)
      (net 2 "Net-(D1-Pad2)"))
    (pad 2 thru_hole circle (at 1.27 0 270) (size 1.397 1.397) (drill 0.8128) (layers *.Cu *.Mask)
      (net 9 /DATA))
    (model Discret.3dshapes/R1.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Discret:R1 (layer F.Cu) (tedit 598E0282)
    (at 170.18 119.38 270)
    (descr "Resistance verticale")
    (tags R)
    (fp_text reference R3 (at 1.27 1.27 270) (layer F.SilkS))
    (fp_text value R_PHOTO (at -1.143 2.54 270) (layer F.Fab))
    (pad 1 thru_hole circle (at -1.27 0 270) (size 1.397 1.397) (drill 0.8128) (layers *.Cu *.Mask)
      (net 3 VCC))
    (pad 2 thru_hole circle (at 1.27 0 270) (size 1.397 1.397) (drill 0.8128) (layers *.Cu *.Mask)
      (net 4 "Net-(R2-Pad2)"))
    (model Discret.3dshapes/R1.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Symbols:OSHW-Logo2_7.3x6mm_SilkScreen (layer B.Cu) (tedit 598E05F6)
    (at 156.01 111.26 180)
    (descr "Open Source Hardware Symbol")
    (tags "Logo Symbol OSHW")
    (attr virtual)
    (fp_text reference L0 (at 0 0 180) (layer B.SilkS) hide)
    (fp_text value OSHW-Logo2_7.3x6mm_SilkScreen (at 0.75 0 180) (layer B.Fab) hide)
  )
  (module TO_SOT_Packages_THT:TO-92_Inline_Wide (layer F.Cu) (tedit 58610935)
    (at 160.79 118.78 180)
    (descr "TO-92 leads in-line, wide, drill 0.8mm (see NXP sot054_po.pdf)")
    (tags "to-92 sc-43 sc-43a sot54 PA33 transistor")
    (fp_text reference Q1 (at 2.54 -1.57 360) (layer F.SilkS))
    (fp_text value BC237 (at 2.54 2.794 180) (layer F.Fab))
    (pad 2 thru_hole circle (at 2.54 0 270) (size 1.524 1.524) (drill 0.8) (layers *.Cu *.Mask)
      (net 10 "Net-(Q1-Pad2)"))
    (pad 3 thru_hole circle (at 5.08 0 270) (size 1.524 1.524) (drill 0.8) (layers *.Cu *.Mask)
      (net 8 "Net-(J2-Pad1)"))
    (pad 1 thru_hole rect (at 0 0 270) (size 1.524 1.524) (drill 0.8) (layers *.Cu *.Mask)
      (net 3 VCC))
    (model TO_SOT_Packages_THT.3dshapes/TO-92_Inline_Wide.wrl
      (at (xyz 0.1 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 -90))
    )
  )
  (gr_line (start 149.86 121.92) (end 149.86 100.33) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 172.72 121.92) (end 149.86 121.92) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 172.72 100.33) (end 172.72 121.92) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 149.86 100.33) (end 172.72 100.33) (layer Edge.Cuts) (width 0.15))
  (gr_text GND (at 157.48 101.6 90) (layer F.SilkS))
  (gr_text VCC (at 162.56 101.6 90) (layer F.SilkS))
  (gr_text RCTR (at 152.4 101.6 90) (layer F.SilkS))
  (gr_text GND (at 154.94 101.6 90) (layer F.SilkS))
  (gr_text GND (at 168.21 109.22 90) (layer F.SilkS))
  (gr_text VCC (at 168.29 106.68 90) (layer F.SilkS))
  (gr_text DAT (at 160.02 101.6 90) (layer F.SilkS))
  (gr_text "© 2017 Charo Baena\nAutoLamp 1.0" (at 160.22 101.8) (layer B.SilkS))
  (zone (net 1) (net_name GND) (layer F.Cu) (hatch edge 0.508)
    (connect_pads (clearance 0.3))
    (min_thickness 0.254)
    (fill yes (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508))
    (polygon
      (pts
        (xy 149.86 100.33) (xy 172.72 100.33) (xy 172.72 121.92) (xy 149.86 121.92)
      )
    )
  )
  (zone (net 3) (net_name VCC) (layer B.Cu) (hatch edge 0.508)
    (connect_pads (clearance 0.3))
    (min_thickness 0.254)
    (fill yes (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508))
    (polygon
      (pts
        (xy 149.86 100.33) (xy 172.72 100.33) (xy 172.72 121.92) (xy 149.86 121.92)
      )
    )
  )
)
