1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-07-07 06:43:53 +03:00

xtal-4.fpd:

1. duplicated from ben-wpan/modules/xtal-4.fpd and added new variant xtal4-6mmx3.6mm
2. added pin1 marker
This commit is contained in:
Adam Wang 2012-06-07 10:33:19 +08:00
parent 57ab747896
commit 3baf66a3de
2 changed files with 76 additions and 4 deletions

View File

@ -8,6 +8,11 @@
# Printed 8:10 card contacs
F: 8_10-card
# Open clip for AA batteries, through-hole
# http://www.memoryprotectiondevices.com/datasheets/BK-92-datasheet.pdf
# Note: should generalize this for AAA and maybe also larger sizes
F: bat-clip-aa-th
# BGA
F: bga
# - 484-Pin FineLine BGA(FBGA), from Altera
@ -301,7 +306,15 @@ F: usb_a_plug_smt
# USB 2.0 from usb_20_040908, page 99
F: usb-a-pcb
# Open clip for AA batteries, through-hole
# http://www.memoryprotectiondevices.com/datasheets/BK-92-datasheet.pdf
# Note: should generalize this for AAA and maybe also larger sizes
F: bat-clip-aa-th
# 4-pins rectangular smd xtal
F: xtal-4
#
# - xtal4-3.2mm*2.5mm package drawing, land pattern
# for example NX3225SA
# http://www.ndk.com/images/products/catalog/c_NX3225SA-STD-CSQ-1_e.pdf
#
# - xtal4-6mm*3.6mm package drawing, land pattern
# for example ABMM2-24.576MHZ-E2-T
# http://www.abracon.com/Resonators/ABMM2.pdf
#

59
modules/xtal-4.fpd Normal file
View File

@ -0,0 +1,59 @@
/* MACHINE-GENERATED ! */
frame pad {
__0: vec @(Px/2, Py/2)
__1: vec @(-Px/2, -Py/2)
pad "$pin" . __0
}
frame pads {
table
{ pin, dx, dy }
{ 1, -1, -1 }
{ 2, 1, -1 }
{ 3, 1, 1 }
{ 4, -1, 1 }
__0: vec @(dx*Gx/2, dy*Gy/2)
frame pad .
}
frame marker {
__0: vec @(-(Gx/2)-Px+2*w, -Gy/2)
__1: vec .(0mm, -2*w)
circ . __0 w
}
frame outline {
table
{ px, py, x, y }
{ 0mm, Dy/2, Gx-Px-2*w, 0mm }
{ 0mm, -Dy/2, Gx-Px-2*w, 0mm }
{ -Dx/2, 0mm, 0mm, Gy-Py-2*w }
{ Dx/2, 0mm, 0mm, Gy-Py-2*w }
__0: vec @(px, py)
__1: vec .(x/2, y/2)
__2: vec __0(-x/2, -y/2)
line . __1 w
}
package "xtal4-${Dx}x${Dy}"
unit mm
table
{ Dx, Dy, Gx, Gy, Px, Py }
{ 3.2mm, 2.5mm, 2.2mm, 1.6mm, 1.4mm, 1.2mm }
{ 6mm, 3.6mm, 4.4mm, 2.4mm, 1.8mm, 1.4mm }
set w = 5mil
frame pads @
frame outline @
frame marker @
measx pads.__0 -> pads.__0 1mm+Py/2+Gy
measy pads.__0 -> pads.__0 -1mm-Px/2-Gx
measy pad.__1 -> pad.__0 1mm
measx pad.__1 -> pad.__0 -1mm
measx outline.__0 >> outline.__0 Gy/2+Py/2+1.5mm
measy outline.__0 >> outline.__0 -(Gx/2+Px/2+1.5mm)