From: Keith Packard Date: Thu, 24 Dec 2015 03:38:03 +0000 (-0800) Subject: Create new TO252FET footprint for IRLR8743PbF X-Git-Tag: telelco-v3.0~639 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=ba16aec479010d51d1a17b1f1ef9dd8107ed2acc;p=hw%2Faltusmetrum Create new TO252FET footprint for IRLR8743PbF This uses the same geometry as the LD29150DT50R, but with a different pin label and numbering scheme. This also reverts the pin renumbering in the n-fet symbol. Signed-off-by: Keith Packard --- diff --git a/packages/Makefile b/packages/Makefile index 7dc89bd..6e6c3fb 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -90,6 +90,7 @@ FOOTPRINTS= \ BU2032SM.fp \ TO252AA.fp \ TO252.fp \ + TO252FET.fp \ SD.fp \ microSD.fp \ v-bite.fp \ diff --git a/packages/TO252FET.5c b/packages/TO252FET.5c new file mode 100644 index 0000000..fe75df8 --- /dev/null +++ b/packages/TO252FET.5c @@ -0,0 +1,53 @@ +/* + * Copyright © 2015 Keith Packard + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ + +/* TO-252/DPAK footprint from ST */ + +load "footprint.5c"; +import Footprint; + +real gnd_width = 6.3; +real gnd_height = 6.1; + +real pad_width = 1.5; +real pad_height = 2.8; +real pad_space = 4.572; + +real total_height = 10.7; +real gnd_y = pad_height / 2 + gnd_height / 2 - total_height; + +real pkg_width = 6.5; +real pkg_height = 6.1; +real pkg_center_y = 1.5/2 - 2.8 - pkg_height/2; + +element_start("TO252"); + +pad_mm(-pad_space/2, 0, + pad_width, pad_height, + "G", "3"); + +pad_mm(0, gnd_y, + gnd_width, gnd_height, + "D", "1"); + +pad_mm(pad_space/2, 0, + pad_width, pad_height, + "S", "2"); + +rect(-pkg_width / 2, pkg_center_y - pkg_height/2, pkg_width, pkg_height); + +element_end(); diff --git a/preferred-parts b/preferred-parts index ede3934..ee2589b 100644 --- a/preferred-parts +++ b/preferred-parts @@ -120,7 +120,7 @@ LED orange topled smt no LO T67K-L1M2-24-Z digikey 475-1178-1-ND LED red 0603diode smt no LTST-C190KAKT digikey 160-1433-1-ND LED yellow 0603diode smt no LTST-C191KSKT digikey 160-1448-1-ND MOSFET Si7232DN 1212-8 smt no SI7232DN-T1-GE3 mouser 781-SI7232DN-GE3 -MOSFET IRLR8743PbF TO252AA smt no IRLR8743PbF digikey IRLR8743PBF-ND +MOSFET IRLR8743PbF TO252FET smt no IRLR8743PbF digikey IRLR8743PBF-ND NPN_TRANSISTOR MMBT2222A SOT23 smt no MMBT2222A digikey MMBT2222AFSCT-ND PHOTORESISTOR PDV-P8103 100mil2pin throughhole no PDV-P8103 digikey PDV-P8103-ND RELAY G5RL-1(A) g5rl1ae throughhole no G5RL-1A-E-HR-DC5 mouser 653-G5RL-1AEHR-DC5 diff --git a/symbols/common/n-fet.sym b/symbols/common/n-fet.sym index 3a6f906..95080d1 100644 --- a/symbols/common/n-fet.sym +++ b/symbols/common/n-fet.sym @@ -12,33 +12,33 @@ L 399 251 349 351 3 0 0 0 -1 -1 P 600 0 600 200 1 0 0 { T 700 150 5 10 1 1 180 6 1 -pinnumber=1 +pinnumber=3 T 550 100 9 10 1 1 180 0 1 pinlabel=G T 500 0 5 10 0 0 90 0 1 -pinseq=1 +pinseq=3 T 500 0 5 10 0 0 90 0 1 pintype=pas } P 200 500 0 500 1 0 1 { T 105 545 5 10 1 1 0 6 1 -pinnumber=2 +pinnumber=1 T 55 295 9 10 1 1 0 0 1 pinlabel=D T 100 300 5 10 0 0 90 0 1 -pinseq=2 +pinseq=1 T 100 300 5 10 0 0 90 0 1 pintype=pas } P 600 500 800 500 1 0 1 { T 695 545 5 10 1 1 0 0 1 -pinnumber=3 +pinnumber=2 T 745 295 9 10 1 1 0 6 1 pinlabel=S T 800 300 5 10 0 0 90 0 1 -pinseq=3 +pinseq=2 T 800 300 5 10 0 0 90 0 1 pintype=pas } @@ -50,5 +50,3 @@ L 525 250 675 250 3 0 0 0 -1 -1 L 200 200 600 200 3 0 0 0 -1 -1 L 400 250 400 400 3 0 0 0 -1 -1 L 400 400 600 400 3 0 0 0 -1 -1 -T -5 -30 8 10 0 1 0 0 1 -footprint=TO252