Skip to content

Commit

Permalink
Merge pull request #98 from RobertGawron/feature/chassis
Browse files Browse the repository at this point in the history
Feature/chassis
  • Loading branch information
RobertGawron authored May 24, 2020
2 parents fa9cadf + eda6229 commit 1b75172
Show file tree
Hide file tree
Showing 12 changed files with 2,156 additions and 2,268 deletions.
4,085 changes: 2,037 additions & 2,048 deletions hardware/DDSFunctionGenerator/3DModels/Transformer_B62152_8_3.step

Large diffs are not rendered by default.

This file was deleted.

93 changes: 49 additions & 44 deletions hardware/DDSFunctionGenerator/DDSFunctionGenerator.kicad_pcb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

(page A4)
(layers
(0 F.Cu signal hide)
(31 B.Cu signal hide)
(0 F.Cu signal)
(31 B.Cu signal)
(32 B.Adhes user hide)
(33 F.Adhes user hide)
(34 B.Paste user hide)
Expand All @@ -25,7 +25,7 @@
(41 Cmts.User user hide)
(42 Eco1.User user hide)
(43 Eco2.User user hide)
(44 Edge.Cuts user hide)
(44 Edge.Cuts user)
(45 Margin user hide)
(46 B.CrtYd user hide)
(47 F.CrtYd user hide)
Expand All @@ -34,7 +34,7 @@
)

