Date:2010-08-09 20:48:06 (8 years 10 months ago)
Author:Werner Almesberger
Commit:4aa4f44b5b880ee8599d8326a8145d8d9f883c53
Message:Reuse some symbols and footprints from IDBG and gta02-core.

Files: components/INFO (1 diff)
components/c8051f326.dcm (1 diff)
components/c8051f326.lib (1 diff)
components/mini_usb_b.dcm (1 diff)
components/mini_usb_b.lib (1 diff)
ds/INFO (1 diff)
modules/INFO (1 diff)
modules/mini-usb.fpd (1 diff)
modules/stdpass.fpd (1 diff)

Change Details

components/INFO
1#
2# Tags:
3#
4# S Symbol name (must be first)
5# M Package marking
6# D Data sheet identifier (N tag of ds/INFO; can be omitted if equal to S)
7#
8
9# C8051F326 MCU
10S: c8051f326
11
12# mini_usb_b (generic)
13S: mini_usb_b
components/c8051f326.dcm
1EESchema-DOCLIB Version 2.0 Date: Fri Jul 30 15:02:40 2010
2#
3#End Doc Library
components/c8051f326.lib
1EESchema-LIBRARY Version 2.3 Date: Fri Jul 30 15:02:40 2010
2#
3# C8051F326
4#
5DEF C8051F326 U 0 40 Y Y 1 F N
6F0 "U" -1000 1200 60 H V C CNN
7F1 "C8051F326" 0 0 60 H V C CNN
8DRAW
9S -1100 1100 1100 -1100 0 1 0 N
10X P0.0/INT0/nSYSCLK 1 -1400 450 300 R 50 50 1 1 T
11X GND 2 -1400 300 300 R 50 50 1 1 W
12X D+ 3 -1400 150 300 R 50 50 1 1 B
13X D- 4 -1400 0 300 R 50 50 1 1 B
14X VIO 5 -1400 -150 300 R 50 50 1 1 W
15X VDD 6 -1400 -300 300 R 50 50 1 1 w
16X REGIN 7 -1400 -450 300 R 50 50 1 1 W
17X VBUS 8 -450 -1400 300 U 50 50 1 1 w
18X nRST/C2CK 9 -300 -1400 300 U 50 50 1 1 I
19X P3.0/C2D 10 -150 -1400 300 U 50 50 1 1 T
20X P2.3 11 0 -1400 300 U 50 50 1 1 T
21X P2.2 12 150 -1400 300 U 50 50 1 1 T
22X P0.7 22 450 1400 300 D 50 50 1 1 T
23X P0.6 23 300 1400 300 D 50 50 1 1 T
24X P0.5/RX 24 150 1400 300 D 50 50 1 1 T
25X P0.4/TX 25 0 1400 300 D 50 50 1 1 T
26X P2.5 16 1400 -300 300 L 50 50 1 1 T
27X P0.3/XTAL2 26 -150 1400 300 D 50 50 1 1 T
28X P2.4 17 1400 -150 300 L 50 50 1 1 T
29X P0.2/nINT0 27 -300 1400 300 D 50 50 1 1 T
30X P2.1 18 1400 0 300 L 50 50 1 1 T
31X P0.1 28 -450 1400 300 D 50 50 1 1 T
32X P2.0 19 1400 150 300 L 50 50 1 1 T
33X PAD 29 900 -1400 300 U 50 50 1 1 W
34ENDDRAW
35ENDDEF
36#
37#End Library
components/mini_usb_b.dcm
1EESchema-DOCLIB Version 2.0 Date: Tue May 26 17:42:05 2009
2#
3#End Doc Library
components/mini_usb_b.lib
1EESchema-LIBRARY Version 2.3 Date: 6/6/2009-21:41:38
2#
3# MINI_USB_B
4#
5DEF MINI_USB_B CON 0 40 Y Y 1 F N
6F0 "CON" 0 500 60 H V C C
7F1 "MINI_USB_B" 0 -500 60 H V C C
8ALIAS CMK_A425-206162-001
9DRAW
10S -400 400 350 -400 0 1 0 N
11X SHELL4 9 550 -300 200 L 50 50 1 1 W
12X SHELL3 8 550 -150 200 L 50 50 1 1 W
13X SHELL2 7 550 150 200 L 50 50 1 1 W
14X SHELL1 6 550 300 200 L 50 50 1 1 W
15X GND 5 -600 -300 200 R 50 50 1 1 P
16X ID 4 -600 -150 200 R 50 50 1 1 P
17X D+ 3 -600 0 200 R 50 50 1 1 B
18X D- 2 -600 150 200 R 50 50 1 1 B
19X VBUS 1 -600 300 200 R 50 50 1 1 P
20ENDDRAW
21ENDDEF
22#
23#End Library
ds/INFO
2222A: at86rf230-design
2323A: design
2424D: http://www.atmel.com/dyn/resources/prod_documents/doc8092.pdf
25
26# Mini-USB B receptacle (this footprint is fairly universal)
27N: mini_usb_b
28D: http://jae-connector.com/en/pdf/SJ037525.pdf
29# D: http://documents.tycoelectronics.com/commerce/DocumentDelivery/DDEController?Action=srchrtrv&DocNm=1734035&DocType=CD&DocLang=EN
30
31# Footprints of standard rectangular passive components
32N: stdpass
33D: http://www.vishay.com/doc?20035
34
modules/INFO
22# Tags:
33#
44# F Footprint name (must be first)
5# D Data sheet identifier (N tag of ds/INFO)
5# D Data sheet identifier (N tag of ds/INFO; can be omitted if equal to F)
66#
77
88# TI meandered inverted F antenna
99F: meander
1010D: AN043
11
12# Mini-USB B receptable (SMT; almost generic)
13F: mini_usb_b
14
15# Standard rectangular passive components
16F: stdpass
modules/mini-usb.fpd
1/*Mini USB Type B connector*/
2
3frame pad{
4    set name=i
5    ur: vec @(0mm,w/2)
6    ll: vec @(-l,-w/2)
7    pad "$name" ur ll
8}
9frame pad_gnd {
10    set name1=i
11    set name2=i+2
12    pos1_ur: vec @(gnd_x/2,gnd_y/2)
13    pos2_ur: vec .(0mm,-b_y)
14    pos1_ll: vec @(-gnd_x/2,-gnd_y/2)
15    pos2_ll: vec .(0mm,-b_y)
16    center: vec @(0mm,-b_y)
17    pad "$name1" pos1_ur pos1_ll
18    pad "$name2" pos2_ur pos2_ll
19}
20
21frame pads {
22
23    loop i=1,5
24    pos: vec @(0mm,2*p-(i-1)*p)
25    frame pad .
26
27}
28
29frame pads_gnd{
30
31    loop i=6,7
32    pos: vec @(-gnd_x/2-a_x*(i-6),b_y/2)
33    frame pad_gnd .
34
35
36}
37frame holes {
38    c1: vec @(-f,c/2)
39    d1: vec .(0mm,d/2)
40    c2: vec @(-f,-c/2)
41    d2: vec .(0mm,d/2)
42    circ c1 d1 0.01mm
43    circ c2 d2 0.01mm
44
45}
46frame outline {
47    ur: vec @(-f+A1_x,B_y/2)
48    ll: vec @(-e,-B_y/2)
49    rect ur ll silk
50    ur2: vec @(-e,B_y/2)
51    ll2: vec @(-f-A2_x,-B_y/2)
52    rect ur2 ll2 silk
53
54}
55
56package "miniUSB_B"
57unit mm
58
59/*GND pad size*/
60set gnd_y = 2mm
61set gnd_x = 2.5mm
62
63/*pad size*/
64set w=0.5mm
65set l=2.3mm
66
67/*pitch*/
68set p = 0.8mm
69
70/*distance center GND pad -> center pin1 */
71set a=2.85mm
72
73/*distance GND pad -> GND pad*/
74set a_x=5.5mm
75set b_y=8.9mm
76
77/*distance between drill holes*/
78set c=4.4mm
79/*x distance drill hole -> outer edge pin 1*/
80set f=3.75mm
81
82/*drill hole diameter*/
83set d=0.9mm
84
85/*distance outer edge of pin1 -> PCB edge*/
86set e=9mm
87/*outline x direction, center holes -> edges*/
88set A1_x=3.3mm
89set A2_x=5.9mm
90/*outline y direction*/
91set B_y=7.7mm
92
93set silk=0.1mm
94
95__0: vec @(0mm, 0mm)
96frame pads @
97frame pads_gnd @
98frame holes @
99frame outline @
100
101
102measy pad.ll -> pad.ur -l-2mm
103measy pad_gnd.pos2_ll -> pad_gnd.pos2_ur 0.3mm
104measx pad_gnd.pos1_ll -> pad_gnd.pos1_ur -1mm
105measy __0 -> pads.pos -0.5mm
106measy pads.pos >> pads.pos -1.5mm
107measx pads_gnd.pos >> pads_gnd.pos 2mm
108measx outline.ur2 >> pad.ur 3.5mm
109measx outline.ll >> holes.c2 -3mm
110measy holes.c2 >> holes.c1 A2_x+1mm
111measy outline.ll2 >> outline.ur2 2mm
112measx pad.ll -> pads.pos -1mm
113measy pads_gnd.pos << pad_gnd.center -5mm
114
modules/stdpass.fpd
1/* MACHINE-GENERATED ! */
2
3frame pad_r {
4    ll: vec @(0mm, -b/2)
5    x: vec .(a, 0mm)
6    y: vec ll(0mm, b)
7    pad "2" . x
8}
9
10frame pad_l {
11    ll: vec @(-a, -b/2)
12    w: vec .(a, 0mm)
13    h: vec ll(0mm, b)
14    pad "1" . w
15}
16
17frame pads {
18    left: vec @(-e/2, 0mm)
19    frame pad_l .
20    right: vec @(e/2, 0mm)
21    frame pad_r .
22}
23
24frame outline {
25    ll: vec @(-Ox/2, -Oy/2)
26    ur: vec @(Ox/2, Oy/2)
27    rect ll . silk
28}
29
30package "$name"
31unit mm
32table
33    { name, L, W, a, b, e }
34    { "0201", 0.6mm, 0.3mm, 0.28mm, 0.43mm, 0.23mm }
35    { "0402", 1mm, 0.5mm, 0.4mm, 0.6mm, 0.5mm }
36    { "0603", 1.55mm, 0.85mm, 0.5mm, 0.9mm, 1mm }
37    { "0805", 2mm, 1.25mm, 0.7mm, 1.3mm, 1.2mm }
38    { "1206", 3.2mm, 1.6mm, 0.9mm, 1.7mm, 2mm }
39    { "1210", 3.2mm, 2.5mm, 0.9mm, 2.5mm, 2mm }
40
41set silk = 5mil
42
43set clear = 5mil
44
45set Ox = e+2*a+2*clear
46
47set Oy = b+2*clear
48
49frame pads @
50frame outline @
51measx pad_l.w >> pad_r.ll -0.3mm
52measx pad_l.ll -> pad_l.w -0.3mm
53measy pad_l.ll >> pad_l.h 0.3mm
54measx outline.ll >> outline.ur Oy+0.3mm
55measy outline.ur >> outline.ll 0.3mm
56measx pad_l.ll >> pad_r.x -0.5mm

Archive Download the corresponding diff file



interactive