Skip to content

Commit

Permalink
solar panel holder
Browse files Browse the repository at this point in the history
  • Loading branch information
oploc committed Mar 25, 2021
1 parent 0b8e817 commit cfb57f3
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
58 changes: 58 additions & 0 deletions cad/SolarHolder.scad
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
$fn=100;
INCH = 25.4;
MLAB_G = 10.16;

module support_screw_end(Nuts, Wall, Height){
for(nut = [0 : Nuts-1]){
translate([-(Nuts-1)/2*MLAB_G + nut*MLAB_G, -1.5/2*INCH-Wall+6, Height/2])
rotate([90,0,0]) cylinder(10, 3.7/2, 3.7/2);
translate([-(Nuts-1)/2*MLAB_G + nut*MLAB_G, -1.5/2*INCH-Wall+10+2, Height/2])
rotate([90,0,0]) cylinder(10, 7.0/2, 7.0/2);
translate([-(Nuts-1)/2*MLAB_G + nut*MLAB_G, -1.5/2*INCH-Wall-1, Height/2])
rotate([90,0,0]) cylinder(100, 7.0/2, 7.0/2,$fn=6);
}
}


module MlabSolarHolder(){
Height = 10;
Wall = 100;
Nuts = 3;
Distance = 5;
Diameter = 1.5;

difference(){
cube([55, 100, 100]);
// difference(){
// translate([-(Distance*MLAB_G)/2-MLAB_G/2,-50,0]) cube([(Distance*MLAB_G)+MLAB_G,50,100]);
// rotate(a=[-35,0,0]) translate([-(Distance*MLAB_G)/2-MLAB_G/2,-100,-100]) #cube([(Distance*MLAB_G)+MLAB_G,50,300]);
// }
translate([-(Diameter/2*INCH+Wall),0,0]) cube([(Diameter*INCH/2+Wall)*2,Diameter*INCH/2+Wall,10]);
support_screw_end(Nuts, Wall, Height);

for(dist = [0 : Distance]){
translate([-(5)/2*MLAB_G + dist*MLAB_G,0,Height/2])
rotate([90,0,0]) cylinder(Wall, 3.8/2, 3.5/2);
translate([-(5)/2*MLAB_G + dist*MLAB_G,-2,Height/2])
rotate([90,0,0]) #cylinder(Wall, 1.6/2, 1.6/2, $fn=6);
}
}
}


module SolarHolder(){
width = 55;
length = 90;
angle = 35;

difference(){
cube([width, length, length*2]);
rotate([angle,0,0]) translate([-1,0,0]) cube([width*2, length*2, length*2]);

rotate([-90,0,0]) translate([width/2,0,0]) support_screw_end(3, -17.1, length);
#rotate([-90,0,0]) translate([width/2,0,0]) support_screw_end(1, -30.1, length);
}
}

SolarHolder();

2 changes: 1 addition & 1 deletion fw/AIRDOS_GEO/AIRDOS_GEO.ino
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#define DEBUG // Please comment it if you are not debugging
String githash = "51832f3";
String FWversion = "GEO1";
#define ZERO 253 // ADC DC offset
#define ZERO 256 // ADC DC offset
#define RANGE 9 // histogram range
#define EVENTS 500 // maximal number of recorded events

Expand Down

0 comments on commit cfb57f3

Please sign in to comment.