Line 2... |
Line 2... |
2 |
pedestal_height = 13; |
2 |
pedestal_height = 13; |
3 |
mount_hole = 3.5; |
3 |
mount_hole = 3.5; |
4 |
clear = 0.175; |
4 |
clear = 0.175; |
5 |
nut_size = 6.6; |
5 |
nut_size = 6.6; |
6 |
|
6 |
|
- |
|
7 |
module ramp(width, depth, height) { |
- |
|
8 |
angle = atan(height / depth); |
- |
|
9 |
|
- |
|
10 |
difference () { |
- |
|
11 |
cube([width, depth, height]); |
- |
|
12 |
|
- |
|
13 |
//color("red") |
- |
|
14 |
rotate([angle, 0, 0]) |
- |
|
15 |
translate([-1, 0, 0]) |
- |
|
16 |
cube([width + 2, depth * 2, height]); |
- |
|
17 |
} |
- |
|
18 |
} |
- |
|
19 |
|
7 |
difference () { |
20 |
difference () { |
8 |
// translate ([-1,-16,0]) |
21 |
// translate ([-1,-16,0]) |
9 |
cube([50,100,pedestal_height]); |
22 |
cube([50,100,pedestal_height]); |
10 |
|
23 |
|
11 |
//mount holes for ODROID U3 |
24 |
//mount holes for ODROID U3 |
12 |
translate ([4.5,4.5 + 76 ,0]) |
25 |
translate ([4.5,4.5 + 76, 0]) |
13 |
rotate([0,0,90]) |
26 |
rotate([0,0,90]) |
14 |
cylinder (h = pedestal_height ,r= nut_size/2 + clear, $fn=6); |
27 |
cylinder (h = 6 ,r= nut_size/2 + clear, $fn=6); |
- |
|
28 |
translate ([4.5,4.5 + 76, 6.2]) |
- |
|
29 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
15 |
|
30 |
|
16 |
translate ([4.5+41,4.5 + 76,0]) |
31 |
translate ([4.5 + 41, 4.5 + 76,0]) |
17 |
rotate([0,0,90]) |
32 |
rotate([0,0,90]) |
18 |
cylinder (h = pedestal_height,r= nut_size/2 + clear, $fn=6); |
33 |
cylinder (h = 6,r= nut_size/2 + clear, $fn=6); |
- |
|
34 |
translate ([4.5 + 41, 4.5 + 76, 6.2]) |
- |
|
35 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
19 |
|
36 |
|
20 |
|
37 |
|
21 |
/// Two holes for other side of ODROID-U3 PCB. Code is not used because the position of holes is practically identical with position of MLAB holes in grid. |
38 |
/// Two holes for other side of ODROID-U3 PCB. |
22 |
translate ([4.5,4.5,0]) |
39 |
translate ([4.5,4.5,0]) |
23 |
cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); |
40 |
cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); |
24 |
translate ([4.5,4.5,6.2]) |
41 |
translate ([4.5,4.5,6.2]) |
25 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
42 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
26 |
|
43 |
|
Line 49... |
Line 66... |
49 |
translate ([4.5 + j*10.16, 4.5 + i*10.16, 6.3]) |
66 |
translate ([4.5 + j*10.16, 4.5 + i*10.16, 6.3]) |
50 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
67 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
51 |
} |
68 |
} |
52 |
|
69 |
|
53 |
//////////////////////////////////// |
70 |
//////////////////////////////////// |
54 |
translate ([0, 40 , pedestal_height - 4.5]) // HOLE for ODROD's jack connector, SD card and eMMC. |
- |
|
55 |
cube([48,35,5]); |
- |
|
56 |
|
- |
|
57 |
translate ([4,6, pedestal_height - 4.5]) // ODROIDs passive components hole. |
71 |
translate ([4,6, pedestal_height - 4]) // ODROIDs passive components hole. |
58 |
cube([42,27,5]); |
72 |
cube([42,27,5]); |
- |
|
73 |
translate ([13, 2 , pedestal_height - 4]) // two small resistors on botom side. |
- |
|
74 |
cube([3,3,5]); |
- |
|
75 |
translate ([22, 30 , pedestal_height - 4]) // USB over voltage protection. |
- |
|
76 |
cube([21,5,5]); |
- |
|
77 |
|
- |
|
78 |
|
- |
|
79 |
translate ([0, 41 , pedestal_height - 3.5]) // HOLE for ODROD's , SD card and eMMC. |
- |
|
80 |
cube([48,32,5]); |
- |
|
81 |
translate ([0, 38.5 , pedestal_height - 4.5]) // HOLE for ODROD's jack connector |
- |
|
82 |
cube([14,8,5]); |
- |
|
83 |
translate ([0, 65 , pedestal_height - 3.5]) // HOLE for ODROD's , SD card and eMMC. |
- |
|
84 |
cube([17,13,5]); |
- |
|
85 |
|
59 |
//////////////////////////////////////// |
86 |
//////////////////////////////////////// |
60 |
|
87 |
|
61 |
//// lightening central holes |
88 |
//// lightening central holes |
62 |
|
89 |
|
63 |
translate ([11,11, 0]) // ODROIDs passive components hole. |
90 |
translate ([10,10, 0]) // ODROIDs passive components hole. |
64 |
cube([28,19,pedestal_height ]); |
91 |
cube([30,19.5,pedestal_height ]); |
65 |
|
92 |
|
66 |
translate ([11,42, 0]) // ODROIDs passive components hole. |
93 |
translate ([10,41, 0]) // ODROIDs passive components hole. |
67 |
cube([28,27,pedestal_height ]); |
94 |
cube([30,30,pedestal_height ]); |
68 |
|
95 |
|
69 |
////// |
96 |
////// |
70 |
// MLAB electrical adapter part |
97 |
// MLAB electrical adapter part |
71 |
/////// |
98 |
/////// |
72 |
difference () { |
99 |
difference () { |
73 |
translate ([8,74.9,pedestal_height - 11]) // Holes for MLAB's adapter connectors. |
100 |
translate ([8,74.9,pedestal_height - 11]) // Central mount hole |
74 |
cube([34,17.1,20]); |
101 |
cube([34,17.1,pedestal_height - 8.5]); |
75 |
translate ([25,85.78,0]) |
102 |
translate ([25,85.78,0]) |
76 |
cylinder (h = 30, r= nut_size*0.7, $fn=20); |
103 |
cylinder (h = 30, r= nut_size*0.7, $fn=20); |
77 |
} |
104 |
} |
78 |
|
105 |
|
79 |
translate ([42,84,pedestal_height - 11]) // Holes for MLAB's adapter connectors. |
106 |
translate ([0,84, pedestal_height - 8.5]) // Holes for MLAB's adapter 5V power connector. |
80 |
cube([34,8,20]); |
107 |
cube([50,20,20]); |
- |
|
108 |
|
- |
|
109 |
translate ([42,84,pedestal_height - 11]) // Holes for MLAB's adapter 5V power connector. |
- |
|
110 |
cube([34,8,pedestal_height - 8.5]); |
81 |
|
111 |
|
82 |
translate ([8,92,pedestal_height - 11]) // Holes for MLAB's adapter connectors. |
112 |
translate ([8,92,pedestal_height - 11]) // Holes for MLAB's adapter IO connectors. |
83 |
cube([34,8,20]); |
113 |
cube([34,8,pedestal_height - 8.5]); |
84 |
|
114 |
|
85 |
|
115 |
|
86 |
translate ([-2,74.9, pedestal_height - 8.5]) // Hole for MLAB PCB |
116 |
translate ([0,74.9, pedestal_height - 8.5]) // Hole for MLAB PCB |
87 |
cube([55,25.1,20]); |
117 |
cube([50,25.1,2]); |
- |
|
118 |
translate ([7.5,78,pedestal_height - 8.5]) // Hole For connectors above the adapter PCB |
- |
|
119 |
cube([35.5,17.1,10]); |
- |
|
120 |
|
- |
|
121 |
translate ([0,74.9, pedestal_height - 6.5]) |
- |
|
122 |
ramp(50, 50, 25); |
- |
|
123 |
/////// Elecrical adapter PCB mount holes |
88 |
|
124 |
|
89 |
translate ([25,85.78,0]) |
125 |
translate ([25,85.78,0]) |
90 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
126 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
91 |
translate ([25,85.78,3.2]) |
127 |
translate ([25,85.78,3.2]) |
92 |
cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
128 |
cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
93 |
|
129 |
|
94 |
|
- |
|
95 |
translate ([4.68,85.78 + 10.16,0]) |
130 |
translate ([4.68,85.78 + 10.16,0]) |
96 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
131 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
97 |
translate ([4.68,85.78 + 10.16,3.2]) |
132 |
translate ([4.68,85.78 + 10.16,3.2]) |
98 |
cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
133 |
cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
99 |
|
134 |
|
Line 103... |
Line 138... |
103 |
cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
138 |
cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
104 |
|
139 |
|
105 |
} |
140 |
} |
106 |
|
141 |
|
107 |
|
142 |
|
- |
|
143 |
/// Support material |
- |
|
144 |
/* |
- |
|
145 |
color("Blue",0.5) |
- |
|
146 |
//translate ([0,74.9, pedestal_height - 8.5]) // Hole for MLAB PCB |
- |
|
147 |
cube([50,70,30]); |
- |
|
148 |
*/ |
108 |
|
149 |
|