1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-22 08:48:26 +02:00

Moved mini-usb.fpd and usb_a_plug_smt.fpd from ben-wpan to kicad-libs (deletion)

This commit is contained in:
Werner Almesberger 2011-08-14 03:07:37 -03:00
parent c699a921c1
commit 0f26c57240
5 changed files with 2 additions and 239 deletions

View File

@ -6,7 +6,6 @@ Alvaro Lopes <alvieboy@alvie.com>
Rene Harder <rehar@saweb.de> Rene Harder <rehar@saweb.de>
components/antenna.lib components/antenna.lib
modules/mini-usb.fpd
Werner Almesberger <werner@almesberger.net> Werner Almesberger <werner@almesberger.net>
@ -19,5 +18,4 @@ Werner Almesberger <werner@almesberger.net>
modules/mmcx-f-edge.fpd modules/mmcx-f-edge.fpd
modules/sot-323.fpd modules/sot-323.fpd
modules/u-fl-receptacle.fpd modules/u-fl-receptacle.fpd
moduled/usb_a_plug_smt.fpd
modules/xtal-4.fpd modules/xtal-4.fpd

View File

@ -9,9 +9,6 @@
F: meander F: meander
N: AN043 N: AN043
# Mini-USB B receptable (SMT; almost generic)
F: mini_usb_b
# Common 4-pin crystal SMT package (pins 1 and 4 are on a short side, pin # Common 4-pin crystal SMT package (pins 1 and 4 are on a short side, pin
# numbering is counter-clockwise) # numbering is counter-clockwise)
F: xtal-4 F: xtal-4
@ -40,25 +37,6 @@ F: 0805-6
F: mmcx-f-edge F: mmcx-f-edge
N: 73415-0961 N: 73415-0961
# USB A plug for SMT
#
# Note: the signal pads are enlarged by 0.2 mm and their center is shifted by
# 0.1 mm with respect to the reference.
#
# According to the data sheet, the leads terminate at (2.00+/-0.10 mm)/2+
# 2.48 mm = 3.48+/-0.10 mm from the center. The reference footprint puts the
# edge of the pads at (2.00+/-0.10 mm)/2+2.6 mm = 3.6 mm+/-0.10 mm, so the
# maximum lead end could be at 3.58 mm while the minimum pad edge could be at
# 3.5 mm.
#
# Assuming that the pad is intended to extend a bit beyond the lead, we need
# to add 0.2 mm to compensate for these tolerances. (The pad tolerance may not
# be intended to be used this way, however, we still have to consider small
# errors in registration, which also amount to about 0.1 mm, so the calculation
# remains valid.)
#
F: usb_a_plug_smt
# SOT-323 package with counter-clockweise or clockwise pin assignment # SOT-323 package with counter-clockweise or clockwise pin assignment
F: sot-323 F: sot-323
N: mmst3904 N: mmst3904

View File

@ -1,5 +1,5 @@
MODULES=0805-6 meander mini-usb mmcx-f-edge sot-323 \ MODULES=0805-6 meander mmcx-f-edge sot-323 \
u-fl-receptacle usb_a_plug_smt xtal-4 u-fl-receptacle xtal-4
.SUFFIXES: .fpd .mod .SUFFIXES: .fpd .mod
.PHONY: all clean .PHONY: all clean

View File

