mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-25 05:55:20 +02:00
xtal-2.fpd: added 2-pins smd xtal pattern -> xtal2-11.5mmx4.83mm
This commit is contained in:
parent
3baf66a3de
commit
eb8132ce8e
12
modules/INFO
12
modules/INFO
@ -306,14 +306,22 @@ F: usb_a_plug_smt
|
||||
# USB 2.0 from usb_20_040908, page 99
|
||||
F: usb-a-pcb
|
||||
|
||||
# 2-pins rectangular smd xtal
|
||||
F: xtal-2
|
||||
#
|
||||
# - xtal2-11.5mmx4.83mm package drawing, land pattern
|
||||
# for example R49SSA-028636-F20-YYY-YQA
|
||||
# http://downloads.qi-hardware.com/hardware/milkymist_one/datasheet/VideoIn/Qi%20R49SSA-028636-F20-YYY-YQA.pdf
|
||||
#
|
||||
|
||||
# 4-pins rectangular smd xtal
|
||||
F: xtal-4
|
||||
#
|
||||
# - xtal4-3.2mm*2.5mm package drawing, land pattern
|
||||
# - xtal4-3.2mmx2.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
|
||||
# - xtal4-6mmx3.6mm package drawing, land pattern
|
||||
# for example ABMM2-24.576MHZ-E2-T
|
||||
# http://www.abracon.com/Resonators/ABMM2.pdf
|
||||
#
|
||||
|
51
modules/xtal-2.fpd
Normal file
51
modules/xtal-2.fpd
Normal file
@ -0,0 +1,51 @@
|
||||
/* 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 }
|
||||
|
||||
__0: vec @(dx*Gx/2, 0mm)
|
||||
frame pad .
|
||||
}
|
||||
|
||||
frame outline {
|
||||
table
|
||||
{ px, py, x, y }
|
||||
{ 0mm, Dy/2+w, Dx+2*w, 0mm }
|
||||
{ 0mm, -Dy/2-w, Dx+2*w, 0mm }
|
||||
{ -(Dx+2*w)/2, Dy/2+w-Py/2, 0mm, Py }
|
||||
{ -(Dx+2*w)/2, -(Dy/2+w-Py/2), 0mm, Py }
|
||||
{ (Dx+2*w)/2, Dy/2+w-Py/2, 0mm, Py }
|
||||
{ (Dx+2*w)/2, -(Dy/2+w-Py/2), 0mm, Py }
|
||||
|
||||
__0: vec @(px, py)
|
||||
__1: vec .(x/2, y/2)
|
||||
__2: vec __0(-x/2, -y/2)
|
||||
line . __1 w
|
||||
}
|
||||
|
||||
package "xtal2-${Dx}x${Dy}"
|
||||
unit mm
|
||||
|
||||
table
|
||||
{ Dx, Dy, Gx, Ix, Px, Py }
|
||||
{ 11.5mm, 4.83mm, Px+Ix, 3mm, 5.5mm, 1.5mm }
|
||||
|
||||
set w = 5mil
|
||||
|
||||
frame pads @
|
||||
frame outline @
|
||||
measy pad.__1 -> pad.__0 1mm
|
||||
measx pad.__1 -> pad.__0 -1mm
|
||||
measy outline.__0 >> outline.__0 -(Gx/2+Px/2+1mm)
|
||||
measx pad.__0 >> pad.__1 1mm
|
||||
measx outline.__2 >> outline.__1 -1mm
|
||||
meas pads.__0 >> pads.__0 3mm
|
Loading…
Reference in New Issue
Block a user