(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)
  )
  (setup
    (pad_to_mask_clearance 0.0508)
    (solder_mask_min_width 0.101)
    (pcbplotparams
      (layerselection 0x00010fc_ffffffff)
      (plot_on_all_layers_selection 0x0000000_00000000)
      (disableapertmacros false)
      (usegerberextensions true)
      (usegerberattributes true)
      (usegerberadvancedattributes true)
      (creategerberjobfile true)
      (dashed_line_dash_ratio 12.000000)
      (dashed_line_gap_ratio 3.000000)
      (svgprecision 6)
      (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 0)
      (scaleselection 1)
      (outputdirectory "gerbers")
    )
  )
  (net 0 "")
  (net 1 "GNDREF")
  (net 2 "VCC")
  (net 3 "Net-(C3-Pad1)")
  (net 4 "Net-(U1-IN+)")
  (net 5 "Net-(J3-Pin_1)")
  (net 6 "Net-(J3-Pin_2)")
  (net 7 "Net-(JP1-C)")
  (net 8 "unconnected-(U1-NC-Pad2)")
  (net 9 "/pa1-mosi-sda")
  (net 10 "/pa2-miso-scl")
  (net 11 "/pa3-sck")
  (net 12 "/updi")
  (net 13 "Net-(U1-IN-)")
  (net 14 "Net-(U2-PA6)")
  (net 15 "Net-(J4-Pin_1)")
  (footprint "Connector_PinHeader_2.00mm:PinHeader_1x02_P2.00mm_Vertical" (layer "F.Cu")
    (at 167.19 146.1 180)
    (descr "Through hole straight pin header, 1x02, 2.00mm pitch, single row")
    (tags "Through hole pin header THT 1x02 2.00mm single row")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J1" (at 0 -2.06) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x02" (at 0 4.06) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 1 90) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0 180) (size 1.45 1.45) (drill 0.9) (layers "*.Cu" "*.Mask")
      (net 2 "VCC") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole roundrect (at 0 2 180) (size 1.45 1.45) (drill 0.9) (layers "*.Cu" "*.Mask") (roundrect_rratio 0)
      (chamfer_ratio 0.2) (chamfer top_left top_right bottom_left bottom_right)
      (net 1 "GNDREF") (pinfunction "Pin_2") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.00mm.3dshapes/PinHeader_1x02_P2.00mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_PinHeader_2.00mm:PinHeader_1x02_P2.00mm_Vertical" (layer "F.Cu")
    (at 167.175 136.2)
    (descr "Through hole straight pin header, 1x02, 2.00mm pitch, single row")
    (tags "Through hole pin header THT 1x02 2.00mm single row")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J3" (at 0 -2.06) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x02" (at 0 4.06) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 1 90) (layer "F.Fab"))
    (pad "1" thru_hole circle (at 0 0) (size 1.45 1.45) (drill 0.9) (layers "*.Cu" "*.Mask")
      (net 5 "Net-(J3-Pin_1)") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole oval (at 0 2) (size 1.45 1.45) (drill 0.9) (layers "*.Cu" "*.Mask")
      (net 6 "Net-(J3-Pin_2)") (pinfunction "Pin_2") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.00mm.3dshapes/PinHeader_1x02_P2.00mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "MountingHole:MountingHole_2.2mm_M2" (layer "F.Cu")
    (at 182.88 149.3)
    (descr "Mounting Hole 2.2mm, no annular, M2")
    (tags "mounting hole 2.2mm no annular m2")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr exclude_from_pos_files)
    (fp_text reference "H1" (at 0 -3.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 3.2) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0.3 0) (layer "F.Fab"))
    (pad "" np_thru_hole circle (at 0 0) (size 2.2 2.2) (drill 2.2) (layers "*.Cu" "*.Mask"))
  )
  (footprint "MountingHole:MountingHole_2.2mm_M2" (layer "F.Cu")
    (at 182.88 134.62)
    (descr "Mounting Hole 2.2mm, no annular, M2")
    (tags "mounting hole 2.2mm no annular m2")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr exclude_from_pos_files)
    (fp_text reference "H2" (at 0 -3.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 3.2) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0.3 0) (layer "F.Fab"))
    (pad "" np_thru_hole circle (at 0 0) (size 2.2 2.2) (drill 2.2) (layers "*.Cu" "*.Mask"))
  )
  (footprint "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (layer "F.Cu")
    (at 172.15 137.25 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" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (attr smd)
    (fp_text reference "C1" (at 0 -1.85) (layer "F.SilkS") hide)
    (fp_text value "1" (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 2 "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 1 "GNDREF") (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 "Connector_PinHeader_2.00mm:PinHeader_1x01_P2.00mm_Vertical" (layer "F.Cu")
    (at 167.19 142.1)
    (descr "Through hole straight pin header, 1x01, 2.00mm pitch, single row")
    (tags "Through hole pin header THT 1x01 2.00mm single row")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J6" (at 0 -2.06) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x01" (at 0 2.06) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" thru_hole circle (at 0 0) (size 1.45 1.45) (drill 0.9) (layers "*.Cu" "*.Mask")
      (net 11 "/pa3-sck") (pinfunction "Pin_1") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.00mm.3dshapes/PinHeader_1x01_P2.00mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "attinyspeaker:D_SO-8_handsolder" (layer "F.Cu")
    (at 172.235 142.8 90)
    (descr "8-Lead Plastic SO, Exposed Die Pad (see https://www.diodes.com/assets/Package-Files/SO-8EP.pdf)")
    (tags "SO exposed pad")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "2.5W Filterless Class-D Mono Audio Amplifier, SOIC-8")
    (property "ki_keywords" "audio amplifier class d")
    (attr smd)
    (fp_text reference "U1" (at 0 -3.3 90) (layer "F.SilkS") hide)
    (fp_text value "PAM8302AAD" (at 0 3.4 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -2.43 -1.905 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1246882793)
      (net 7 "Net-(JP1-C)") (pinfunction "~{SD}") (pintype "input"))
    (pad "2" smd roundrect (at -2.43 -0.635 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1246882793)
      (net 8 "unconnected-(U1-NC-Pad2)") (pinfunction "NC") (pintype "no_connect"))
    (pad "3" smd roundrect (at -2.43 0.635 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1246882793)
      (net 4 "Net-(U1-IN+)") (pinfunction "IN+") (pintype "input"))
    (pad "4" smd roundrect (at -2.43 1.905 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1246882793)
      (net 13 "Net-(U1-IN-)") (pinfunction "IN-") (pintype "input"))
    (pad "5" smd roundrect (at 2.43 1.905 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1253117207)
      (net 5 "Net-(J3-Pin_1)") (pinfunction "OUT+") (pintype "output"))
    (pad "6" smd roundrect (at 2.43 0.635 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1246882793)
      (net 2 "VCC") (pinfunction "VDD") (pintype "power_in"))
    (pad "7" smd roundrect (at 2.43 -0.635 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1253117207)
      (net 1 "GNDREF") (pinfunction "GND") (pintype "power_in"))
    (pad "8" smd roundrect (at 2.43 -1.905 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1246882793)
      (net 6 "Net-(J3-Pin_2)") (pinfunction "OUT-") (pintype "output"))
    (model "${KICAD6_3DMODEL_DIR}/Package_SO.3dshapes/Diodes_SO-8EP.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" (layer "F.Cu")
    (at 173.8 149.1375 90)
    (descr "Capacitor SMD 0805 (2012 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, https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
    (tags "capacitor handsolder")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C4" (at 0 -1.68 90) (layer "F.SilkS") hide)
    (fp_text value "C" (at 0 1.68 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.0375 0 90) (size 1.175 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.212766)
      (net 1 "GNDREF") (pintype "passive"))
    (pad "2" smd roundrect (at 1.0375 0 90) (size 1.175 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.212766)
      (net 13 "Net-(U1-IN-)") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" (layer "F.Cu")
    (at 182.175 145.85)
    (descr "Capacitor SMD 0805 (2012 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, https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
    (tags "capacitor handsolder")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (attr smd)
    (fp_text reference "C2" (at 0 -1.68) (layer "F.SilkS") hide)
    (fp_text value ".1" (at 0 1.68) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.0375 0) (size 1.175 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.212766)
      (net 2 "VCC") (pintype "passive"))
    (pad "2" smd roundrect (at 1.0375 0) (size 1.175 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.212766)
      (net 1 "GNDREF") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical" (layer "F.Cu")
    (at 178.6 133.975 -90)
    (descr "Through hole straight pin header, 1x04, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x04 2.54mm single row")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x04, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J2" (at 0 -2.33 90) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x04_Pin" (at 0 9.95 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 3.81) (layer "F.Fab"))
    (pad "1" thru_hole oval (at 0 0 270) (size 1.45 1.6) (drill 0.9) (layers "*.Cu" "*.Mask")
      (net 10 "/pa2-miso-scl") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole oval (at 0 2.54 270) (size 1.45 1.6) (drill 0.9) (layers "*.Cu" "*.Mask")
      (net 9 "/pa1-mosi-sda") (pinfunction "Pin_2") (pintype "passive"))
    (pad "3" thru_hole rect (at 0 5.08 270) (size 1.45 1.6) (drill 0.9) (layers "*.Cu" "*.Mask")
      (net 2 "VCC") (pinfunction "Pin_3") (pintype "passive"))
    (pad "4" thru_hole roundrect (at 0 7.62 270) (size 1.45 1.6) (drill 0.9) (layers "*.Cu" "*.Mask") (roundrect_rratio 0)
      (chamfer_ratio 0.2) (chamfer top_left top_right bottom_left bottom_right)
      (net 1 "GNDREF") (pinfunction "Pin_4") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x04_P2.54mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "attinyspeaker:PinHeader_1x03_P2.54mm_Vertical_smd" (layer "F.Cu")
    (at 176.9 143.69 180)
    (descr "Through hole straight pin header, 1x03, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x03 2.54mm single row")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J5" (at 0 -2.33) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x03" (at 0 7.41) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.54 90) (layer "F.Fab"))
    (pad "1" smd circle (at 0 0 180) (size 1.5 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 2 "VCC") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" smd circle (at 0 2.54 180) (size 1.5 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 1 "GNDREF") (pinfunction "Pin_2") (pintype "passive"))
    (pad "3" smd circle (at 0 5.08 180) (size 1.5 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 12 "/updi") (pinfunction "Pin_3") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x03_P2.54mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" (layer "F.Cu")
    (at 170.8 149.15 90)
    (descr "Capacitor SMD 0805 (2012 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, https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
    (tags "capacitor handsolder")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C3" (at 0 -1.68 90) (layer "F.SilkS") hide)
    (fp_text value "C" (at 0 1.68 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.0375 0 90) (size 1.175 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.212766)
      (net 3 "Net-(C3-Pad1)") (pintype "passive"))
    (pad "2" smd roundrect (at 1.0375 0 90) (size 1.175 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.212766)
      (net 4 "Net-(U1-IN+)") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "attinyspeaker:D_SO-8_handsolder" (layer "F.Cu")
    (at 181.65 140.88 90)
    (descr "8-Lead Plastic SO, Exposed Die Pad (see https://www.diodes.com/assets/Package-Files/SO-8EP.pdf)")
    (tags "SO exposed pad")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "20MHz, 4kB Flash, 256B SRAM, 128B EEPROM, SOIC-8")
    (property "ki_keywords" "AVR 8bit Microcontroller tinyAVR")
    (attr smd)
    (fp_text reference "U2" (at 0 -3.3 90) (layer "F.SilkS") hide)
    (fp_text value "ATtiny412-SS" (at 0 3.4 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -2.43 -1.905 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1246882793)
      (net 2 "VCC") (pinfunction "VCC") (pintype "power_in"))
    (pad "2" smd roundrect (at -2.43 -0.635 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1246882793)
      (net 14 "Net-(U2-PA6)") (pinfunction "PA6") (pintype "bidirectional"))
    (pad "3" smd roundrect (at -2.43 0.635 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1246882793)
      (net 15 "Net-(J4-Pin_1)") (pinfunction "PA7") (pintype "bidirectional"))
    (pad "4" smd roundrect (at -2.43 1.905 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1246882793)
      (net 9 "/pa1-mosi-sda") (pinfunction "PA1") (pintype "bidirectional"))
    (pad "5" smd roundrect (at 2.43 1.905 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1253117207)
      (net 10 "/pa2-miso-scl") (pinfunction "PA2") (pintype "bidirectional"))
    (pad "6" smd roundrect (at 2.43 0.635 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1246882793)
      (net 12 "/updi") (pinfunction "~{RESET}/PA0") (pintype "bidirectional"))
    (pad "7" smd roundrect (at 2.43 -0.635 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1253117207)
      (net 11 "/pa3-sck") (pinfunction "PA3") (pintype "bidirectional"))
    (pad "8" smd roundrect (at 2.43 -1.905 90) (size 2 0.802) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1246882793)
      (net 1 "GNDREF") (pinfunction "GND") (pintype "power_in"))
    (model "${KICAD6_3DMODEL_DIR}/Package_SO.3dshapes/Diodes_SO-8EP.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "attinyspeaker:Potentiometer_Bourns_TC33X_Vertical_handsolder" (layer "F.Cu")
    (at 177.65 148.2 -90)
    (descr "Potentiometer, Bourns, TC33X, Vertical, https://www.bourns.com/pdfs/TC33.pdf")
    (tags "Potentiometer Bourns TC33X Vertical")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (attr smd)
    (fp_text reference "VOL1" (at 0 -2.5 90) (layer "F.SilkS") hide)
    (fp_text value "10K" (at 0 2.5 90) (layer "F.Fab"))
    (fp_text user "Wiper may be\nanywhere within\ncircle shown" (at -0.15 -0.8 90) (layer "Cmts.User"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd rect (at -1.9 -1 270) (size 1.4 1.2) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 14 "Net-(U2-PA6)") (pinfunction "1") (pintype "passive"))
    (pad "2" smd rect (at 1.55 0 270) (size 1.7 1.6) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 3 "Net-(C3-Pad1)") (pinfunction "2") (pintype "passive"))
    (pad "3" smd rect (at -1.9 1 270) (size 1.4 1.2) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 1 "GNDREF") (pinfunction "3") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Potentiometer_SMD.3dshapes/Potentiometer_Bourns_TC33X_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_PinHeader_2.00mm:PinHeader_1x01_P2.00mm_Vertical" (layer "F.Cu")
    (at 167.19 149.8 90)
    (descr "Through hole straight pin header, 1x01, 2.00mm pitch, single row")
    (tags "Through hole pin header THT 1x01 2.00mm single row")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J4" (at 0 -2.06 90) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x01" (at 0 2.06 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 180) (layer "F.Fab"))
    (pad "1" thru_hole circle (at 0 0 90) (size 1.45 1.45) (drill 0.9) (layers "*.Cu" "*.Mask")
      (net 15 "Net-(J4-Pin_1)") (pinfunction "Pin_1") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.00mm.3dshapes/PinHeader_1x01_P2.00mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Package_TO_SOT_SMD:SOT-23-5_HandSoldering" (layer "B.Cu")
    (at 182.275 144.4875 90)
    (descr "5-pin SOT23 package")
    (tags "SOT-23-5 hand-soldering")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "I2C Serial EEPROM, 2Kb, SOT-23")
    (property "ki_keywords" "I2C Serial EEPROM")
    (attr smd)
    (fp_text reference "U3" (at 0 2.9 270) (layer "B.SilkS") hide)
    (fp_text value "24AA02-OT" (at 0 -2.9 270) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "B.Fab"))
    (pad "1" smd roundrect (at -1.35 0.95 90) (size 1.56 0.65) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 10 "/pa2-miso-scl") (pinfunction "SCL") (pintype "input"))
    (pad "2" smd roundrect (at -1.35 0 90) (size 1.56 0.65) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 1 "GNDREF") (pinfunction "V_{SS}") (pintype "power_in"))
    (pad "3" smd roundrect (at -1.35 -0.95 90) (size 1.56 0.65) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 9 "/pa1-mosi-sda") (pinfunction "SDA") (pintype "bidirectional"))
    (pad "4" smd roundrect (at 1.35 -0.95 90) (size 1.56 0.65) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 2 "VCC") (pinfunction "V_{CC}") (pintype "power_in"))
    (pad "5" smd roundrect (at 1.35 0.95 90) (size 1.56 0.65) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 11 "/pa3-sck") (pinfunction "WP") (pintype "input"))
    (model "${KICAD6_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/SOT-23-5.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "attinyspeaker:makerlogo" (layer "B.Cu")
    (at 172.95 141.525 180)
    (attr smd)
    (fp_text reference "REF**" (at -0.05 3.75 unlocked) (layer "B.SilkS") hide)
    (fp_text value "makerlogo" (at 0 -1.05 unlocked) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 -2.5 unlocked) (layer "B.Fab"))
  )
  (footprint "Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder" (layer "B.Cu")
    (at 178.125 147.075 -90)
    (descr "Resistor SMD 0603 (1608 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" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor, US symbol")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R2" (at 0 1.43 90) (layer "B.SilkS") hide)
    (fp_text value "4k7" (at 0 -1.43 90) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "B.Fab"))
    (pad "1" smd roundrect (at -0.9125 0 270) (size 0.975 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 2 "VCC") (pintype "passive"))
    (pad "2" smd roundrect (at 0.9125 0 270) (size 0.975 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 10 "/pa2-miso-scl") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "attinyspeaker:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.2mm" (layer "B.Cu")
    (at 170.95 146.9 90)
    (descr "SMD Solder 3-pad Jumper, 1x1.5mm rounded Pads, 0.3mm gap, pads 1-2 bridged with 1 copper strip")
    (tags "net tie solder jumper bridged")
    (property "Sheetfile" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Jumper, 3-pole, pins 1+2 closed/bridged")
    (property "ki_keywords" "Jumper SPDT")
    (attr exclude_from_pos_files)
    (net_tie_pad_groups "1, 2, 3")
    (fp_text reference "JP1" (at 0 1.8 90) (layer "B.SilkS") hide)
    (fp_text value "Jumper_3_Bridged12" (at 0 -1.9 90) (layer "B.Fab"))
    (pad "1" smd roundrect (at -1.3 0 90) (size 1 1.2) (layers "B.Cu" "B.Mask") (roundrect_rratio 0.25)
      (chamfer_ratio 0) (chamfer top_right bottom_right)
      (net 15 "Net-(J4-Pin_1)") (pinfunction "A") (pintype "passive") (zone_connect 2))
    (pad "2" smd rect (at 0 0 90) (size 1 1.2) (layers "B.Cu" "B.Mask")
      (net 7 "Net-(JP1-C)") (pinfunction "C") (pintype "passive"))
    (pad "3" smd roundrect (at 1.3 0 90) (size 1 1.2) (layers "B.Cu" "B.Mask") (roundrect_rratio 0.25)
      (chamfer_ratio 0) (chamfer top_left bottom_left)
      (net 2 "VCC") (pinfunction "B") (pintype "passive") (zone_connect 2))
  )
  (footprint "Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder" (layer "B.Cu")
    (at 179.7 147.075 -90)
    (descr "Resistor SMD 0603 (1608 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" "attiny412musicbox.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor, US symbol")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R1" (at -0.3125 -1.31 90) (layer "B.SilkS") hide)
    (fp_text value "4k7" (at 0 -1.43 90) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "B.Fab"))
    (pad "1" smd roundrect (at -0.9125 0 270) (size 0.975 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 2 "VCC") (pintype "passive"))
    (pad "2" smd roundrect (at 0.9125 0 270) (size 0.975 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 9 "/pa1-mosi-sda") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_rect (start 165.825 132.588) (end 184.7088 151.4)
    (fill none) (layer "Edge.Cuts"))
  (gr_text "6K8" (at 177.7 148.925 180) (layer "B.SilkS"))
  (gr_text "SD" (at 173.5 147.45) (layer "B.SilkS"))
  (gr_text "+" (at 168.25 135.2) (layer "B.SilkS"))
  (gr_text "EEPROM" (at 180.375 146.820276 180) (layer "B.SilkS"))
  (gr_text "PA3" (at 168.9 141.85 270) (layer "B.SilkS"))
  (gr_text "VCC" (at 174.2 146.1) (layer "B.SilkS"))
  (gr_text "SPKR" (at 168.95 137.175 -90) (layer "B.SilkS"))
  (gr_text "SDA" (at 176.175 136 90) (layer "B.SilkS"))
  (gr_text "-" (at 168.35 139.025 -90) (layer "B.SilkS"))
  (gr_text "GND" (at 171.1 136.075 90) (layer "B.SilkS"))
  (gr_text "VCC" (at 173.625 136 90) (layer "B.SilkS"))
  (gr_text "PWR" (at 168.85 145.25 270) (layer "B.SilkS"))
  (gr_text "PA7" (at 174.25 148.75) (layer "B.SilkS"))
  (gr_text "SCL" (at 178.675 136.05 90) (layer "B.SilkS"))
  (gr_text "attiny412&\npam8302\naudio class" (at 178.925 140.175) (layer "B.SilkS"))
  (gr_text "+\n" (at 168.3 147.2) (layer "B.SilkS"))
  (gr_text "-" (at 168.3 143.3 -90) (layer "B.SilkS"))
  (gr_text "GND" (at 175.6 141.2 90) (layer "F.SilkS"))
  (gr_text "GND" (at 168.75 144.05 270) (layer "F.SilkS"))
  (gr_text ".1uF\n" (at 181.275 147.65) (layer "F.SilkS"))
  (gr_text "0" (at 180.75 147.65) (layer "F.SilkS"))
  (gr_text "PA7" (at 168.75 149.9 270) (layer "F.SilkS"))
  (gr_text "-" (at 168.625 138.925 -90) (layer "F.SilkS"))
  (gr_text "PA1" (at 176.1 135.55 180) (layer "F.SilkS"))
  (gr_text "P8302" (at 170.15 142.9) (layer "F.SilkS"))
  (gr_text "ATT412" (at 179.65 141.3) (layer "F.SilkS"))
  (gr_text ".1uF\n" (at 175.7 150.05 90) (layer "F.SilkS"))
  (gr_text "UPDI" (at 175.55 138.55 90) (layer "F.SilkS"))
  (gr_text ".1uF\n" (at 172.65 150 90) (layer "F.SilkS"))
  (gr_text "+" (at 168.5 135.3) (layer "F.SilkS"))
  (gr_text "volume" (at 179.575 146.15 270) (layer "F.SilkS"))
  (gr_text "0" (at 172.65 150.525 90) (layer "F.SilkS"))
  (gr_text "PA2" (at 178.7 135.55 180) (layer "F.SilkS"))
  (gr_text "VCC" (at 173.525 135.525 180) (layer "F.SilkS"))
  (gr_text "VCC" (at 175.6 143.6 90) (layer "F.SilkS"))
  (gr_text "1uF" (at 171.4 139.15) (layer "F.SilkS"))
  (gr_text "VCC" (at 168.75 146.3 -90) (layer "F.SilkS"))
  (gr_text "RST" (at 168.75 141.85 270) (layer "F.SilkS"))
  (gr_text "GND" (at 171.025 135.475 180) (layer "F.SilkS"))
  (gr_text "0" (at 175.7 150.575 90) (layer "F.SilkS"))
  (gr_text "10K" (at 176.65 148.4) (layer "F.SilkS"))
  (zone (net 2) (net_name "VCC") (layer "F.Cu") (hatch edge 0.5)
    (connect_pads (clearance 0.25))
    (min_thickness 0.2) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.25) (thermal_bridge_width 0.5))
    (polygon
      (pts
        (xy 166 132.8)
        (xy 180.5 132.8)
        (xy 180.65 134.75)
        (xy 181.2 136.15)
        (xy 183.1 136.85)
        (xy 184.35 136.9)
        (xy 184.4 146.85)
        (xy 182.8 146.9)
        (xy 181.3 147.35)
        (xy 180.6 148.8)
        (xy 180.5 151.1)
        (xy 166 151.1)
      )
    )
  )
  (zone (net 1) (net_name "GNDREF") (layer "B.Cu") (hatch edge 0.5)
    (connect_pads (clearance 0.25))
    (min_thickness 0.2) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.25) (thermal_bridge_width 0.5))
    (polygon
      (pts
        (xy 166 132.8)
        (xy 181.2 132.8)
        (xy 181.2 134.65)
        (xy 181.7 135.9)
        (xy 182.95 136.45)
        (xy 184.35 136.4)
        (xy 184.35 147.35)
        (xy 182.95 147.35)
        (xy 181.65 148)
        (xy 181 149.15)
        (xy 180.95 151.1)
        (xy 166 151.1)
      )
    )
  )
)