@ -1,114 +0,0 @@
/*Mini USB Type B connector*/
frame pad{
set name=i
ur: vec @(0mm,w/2)
ll: vec @(-l,-w/2)
pad "$name" ur ll
}
frame pad_gnd {
set name1=i
set name2=i+2
pos1_ur: vec @(gnd_x/2,gnd_y/2)
pos2_ur: vec .(0mm,-b_y)
pos1_ll: vec @(-gnd_x/2,-gnd_y/2)
pos2_ll: vec .(0mm,-b_y)
center: vec @(0mm,-b_y)
pad "$name1" pos1_ur pos1_ll
pad "$name2" pos2_ur pos2_ll
}
frame pads {
loop i=1,5
pos: vec @(0mm,2*p-(i-1)*p)
frame pad .
}
frame pads_gnd{
loop i=6,7
pos: vec @(-gnd_x/2-a_x*(i-6),b_y/2)
frame pad_gnd .
}
frame holes {
c1: vec @(-f,c/2)
d1: vec .(0mm,d/2)
c2: vec @(-f,-c/2)
d2: vec .(0mm,d/2)
circ c1 d1 0.01mm
circ c2 d2 0.01mm
}
frame outline {
ur: vec @(-f+A1_x,B_y/2)
ll: vec @(-e,-B_y/2)
rect ur ll silk
ur2: vec @(-e,B_y/2)
ll2: vec @(-f-A2_x,-B_y/2)
rect ur2 ll2 silk
}
package "miniUSB_B"
unit mm
/*GND pad size*/
set gnd_y = 2mm
set gnd_x = 2.5mm
/*pad size*/
set w=0.5mm
set l=2.3mm
/*pitch*/
set p = 0.8mm
/*distance center GND pad -> center pin1 */
set a=2.85mm
/*distance GND pad -> GND pad*/
set a_x=5.5mm
set b_y=8.9mm
/*distance between drill holes*/
set c=4.4mm
/*x distance drill hole -> outer edge pin 1*/
set f=3.75mm
/*drill hole diameter*/
set d=0.9mm
/*distance outer edge of pin1 -> PCB edge*/
set e=9mm
/*outline x direction, center holes -> edges*/
set A1_x=3.3mm
set A2_x=5.9mm
/*outline y direction*/
set B_y=7.7mm
set silk=0.1mm
__0: vec @(0mm, 0mm)
frame pads @
frame pads_gnd @
frame holes @
frame outline @
measy pad.ll -> pad.ur -l-2mm
measy pad_gnd.pos2_ll -> pad_gnd.pos2_ur 0.3mm
measx pad_gnd.pos1_ll -> pad_gnd.pos1_ur -1mm
measy __0 -> pads.pos -0.5mm
measy pads.pos >> pads.pos -1.5mm
measx pads_gnd.pos >> pads_gnd.pos 2mm
measx outline.ur2 >> pad.ur 3.5mm
measx outline.ll >> holes.c2 -3mm
measy holes.c2 >> holes.c1 A2_x+1mm
measy outline.ll2 >> outline.ur2 2mm
measx pad.ll -> pads.pos -1mm
measy pads_gnd.pos << pad_gnd.center -5mm

View File

@ -1,99 +0,0 @@
/* MACHINE-GENERATED ! */
frame pad {
table
{ h, w }
{ 2mm+2*enlarge, 1.2mm }
__0: vec @(w/2, h/2)
__1: vec @(-w/2, -h/2)
pad "$name" . __0
}
frame pads {
table
{ name, x }
{ 1, 3.5mm }
{ 2, 1mm }
{ 3, -1mm }
{ 4, -3.5mm }
set enlarge = 0.1mm
__0: vec @(0mm, 2.6mm+enlarge)
__1: vec .(x, 0mm)
frame pad .
}
frame shield {
table
{ name, x }
{ 5, -B/2 }
{ 6, B/2 }
table
{ hi, wi }
{ 2.5mm, 1mm }
set ratio = 2
set ho = hi*ratio
set wo = wi*ratio
__0: vec @(x, 0mm)
__1: vec .(wo/2, ho/2)
__2: vec __0(-wo/2, -ho/2)
rpad "$name" . __1
__3: vec __0(wi/2, hi/2)
__4: vec __0(-wi/2, -hi/2)
hole . __3
}
frame holes {
set d = 1.15mm
table
{ x }
{ -C/2 }
{ C/2 }
__0: vec @(x, 0mm)
__1: vec .(d/2, d/2)
__2: vec __0(-d/2, -d/2)
hole . __1
}
frame edge {
set w = 5mil
__0: vec @(0mm, -2.75mm)
__1: vec .(B/2, 0mm)
__2: vec __0(-B/2, 0mm)
line . __1 w
}
package "USB-A-PLUG-SMT"
unit auto
table
{ A, B, C }
{ 2mm, 11.4mm, 4.5mm }
frame edge @
frame holes @
frame pads @
frame shield @
measx pads.__1 >> pads.__1 3mm
measx pads.__1 -> pads.__1 2.5mm
measx pad.__1 -> pad.__0 3mm
measy pad.__1 -> pad.__0 0.5mm
measx shield.__2 -> shield.__1 -2.5mm
measy shield.__2 -> shield.__1 1.5mm
measy shield.__4 -> shield.__3 1mm
measx shield.__4 -> shield.__3 -2mm
measx shield.__0 >> shield.__0 6.5mm
measx holes.__0 >> holes.__0 -1.5mm
measy holes.__2 -> holes.__1 1mm
measy edge.__1 >> shield.__0 -2mm
measy pads.__0 << shield.__0 -2mm