diff --git a/hardware/kicad/SN-L00.kicad_pcb b/hardware/kicad/SN-L00.kicad_pcb index aa52ce8..a7c4c8e 100644 --- a/hardware/kicad/SN-L00.kicad_pcb +++ b/hardware/kicad/SN-L00.kicad_pcb @@ -34,15 +34,6 @@ (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) @@ -51,7 +42,7 @@ (layerselection 0x00010fc_ffffffff) (plot_on_all_layers_selection 0x0000000_00000000) (disableapertmacros no) - (usegerberextensions no) + (usegerberextensions yes) (usegerberattributes yes) (usegerberadvancedattributes yes) (creategerberjobfile yes) @@ -82,9 +73,11 @@ (mirror no) (drillshape 1) (scaleselection 1) - (outputdirectory "") + (outputdirectory "../manufacturing/gerbers/") ) ) + + ;; Net definitions (net 0 "") (net 1 "GND") (net 2 "+12V") @@ -94,98 +87,506 @@ (net 6 "TRIG_OUT") (net 7 "RETURN_IN") (net 8 "BTN") + (net 9 "TRIG_BUF") + (net 10 "RET_DIV") + (net 11 "RET_BUF") - ;; Board outline - 6HP Eurorack PCB - ;; Width: 28mm (6HP = 30mm panel, PCB slightly narrower) - ;; Height: 100mm (fits behind panel with clearance) + ;; Net classes + (net_class "Default" "" + (clearance 0.2) + (trace_width 0.25) + (via_dia 0.6) + (via_drill 0.3) + (uvia_dia 0.3) + (uvia_drill 0.1) + ) + (net_class "Power" "" + (clearance 0.3) + (trace_width 0.5) + (via_dia 0.8) + (via_drill 0.4) + (uvia_dia 0.3) + (uvia_drill 0.1) + (add_net "+12V") + (add_net "+3.3V") + (add_net "GND") + ) + + ;; Board outline - 6HP Eurorack PCB (28mm x 100mm) (gr_rect (start 0 0) (end 28 100) - (stroke - (width 0.15) - (type solid) - ) + (stroke (width 0.15) (type solid)) (fill none) (layer "Edge.Cuts") (uuid "board-outline") ) - ;; Mounting holes (M3, 3.2mm) - ;; Top mounting hole + ;; ============================================ + ;; MOUNTING HOLES + ;; ============================================ + + ;; Top mounting hole (MH1) (footprint "MountingHole:MountingHole_3.2mm_M3" (layer "F.Cu") - (uuid "mh1") + (uuid "00000000-0000-0000-0000-000000000001") (at 14 5) - (property "Reference" "MH1" - (at 0 -3 0) - (layer "F.SilkS") - (effects (font (size 1 1) (thickness 0.15))) - ) - (property "Value" "MountingHole" - (at 0 3 0) - (layer "F.Fab") - (effects (font (size 1 1) (thickness 0.15))) - ) - (pad "" np_thru_hole circle - (at 0 0) - (size 3.2 3.2) - (drill 3.2) - (layers "*.Cu" "*.Mask") - ) + (property "Reference" "MH1" (at 0 -3 0) (layer "F.SilkS") (effects (font (size 0.8 0.8) (thickness 0.15)))) + (property "Value" "MountingHole" (at 0 3 0) (layer "F.Fab") (effects (font (size 0.8 0.8) (thickness 0.15)))) + (pad "" np_thru_hole circle (at 0 0) (size 3.2 3.2) (drill 3.2) (layers "*.Cu" "*.Mask")) ) - ;; Bottom mounting hole + ;; Bottom mounting hole (MH2) (footprint "MountingHole:MountingHole_3.2mm_M3" (layer "F.Cu") - (uuid "mh2") + (uuid "00000000-0000-0000-0000-000000000002") (at 14 95) - (property "Reference" "MH2" - (at 0 -3 0) - (layer "F.SilkS") - (effects (font (size 1 1) (thickness 0.15))) - ) - (property "Value" "MountingHole" - (at 0 3 0) - (layer "F.Fab") - (effects (font (size 1 1) (thickness 0.15))) - ) - (pad "" np_thru_hole circle - (at 0 0) - (size 3.2 3.2) - (drill 3.2) - (layers "*.Cu" "*.Mask") - ) + (property "Reference" "MH2" (at 0 -3 0) (layer "F.SilkS") (effects (font (size 0.8 0.8) (thickness 0.15)))) + (property "Value" "MountingHole" (at 0 3 0) (layer "F.Fab") (effects (font (size 0.8 0.8) (thickness 0.15)))) + (pad "" np_thru_hole circle (at 0 0) (size 3.2 3.2) (drill 3.2) (layers "*.Cu" "*.Mask")) ) - ;; Component placement guide (active from top to bottom): - ;; Y=10-25: OLED module (MOD2) - ;; Y=28-35: Button (SW1) - ;; Y=38-55: RP2040-Zero (MOD1) - ;; Y=58-75: SMD components (LDO, buffers, passives) - ;; Y=78-90: Jacks (J2, J3) and Power header (J1) + ;; ============================================ + ;; MODULES (Hand-solder) + ;; ============================================ + + ;; OLED 128x32 I2C Module (MOD2) - 4-pin header + (footprint "SN-L00:OLED_128x32_I2C" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000010") + (at 14 17.5) + (property "Reference" "MOD2" (at 0 -7 0) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15)))) + (property "Value" "OLED_128x32" (at 0 7 0) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15)))) + (fp_line (start -14 -5) (end 14 -5) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (fp_line (start 14 -5) (end 14 5) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (fp_line (start 14 5) (end -14 5) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (fp_line (start -14 5) (end -14 -5) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (pad "1" thru_hole circle (at -3.81 0) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 1 "GND")) + (pad "2" thru_hole circle (at -1.27 0) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 3 "+3.3V")) + (pad "3" thru_hole circle (at 1.27 0) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 5 "SCL")) + (pad "4" thru_hole circle (at 3.81 0) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 4 "SDA")) + ) + + ;; RP2040-Zero Module (MOD1) - 2x9 header + (footprint "SN-L00:RP2040-Zero" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000011") + (at 14 46.5) + (property "Reference" "MOD1" (at 0 -13 0) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15)))) + (property "Value" "RP2040-Zero" (at 0 13 0) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15)))) + (fp_line (start -9.5 -11.5) (end 9.5 -11.5) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (fp_line (start 9.5 -11.5) (end 9.5 11.5) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (fp_line (start 9.5 11.5) (end -9.5 11.5) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (fp_line (start -9.5 11.5) (end -9.5 -11.5) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + ;; Left column (pins 1-9) + (pad "1" thru_hole rect (at -7.62 -10.16) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask")) + (pad "2" thru_hole circle (at -7.62 -7.62) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 1 "GND")) + (pad "3" thru_hole circle (at -7.62 -5.08) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 3 "+3.3V")) + (pad "4" thru_hole circle (at -7.62 -2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask")) + (pad "5" thru_hole circle (at -7.62 0) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask")) + (pad "6" thru_hole circle (at -7.62 2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 6 "TRIG_OUT")) + (pad "7" thru_hole circle (at -7.62 5.08) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 7 "RETURN_IN")) + (pad "8" thru_hole circle (at -7.62 7.62) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 8 "BTN")) + (pad "9" thru_hole circle (at -7.62 10.16) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask")) + ;; Right column (pins 10-18) + (pad "10" thru_hole circle (at 7.62 -10.16) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 3 "+3.3V")) + (pad "11" thru_hole circle (at 7.62 -7.62) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 1 "GND")) + (pad "12" thru_hole circle (at 7.62 -5.08) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 4 "SDA")) + (pad "13" thru_hole circle (at 7.62 -2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 5 "SCL")) + (pad "14" thru_hole circle (at 7.62 0) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask")) + (pad "15" thru_hole circle (at 7.62 2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask")) + (pad "16" thru_hole circle (at 7.62 5.08) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask")) + (pad "17" thru_hole circle (at 7.62 7.62) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask")) + (pad "18" thru_hole circle (at 7.62 10.16) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask")) + ) + + ;; ============================================ + ;; USER INTERFACE + ;; ============================================ + + ;; SW1 - Tactile Switch 6x6mm + (footprint "Button_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mm" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000020") + (at 14 31.5) + (property "Reference" "SW1" (at 0 -5 0) (layer "F.SilkS") (effects (font (size 0.8 0.8) (thickness 0.15)))) + (property "Value" "6x6mm" (at 0 5 0) (layer "F.Fab") (effects (font (size 0.8 0.8) (thickness 0.15)))) + (fp_line (start -3 -3) (end 3 -3) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (fp_line (start 3 -3) (end 3 3) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (fp_line (start 3 3) (end -3 3) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (fp_line (start -3 3) (end -3 -3) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (pad "1" smd rect (at -3.85 2.25) (size 1.6 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (net 8 "BTN")) + (pad "2" smd rect (at 3.85 2.25) (size 1.6 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (net 1 "GND")) + (pad "3" smd rect (at -3.85 -2.25) (size 1.6 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (net 8 "BTN")) + (pad "4" smd rect (at 3.85 -2.25) (size 1.6 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (net 1 "GND")) + ) + + ;; R1 - Button pullup 10K (0603) + (footprint "Resistor_SMD:R_0603_1608Metric" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000021") + (at 10 35) + (property "Reference" "R1" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "10K" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd roundrect (at -0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 3 "+3.3V")) + (pad "2" smd roundrect (at 0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 8 "BTN")) + ) + + ;; D2 - Power LED Green (0603) + (footprint "LED_SMD:LED_0603_1608Metric" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000022") + (at 24 31.5 90) + (property "Reference" "D2" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "Green" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd roundrect (at -0.75 0) (size 0.65 0.65) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)) + (pad "2" smd roundrect (at 0.75 0) (size 0.65 0.65) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)) + ) + + ;; R2 - LED resistor 1K (0603) + (footprint "Resistor_SMD:R_0603_1608Metric" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000023") + (at 24 36 90) + (property "Reference" "R2" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "1K" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd roundrect (at -0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 3 "+3.3V")) + (pad "2" smd roundrect (at 0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)) + ) + + ;; ============================================ + ;; CONNECTORS + ;; ============================================ + + ;; J1 - Eurorack Power Header 2x5 + (footprint "Connector_IDC:IDC-Header_2x05_P2.54mm_Vertical" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000030") + (at 14 92) + (property "Reference" "J1" (at 0 -7 0) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15)))) + (property "Value" "Eurorack_2x5" (at 0 7 0) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15)))) + (fp_line (start -6.35 -5.08) (end 6.35 -5.08) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (fp_line (start 6.35 -5.08) (end 6.35 5.08) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (fp_line (start 6.35 5.08) (end -6.35 5.08) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + (fp_line (start -6.35 5.08) (end -6.35 -5.08) (stroke (width 0.12) (type solid)) (layer "F.SilkS")) + ;; Row 1 (top) + (pad "1" thru_hole rect (at -5.08 -2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 1 "GND")) + (pad "2" thru_hole circle (at -5.08 2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 1 "GND")) + (pad "3" thru_hole circle (at -2.54 -2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 1 "GND")) + (pad "4" thru_hole circle (at -2.54 2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 2 "+12V")) + (pad "5" thru_hole circle (at 0 -2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 1 "GND")) + (pad "6" thru_hole circle (at 0 2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 2 "+12V")) + (pad "7" thru_hole circle (at 2.54 -2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 1 "GND")) + (pad "8" thru_hole circle (at 2.54 2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask")) + (pad "9" thru_hole circle (at 5.08 -2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 1 "GND")) + (pad "10" thru_hole circle (at 5.08 2.54) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask")) + ) + + ;; J2 - Thonkiconn TRIG jack + (footprint "Connector_Audio:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHoles" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000031") + (at 7 83) + (property "Reference" "J2" (at 0 -6 0) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15)))) + (property "Value" "TRIG" (at 0 6 0) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15)))) + (fp_circle (center 0 0) (end 4 0) (stroke (width 0.12) (type solid)) (fill none) (layer "F.SilkS")) + (pad "T" thru_hole circle (at 0 0) (size 2.8 2.8) (drill 2.0) (layers "*.Cu" "*.Mask") (net 9 "TRIG_BUF")) + (pad "S" thru_hole circle (at -3 3) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 1 "GND")) + (pad "TN" thru_hole circle (at 3 3) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask")) + ) + + ;; J3 - Thonkiconn RETURN jack + (footprint "Connector_Audio:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHoles" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000032") + (at 21 83) + (property "Reference" "J3" (at 0 -6 0) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15)))) + (property "Value" "RETURN" (at 0 6 0) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15)))) + (fp_circle (center 0 0) (end 4 0) (stroke (width 0.12) (type solid)) (fill none) (layer "F.SilkS")) + (pad "T" thru_hole circle (at 0 0) (size 2.8 2.8) (drill 2.0) (layers "*.Cu" "*.Mask") (net 10 "RET_DIV")) + (pad "S" thru_hole circle (at -3 3) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask") (net 1 "GND")) + (pad "TN" thru_hole circle (at 3 3) (size 1.7 1.7) (drill 1.0) (layers "*.Cu" "*.Mask")) + ) + + ;; ============================================ + ;; POWER SECTION (Back side) + ;; ============================================ + + ;; D1 - SS14 Schottky diode (SMA) + (footprint "Diode_SMD:D_SMA" + (layer "B.Cu") + (uuid "00000000-0000-0000-0000-000000000040") + (at 7 65) + (property "Reference" "D1" (at 0 -2.5 0) (layer "B.SilkS") (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror))) + (property "Value" "SS14" (at 0 2.5 0) (layer "B.Fab") (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror))) + (pad "1" smd rect (at -2.1 0) (size 1.6 1.4) (layers "B.Cu" "B.Paste" "B.Mask") (net 2 "+12V")) + (pad "2" smd rect (at 2.1 0) (size 1.6 1.4) (layers "B.Cu" "B.Paste" "B.Mask")) + ) + + ;; U1 - AMS1117-3.3 LDO (SOT-223) + (footprint "Package_TO_SOT_SMD:SOT-223-3_TabPin2" + (layer "B.Cu") + (uuid "00000000-0000-0000-0000-000000000041") + (at 14 65) + (property "Reference" "U1" (at 0 -4 0) (layer "B.SilkS") (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror))) + (property "Value" "AMS1117-3.3" (at 0 4 0) (layer "B.Fab") (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror))) + (fp_line (start -3.4 -1.6) (end 3.4 -1.6) (stroke (width 0.12) (type solid)) (layer "B.SilkS")) + (fp_line (start 3.4 -1.6) (end 3.4 1.6) (stroke (width 0.12) (type solid)) (layer "B.SilkS")) + (fp_line (start 3.4 1.6) (end -3.4 1.6) (stroke (width 0.12) (type solid)) (layer "B.SilkS")) + (fp_line (start -3.4 1.6) (end -3.4 -1.6) (stroke (width 0.12) (type solid)) (layer "B.SilkS")) + (pad "1" smd rect (at -2.3 3.2) (size 1 1.5) (layers "B.Cu" "B.Paste" "B.Mask") (net 1 "GND")) + (pad "2" smd rect (at 0 3.2) (size 1 1.5) (layers "B.Cu" "B.Paste" "B.Mask") (net 3 "+3.3V")) + (pad "3" smd rect (at 2.3 3.2) (size 1 1.5) (layers "B.Cu" "B.Paste" "B.Mask")) + (pad "2" smd rect (at 0 -3.2) (size 3.5 2) (layers "B.Cu" "B.Paste" "B.Mask") (net 3 "+3.3V")) + ) + + ;; C1 - 10uF input cap (0805) + (footprint "Capacitor_SMD:C_0805_2012Metric" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000042") + (at 10 60) + (property "Reference" "C1" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "10uF" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd roundrect (at -1 0) (size 1 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)) + (pad "2" smd roundrect (at 1 0) (size 1 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1 "GND")) + ) + + ;; C2 - 10uF output cap (0805) + (footprint "Capacitor_SMD:C_0805_2012Metric" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000043") + (at 18 60) + (property "Reference" "C2" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "10uF" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd roundrect (at -1 0) (size 1 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 3 "+3.3V")) + (pad "2" smd roundrect (at 1 0) (size 1 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1 "GND")) + ) + + ;; C3 - 100nF output cap (0603) + (footprint "Capacitor_SMD:C_0603_1608Metric" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000044") + (at 21 60) + (property "Reference" "C3" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "100nF" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd roundrect (at -0.775 0) (size 0.9 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 3 "+3.3V")) + (pad "2" smd roundrect (at 0.775 0) (size 0.9 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1 "GND")) + ) + + ;; ============================================ + ;; TRIGGER OUTPUT CIRCUIT + ;; ============================================ + + ;; U2 - 74LVC1G17 Schmitt trigger (SOT-23-5) + (footprint "Package_TO_SOT_SMD:SOT-23-5" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000050") + (at 7 72) + (property "Reference" "U2" (at 0 -2.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "74LVC1G17" (at 0 2.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd rect (at -1.1 0.95) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (net 6 "TRIG_OUT")) + (pad "2" smd rect (at -1.1 -0.95) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (net 1 "GND")) + (pad "3" smd rect (at 1.1 -0.95) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask")) + (pad "4" smd rect (at 1.1 0) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (net 9 "TRIG_BUF")) + (pad "5" smd rect (at 1.1 0.95) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (net 3 "+3.3V")) + ) + + ;; C4 - 100nF decoupling for U2 (0603) + (footprint "Capacitor_SMD:C_0603_1608Metric" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000051") + (at 7 68) + (property "Reference" "C4" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "100nF" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd roundrect (at -0.775 0) (size 0.9 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 3 "+3.3V")) + (pad "2" smd roundrect (at 0.775 0) (size 0.9 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1 "GND")) + ) + + ;; R3 - 100R trigger series resistor (0603) + (footprint "Resistor_SMD:R_0603_1608Metric" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000052") + (at 7 76 90) + (property "Reference" "R3" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "100R" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd roundrect (at -0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 9 "TRIG_BUF")) + (pad "2" smd roundrect (at 0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)) + ) + + ;; ============================================ + ;; RETURN INPUT CIRCUIT + ;; ============================================ + + ;; U3 - MCP6001 op-amp (SOT-23-5) + (footprint "Package_TO_SOT_SMD:SOT-23-5" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000060") + (at 21 72) + (property "Reference" "U3" (at 0 -2.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "MCP6001" (at 0 2.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd rect (at -1.1 0.95) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (net 11 "RET_BUF")) + (pad "2" smd rect (at -1.1 -0.95) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (net 1 "GND")) + (pad "3" smd rect (at 1.1 -0.95) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (net 11 "RET_BUF")) + (pad "4" smd rect (at 1.1 0) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (net 10 "RET_DIV")) + (pad "5" smd rect (at 1.1 0.95) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (net 3 "+3.3V")) + ) + + ;; C5 - 100nF decoupling for U3 (0603) + (footprint "Capacitor_SMD:C_0603_1608Metric" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000061") + (at 21 68) + (property "Reference" "C5" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "100nF" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd roundrect (at -0.775 0) (size 0.9 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 3 "+3.3V")) + (pad "2" smd roundrect (at 0.775 0) (size 0.9 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1 "GND")) + ) + + ;; R4 - 10K input resistor (0603) + (footprint "Resistor_SMD:R_0603_1608Metric" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000062") + (at 21 76 90) + (property "Reference" "R4" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "10K" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd roundrect (at -0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 10 "RET_DIV")) + (pad "2" smd roundrect (at 0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)) + ) + + ;; R5 - 10K voltage divider top (0603) + (footprint "Resistor_SMD:R_0603_1608Metric" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000063") + (at 18 76 90) + (property "Reference" "R5" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "10K" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd roundrect (at -0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)) + (pad "2" smd roundrect (at 0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 10 "RET_DIV")) + ) + + ;; R6 - 22K voltage divider bottom (0603) + (footprint "Resistor_SMD:R_0603_1608Metric" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000064") + (at 18 72 90) + (property "Reference" "R6" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "22K" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd roundrect (at -0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 10 "RET_DIV")) + (pad "2" smd roundrect (at 0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1 "GND")) + ) + + ;; D3 - BAT54 clamp diode to GND (SOD-323) + (footprint "Diode_SMD:D_SOD-323" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000065") + (at 24 70 90) + (property "Reference" "D3" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "BAT54" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd rect (at -1.15 0) (size 0.6 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (net 10 "RET_DIV")) + (pad "2" smd rect (at 1.15 0) (size 0.6 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (net 1 "GND")) + ) + + ;; D4 - BAT54 clamp diode to 3.3V (SOD-323) + (footprint "Diode_SMD:D_SOD-323" + (layer "F.Cu") + (uuid "00000000-0000-0000-0000-000000000066") + (at 24 74 90) + (property "Reference" "D4" (at 0 -1.5 0) (layer "F.SilkS") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (property "Value" "BAT54" (at 0 1.5 0) (layer "F.Fab") (effects (font (size 0.6 0.6) (thickness 0.12)))) + (pad "1" smd rect (at -1.15 0) (size 0.6 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (net 3 "+3.3V")) + (pad "2" smd rect (at 1.15 0) (size 0.6 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (net 10 "RET_DIV")) + ) + + ;; ============================================ + ;; SILKSCREEN LABELS + ;; ============================================ - ;; Text annotations for assembly (gr_text "SN-L00 v0.1" (at 14 98 0) (layer "F.SilkS") (uuid "title-text") - (effects - (font (size 1.2 1.2) (thickness 0.2)) - (justify center) - ) + (effects (font (size 1.2 1.2) (thickness 0.2)) (justify center)) ) (gr_text "SubModular" (at 14 2 0) (layer "F.SilkS") (uuid "company-text") - (effects - (font (size 0.8 0.8) (thickness 0.15)) - (justify center) + (effects (font (size 0.8 0.8) (thickness 0.15)) (justify center)) + ) + + (gr_text "TRIG" + (at 7 77 0) + (layer "F.SilkS") + (uuid "trig-label") + (effects (font (size 0.8 0.8) (thickness 0.15)) (justify center)) + ) + + (gr_text "RETURN" + (at 21 77 0) + (layer "F.SilkS") + (uuid "return-label") + (effects (font (size 0.8 0.8) (thickness 0.15)) (justify center)) + ) + + (gr_text "SN-L00" + (at 14 50 0) + (layer "B.SilkS") + (uuid "back-title") + (effects (font (size 1.5 1.5) (thickness 0.2)) (justify center mirror)) + ) + + (gr_text "git.sub-net.at/submodular/SN-L00" + (at 14 55 0) + (layer "B.SilkS") + (uuid "back-url") + (effects (font (size 0.6 0.6) (thickness 0.12)) (justify center mirror)) + ) + + ;; ============================================ + ;; GROUND ZONE (Back copper) + ;; ============================================ + + (zone + (net 1) + (net_name "GND") + (layer "B.Cu") + (uuid "gnd-zone-back") + (hatch edge 0.5) + (connect_pads (clearance 0.3)) + (min_thickness 0.25) + (fill yes (thermal_gap 0.5) (thermal_bridge_width 0.5)) + (polygon + (pts + (xy 0 0) + (xy 28 0) + (xy 28 100) + (xy 0 100) + ) ) ) - ;; Ground plane zones would be added here - ;; (zone ...) + ;; ============================================ + ;; GROUND ZONE (Front copper - partial) + ;; ============================================ + + (zone + (net 1) + (net_name "GND") + (layer "F.Cu") + (uuid "gnd-zone-front") + (hatch edge 0.5) + (connect_pads (clearance 0.3)) + (min_thickness 0.25) + (fill yes (thermal_gap 0.5) (thermal_bridge_width 0.5)) + (polygon + (pts + (xy 0 0) + (xy 28 0) + (xy 28 100) + (xy 0 100) + ) + ) + ) )