The 4 best transistors to keep in your parts kit

When your project needs a transistor, there are tons of choices.  Which makes answering the question “Which transistor should I use or buy?” a daunting task.  Fear not, before wading through spec sheet after spec sheet, consider one of these four general purpose transistors.  Every electronics enginerd’s toolbox should have a few of each.

Transistors are one of the most versatile discrete components in electronics.  In digital circuits, they switch on and off while in analog circuits they are used to amplify signals.  For most projects, they are used to turn on a load that would kill the I/O pin of a microcontroller or microprocessor.   For most circuits either a BJT or MOSFET can be used, depending on the load current you need to switch.

[Edit Note]  Jan (comment below) points out that there are European Equivalents that may be more available for those located in that part of the world. For NPN Check out the BC547, for PNP the BC557.

Here are some more details on each of these.

Best Transistors: BJTs

Bipolar transistors come in small packages, can be driven by I/O pins directly, and are VERY cheap. There are two variants, the NPN and PNP. These little guys are the workhorses of most control circuits, for small current applications. You’ll commonly find through-hole parts in the 3-pin TO-92 style package.

#1  NPN – 2N3904

You can find most often NPN Transistors in low-side switch circuits. This configuration means whatever you want to control is connected between the “high” voltage and the collector of the transistor. Check out this post for more information on low-side vs. high-side switches.

A common transistor I use is the 2N3904. You can easily switch big, like great than 12 volt loads with this transistor’s max 40 volt rating. Its current rating is only 200mA, but that is enough for most relays.

2N3904 from Mouser

#2  PNP – 2N3906

For high-side switch circuits, you need a PNP style BJT. A high-side circuit is where the load sits between the transistor’s collector and the circuit’s ground. Its emitter connects to the “high voltage.” Since I recommended a 2N3904 for the NPN, I will suggest its complement: the 2n3906. Like the NPN, it has the same max voltage and current ratings: 40V and 200mA. Check out this post for more information on low-side vs. high-side switches.

2N3906 from Mouser

#3  Power – TIP120

One of the advantages of BJTs is that they are easily driven from an Arduino or Raspberry Pi I/O pin. When configured as a “Darlington pair,” they can provide significantly higher current capability than single transistors. The TIP120 is a Darlington pair that can handle as much as 5 amps when in a TO-220 package. You sometimes see the same package used for LM7805 linear regulators. If you want to drive that much current, do not forget the heat sink!

TIP120 from Mouser

Best Transistors: MOSFETs

When you have to drive many amps of current, MOSFETs are fantastic. However, most do not work at “logic levels,” meaning they typically need 10 to 15 volts to switch them on properly.  Such a high voltage is tough to reach for an Arduino’s 5 volt I/O pin, let alone a Beaglebone or Raspberry Pi.

If you are new to MOSFETs, check out my MOSFET video tutorial (scroll to bottom) and this post on dispelling MOSFET myths.

#4  N-Channel (Logic Level) – FQP30N06L

These workhorse transistors have a max 60 volt and 30 amp rating. Not milliamps. Amps! (Though, you will need a heat sink!) They cost nearly 2X what a TIP120 costs, but they drive way-way more current.  The best part?  With a “logic level” compatible Vgs-threshold, an Arduino can easily drive them with its 5.0 volt output pin. These properties are why I keep a pile of FQP30N06s on hand.

FQP30N06L from Mouser

FPQ30N06L from Amazon

Conclusion

These four general purpose transistors will cover a wide range of uses. Having a couple of each in your box will come in handy for nearly any project.  Leave a comment below on which transistors you keep on hand.

Update:  I’ve added a quick note about the European alternatives for NPN and PNP BJTs.

Long comments, URLs, and code tend to get flagged for spam moderation. No need to resubmit.

ALL comments submitted with fake or throw-away services are deleted, regardless of content.

Don't be a dweeb.

Leave a comment

