From 5032618781f866f154fcd8d7fa2b4c05c8738153 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 22 Dec 2015 11:33:29 -0800 Subject: [PATCH] Use the TO252 package for an n-fet. This meant switching the pin numbers on the n-fet symbol around to match the TO252 numbers, which may not always be correct for different packages, but at least it works for the IRLR8743PbF. Signed-off-by: Keith Packard --- packages/TO252.5c | 10 +++++----- preferred-parts | 2 ++ symbols/common/n-fet.sym | 12 ++++++------ 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/packages/TO252.5c b/packages/TO252.5c index efe6423..39c9f6f 100644 --- a/packages/TO252.5c +++ b/packages/TO252.5c @@ -20,15 +20,15 @@ load "footprint.5c"; import Footprint; -real gnd_width = 6.3; -real gnd_height = 6.1; +real body_width = 6.3; +real body_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 body_y = pad_height / 2 + body_height / 2 - total_height; real pkg_width = 6.5; real pkg_height = 6.1; @@ -40,8 +40,8 @@ pad_mm(-pad_space/2, 0, pad_width, pad_height, "1", "1"); -pad_mm(0, gnd_y, - gnd_width, gnd_height, +pad_mm(0, body_y, + body_width, body_height, "2", "2"); pad_mm(pad_space/2, 0, diff --git a/preferred-parts b/preferred-parts index b86c39d..ede3934 100644 --- a/preferred-parts +++ b/preferred-parts @@ -54,6 +54,7 @@ CONNECTOR USBmicroV 1051330011 smt no 1051330011 digikey WM10134CT-ND CONNECTOR BNC v-bite smt no 361V504ET digikey 991-1037-ND CONNECTOR BigTerminal-10 mkds5n-10 throughhole no 1777626 mouser 651-1777626 CONNECTOR PJ-037AH PJ-037A throughhole no PJ-037AH digikey CP-037AH-ND +CONNECTOR Header-5 100mil5pin throughhole no PPTC051LFBN-RC digikey S6103-ND CONNECTOR Header-6 100mil6pin throughhole no PPTC061LFBN-RC digikey S7004-ND CONNECTOR Header-8 100mil8pin throughhole no PPTC081LFBN-RC digikey S7006-ND CONNECTOR Screw-4 282834-4 throughhole no 282834-4 digikey A98335-ND @@ -91,6 +92,7 @@ IC MAX-7Q UBLOX-MAX smt yes MAX-7Q u-blox MAX-7Q IC MCP130T-300 SOT23 smt no MCP130T-300I/TT digikey MCP130T-300I/TTCT-ND IC MCP3021 SOT23-5 smt no MCP3021A5T-E/OT digikey MCP3021A5T-E/OTCT-ND IC MCP73831 SOT23-5 smt no MCP73831T-2ACI/OT digikey MCP73831T-2ACI/OTCT-ND +IC MIC5235 SOT23-5 smt no MIC5235-3.3YM5-TR digikey 576-2784-1-ND IC MKL02Z32VFG4 qfn16-3x3 smt no MKL02Z32VFG4 digikey MKL02Z32VFG4-ND IC MMA6555 AN3111 smt no MMA6555KW mouser 841-MMA6555KW IC MPU-6000 MPU6000 smt no MPU-6000 cdiweb MPU-6000 diff --git a/symbols/common/n-fet.sym b/symbols/common/n-fet.sym index adbaa75..3a6f906 100644 --- a/symbols/common/n-fet.sym +++ b/symbols/common/n-fet.sym @@ -12,29 +12,29 @@ 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=3 +pinnumber=1 T 550 100 9 10 1 1 180 0 1 pinlabel=G T 500 0 5 10 0 0 90 0 1 -pinseq=2 +pinseq=1 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=1 +pinnumber=2 T 55 295 9 10 1 1 0 0 1 pinlabel=D T 100 300 5 10 0 0 90 0 1 -pinseq=1 +pinseq=2 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=2 +pinnumber=3 T 745 295 9 10 1 1 0 6 1 pinlabel=S T 800 300 5 10 0 0 90 0 1 @@ -51,4 +51,4 @@ 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=SuperSOT3 +footprint=TO252 -- 2.47.2