(kicad_pcb (version 20221018) (generator pcbnew)
  (general
    (thickness 1.6)
  )
  (paper "A4")
  (layers
    (0 "F.Cu" signal)
    (31 "B.Cu" signal)
    (32 "B.Adhes" user "B.Adhesive")
    (33 "F.Adhes" user "F.Adhesive")
    (34 "B.Paste" user)
    (35 "F.Paste" user)
    (36 "B.SilkS" user "B.Silkscreen")
    (37 "F.SilkS" user "F.Silkscreen")
    (38 "B.Mask" user)
    (39 "F.Mask" user)
    (40 "Dwgs.User" user "User.Drawings")
    (41 "Cmts.User" user "User.Comments")
    (42 "Eco1.User" user "User.Eco1")
    (43 "Eco2.User" user "User.Eco2")
    (44 "Edge.Cuts" user)
    (45 "Margin" user)
    (46 "B.CrtYd" user "B.Courtyard")
    (47 "F.CrtYd" user "F.Courtyard")
    (48 "B.Fab" user)
    (49 "F.Fab" user)
    (50 "User.1" user)
    (51 "User.2" user)
    (52 "User.3" user)
    (53 "User.4" user)
    (54 "User.5" user)
    (55 "User.6" user)
    (56 "User.7" user)
    (57 "User.8" user)
    (58 "User.9" user)
  )
  (setup
    (pad_to_mask_clearance 0)
    (grid_origin 149.175 69.525)
    (pcbplotparams
      (layerselection 0x00010fc_ffffffff)
      (plot_on_all_layers_selection 0x0000000_00000000)
      (disableapertmacros false)
      (usegerberextensions false)
      (usegerberattributes true)
      (usegerberadvancedattributes true)
      (creategerberjobfile true)
      (dashed_line_dash_ratio 12.000000)
      (dashed_line_gap_ratio 3.000000)
      (svgprecision 4)
      (plotframeref false)
      (viasonmask false)
      (mode 1)
      (useauxorigin false)
      (hpglpennumber 1)
      (hpglpenspeed 20)
      (hpglpendiameter 15.000000)
      (dxfpolygonmode true)
      (dxfimperialunits true)
      (dxfusepcbnewfont true)
      (psnegative false)
      (psa4output false)
      (plotreference true)
      (plotvalue true)
      (plotinvisibletext false)
      (sketchpadsonfab false)
      (subtractmaskfromsilk false)
      (outputformat 1)
      (mirror false)
      (drillshape 1)
      (scaleselection 1)
      (outputdirectory "")
    )
  )
  (net 0 "")
  (net 1 "VCC")
  (net 2 "GND")
  (net 3 "Net-(D1-K)")
  (net 4 "Net-(D1-A)")
  (net 5 "Net-(U1-MISO-PB0)")
  (net 6 "Net-(U1-MOSI)")
  (net 7 "Net-(U1-SCK-PB1)")
  (net 8 "Net-(U1-~{RST-PB3})")
  (net 9 "Net-(BT1-+)")
  (footprint "LED_SMD:LED_1210_3225Metric_Pad1.42x2.65mm_HandSolder" (layer "F.Cu")
    (at 137.875 72.5)
    (descr "LED SMD 1210 (3225 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 "LED handsolder")
    (property "Sheetfile" "ATtiny10-led-light-detection-firefly.kicad_sch")
    (property "Sheetname" "")
    (property "Untitled Field" "")
    (property "ki_description" "Light emitting diode")
    (property "ki_keywords" "LED diode")
    (attr smd)
    (fp_text reference "D1" (at 0.05 0.025) (layer "F.SilkS"))
    (fp_text value "LED" (at 0 2.28) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.4875 0) (size 1.425 2.65) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.175439)
      (net 3 "Net-(D1-K)") (pinfunction "K") (pintype "passive"))
    (pad "2" smd roundrect (at 1.4875 0) (size 1.425 2.65) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.175439)
      (net 4 "Net-(D1-A)") (pinfunction "A") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/LED_SMD.3dshapes/LED_1210_3225Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" (layer "F.Cu")
    (at 143.05 78.675 180)
    (descr "Through hole straight pin header, 1x02, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x02 2.54mm single row")
    (property "Sheetfile" "ATtiny10-led-light-detection-firefly.kicad_sch")
    (property "Sheetname" "")
    (property "Untitled Field" "")
    (property "ki_description" "Generic connector, single row, 01x02, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J1" (at 0 -2.33) (layer "F.SilkS"))
    (fp_text value "Conn_01x02_Pin" (at 0 4.87) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 1.27 90) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0 180) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 1 "VCC") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole oval (at 0 2.54 180) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 9 "Net-(BT1-+)") (pinfunction "Pin_2") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x02_P2.54mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (layer "F.Cu")
    (at 133.875 70.175 90)
    (descr "Resistor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "resistor handsolder")
    (property "Sheetfile" "ATtiny10-led-light-detection-firefly.kicad_sch")
    (property "Sheetname" "")
    (property "Untitled Field" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R1" (at 3.125 -0.05 180) (layer "F.SilkS"))
    (fp_text value "R" (at 0 1.82 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.55 0 90) (size 1.3 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.192308)
      (net 3 "Net-(D1-K)") (pintype "passive"))
    (pad "2" smd roundrect (at 1.55 0 90) (size 1.3 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.192308)
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_1206_3216Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical" (layer "F.Cu")
    (at 138.675 76.21 -90)
    (descr "Through hole straight pin header, 2x03, 2.54mm pitch, double rows")
    (tags "Through hole pin header THT 2x03 2.54mm double row")
    (property "Sheetfile" "ATtiny10-led-light-detection-firefly.kicad_sch")
    (property "Sheetname" "")
    (property "Untitled Field" "")
    (attr through_hole)
    (fp_text reference "U1" (at 1.27 -2.33 180) (layer "F.SilkS"))
    (fp_text value "ATtiny10-ISP" (at 1.27 7.41 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 1.27 2.54) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0 270) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 5 "Net-(U1-MISO-PB0)") (pinfunction "MISO-PB0") (pintype "passive"))
    (pad "2" thru_hole oval (at 2.54 0 270) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 1 "VCC") (pinfunction "VCC") (pintype "passive"))
    (pad "3" thru_hole oval (at 0 2.54 270) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 7 "Net-(U1-SCK-PB1)") (pinfunction "SCK-PB1") (pintype "passive"))
    (pad "4" thru_hole oval (at 2.54 2.54 270) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 6 "Net-(U1-MOSI)") (pinfunction "MOSI") (pintype "passive"))
    (pad "5" thru_hole oval (at 0 5.08 270) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 8 "Net-(U1-~{RST-PB3})") (pinfunction "~{RST-PB3}") (pintype "passive"))
    (pad "6" thru_hole oval (at 2.54 5.08 270) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_2x03_P2.54mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (layer "F.Cu")
    (at 141.65 70.525 -90)
    (descr "Resistor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "resistor handsolder")
    (property "Sheetfile" "ATtiny10-led-light-detection-firefly.kicad_sch")
    (property "Sheetname" "")
    (property "Untitled Field" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R2" (at -3.125 -0.125 180) (layer "F.SilkS"))
    (fp_text value "R" (at 0 1.82 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.55 0 270) (size 1.3 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.192308)
      (net 5 "Net-(U1-MISO-PB0)") (pintype "passive"))
    (pad "2" smd roundrect (at 1.55 0 270) (size 1.3 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.192308)
      (net 6 "Net-(U1-MOSI)") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_1206_3216Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Package_TO_SOT_SMD:SOT-23-6" (layer "F.Cu")
    (at 138.05 68.15)
    (descr "SOT, 6 Pin (https://www.jedec.org/sites/default/files/docs/Mo-178c.PDF variant AB), generated with kicad-footprint-generator ipc_gullwing_generator.py")
    (tags "SOT TO_SOT_SMD")
    (property "Sheetfile" "ATtiny10-led-light-detection-firefly.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "12MHz, 1kB Flash, 32B SRAM, No EEPROM, ADC, SOT-23-6")
    (property "ki_keywords" "AVR 8bit Microcontroller tinyAVR")
    (attr smd)
    (fp_text reference "." (at -2.325 -1.325) (layer "F.SilkS"))
    (fp_text value "ATtiny10-TS" (at 0 2.4) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.1375 -0.95) (size 1.325 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 5 "Net-(U1-MISO-PB0)") (pinfunction "PB0") (pintype "bidirectional"))
    (pad "2" smd roundrect (at -1.1375 0) (size 1.325 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 2 "GND") (pinfunction "GND") (pintype "power_in"))
    (pad "3" smd roundrect (at -1.1375 0.95) (size 1.325 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 7 "Net-(U1-SCK-PB1)") (pinfunction "PB1") (pintype "bidirectional"))
    (pad "4" smd roundrect (at 1.1375 0.95) (size 1.325 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 4 "Net-(D1-A)") (pinfunction "PB2") (pintype "bidirectional"))
    (pad "5" smd roundrect (at 1.1375 0) (size 1.325 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 1 "VCC") (pinfunction "VCC") (pintype "power_in"))
    (pad "6" smd roundrect (at 1.1375 -0.95) (size 1.325 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 8 "Net-(U1-~{RST-PB3})") (pinfunction "~{RESET}/PB3") (pintype "bidirectional"))
    (model "${KICAD6_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/SOT-23-6.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (layer "F.Cu")
    (at 138.125 64.975 180)
    (descr "Capacitor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "capacitor handsolder")
    (property "Sheetfile" "ATtiny10-led-light-detection-firefly.kicad_sch")
    (property "Sheetname" "")
    (property "Untitled Field" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C1" (at 0 -0.05) (layer "F.SilkS"))
    (fp_text value "C" (at 0 1.85) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.5625 0 180) (size 1.325 1.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.188679)
      (net 1 "VCC") (pintype "passive"))
    (pad "2" smd roundrect (at 1.5625 0 180) (size 1.325 1.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.188679)
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_1206_3216Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "++Sherms-Custom-Libs:CR2032-Battery-20mm-2pin-Dip" (layer "B.Cu")
    (at 138.188295 83.425 180)
    (property "Sheetfile" "ATtiny10-led-light-detection-firefly.kicad_sch")
    (property "Sheetname" "")
    (property "Untitled Field" "")
    (property "ki_description" "Single-cell battery")
    (property "ki_keywords" "battery cell")
    (attr through_hole)
    (fp_text reference "BT1" (at 2.886705 1.125) (layer "B.SilkS"))
    (fp_text value "Battery_Cell" (at -0.25 -3.75) (layer "B.Fab"))
    (pad "1" thru_hole circle (at 0 21.25 180) (size 2 2) (drill 1.25) (layers "*.Cu" "*.Mask")
      (net 9 "Net-(BT1-+)") (pinfunction "+") (pintype "passive"))
    (pad "2" thru_hole circle (at 0 1.25 180) (size 2 2) (drill 1.25) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "-") (pintype "passive"))
  )
  (gr_line (start 131.512006 64.462006) (end 131.562006 79.812994)
    (layer "Edge.Cuts"))
  (gr_line (start 135.362006 83.612994) (end 141.337994 83.637994)
    (layer "Edge.Cuts"))
  (gr_line (start 135.312006 60.662006) (end 141.362994 60.637006)
    (layer "Edge.Cuts"))
  (gr_arc (start 131.512006 64.462006) (mid 132.625 61.775) (end 135.312006 60.662006)
    (layer "Edge.Cuts"))
  (gr_arc (start 135.362006 83.612994) (mid 132.675 82.5) (end 131.562006 79.812994)
    (layer "Edge.Cuts"))
  (gr_line (start 145.162994 64.437006) (end 145.137994 79.837994)
    (layer "Edge.Cuts"))
  (gr_arc (start 141.362994 60.637006) (mid 144.05 61.75) (end 145.162994 64.437006)
    (layer "Edge.Cuts"))
  (gr_arc (start 145.137994 79.837994) (mid 144.025 82.525) (end 141.337994 83.637994)
    (layer "Edge.Cuts"))
  (gr_text "ATtiny10 firefly\nlight detection\nSherm Stebbins\nV2" (at 134.475 70.4 90) (layer "B.SilkS"))
  (gr_text "+" (at 140.575 73.325) (layer "F.SilkS"))
  (gr_text "VCC" (at 143.85 79.1) (layer "F.SilkS"))
  (gr_text "GND" (at 132.95 79.025) (layer "F.SilkS"))
  (gr_text "K-" (at 134.5 73.225) (layer "F.SilkS"))
  (gr_text "1k" (at 143.8 70.45) (layer "F.SilkS"))
  (gr_text "150" (at 133.725 65.95) (layer "F.SilkS"))
)
