Add Murara piezo beeper pklcs1212 package and datasheet
authorKeith Packard <keithp@keithp.com>
Mon, 30 Sep 2013 16:49:28 +0000 (09:49 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 30 Sep 2013 16:49:51 +0000 (09:49 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
datasheets/murata/piezo.pdf [new file with mode: 0644]
packages/Makefile
packages/pklcs1212.5c [new file with mode: 0644]

diff --git a/datasheets/murata/piezo.pdf b/datasheets/murata/piezo.pdf
new file mode 100644 (file)
index 0000000..40a060d
Binary files /dev/null and b/datasheets/murata/piezo.pdf differ
index 14bd744c0d5ab78f761ef728f54a8b6089dcc7a8..494a0559a330e377758a9228efdadb846de9fcc8 100644 (file)
@@ -52,7 +52,8 @@ FOOTPRINTS= \
        cubesatshield.fp \
        linear-s8.fp \
        PJ-037A.fp \
-       cx1vsm.fp
+       cx1vsm.fp \
+       pklcs1212.fp
 
 .5c.fp:
        nickle $*.5c > $@
diff --git a/packages/pklcs1212.5c b/packages/pklcs1212.5c
new file mode 100644 (file)
index 0000000..fd0ffc7
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * Copyright © 2013 Keith Packard <keithp@keithp.com>
+ *
+ * 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; version 2 of the License.
+ *
+ * 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, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+load "footprint.5c"
+import Footprint;
+
+real package_width = 12;
+real package_height = 12;
+
+real pad_width = 2.4;
+real pad_height = 4.0;
+real pad_space = 10.0 + pad_width / 2;
+
+element_start("pklcs1212");
+
+pad_mm(-pad_space/2, 0, pad_width, pad_height, "1", "1");
+pad_mm(pad_space/2, 0, pad_width, pad_height, "2", "2");
+
+rect(-package_width/2, -package_height/2, package_width, package_height);
+
+element_end();