Use the TO252 package for an n-fet.
authorKeith Packard <keithp@keithp.com>
Tue, 22 Dec 2015 19:33:29 +0000 (11:33 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 22 Dec 2015 19:33:29 +0000 (11:33 -0800)
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 <keithp@keithp.com>
packages/TO252.5c
preferred-parts
symbols/common/n-fet.sym

index efe642399cd3bf1cb5c8257c63ff797ae6fccb82..39c9f6f0f2696fbf6560fd7f0b0568fdc6b2a785 100644 (file)
 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,
index b86c39da96def18a70b1d04cc5e4f6246debeccd..ede39346a90d4b154e183b759d7491212c88131d 100644 (file)
@@ -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
index adbaa754b25f138defdd42362ee07c11a581add6..3a6f90612c87a786b52a905d0b44c28fe0b1fe5a 100644 (file)
@@ -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