Skip to content

Commit

Permalink
Design for the TopGNSS GPS Antenna
Browse files Browse the repository at this point in the history
  • Loading branch information
rvt committed Feb 11, 2025
1 parent 7c52069 commit 9e6a24a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
16 changes: 9 additions & 7 deletions enclosure/gps-antenna-holder.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@
"fileFormatVersion": "1",
"parameterSets": {
"TopGNSS": {
"CAP_POSITION": "50",
"CAP_POSITION": "41.5",
"CROP": "false",
"LENGTH": "42",
"NON_STRUCTURAL": "true",
"SQUARE_ROUND": "11",
"THEIGHT": "10.5"
"SCREW_DIST_X": "-5.5",
"SCREW_DIST_Y": "-5.5",
"SQUARE_ROUND": "19",
"THEIGHT": "10.5",
"WIDTH": "42"
},
"cdebyte_E108_GN04": {
"ANTENNA_CLERARANCE": "1",
"BHEIGHT": "5",
"CAP_POSITION": "5.5",
"CROP": "true",
"CAP_POSITION": "50",
"CROP": "false",
"FRICTION_RING": "true",
"HINGE_ANGLE": "86",
"LENGTH": "25",
"MODULE": "cdebyte_E108_GN04",
"NON_STRUCTURAL": "false",
Expand All @@ -30,7 +33,6 @@
"CAP_POSITION": "25",
"CROP": "false",
"FRICTION_RING": "true",
"HINGE_ANGLE": "45",
"MODULE": "No Module",
"SQUARE_ROUND": "6",
"THEIGHT": "13"
Expand Down
23 changes: 11 additions & 12 deletions enclosure/gps-antenna-holder.scad
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,9 @@ ANTENNA_CLERARANCE=1; // [1,1.5,2,2.5,3]
// Friction makes some extra room for a rubber ring to ensure the antenna will stay in position during vibrations
FRICTION_RING=true;

// SHow any non structual design elements, like the HW of the GPS itself
NON_STRUCTURAL=true;


SCREW_DIST_X=0; // [-10:0.5:10]
SCREW_DIST_Y=0; // [-10:0.5:10]
SCREW_DIST_X=0; // [-15:0.5:15]
SCREW_DIST_Y=0; // [-15:0.5:15]
SCREWS=[
[-WIDTH/2-SCREW_DIST_X,LENGTH/2+SCREW_DIST_Y],
[-WIDTH/2-SCREW_DIST_X,-LENGTH/2-SCREW_DIST_Y],
Expand All @@ -48,13 +45,13 @@ SCREWS=[
];

/** [Visualisation only] **/
// hangle of the hinge
HINGE_ANGLE=45; // [0:110]
// SHow any non structual design elements, like the HW of the GPS itself
NON_STRUCTURAL=true;

// Position of the top to move it up/down
CAP_POSITION=20; // [0:0.5:50]

// Visualize cropping

CROP=false;

MODULE="TOPGNSS"; // [TOPGNSS, square20_20_5, cdebyte_E108_GN04, No Module]
Expand All @@ -72,7 +69,7 @@ SCREWHD=5;
SCREW_L=8;
SCREWWALL=0.4*2;

up (6) color([1,1,1,0.1]) #cuboid([22,20,8]);
//up (6) color([1,1,1,0.1]) #cuboid([22,20,8]);

// Simple cropping function
// c=Size of cropping cube
Expand Down Expand Up @@ -211,8 +208,10 @@ module casing() {

// Hinge
position(RIGHT)
knuckle_hinge(length=HINGE_LENGTH*HINGE_SEGS, arm_angle=90, segs=HINGE_SEGS, offset=KNUNCKLE_DIAM/2+0.5,
arm_height=0, anchor=BOT, orient=RIGHT, spin=90, inner=true, knuckle_diam=KNUNCKLE_DIAM);
knuckle_hinge(length=HINGE_LENGTH*HINGE_SEGS, arm_angle=90, orient=RIGHT, segs=HINGE_SEGS, offset=KNUNCKLE_DIAM/2+0.5,
arm_height=0, anchor=BOT, spin=90, inner=true, knuckle_diam=KNUNCKLE_DIAM) {
position(BOT) cuboid([1.5,KNUNCKLE_DIAM,HINGE_LENGTH*(HINGE_SEGS-2)], anchor=LEFT, orient=RIGHT);
}

// Screw + Support
color([1,1,1])
Expand Down Expand Up @@ -246,7 +245,7 @@ module bottom_plate() {
// Bottom plate
PLATE_DOWN=($preview?0:5);
diff()
cuboid([HINGE_LENGTH*5+2, 25, 0.2*4], anchor=TOP, chamfer=0.2*4, edges=[TOP+LEFT, TOP+RIGHT, TOP+FRONT, TOP+BACK]) {
cuboid([HINGE_LENGTH*5+10, 35, 1.5], anchor=BOTTOM, chamfer=0.2*4, edges=[TOP+LEFT, TOP+RIGHT, TOP+FRONT, TOP+BACK]) {

position(TOP+BACK)
fwd(1) knuckle_hinge(length=HINGE_LENGTH*HINGE_SEGS, arm_angle=90, segs=HINGE_SEGS, offset=KNUNCKLE_DIAM/2+0.5, arm_height=0, anchor=BOT+BACK, inner=false,knuckle_diam=KNUNCKLE_DIAM) {
Expand Down

0 comments on commit 9e6a24a

Please sign in to comment.