start sonar holder that uses binder clip
authordaniel watson <ozzloy@gmail.com>
Fri, 3 Jun 2016 04:54:40 +0000 (21:54 -0700)
committerdaniel watson <ozzloy@gmail.com>
Fri, 3 Jun 2016 04:54:40 +0000 (21:54 -0700)
3d-printables/sonar-binder-clip-holder-data.scad [new file with mode: 0644]
3d-printables/sonar-binder-clip-holder.scad [new file with mode: 0644]

diff --git a/3d-printables/sonar-binder-clip-holder-data.scad b/3d-printables/sonar-binder-clip-holder-data.scad
new file mode 100644 (file)
index 0000000..42b1d40
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+  Copyright 2016 Daniel Watson
+  See the end of the file for license conditions.
+*/
+/* challenge-bot
+// GNU AGPLv3 (or later at your option)
+// project available here:
+// https://challenge-bot.com/ */
+
+/*
+  this holds an hc-sr04 sonar sensor to a 3/16 inch deck.
+  http://fritzing.org/projects/hc-sr04-project
+  it can hold the sonar sensor either facing down, or forwards.
+  when facing down, it can detect if it passes over the edge of a table.
+  when facing forwards, it can detect and follow something in front
+  of it.
+*/
+
+$fn = 30;
+
+sonar_diameter_measured = 15.82;
+sonar_diameter_print_fudge = 0.5;
+sonar_diameter = sonar_diameter_measured + sonar_diameter_print_fudge;
+sonar_radius = sonar_diameter / 2;
+
+module sonar_binder_clip_holder(sonar_radius) {
+       circle(sonar_radius);
+}
+
+/*
+  This file is part of challenge-bot.
+
+  Challenge-bot is free software: you can redistribute it and/or modify
+  it under the terms of the GNU Affero General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  GNU Affero Emacs is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU Affero General Public License for more details.
+
+  You should have received a copy of the GNU Affero General Public License
+  along with challenge-bot.  If not, see <http://www.gnu.org/licenses/>.
+*/
diff --git a/3d-printables/sonar-binder-clip-holder.scad b/3d-printables/sonar-binder-clip-holder.scad
new file mode 100644 (file)
index 0000000..c7dea4c
--- /dev/null
@@ -0,0 +1,38 @@
+/*
+  Copyright 2016 Daniel Watson
+  See the end of the file for license conditions.
+*/
+/* challenge-bot
+// GNU AGPLv3 (or later at your option)
+// project available here:
+// https://challenge-bot.com/ */
+
+/*
+  this holds an hc-sr04 sonar sensor to a 3/16 inch deck.
+  http://fritzing.org/projects/hc-sr04-project
+  it can hold the sonar sensor either facing down, or forwards.
+  when facing down, it can detect if it passes over the edge of a table.
+  when facing forwards, it can detect and follow something in front
+  of it.
+*/
+
+include <sonar-binder-clip-holder-data.scad>
+
+sonar_binder_clip_holder(sonar_radius);
+
+/*
+  This file is part of challenge-bot.
+
+  Challenge-bot is free software: you can redistribute it and/or modify
+  it under the terms of the GNU Affero General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  GNU Affero Emacs is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU Affero General Public License for more details.
+
+  You should have received a copy of the GNU Affero General Public License
+  along with challenge-bot.  If not, see <http://www.gnu.org/licenses/>.
+*/