Hello and Welcome! If you have a technical question please check out our Forums. If you have an order or shipping question please refer to our Customer Support page. Please see all COVID-19 updates here and thank you for your continued support.


Please take our customer survey for a chance to win $1000 in SparkFun credit! We really appreciate the time you take to give us your extremely valuable feedback on how SparkFun can be its best - we couldn't do it without your input. Thank you!

Transistor - NPN (P2N2222A)

This is the P2N2222A, an NPN silicon BJT (Bipolar Junction Transistor). This little transistor can help in your project by being used to help drive large loads or amplifying or switching applications. The P2N2222A is specifically rated at 40V and 600mA max.

This is the transistor used in our Sparkfun Inventor's Kits.

Transistor - NPN (P2N2222A) Product Help and Resources

Interactive 3D Printed LED Diamond Prop

April 19, 2018

In this tutorial, we will learn about how to create an interactive theatrical prop for a performance by 3D printing a translucent diamond prop using a non-addressable RGB LED strip and AT42QT1011 capacitive touch sensing.

Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

3 Electrical Prototyping

Skill Level: Competent - You will be required to reference a datasheet or schematic to know how to use a component. Your knowledge of a datasheet will only require basic features like power requirements, pinouts, or communications type. Also, you may need a power supply that?s greater than 12V or more than 1A worth of current.
See all skill levels


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Hey how about a "transistors 101" tutorial? Show some examples of using transistors, and exactly what they do in several types of circuits. I think doing this with a lot of basic components, and how they interact with each other would be useful (like, say how how to make a set of blinking LEDs using capacitors, transistors, and resistors?

  • Just as a "heads up", if you're designing a PCB to use this, make sure that you carefully check the pin-out of the library component footprint. Despite the fact that the 2N2222 is the "universal go-to" NPN transistor, I've found the hard way that at least one "free" library that has the wrong pin-out! (I have a project wherein the '2222 ended up looking like it desperately needs to visit the restroom... having crossed legs. I've learned my lesson!)

    • The library in question may not actually be incorrect. There are a number of variants of the 2222. They're electronically equivalent, but the pinout doesn't always match. You need to verify the prefix and suffix of a given vendor's part. For instance

      • These are the On Semi P2N2222A, with CBE pinout.
      • The nearly equivalent On Semi PN2222A has an EBC pinout.
      • I'm having trouble digging one up, but there are probably some Japanese transistors (Hitachi or Toshiba) with 2222 in the name that have a BCE input.

      You have to make sure you've got the datasheet specific to the device you're working with.

Customer Reviews

5 out of 5

Based on 1 ratings:

Currently viewing all customer reviews.

2 of 2 found this helpful:

This is a great Transister

It is totally doped! The P is even better then the N as far as doping goes.