63 thoughts on “The 4 best transistors to keep in your parts kit

  1. Loved your article. I have by my side some 2n7000, do you know a transistor available which is the p type of the 2n7000?

  2. I’d suggest the IRL2203, which has 10mOhm on resistance at 4.5V gate voltage. When conducting 30A, it only dissipates 0.3W, which will raise its temperature to about 20C above ambient. No heatsink required.

  3. what i am trying to build is a shotclock using arduino as its microcontroller, this contains about 49 segments of led strip and each strip has a rating of 12v,1.5 watts now i am not sure if this 2n2222 has enough rating if i use this transistor in each segment and by only using a single 12v dc source witihin the ckt of this 2n2222 of course the arduino will only look like an actuator like a relay but my problem if i only paralleled all these segments(different 2n2222) in a single dc source

    • Sure, you can do this with a single 12V supply. 12V at 1.5W = 125 mA per segment, x 49 segments = 6.125 Amps. 49 segments / 7 per digit = 7 digits. So when the display is using the most current, 888888 , the required current is 6.125 Amps, so you need a 12 volt supply that can deliver at least 6.125 amps. I would target at least an 8 Amps supply so that there is some safety margin.

  4. what im going to do is to power up a shotclock using arduino as its microcontroller but each bar of the 7 segment has a power rating of 1.5w,12v if i use this 2n2222 for each digital output of the arduino to power up each segment and all of these segments were just powered up by a single dc source will it still work fine?

  5. What about IRLZ44N? It is also a logic lovel power mosfet, with even lower resistance RDSon (only 0.022 Ohm), ad rated for 55V and 47Amps!!!

    • Keep in mind that Vgs is the minimum voltage to start turning on the transistor. So at 2 V, the rated minimum, you cannot get the full 47 Amps or an RDSon of 22mOhm. It is still an impressive MOSFET and one worth considering. With a Vgs of 3.3 volts, you could still pull 10-20 Amps through it.

  6. Thanks you so much for suggesting IRLU024N. I was looking for something I can source locally here in US. Got 10 of these on Arrow.com for $3.8, next day air delivery!!

  7. Many micro controllers use 3.3 volt instead of 5 volt.
    I’ve been searching around but could not find a logic level MOSFET which worked with 3.3 volts.
    Do you have any suggestions about how to solve this?

  8. Hi, I need to Drive a 12volt Led panel ( having a total of 32 leds in it ) ,it consumes 140 mamp current ,now i need to drive it by raspberry pi GPIO ,so can you recommend which bjt or MOSFET shall I use to drive it properly.
    Thanks

  9. I would like to build a Microprocessor from discrete transistors. Would look like the Monster6502. I decided to go for CMOS logic. Which transistor are best suited? My search resulted that many transistors are designed for high power, which is not the case with my processor. And thus they are usually more expensive. I found the FDV303N and FDV304P transistors by Fairchild. But they are SOT23 and therefore too tiny for soldering by hand, I fear.

    PS: I didn’t examine the electrical charecteristics yet. Will it do soon after watching some of your videos 😉

    • SOT23 are big enough for hand soldering, even with a fairly cheap iron (I often use an old Antex at work). I’ve been soldering smaller packages at work for over 10 years, including 0402 passives and 0.5mm pitch semis, but many of us need magnification – even an illuminated magnifier should be plenty for SOT23 and 0805 or 0603 passives, a stereo microscope if you plan to go smaller. I haven’t been able to persuade my boss that I do enough rework to justify something like the Mantis Elite or a digital equivalent – should you decide to go down the SMT route and get any sort of microscope, remember that working distance needs to be greater than most microscopes are designed for, and investing in a lens cover to keep crud from condensing on ithe lenses will save you much pain.
      The trick with SMT is to add flux first – the 24/26 gauge solder wires don’t provide enough, and it helps to hold the component in place. The solder you add to the joint will probably be enough for 3 or more joints on a pre-tinned PCB, dragging the tip along a row of components and they are all soldered was awesome the first time I saw it, when moving from through-hole components.

  10. Thanks for you article. I am curious what you would recommend for a jfet. It seems that the j201 is the most popular choice, but it’s limitation of 50ma leaves me to wonder if there is a better choice ?
    What I am using it for:
    I believe I need to use a jfet for a robot project. The motordriver (Sabertooth) e-stop signal line connected high (+5v) will allow the motors to operate. Removing the +5v (line is pulled low) will stop the motor driver.
    I have an e-stop button connected to to ground, and need to use that to break the 5v e-stop line (+5 to signal input). I am planning on using the j201, but am wondering if there is a better way to connect my “e-stop push button”. Thanks

    • First, JFETs are usually used for analog circuits. They are a good alternative to BJTs. (Are you confusing JFET with MOSFET? JFET is a type of MOSFET.) You typically wouldn’t use one in a switching application. An “enhancement mode” MOSFET is a better choice. Second, for an e-stop, I don’t understand why you would use a transistor at all. An e-stop switch is usually wired in at the main supply voltage. They are used to directly disconnect power in an emergency. I don’t know of any other way to wire one except at the supply.

      If you’re using an e-switch to enable or disable a transistor, that is a very bad design choice. In the event the transistor fails shorted, your e-switch may do nothing. That creates a huge safety hazard.

      • Excellent, Thanks so much for you quick response. Agreed, the e-top would be best with a SPDT push-button type switch. The +5v line would be connected to the normally closed push-button connected to the signal line. Pushing the push-button would open the circuit – signalling the motor-driver to stop. I wanted to use a small SPST push-button wired to ground to trigger a transistor to open the circuit (Thus the JFET).
        I thought the JFET would open a circuit when triggered LOW.?
        I will have to read up on the “enhancement mode” MOSFET. I have not heard of that. Thanks 🙂

  11. James, you hit right on the money with this article…incredibly useful information.

    Those 4 transistors are super awesome to have in stock on the bench. I can’t tell you how many times I’ve used the 2N3904. For higher current, the TIP120 is hard to beat as well.

    Another great general purpose NPN to have on hand is the PN2222A. They are super cheap and incredibly useful: from turning on fans, relays, or even higher power LEDs.

    Keep up the great work and thanks for the article.

    Mike

    • how do this 2n2222 differs from TIP120? is this 2n2222 has enough rating to power up a 30+pcs. 12v ,1.5w led strip through my arduino?

      • 1.5 watts at 12 volts is 125 mA. The 2n2222 has a max collector current of about 800 mA, so should be kept around 500 mA. While the TIP120’s max is about 5 amps, so it should be kept around 2 or 3 amps. Since both are significantly more than 125 mA, either would work fine.

          • That sounds like you have 30 LED strips, each 1.5W. If you are trying to turn them all on with a single signal from your Arduino (30 * 1.5 W = 45 W total) it sounds like you would be far better off to use a single 2N2222 controlling power to a relay, and use the relay to switch the power to the LEDs. If you want to control each 1.5W LED strip separately, then as James said, it should be within the capabilities of a 2N2222 per strip.
            But this assumes you are turning the LEDs either full on, or off. If you are trying to control intensity by PWM, then the relay won’t work (not fast enough), and the continuous swiching of PWM may lead to a 2N2222 to over heat.
            Maybe we need more details of what you are actually trying to do, to better help you.

  12. I am currently in the beginning stages of learning how to repair amplifiers and only problem I am having is identify the wrighting for direct part replacement . This is part number I am needing bad. But no luck. 80nf70 /czod T /Mar 247/.that’s all I see on side of 3 leg fet. If you could help i sure thank you

  13. HELLO MY FRIEND! could you help me….
    l would like to ask you for a type of transistor that can switch up a consumer of a 2A 3v by a digispark pin of a 3.3 v !
    the supplier for the both of them is a3.7 lipo !

    it is for model of airplane so I need a smd transistor and a “regular” too but a small or light one !

    Thanks in advance

  14. HELLO … ! you have a great site !!
    i wanted to ask about BJT tutorial – you finished of a saying that the transistor is forcing to current from the co. to emi. to be 100 mA , and you get 6 v battery , then I’m not understand – what now this circuit got forced to be in v and I and what is the analyse that i do now for enter another consumer than a motor , lets say another motor (my motor don’t have any v properties , i just found that it draws between 60 to 200 mA on 5 v ?

    • Current is not forced at any time. Current is allowed to flow. The “beta” of the transistor is the ratio of current between Base/Emitter and Collector/Emitter. If the transistor has a beta of 100, and the current from the Base to Emitter is 1mA, then up to 100mA will flow between the Collector and Emitter. Beta varies from transistor to transistor and it varies depending on the amount of current flowing (which makes it sometimes difficult to predict.)

    • For NMOS driven by 3.3V (1.8V also), smd package, I’d use Si2312 [email protected]
      VGSth=0.8V, Ciss=740pF IDSmax=4.2A.
      We should use these when the in/out capacitance is not a problem. In my current project, I need very small capacitance between drain/collector and source/emitter, SOT-23, so I’m limited to a NPN BJT instead.
      MMBT2222, BCW66, BCX19 all look good.
      Notice that the current gain of BJT depends on the target Ic. For my design, Ic would be 150mA, hence the above devices are suitable.

  15. Thats a good list!

    The european versions of the 3204 and 3906 transistors are like the BC 547 and BC 557. These are most common here (theres a huge list which compares BC and 2N types)

    Anyway I´d like to add the BS170 low power mosfet to the list. I use it all the time instead of a low power NPN. Not logic level but have a look at the datasheet, DS-resistance is low enough @5V gate voltage…

    The two high power logic level mosfets I always have at hand are:

    IRLU 024N (55V, 17A; cheap and SMALL PACKAGE)
    IRL 3803 (30V, 120A; quite expensive)

  16. Your description of #1 is a Low side switch, not a high-side switch.

    Look at Linear Tech data sheet for LT1089. It shows an NPN with collector tied to the positive rail, and the load is from emitter to ground.

    Have a look at the block diagram for LTC4446. Control of the transistor that is connected to the positive rail is the high side, the transistor that is tied to ground is the low side.

    Opposite mistake on #2. Your description is a high side switch, not low side.

    Thanks for #4, good find.