Date:2012-06-07 04:33:19 (9 years 6 months ago)
Author:Adam Wang
Commit:3baf66a3de7b398aaa8df1a3dc3b137508ff2252
Message:xtal-4.fpd: 1. duplicated from ben-wpan/modules/xtal-4.fpd and added new variant xtal4-6mmx3.6mm 2. added pin1 marker

Files: modules/INFO (2 diffs)
modules/xtal-4.fpd (1 diff)

Change Details

modules/INFO
88# Printed 8:10 card contacs
99F: 8_10-card
1010
11# Open clip for AA batteries, through-hole
12# http://www.memoryprotectiondevices.com/datasheets/BK-92-datasheet.pdf
13# Note: should generalize this for AAA and maybe also larger sizes
14F: bat-clip-aa-th
15
1116# BGA
1217F: bga
1318# - 484-Pin FineLine BGA(FBGA), from Altera
...... 
301306# USB 2.0 from usb_20_040908, page 99
302307F: usb-a-pcb
303308
304# Open clip for AA batteries, through-hole
305# http://www.memoryprotectiondevices.com/datasheets/BK-92-datasheet.pdf
306# Note: should generalize this for AAA and maybe also larger sizes
307F: bat-clip-aa-th
309# 4-pins rectangular smd xtal
310F: xtal-4
311#
312# - xtal4-3.2mm*2.5mm package drawing, land pattern
313# for example NX3225SA
314# http://www.ndk.com/images/products/catalog/c_NX3225SA-STD-CSQ-1_e.pdf
315#
316# - xtal4-6mm*3.6mm package drawing, land pattern
317# for example ABMM2-24.576MHZ-E2-T
318# http://www.abracon.com/Resonators/ABMM2.pdf
319#
320
modules/xtal-4.fpd
1/* MACHINE-GENERATED ! */
2
3frame pad {
4    __0: vec @(Px/2, Py/2)
5    __1: vec @(-Px/2, -Py/2)
6    pad "$pin" . __0
7}
8
9frame pads {
10    table
11        { pin, dx, dy }
12        { 1, -1, -1 }
13        { 2, 1, -1 }
14        { 3, 1, 1 }
15        { 4, -1, 1 }
16
17    __0: vec @(dx*Gx/2, dy*Gy/2)
18    frame pad .
19}
20
21frame marker {
22    __0: vec @(-(Gx/2)-Px+2*w, -Gy/2)
23    __1: vec .(0mm, -2*w)
24    circ . __0 w
25}
26
27frame outline {
28    table
29        { px, py, x, y }
30        { 0mm, Dy/2, Gx-Px-2*w, 0mm }
31        { 0mm, -Dy/2, Gx-Px-2*w, 0mm }
32        { -Dx/2, 0mm, 0mm, Gy-Py-2*w }
33        { Dx/2, 0mm, 0mm, Gy-Py-2*w }
34
35    __0: vec @(px, py)
36    __1: vec .(x/2, y/2)
37    __2: vec __0(-x/2, -y/2)
38    line . __1 w
39}
40
41package "xtal4-${Dx}x${Dy}"
42unit mm
43
44table
45    { Dx, Dy, Gx, Gy, Px, Py }
46    { 3.2mm, 2.5mm, 2.2mm, 1.6mm, 1.4mm, 1.2mm }
47    { 6mm, 3.6mm, 4.4mm, 2.4mm, 1.8mm, 1.4mm }
48
49set w = 5mil
50
51frame pads @
52frame outline @
53frame marker @
54measx pads.__0 -> pads.__0 1mm+Py/2+Gy
55measy pads.__0 -> pads.__0 -1mm-Px/2-Gx
56measy pad.__1 -> pad.__0 1mm
57measx pad.__1 -> pad.__0 -1mm
58measx outline.__0 >> outline.__0 Gy/2+Py/2+1.5mm
59measy outline.__0 >> outline.__0 -(Gx/2+Px/2+1.5mm)

Archive Download the corresponding diff file

Branches:
master



interactive