Add breadboard & battery, but we're still missing space for the tpl5111 & the power management system

This commit is contained in:
Starbeamrainbowlabs 2019-06-14 16:17:31 +01:00
parent 9e3c82db6e
commit 1e536d8685

View file

@ -8,13 +8,17 @@ wall_thickness = 2;
// The dimensions of the box on the inside // The dimensions of the box on the inside
box_inside = [ box_inside = [
110, // X 110, // X
130, // Y 135, // Y
110 // Z 110 // Z
]; ];
screw_diameter = 3; screw_diameter = 3;
screw_length = 6.3; screw_length = 6.3;
bb_mount_height = 5;
battery = [19, 60, 70];
// ------------------------------------------- // -------------------------------------------
@ -76,10 +80,11 @@ difference() {
} }
} }
// Screw holes // Mounts
// ------------------------------------------- // -------------------------------------------
// Arduino // Arduino
// ----------------------
translate([53.4+8, 60, wall_thickness]) rotate([0, 0, 90]) { translate([53.4+8, 60, wall_thickness]) rotate([0, 0, 90]) {
screw_port(); // Top left screw_port(); // Top left
translate([50.8, 15.2]) screw_port(); translate([50.8, 15.2]) screw_port();
@ -89,9 +94,41 @@ translate([53.4+8, 60, wall_thickness]) rotate([0, 0, 90]) {
% translate([-15.3, -2, screw_length + wall_thickness]) square([68.6, 53.4]); % translate([-15.3, -2, screw_length + wall_thickness]) square([68.6, 53.4]);
} }
// Breadboard Mounting
// ----------------------
translate([70, 10, wall_thickness - 0.1]) difference() {
union() {
translate([wall_thickness*2, 0, 0]) cube([
35 - (wall_thickness*2),
46 + wall_thickness*2,
bb_mount_height
]);
translate([0, wall_thickness*2, 0]) cube([
35 + wall_thickness*2,
46 - (wall_thickness*2),
bb_mount_height
]);
}
translate([wall_thickness, wall_thickness, -1]) cube([
35,
46,
bb_mount_height + 2
]);
}
// Battery box
// ----------------------
% translate([
box_inside[0] - battery[0] + wall_thickness,
box_inside[1] - battery[1] - corner_piece_size,
0
]) cube(battery);
// Corners // Corners
// ------------------------------------------- // -------------------------------------------
{
translate([ translate([
wall_thickness, wall_thickness,
wall_thickness, wall_thickness,
@ -113,3 +150,5 @@ translate([53.4+8, 60, wall_thickness]) rotate([0, 0, 90]) {
wall_thickness - 0.1 wall_thickness - 0.1
]) corner_piece(); ]) corner_piece();
} }
}