mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 11:50:36 +02:00
Reuse some symbols and footprints from IDBG and gta02-core.
This commit is contained in:
parent
e754b057c3
commit
4aa4f44b5b
13
components/INFO
Normal file
13
components/INFO
Normal file
@ -0,0 +1,13 @@
|
||||
#
|
||||
# Tags:
|
||||
#
|
||||
# S Symbol name (must be first)
|
||||
# M Package marking
|
||||
# D Data sheet identifier (N tag of ds/INFO; can be omitted if equal to S)
|
||||
#
|
||||
|
||||
# C8051F326 MCU
|
||||
S: c8051f326
|
||||
|
||||
# mini_usb_b (generic)
|
||||
S: mini_usb_b
|
3
components/c8051f326.dcm
Normal file
3
components/c8051f326.dcm
Normal file
@ -0,0 +1,3 @@
|
||||
EESchema-DOCLIB Version 2.0 Date: Fri Jul 30 15:02:40 2010
|
||||
#
|
||||
#End Doc Library
|
37
components/c8051f326.lib
Normal file
37
components/c8051f326.lib
Normal file
@ -0,0 +1,37 @@
|
||||
EESchema-LIBRARY Version 2.3 Date: Fri Jul 30 15:02:40 2010
|
||||
#
|
||||
# C8051F326
|
||||
#
|
||||
DEF C8051F326 U 0 40 Y Y 1 F N
|
||||
F0 "U" -1000 1200 60 H V C CNN
|
||||
F1 "C8051F326" 0 0 60 H V C CNN
|
||||
DRAW
|
||||
S -1100 1100 1100 -1100 0 1 0 N
|
||||
X P0.0/INT0/nSYSCLK 1 -1400 450 300 R 50 50 1 1 T
|
||||
X GND 2 -1400 300 300 R 50 50 1 1 W
|
||||
X D+ 3 -1400 150 300 R 50 50 1 1 B
|
||||
X D- 4 -1400 0 300 R 50 50 1 1 B
|
||||
X VIO 5 -1400 -150 300 R 50 50 1 1 W
|
||||
X VDD 6 -1400 -300 300 R 50 50 1 1 w
|
||||
X REGIN 7 -1400 -450 300 R 50 50 1 1 W
|
||||
X VBUS 8 -450 -1400 300 U 50 50 1 1 w
|
||||
X nRST/C2CK 9 -300 -1400 300 U 50 50 1 1 I
|
||||
X P3.0/C2D 10 -150 -1400 300 U 50 50 1 1 T
|
||||
X P2.3 11 0 -1400 300 U 50 50 1 1 T
|
||||
X P2.2 12 150 -1400 300 U 50 50 1 1 T
|
||||
X P0.7 22 450 1400 300 D 50 50 1 1 T
|
||||
X P0.6 23 300 1400 300 D 50 50 1 1 T
|
||||
X P0.5/RX 24 150 1400 300 D 50 50 1 1 T
|
||||
X P0.4/TX 25 0 1400 300 D 50 50 1 1 T
|
||||
X P2.5 16 1400 -300 300 L 50 50 1 1 T
|
||||
X P0.3/XTAL2 26 -150 1400 300 D 50 50 1 1 T
|
||||
X P2.4 17 1400 -150 300 L 50 50 1 1 T
|
||||
X P0.2/nINT0 27 -300 1400 300 D 50 50 1 1 T
|
||||
X P2.1 18 1400 0 300 L 50 50 1 1 T
|
||||
X P0.1 28 -450 1400 300 D 50 50 1 1 T
|
||||
X P2.0 19 1400 150 300 L 50 50 1 1 T
|
||||
X PAD 29 900 -1400 300 U 50 50 1 1 W
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
#End Library
|
3
components/mini_usb_b.dcm
Normal file
3
components/mini_usb_b.dcm
Normal file
@ -0,0 +1,3 @@
|
||||
EESchema-DOCLIB Version 2.0 Date: Tue May 26 17:42:05 2009
|
||||
#
|
||||
#End Doc Library
|
23
components/mini_usb_b.lib
Normal file
23
components/mini_usb_b.lib
Normal file
@ -0,0 +1,23 @@
|
||||
EESchema-LIBRARY Version 2.3 Date: 6/6/2009-21:41:38
|
||||
#
|
||||
# MINI_USB_B
|
||||
#
|
||||
DEF MINI_USB_B CON 0 40 Y Y 1 F N
|
||||
F0 "CON" 0 500 60 H V C C
|
||||
F1 "MINI_USB_B" 0 -500 60 H V C C
|
||||
ALIAS CMK_A425-206162-001
|
||||
DRAW
|
||||
S -400 400 350 -400 0 1 0 N
|
||||
X SHELL4 9 550 -300 200 L 50 50 1 1 W
|
||||
X SHELL3 8 550 -150 200 L 50 50 1 1 W
|
||||
X SHELL2 7 550 150 200 L 50 50 1 1 W
|
||||
X SHELL1 6 550 300 200 L 50 50 1 1 W
|
||||
X GND 5 -600 -300 200 R 50 50 1 1 P
|
||||
X ID 4 -600 -150 200 R 50 50 1 1 P
|
||||
X D+ 3 -600 0 200 R 50 50 1 1 B
|
||||
X D- 2 -600 150 200 R 50 50 1 1 B
|
||||
X VBUS 1 -600 300 200 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
#End Library
|
10
ds/INFO
10
ds/INFO
@ -22,3 +22,13 @@ N: avr2005
|
||||
A: at86rf230-design
|
||||
A: design
|
||||
D: http://www.atmel.com/dyn/resources/prod_documents/doc8092.pdf
|
||||
|
||||
# Mini-USB B receptacle (this footprint is fairly universal)
|
||||
N: mini_usb_b
|
||||
D: http://jae-connector.com/en/pdf/SJ037525.pdf
|
||||
# D: http://documents.tycoelectronics.com/commerce/DocumentDelivery/DDEController?Action=srchrtrv&DocNm=1734035&DocType=CD&DocLang=EN
|
||||
|
||||
# Footprints of standard rectangular passive components
|
||||
N: stdpass
|
||||
D: http://www.vishay.com/doc?20035
|
||||
|
||||
|
@ -2,9 +2,15 @@
|
||||
# Tags:
|
||||
#
|
||||
# F Footprint name (must be first)
|
||||
# D Data sheet identifier (N tag of ds/INFO)
|
||||
# D Data sheet identifier (N tag of ds/INFO; can be omitted if equal to F)
|
||||
#
|
||||
|
||||
# TI meandered inverted F antenna
|
||||
F: meander
|
||||
D: AN043
|
||||
|
||||
# Mini-USB B receptable (SMT; almost generic)
|
||||
F: mini_usb_b
|
||||
|
||||
# Standard rectangular passive components
|
||||
F: stdpass
|
||||
|
114
modules/mini-usb.fpd
Normal file
114
modules/mini-usb.fpd
Normal file
@ -0,0 +1,114 @@
|
||||
/*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
|
||||
|
56
modules/stdpass.fpd
Normal file
56
modules/stdpass.fpd
Normal file
@ -0,0 +1,56 @@
|
||||
/* MACHINE-GENERATED ! */
|
||||
|
||||
frame pad_r {
|
||||
ll: vec @(0mm, -b/2)
|
||||
x: vec .(a, 0mm)
|
||||
y: vec ll(0mm, b)
|
||||
pad "2" . x
|
||||
}
|
||||
|
||||
frame pad_l {
|
||||
ll: vec @(-a, -b/2)
|
||||
w: vec .(a, 0mm)
|
||||
h: vec ll(0mm, b)
|
||||
pad "1" . w
|
||||
}
|
||||
|
||||
frame pads {
|
||||
left: vec @(-e/2, 0mm)
|
||||
frame pad_l .
|
||||
right: vec @(e/2, 0mm)
|
||||
frame pad_r .
|
||||
}
|
||||
|
||||
frame outline {
|
||||
ll: vec @(-Ox/2, -Oy/2)
|
||||
ur: vec @(Ox/2, Oy/2)
|
||||
rect ll . silk
|
||||
}
|
||||
|
||||
package "$name"
|
||||
unit mm
|
||||
table
|
||||
{ name, L, W, a, b, e }
|
||||
{ "0201", 0.6mm, 0.3mm, 0.28mm, 0.43mm, 0.23mm }
|
||||
{ "0402", 1mm, 0.5mm, 0.4mm, 0.6mm, 0.5mm }
|
||||
{ "0603", 1.55mm, 0.85mm, 0.5mm, 0.9mm, 1mm }
|
||||
{ "0805", 2mm, 1.25mm, 0.7mm, 1.3mm, 1.2mm }
|
||||
{ "1206", 3.2mm, 1.6mm, 0.9mm, 1.7mm, 2mm }
|
||||
{ "1210", 3.2mm, 2.5mm, 0.9mm, 2.5mm, 2mm }
|
||||
|
||||
set silk = 5mil
|
||||
|
||||
set clear = 5mil
|
||||
|
||||
set Ox = e+2*a+2*clear
|
||||
|
||||
set Oy = b+2*clear
|
||||
|
||||
frame pads @
|
||||
frame outline @
|
||||
measx pad_l.w >> pad_r.ll -0.3mm
|
||||
measx pad_l.ll -> pad_l.w -0.3mm
|
||||
measy pad_l.ll >> pad_l.h 0.3mm
|
||||
measx outline.ll >> outline.ur Oy+0.3mm
|
||||
measy outline.ur >> outline.ll 0.3mm
|
||||
measx pad_l.ll >> pad_r.x -0.5mm
|
Loading…
Reference in New Issue
Block a user