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

scj368r1.fpd: added 3.5mm audio stereo phone jack

This commit is contained in:
Adam Wang 2012-06-11 10:26:51 +08:00
parent 17ae71b17d
commit 12ffd30806
2 changed files with 90 additions and 0 deletions

View File

@ -181,6 +181,14 @@ F: qfp
# http://pdfserv.maxim-ic.com/land_patterns/90-0141.PDF
#
# 3.5mm audio stereo phone jack
F: scj368r1
# From TI:
#
# - the SCJ368R1NUS0B00G data sheet, drawing
# http://downloads.qi-hardware.com/hardware/milkymist_one/datasheet/Audio/SCJ368R1NUS0B00G.pdf
#
# SOIC
F: soic
#

82
modules/scj368r1.fpd Normal file
View File

@ -0,0 +1,82 @@
/* MACHINE-GENERATED ! */
frame pad {
__0: vec @(roundx/2, roundy/2)
__1: vec @(-roundx/2, -roundy/2)
hole . __0
__2: vec @(ratio*roundx/2, -ratio*roundy/2)
__3: vec @(-ratio*roundx/2, ratio*roundy/2)
rpad "$n" . __2
}
frame pads {
table
{ n, px, py }
{ 1, -1.2mm, 0.85mm }
{ 2, -9.3mm, -1.15mm }
{ 3, -7.4mm, 0.85mm }
{ 4, -12.9mm, 0.85mm }
{ 5, -3.65mm, -1.15mm }
__0: vec @(px, py)
frame pad .
}
frame outline {
__0: vec @(0mm, rty)
__1: vec @(-rx, -rby)
rect . __0 w
__2: vec @(fx, 0mm)
__3: vec .(0mm, -fy/2)
__4: vec __3(-fx, 0mm)
line __3 . w
__5: vec __2(0mm, fy/2)
line . __3 w
__6: vec .(-fx, 0mm)
line . __5 w
__7: vec @(-3.65mm, -1.15mm)
__8: vec @(-7.4mm, 0.85mm)
__9: vec @(-9.3mm, -1.15mm)
}
package "SCJ368R1"
unit mm
set roundx = 0.6mm
set roundy = 2mm
set ratio = 1.8
set rty = 4.9mm
set rby = 8.2mm-rty
set fx = 4mm
set rx = 14mm
set fy = 6mm
set w = 5mil
set diff = 0.85mm
frame pads @
frame outline @
measx pad.__1 -> pad.__0 -roundy/2
measx pad.__3 -> pad.__2 0.5mm
measy pad.__1 -> pad.__0 roundx
measy pad.__2 -> pad.__3 ratio*roundx+1mm
measy outline.__1 >> outline.__0 0.5mm
measx outline.__1 >> outline.__0 rby+rty+3mm
meas outline.__6 >> outline.__5 0.5mm
meas outline.__3 >> outline.__5 -0.5mm
measy outline.__2 >> outline.__0 fx+0.3mm
measy outline.__2 >> pads.__0 fx+1.2mm+1mm
measy outline.__7 >> outline.__2 1mm
measx outline.__0 << pads.__0 rty
measx pads.__0 >> outline.__0 rty+1.8mm
measx outline.__7 >> outline.__0 rty+2.5mm
measx outline.__8 >> outline.__0 rty+1mm
measx outline.__0 >> outline.__9 -2.2mm