From 7c1383d43eb56a0243c75139b78cd3607ba8c6b7 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 2 Sep 2010 18:05:15 -0300 Subject: [PATCH] Added components (transistor and balun) for the uSD variant. - atusd/Makefile: - AUTHORS, atusd/Makefile, atusd/dtc123.lib, atusd/dtc123je.fpd: borrowed the DTC123 symbol (Alvaro Lopes) and footprint (Dave Ball) from gta02-core. Note that this isn't the part I'm using in my prototype, and I'm trying to get rid of it entirely, so all this will change before too long. - components/BOOKSHELF, components/INFO, components/balun.lib, modules/Makefile, modules/INFO, modules/0805-6.fpd: added the Wuerth 748421245 balun makefile --- AUTHORS | 5 ++++ BOOKSHELF | 9 +++++++ atusd/Makefile | 23 +++++++++++++++++ atusd/dtc123.lib | 35 ++++++++++++++++++++++++++ atusd/dtc123je.fpd | 22 +++++++++++++++++ components/INFO | 3 +++ components/balun.lib | 34 +++++++++++++++++++++++++ modules/0805-6.fpd | 59 ++++++++++++++++++++++++++++++++++++++++++++ modules/INFO | 3 +++ modules/Makefile | 2 +- 10 files changed, 194 insertions(+), 1 deletion(-) create mode 100644 atusd/Makefile create mode 100644 atusd/dtc123.lib create mode 100644 atusd/dtc123je.fpd create mode 100644 components/balun.lib create mode 100644 modules/0805-6.fpd diff --git a/AUTHORS b/AUTHORS index a64b19d..a44736c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,5 +1,10 @@ +Dave Ball + + atusd/dtc123je.fpd + Alvaro Lopes + atusd/dtc123.lib components/mini_usb_b.lib components/xtal-4.lib (originally tas4025a.lib) diff --git a/BOOKSHELF b/BOOKSHELF index 815cbda..be01c59 100644 --- a/BOOKSHELF +++ b/BOOKSHELF @@ -78,3 +78,12 @@ D: http://www.ndk.com/images/products/catalog/c_NX3225SA-STD-CSR-3_e.pdf N: ltst-c190krkt A: led D: http://optoelectronics.liteon.com/en-us/api/DwonloadFileHandler.ashx?txtSpecNo=DS-22-99-0151&txtPartNo=LTST-C190KRKT + +# MMST3904 +N: mmst3904 +D: http://www.diodes.com/datasheets/ds30082.pdf + +# Wuerth 748421245 balun/filter +N: 748421245 +A: balun2 +D: http://katalog.we-online.de/kataloge/eisos/media/pdf/748421245.pdf diff --git a/atusd/Makefile b/atusd/Makefile new file mode 100644 index 0000000..f11e477 --- /dev/null +++ b/atusd/Makefile @@ -0,0 +1,23 @@ +NAME = atusd + +.PHONY: all gen generate sch brd xpdf + +all: dtc123je.mod + @echo "make what ? target: gen sch brd xpdf" + @exit 1 + +gen generate: + eeschema --plot `pwd`/atusd.sch + # need scripts + +sch: + eeschema `pwd`/atusd.sch + +brd: + pcbnew `pwd`/atusd.brd + +xpdf: + xpdf atusd.pdf + +dtc123je.mod: dtc123je.fpd + fped -k $< >$@ || { rm -f $@; exit 1; } diff --git a/atusd/dtc123.lib b/atusd/dtc123.lib new file mode 100644 index 0000000..18f0f04 --- /dev/null +++ b/atusd/dtc123.lib @@ -0,0 +1,35 @@ +EESchema-LIBRARY Version 2.3 Date: Sa 13 Jun 2009 13:44:32 CDT +# +# DTC123 +# +DEF DTC123 Q 0 40 Y N 1 F N +F0 "Q" -100 225 60 H V C CNN +F1 "DTC123" -200 -300 60 H V C CNN +ALIAS DTC123JETL +DRAW +P 5 0 1 0 190 -90 170 -30 130 -70 190 -90 190 -90 F +C -50 0 5 0 1 0 F +C 200 -180 5 0 1 0 F +P 2 0 1 0 200 -100 200 -250 N +P 2 0 1 0 200 100 200 150 N +P 10 0 1 0 -50 0 -75 0 -85 20 -105 -20 -125 20 -145 -20 -165 20 -185 -20 -195 0 -210 0 N +P 2 0 1 0 -50 -180 200 -180 N +P 2 0 1 0 -50 -150 -50 -180 N +P 2 0 1 0 100 0 -50 0 N +C 150 0 0 0 1 0 N +P 3 0 1 0 150 -50 100 0 100 0 N +P 2 0 1 0 100 0 200 100 N +P 3 0 1 0 190 -90 200 -100 200 -100 N +P 3 0 1 10 100 75 100 -75 100 -75 N +P 7 0 1 0 -50 -30 -30 -40 -70 -60 -30 -80 -70 -100 -30 -120 -50 -130 N +P 3 0 1 0 -50 -130 -70 -140 -50 -150 N +P 2 0 1 0 -50 0 -50 -30 N +P 2 0 1 0 -210 0 -250 0 N +S -250 150 250 -250 0 1 0 N +X C 3 200 250 100 D 40 40 1 1 P +X B 1 -350 0 100 R 40 40 1 1 I +X E 2 200 -350 100 U 40 40 1 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/atusd/dtc123je.fpd b/atusd/dtc123je.fpd new file mode 100644 index 0000000..46fcbc1 --- /dev/null +++ b/atusd/dtc123je.fpd @@ -0,0 +1,22 @@ +/* MACHINE-GENERATED ! */ + +package "dtc123je" +unit mm +__0: vec @(0mm, 1.3mm) +__1: vec __0(-0.7mm/2, 0.7mm/2) +__2: vec .(0.7mm, -0.7mm) +pad "3" __1 . +__3: vec @(0.5mm, 0mm) +__4: vec __3(-0.6mm/2, 0.7mm/2) +__5: vec .(0.6mm, -0.7mm) +pad "1" __4 . +__6: vec @(-0.5mm, 0mm) +__7: vec __6(-0.6mm/2, 0.7mm/2) +__8: vec .(0.6mm, -0.7mm) +pad "2" __7 . +measx __6 >> __3 -0.5mm +measy __3 >> __0 -0.5mm +measy __8 >> __7 0.8mm +measx __7 >> __8 0.2mm +measx __1 >> __2 0.2mm +measy __2 >> __1 0.9mm diff --git a/components/INFO b/components/INFO index e8e2e4e..515c857 100644 --- a/components/INFO +++ b/components/INFO @@ -25,3 +25,6 @@ N: nx3225sa # Generic antenna with ground on pin 1, feed on pin 2 S: antenna + +# Typical SMT balun configuration +S: balun diff --git a/components/balun.lib b/components/balun.lib new file mode 100644 index 0000000..8cd7bb6 --- /dev/null +++ b/components/balun.lib @@ -0,0 +1,34 @@ +EESchema-LIBRARY Version 2.3 Date: Thu Sep 2 15:10:08 2010 +# +# BALUN +# +DEF BALUN B 0 40 Y Y 1 F N +F0 "B" -300 350 60 H V C CNN +F1 "BALUN" -200 -350 60 H V C CNN +DRAW +T 0 -250 -250 50 0 0 0 GND Normal 0 C C +A -100 -149 49 900 -11 0 1 0 N -100 -100 -50 -150 +A -100 -49 49 900 -11 0 1 0 N -100 0 -50 -50 +A -100 51 49 900 -11 0 1 0 N -100 100 -50 50 +A -100 151 49 900 -11 0 1 0 N -100 200 -50 150 +A -99 -150 49 0 -911 0 1 0 N -50 -150 -100 -200 +A -99 -50 49 0 -911 0 1 0 N -50 -50 -100 -100 +A -99 50 49 0 -911 0 1 0 N -50 50 -100 0 +A -99 150 49 0 -911 0 1 0 N -50 150 -100 100 +A 99 -150 49 1800 -888 0 1 0 N 50 -150 100 -200 +A 99 -50 49 1800 -888 0 1 0 N 50 -50 100 -100 +A 99 50 49 1800 -888 0 1 0 N 50 50 100 0 +A 99 150 49 1800 -888 0 1 0 N 50 150 100 100 +A 100 -149 49 900 -1788 0 1 0 N 100 -100 50 -150 +A 100 -49 49 900 -1788 0 1 0 N 100 0 50 -50 +A 100 51 49 900 -1788 0 1 0 N 100 100 50 50 +A 100 151 49 900 -1788 0 1 0 N 100 200 50 150 +X ~ 1 -400 200 300 R 50 50 1 1 P +X ~ 2 400 0 300 L 50 50 1 1 W +X ~ 3 400 200 300 L 50 50 1 1 P +X ~ 4 400 -200 300 L 50 50 1 1 P +X ~ 5 -400 -200 300 R 50 50 1 1 W +ENDDRAW +ENDDEF +# +#End Library diff --git a/modules/0805-6.fpd b/modules/0805-6.fpd new file mode 100644 index 0000000..90bbe74 --- /dev/null +++ b/modules/0805-6.fpd @@ -0,0 +1,59 @@ +/* MACHINE-GENERATED ! */ + +frame pad { + set l = a+0.1mm + + set s = c+0.2mm + + __0: vec @(-l/2, -s/2) + __1: vec @(l/2, s/2) + pad "$n" __0 . +} + +frame pads { + table + { n, x, y } + { 1, 1, 1 } + { 2, 0, 1 } + { 3, -1, 1 } + { 4, -1, -1 } + { 5, 0, -1 } + { 6, 1, -1 } + + set sy = (B-c)/2 + + __0: vec @(x*e, y*sy) + frame pad . +} + +frame outline { + set L = A+2*clear + + set W = B+2*clear+0.4mm + + set clear = 5mil + + set width = 5mil + + __0: vec @(-L/2, -W/2) + __1: vec @(L/2, W/2) + rect __0 . width +} + +package "0805-6" +unit mm + +table + { A, B, a, c, e } + { 2mm, 1.25mm, 0.3mm, 0.3mm, 0.65mm } + +frame pads @ +frame outline @ +measx pad.__0 -> pad.__1 -1mm +measy pad.__1 -> pad.__0 1.5mm +measx pad.__1 -> pad.__0 -1.5mm +measx pad.__0 >> pad.__1 -1.5mm +measy pad.__0 -> pad.__1 1.1mm +measy pad.__0 >> pad.__1 1.5mm +measx outline.__0 >> outline.__1 -1.5mm +measy outline.__0 >> outline.__1 1.5mm diff --git a/modules/INFO b/modules/INFO index fa5e62b..30a88bb 100644 --- a/modules/INFO +++ b/modules/INFO @@ -47,3 +47,6 @@ N: nx3225sa # Solder pads and test points F: pads + +# 0805 package with six pads +F: 0805-6 diff --git a/modules/Makefile b/modules/Makefile index d5e9e2b..de8bfe2 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -1,4 +1,4 @@ -MODULES=meander mini-usb pads qfn qfp stdpass xtal-4 +MODULES=0805-6 meander mini-usb pads qfn qfp stdpass xtal-4 .SUFFIXES: .fpd .mod .PHONY: all clean