Bläddra i källkod

change interface to the capsule module (the orientation of the capsules in space is now done outside of the module), remove rendermic rendering control variable, add extra deep ridge so that capsule holders click better into mount, add rendering modules for each part of the microphone and mount and for the complete assembly, add TinySpHEAR_EM182.scad and TinySpHEAR_EM200.scad files with optimized parameters for the EM182 and EM200 capsules

Fernando Pablo Lopez-Lezcano 10 år sedan
förälder
incheckning
c795812847
2 ändrade filer med 158 tillägg och 0 borttagningar
  1. 75 0
      TinySpHEAR_EM182.scad
  2. 83 0
      TinySpHEAR_EM200.scad

+ 75 - 0
TinySpHEAR_EM182.scad

@@ -0,0 +1,75 @@
+//
+// Spherical Harmonics Ear Project (*SpHEAR)
+//
+// TinySpHEAR, First Order (B-format) Ambisonics Microphone
+// Microphone optimized for EM200 capsules and Zapnspark interface
+// 
+// Copyright 2015-2016, Fernando Lopez-Lezcano, All Rights Reserved
+// nando@ccrma.stanford.edu
+//
+//  This program is free software: you can redistribute it and/or modify
+//  it under the terms of the GNU General Public License as published by
+//  the Free Software Foundation, either version 3 of the License, or
+//  (at your option) any later version.
+//
+//  This program 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 General Public License for more details.
+//
+//  You should have received a copy of the GNU General Public License
+//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+//
+// 3d Models released under the Creative Commons license as follows:
+//   Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
+// http://creativecommons.org/licenses/by-nc-sa/4.0/
+
+include <TinySpHEAR_common.scad>;
+include <TinySpHEAR_mount_pcb.scad>;
+
+// dimensions of the electret microphone capsule
+capsule_radius = 5;
+capsule_height = 4.5;
+mic_radius = 9.6;
+
+////
+//// render the different assemblies
+////
+
+//// microphone body and array
+
+*render_tetra_capsule_array(0);
+
+*render_tetra_capsule_flare(0);
+
+*render_tetra_pcb_mount(0);
+
+*render_tetra_cable_flare(0);
+
+// the whole body
+*render_tetra_body(0, 5);
+
+// the whole microphone
+render_tetra_microphone(0, 5);
+
+//// microphone shock mount
+
+*render_tetra_shock_mount_stand(0);
+
+*render_tetra_shock_mount_external_ring(0);
+
+*render_tetra_shock_mount_internal_ring_bot(0);
+
+*render_tetra_shock_mount_internal_ring_top(0);
+
+*render_tetra_shock_mount_ring_connectors(5);
+
+// the full mount
+*render_tetra_shock_mount(0);
+
+// individual capsule holders
+
+*render_tetra_capsule_top(0);
+
+*render_tetra_capsule_bot(0);
+

+ 83 - 0
TinySpHEAR_EM200.scad

@@ -0,0 +1,83 @@
+//
+// Spherical Harmonics Ear Project (*SpHEAR)
+//
+// TinySpHEAR, First Order (B-format) Ambisonics Microphone
+// Microphone optimized for EM200 capsules and Zapnspark interface
+// 
+// Copyright 2015-2016, Fernando Lopez-Lezcano, All Rights Reserved
+// nando@ccrma.stanford.edu
+//
+//  This program is free software: you can redistribute it and/or modify
+//  it under the terms of the GNU General Public License as published by
+//  the Free Software Foundation, either version 3 of the License, or
+//  (at your option) any later version.
+//
+//  This program 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 General Public License for more details.
+//
+//  You should have received a copy of the GNU General Public License
+//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+//
+// 3d Models released under the Creative Commons license as follows:
+//   Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
+// http://creativecommons.org/licenses/by-nc-sa/4.0/
+
+include <TinySpHEAR_common.scad>;
+include <TinySpHEAR_mount_pcb.scad>;
+
+// dimensions of the EM200 electret microphone capsule (measured)
+capsule_radius = 14.55 / 2;
+capsule_height = 4.75;
+mic_radius = 11;
+
+// connector to mount
+ridge_width = 2.0;
+ridge_slot_width = 2.0;
+
+// height and eccentricity of top connector
+mount_top_height = 15.0;
+mount_top_eccentricity = 1.6;
+
+////
+//// render the different assemblies
+////
+
+//// microphone body and array
+
+*render_tetra_capsule_array(0);
+
+*render_tetra_capsule_flare(0);
+
+*render_tetra_pcb_mount(0);
+
+*render_tetra_cable_flare(0);
+
+// the whole body
+*render_tetra_body(0, 5);
+
+// the whole microphone
+render_tetra_microphone(0, 5);
+
+//// microphone shock mount
+
+*render_tetra_shock_mount_stand(0);
+
+*render_tetra_shock_mount_external_ring(0);
+
+*render_tetra_shock_mount_internal_ring_bot(0);
+
+*render_tetra_shock_mount_internal_ring_top(0);
+
+*render_tetra_shock_mount_ring_connectors(5);
+
+// the full mount
+*render_tetra_shock_mount(0);
+
+// individual capsule holders
+
+*render_tetra_capsule_top(0);
+
+*render_tetra_capsule_bot(0);
+