(setup
(last_trace_width 0.4572)
(last_trace_width 0.3048)
(user_trace_width 0.4572)
(user_trace_width 0.508)
(trace_clearance 0.127)
Expand Down Expand Up @@ -63,6 +63,7 @@
(pad_to_mask_clearance 0.051)
(solder_mask_min_width 0.25)
(aux_axis_origin 0 0)
(grid_origin 65 135)
(visible_elements 7FFFFFFF)
(pcbplotparams
(layerselection 0x010fc_ffffffff)
Expand Down Expand Up @@ -261,6 +262,15 @@
(add_net "Net-(Rel3-Pad2)")
(add_net "Net-(T1-Pad1)")
(add_net "Net-(T1-Pad2)")
(add_net "Net-(U1-Pad3)")
(add_net "Net-(U1-Pad6)")
(add_net "Net-(U1-Pad7)")
(add_net "Net-(U3-Pad4)")
(add_net "Net-(U3-Pad5)")
(add_net "Net-(U5-Pad18)")
(add_net "Net-(U5-Pad21)")
(add_net "Net-(U5-Pad22)")
(add_net "Net-(U5-Pad25)")
(add_net PSEL0)
(add_net PSEL1)
(add_net REL_1)
Expand All @@ -287,6 +297,39 @@
(uvia_drill 0.1)
)

(module DDSFunctionGenerator:Transformer_B62152_8.3 (layer F.Cu) (tedit 5DE3FB14) (tstamp 5DB52065)
(at 99.314 125.38)
(descr Transformer)
(tags Transformer)
(path /5DB2ED33/5DB7CF79)
(fp_text reference T1 (at 0 -5 180) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Transformer_1P_1S (at 0 5 180) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -7.5 4) (end -7.5 -4.5) (layer F.SilkS) (width 0.12))
(fp_line (start 7 4) (end -7.5 4) (layer F.SilkS) (width 0.12))
(fp_line (start 7 -4.5) (end 7 4) (layer F.SilkS) (width 0.12))
(fp_line (start -7.5 -4.5) (end 7 -4.5) (layer F.SilkS) (width 0.12))
(fp_text user %R (at 0 -5 180) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(pad 4 thru_hole circle (at 3.5 5.5) (size 2 2) (drill 1) (layers *.Cu *.Mask)
(net 6 GND))
(pad 3 thru_hole circle (at -4 5.5) (size 2 2) (drill 1) (layers *.Cu *.Mask)
(net 31 RF_FROM_AMPLIFIER))
(pad 2 thru_hole circle (at 3.5 -6) (size 2 2) (drill 1) (layers *.Cu *.Mask)
(net 32 "Net-(T1-Pad2)"))
(pad 1 thru_hole circle (at -4 -6) (size 2 2) (drill 1) (layers *.Cu *.Mask)
(net 33 "Net-(T1-Pad1)"))
(model ${KIPRJMOD}/3DModels/Transformer_B62152_8_3.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)

(module Capacitor_SMD:CP_Elec_6.3x5.8 (layer F.Cu) (tedit 5BCA39D0) (tstamp 5E09A451)
(at 96.36 102.108)
(descr "SMD capacitor, aluminum electrolytic, Nichicon, 6.3x5.8mm")
Expand Down Expand Up @@ -4322,44 +4365,6 @@
)
)

(module DDSFunctionGenerator:Transformer_B62152_8.3 (layer F.Cu) (tedit 5DE3FB14) (tstamp 5DB52065)
(at 99.314 125.38)
(descr Transformer)
(tags Transformer)
(path /5DB2ED33/5DB7CF79)
(fp_text reference T1 (at 0 -5 180) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Transformer_1P_1S (at 0 5 180) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -7.5 4) (end -7.5 -4.5) (layer F.SilkS) (width 0.12))
(fp_line (start 7 4) (end -7.5 4) (layer F.SilkS) (width 0.12))
(fp_line (start 7 -4.5) (end 7 4) (layer F.SilkS) (width 0.12))
(fp_line (start -7.5 -4.5) (end 7 -4.5) (layer F.SilkS) (width 0.12))
(fp_text user %R (at 0 -5 180) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(pad 4 thru_hole circle (at 3.5 5.5) (size 2 2) (drill 1) (layers *.Cu *.Mask)
(net 6 GND))
(pad 3 thru_hole circle (at -4 5.5) (size 2 2) (drill 1) (layers *.Cu *.Mask)
(net 31 RF_FROM_AMPLIFIER))
(pad 2 thru_hole circle (at 3.5 -6) (size 2 2) (drill 1) (layers *.Cu *.Mask)
(net 32 "Net-(T1-Pad2)"))
(pad 1 thru_hole circle (at -4 -6) (size 2 2) (drill 1) (layers *.Cu *.Mask)
(net 33 "Net-(T1-Pad1)"))
(model ${KISYS3DMOD}/Transformer_THT.3dshapes/Transformer_Toroid_Horizontal_D9.0mm_Amidon-T30.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
(model ${KIPRJMOD}/3DModels/Transformer_B62152_8_3.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)

(module TestPoint:TestPoint_Pad_1.0x1.0mm (layer F.Cu) (tedit 5A0F774F) (tstamp 5DB581C5)
(at 108.204 109.22 180)
(descr "SMD rectangular pad as test Point, square 1.0mm side length")
Expand Down Expand Up @@ -5411,7 +5416,7 @@
(net 6 GND))
(pad 2 thru_hole oval (at -5.08 -5.08 90) (size 3.5 7) (drill 2.01) (layers *.Cu *.Mask)
(net 6 GND))
(model :3DLOCAL:BNC_Amphenol_B6252HB-NPP3G-50_Horizontal.step
(model ${KIPRJMOD}/3DModels/BNC_Amphenol_B6252HB-NPP3G-50_Horizontal.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
Expand Down Expand Up @@ -6465,7 +6470,6 @@
(via (at 115 105) (size 0.5) (drill 0.3) (layers F.Cu B.Cu) (net 6))
(via (at 107.5 105) (size 0.5) (drill 0.3) (layers F.Cu B.Cu) (net 6))
(via (at 105 105) (size 0.5) (drill 0.3) (layers F.Cu B.Cu) (net 6))
(via (at 110 100) (size 0.5) (drill 0.3) (layers F.Cu B.Cu) (net 57))
(segment (start 118.215 124.334) (end 119.6685 124.334) (width 0.3048) (layer F.Cu) (net 7) (status 20))
(segment (start 117.833 123.952) (end 118.215 124.334) (width 0.3048) (layer F.Cu) (net 7) (status 10))
(segment (start 120.904 122.791578) (end 119.888 121.775578) (width 0.3048) (layer F.Cu) (net 7))
Expand Down Expand Up @@ -6910,6 +6914,7 @@
(segment (start 78.169 79.248) (end 95.504 79.248) (width 0.3048) (layer F.Cu) (net 55))
(segment (start 103.234 109.641) (end 102.009 109.641) (width 0.3048) (layer F.Cu) (net 56) (status 20))
(segment (start 103.655 109.22) (end 103.234 109.641) (width 0.3048) (layer F.Cu) (net 56) (status 10))
(via (at 110 100) (size 0.5) (drill 0.3) (layers F.Cu B.Cu) (net 57))
(segment (start 74.041 102.136) (end 73.251 101.346) (width 0.508) (layer F.Cu) (net 57) (status 20))
(segment (start 74.041 104.608) (end 74.041 102.136) (width 0.508) (layer F.Cu) (net 57) (status 10))
(segment (start 81.661 102.263) (end 80.744 101.346) (width 0.508) (layer F.Cu) (net 57) (status 20))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
(module Transformer_B62152_8.3 (layer F.Cu) (tedit 5DE3FB14)
(module DDSFunctionGenerator:Transformer_B62152_8.3 (layer F.Cu) (tedit 5DE3FB14)
(descr Transformer)
(tags Transformer)
(fp_text reference T1 (at 0 -5 180) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Transformer_B62152_8.3 (at -0.5 2.5 180) (layer F.Fab)
(fp_text value Transformer_1P_1S (at 0 5 180) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0 -5 180) (layer F.Fab)
Expand All @@ -18,11 +18,6 @@
(pad 2 thru_hole circle (at 3.5 -6) (size 2 2) (drill 1) (layers *.Cu *.Mask))
(pad 3 thru_hole circle (at -4 5.5) (size 2 2) (drill 1) (layers *.Cu *.Mask))
(pad 4 thru_hole circle (at 3.5 5.5) (size 2 2) (drill 1) (layers *.Cu *.Mask))
(model ${KISYS3DMOD}/Transformer_THT.3dshapes/Transformer_Toroid_Horizontal_D9.0mm_Amidon-T30.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
(model ${KIPRJMOD}/3DModels/Transformer_B62152_8_3.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
Expand Down
Binary file added mechanical/Chassis/FreeCAD/Chassis.FCStd
Binary file not shown.
Binary file added mechanical/Chassis/FreeCAD/Chassis.FCStd1
Binary file not shown.
13 changes: 13 additions & 0 deletions mechanical/Chassis/OpenSCAD/ChassisBottom.csg
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
group() {
difference() {
linear_extrude(height = 10, center = false, convexity = 10, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
square(size = [86, 71], center = false);
}
multmatrix([[1, 0, 0, 3], [0, 1, 0, 3], [0, 0, 1, 3], [0, 0, 0, 1]]) {
linear_extrude(height = 7, center = false, convexity = 10, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
square(size = [80, 65], center = false);
}
}
}
}

33 changes: 33 additions & 0 deletions mechanical/Chassis/OpenSCAD/ChassisBottom.scad
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

PCB_X_LENGTH = 80;
PCB_Y_LENGTH = 65;

BOTTOM_CHASSIS_THICKNESS = 3;
BOTTOM_CHASSIS_HEIGHT = 10;


module Enclousure()
{
// Union()
{
///
// linear_extrude(height = BOTTOM_CHASSIS_THICKNESS, convexity = 10, twist = 0)
// square([PCB_X_LENGTH + BOTTOM_CHASSIS_THICKNESS, PCB_Y_LENGTH + BOTTOM_CHASSIS_THICKNESS]);


difference()
{
linear_extrude(height = BOTTOM_CHASSIS_HEIGHT, convexity = 10, twist = 0)
square([PCB_X_LENGTH + 2*BOTTOM_CHASSIS_THICKNESS, PCB_Y_LENGTH + 2*BOTTOM_CHASSIS_THICKNESS]);

translate([BOTTOM_CHASSIS_THICKNESS, BOTTOM_CHASSIS_THICKNESS, BOTTOM_CHASSIS_THICKNESS])
linear_extrude(height = BOTTOM_CHASSIS_HEIGHT - BOTTOM_CHASSIS_THICKNESS, convexity = 10, twist = 0)
square([PCB_X_LENGTH , PCB_Y_LENGTH ]);


}
}
}


Enclousure();
Binary file modified mechanical/KiCADModels/FreeCAD/Transformer_B62152_8.3.FCStd
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 1b75172

Please sign in to comment.