From: Dan White Date: Mon, 13 Feb 2012 19:34:21 +0000 (-0600) Subject: Add footprints, NXP package crossref X-Git-Tag: calibrations~244 X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=12415c866d8d1f327f5e476279af945cf0783db3;p=430.git Add footprints, NXP package crossref --- diff --git a/data/NXP_package-crossref.pdf b/data/NXP_package-crossref.pdf new file mode 100644 index 0000000..9ddde43 Binary files /dev/null and b/data/NXP_package-crossref.pdf differ diff --git a/sch-pcb/fp/SOT753-95P-300L1-5N__TI_DBV_Package.footprinter b/sch-pcb/fp/SOT753-95P-300L1-5N__TI_DBV_Package.footprinter new file mode 100755 index 0000000..4c63c55 --- /dev/null +++ b/sch-pcb/fp/SOT753-95P-300L1-5N__TI_DBV_Package.footprinter @@ -0,0 +1,100 @@ +#!/usr/bin/env python +# -*- coding: ASCII -*- +'''TI SOT753, SC-74A DBV, 5pin variant +from SN74LVC1G125 datasheet +''' +import sys +from footprinter import * + +# +# PCB fab minimums +# +MASK_SWELL = mil(5.0) +MIN_TRACE = mil(6.0) +MIN_SPACE = mil(6.0) +MIN_PAD_ANNULUS = mil(15.0) +MIN_VIA_ANNULUS = mil(10.0) + +# pcb's coordinates are graphics oriented +# x in increasing right +# y in increasing DOWN + +SILK_LINEWIDTH = mil(8.0) + + +padw = mm(1.00) +padh = mm(0.55) +ccspace = mm(2.70) +pitch = mm(0.95) + +bodyw = mm(1.8) +bodyh = mm(3.1) + +npins = 6 + +pads = [] +#left +for i in range(1, npins +1): + if i > npins/2: + side = 1 + else: + side = -1 + + idx = (i-1) % (npins/2) + if npins % 4 == 0: + py = side*pitch*(npins/4 - 0.5) - side*(idx*pitch) + else: + py = side*pitch*(npins/4) - side*(idx*pitch) + + #just reserve space for space, logical pin5 is in physical pin6 spot + if i == 5: + continue + elif i == 6: + i = 5 + + pad = Pad(i, + [ + side * ccspace/2 - padw/2, + py - padh/2, + side * ccspace/2 + padw/2, + py + padh/2 + ], + MIN_SPACE, MASK_SWELL, name=str(i), sflags='square' + ) + pads.append(pad) + + +# silkscreen +lines = [] +#top +lines.append(ElementLine( + -bodyw/2, -bodyh/2, + bodyw/2, -bodyh/2, + SILK_LINEWIDTH)) + +#pin-1 pip +lines.append(ElementLine( + -bodyw/2, -bodyh/2, + -bodyw/2, -bodyh/2 - 1.5*SILK_LINEWIDTH, + SILK_LINEWIDTH)) + +#bottom +lines.append(ElementLine( + -bodyw/2, bodyh/2, + bodyw/2, bodyh/2, + SILK_LINEWIDTH)) + + +fp = Footprint( + padpins=pads, + linearcs=lines, + sflags='', + description='' + ) + +fp.mx = 0 +fp.my = 0 +fp.tx = 0 +fp.ty = 0 +fp.write(sys.stdout) + diff --git a/sch-pcb/fp/SOT753-95P-300L1-5N__TI_DBV_Package.fp b/sch-pcb/fp/SOT753-95P-300L1-5N__TI_DBV_Package.fp new file mode 100644 index 0000000..14e1a39 --- /dev/null +++ b/sch-pcb/fp/SOT753-95P-300L1-5N__TI_DBV_Package.fp @@ -0,0 +1,11 @@ +Element ["" "" "" "" 0nm 0nm 0nm 0nm 0 100 ""] +( +Pad [-1575000nm -950000nm -1125000nm -950000nm 550000nm 152400nm 804000nm "1" "1" "square"] +Pad [-1575000nm 0nm -1125000nm 0nm 550000nm 152400nm 804000nm "2" "2" "square"] +Pad [-1575000nm 950000nm -1125000nm 950000nm 550000nm 152400nm 804000nm "3" "3" "square"] +Pad [1125000nm 950000nm 1575000nm 950000nm 550000nm 152400nm 804000nm "4" "4" "square"] +Pad [1125000nm -950000nm 1575000nm -950000nm 550000nm 152400nm 804000nm "5" "5" "square"] +ElementLine [-900000nm -1550000nm 900000nm -1550000nm 203200nm] +ElementLine [-900000nm -1550000nm -900000nm -1854800nm 203200nm] +ElementLine [-900000nm 1550000nm 900000nm 1550000nm 203200nm] +) diff --git a/sch-pcb/fp/SOT753-95P-300L1-6N__TI_DBV_Package.footprinter b/sch-pcb/fp/SOT753-95P-300L1-6N__TI_DBV_Package.footprinter new file mode 100755 index 0000000..d483bef --- /dev/null +++ b/sch-pcb/fp/SOT753-95P-300L1-6N__TI_DBV_Package.footprinter @@ -0,0 +1,93 @@ +#!/usr/bin/env python +# -*- coding: ASCII -*- +'''TI SOT753, SC-74A DBV, 6pin variant +from SN74LVC1G125 datasheet +''' +import sys +from footprinter import * + +# +# PCB fab minimums +# +MASK_SWELL = mil(5.0) +MIN_TRACE = mil(6.0) +MIN_SPACE = mil(6.0) +MIN_PAD_ANNULUS = mil(15.0) +MIN_VIA_ANNULUS = mil(10.0) + +# pcb's coordinates are graphics oriented +# x in increasing right +# y in increasing DOWN + +SILK_LINEWIDTH = mil(8.0) + + +padw = mm(1.00) +padh = mm(0.55) +ccspace = mm(2.70) +pitch = mm(0.95) + +bodyw = mm(1.8) +bodyh = mm(3.1) + +npins = 6 + +pads = [] +#left +for i in range(1, npins +1): + if i > npins/2: + side = 1 + else: + side = -1 + + idx = (i-1) % (npins/2) + if npins % 4 == 0: + py = side*pitch*(npins/4 - 0.5) - side*(idx*pitch) + else: + py = side*pitch*(npins/4) - side*(idx*pitch) + pad = Pad(i, + [ + side * ccspace/2 - padw/2, + py - padh/2, + side * ccspace/2 + padw/2, + py + padh/2 + ], + MIN_SPACE, MASK_SWELL, name=str(i), sflags='square' + ) + pads.append(pad) + + +# silkscreen +lines = [] +#top +lines.append(ElementLine( + -bodyw/2, -bodyh/2, + bodyw/2, -bodyh/2, + SILK_LINEWIDTH)) + +#pin-1 pip +lines.append(ElementLine( + -bodyw/2, -bodyh/2, + -bodyw/2, -bodyh/2 - 1.5*SILK_LINEWIDTH, + SILK_LINEWIDTH)) + +#bottom +lines.append(ElementLine( + -bodyw/2, bodyh/2, + bodyw/2, bodyh/2, + SILK_LINEWIDTH)) + + +fp = Footprint( + padpins=pads, + linearcs=lines, + sflags='', + description='' + ) + +fp.mx = 0 +fp.my = 0 +fp.tx = 0 +fp.ty = 0 +fp.write(sys.stdout) + diff --git a/sch-pcb/fp/SOT753-95P-300L1-6N__TI_DBV_Package.fp b/sch-pcb/fp/SOT753-95P-300L1-6N__TI_DBV_Package.fp new file mode 100644 index 0000000..d642d64 --- /dev/null +++ b/sch-pcb/fp/SOT753-95P-300L1-6N__TI_DBV_Package.fp @@ -0,0 +1,12 @@ +Element ["" "" "" "" 0nm 0nm 0nm 0nm 0 100 ""] +( +Pad [-1575000nm -950000nm -1125000nm -950000nm 550000nm 152400nm 804000nm "1" "1" "square"] +Pad [-1575000nm 0nm -1125000nm 0nm 550000nm 152400nm 804000nm "2" "2" "square"] +Pad [-1575000nm 950000nm -1125000nm 950000nm 550000nm 152400nm 804000nm "3" "3" "square"] +Pad [1125000nm 950000nm 1575000nm 950000nm 550000nm 152400nm 804000nm "4" "4" "square"] +Pad [1125000nm 0nm 1575000nm 0nm 550000nm 152400nm 804000nm "5" "5" "square"] +Pad [1125000nm -950000nm 1575000nm -950000nm 550000nm 152400nm 804000nm "6" "6" "square"] +ElementLine [-900000nm -1550000nm 900000nm -1550000nm 203200nm] +ElementLine [-900000nm -1550000nm -900000nm -1854800nm 203200nm] +ElementLine [-900000nm 1550000nm 900000nm 1550000nm 203200nm] +)