pcbway




Introduction to 2N3904, how to use 2N3904, getting started with 2N3904, how to start using 2N3904, getting started with transistor 2N3904, how to start with 2N3904Hello everyone! I hope you will be absolutely fine and having fun. Today, I am going to give an Introduction to 2N3904. It is basically an NPN transistor made up of silicon material. It acts as a general purpose amplifier and switch. When 2N3904 is acting as a switch, it supports the current up to 100mA. Whereas while acting as an amplifier, it has capability to support the frequency up to 100MHz. You should also have a look at Introduction to 2N2222, which is also an NPN transistor and is quite similar to 2N3904.

It is mostly used for lower power amplifiers and switching applications. Its major functional area is enclosed in TO-92 package. Its a silicon NPN general purpose bipolar junction (BJT) transistor designed for switching purpose as well as for an amplifier. Its can bear lower amount of current, lower power and medium voltage levels. It is most commonly used BJT due to its smaller size, wide availability and low cost. It is less sensitive to fluctuations in voltages and currents as compared to other BJT’s.

Introduction to 2N3904

2N3904 is a silicon NPN Bipolar Junction Transistor (BJT). It is designed for switching purposes at 100mA and as an amplifier at 100MHz frequency. Its main functioning area is enclosed in TO-92. It has a wide range of applications. It can be used in televisions, we can use it in home appliances, can be used as small load switch, it can also be used as an amplifier.

1. 2N3904 Pinout
  • 2N3904 has three pins in total:
    1. Emitter is usually denoted by E
    2. Base is denoted by B.
    3. Collector is denoted by C.
  • They are clearly shown in below figure:

2N3904 pinout, Introduction to 2N3904, how to use 2N3904, getting started with 2N3904, how to start using 2N3904, getting started with transistor 2N3904, how to start with 2N3904The notations of all the three pins are shown in the table given below.

Introduction to 2N3904, how to use 2N3904, getting started with 2N3904, how to start using 2N3904, getting started with transistor 2N3904, how to start with 2N3904

2. 2N3904 Pin Diagram
  • The pin diagram for 2N3904 along with all the three pins and their notations is shown in the figure below.

Introduction to 2N3904, how to use 2N3904, getting started with 2N3904, how to start using 2N3904, getting started with transistor 2N3904, how to start with 2N3904

  • Two types of construction of 2N3904 is shown in the figure above.
  • The first one is Positive Negative Positive (PNP) having emitter towards inward direction.
  • The second one is Negative Positive Negative (NPN) having emitter towards outward direction.
  • That was the brief discussion about the pin diagram of 2N3904.
3. 2N3904 Current/Voltage Rating
  • The transistor type, current rating and voltage ratings of 2N3904 are shown in the table given below.

Introduction to 2N3904, how to use 2N3904, getting started with 2N3904, how to start using 2N3904, getting started with transistor 2N3904, how to start with 2N3904

4. Features
  • Some of the the key features associated with silicon bipolar junction transistor i.e. 2N3904, are shown in the table given below.

Introduction to 2N3904, how to use 2N3904, getting started with 2N3904, how to start using 2N3904, getting started with transistor 2N3904, how to start with 2N3904

  • The voltages across the emitter base, collector base and collector emitter junction are shown in the above table along with their values and System International (SI) units.
5. 2N3904 Applications
  • It can be used as small load switch having low saturation voltage and high gain.
  • It can also be used in televisions.
  • We can also use it in home appliances.
  • Can be used as an amplifier up to the frequency of 100MHz.
6. 2N3904 Proteus ISIS Simulations
  • In this section of the tutorial Introduction to 2N3904, I will show my Proteus simulations for LED and DC motor control using 2N3904.
  • The screenshot of the simulation for LED control using 2N 3904 is shown in the figure below.

Introduction to 2N3904, how to use 2N3904, getting started with 2N3904, how to start using 2N3904, getting started with transistor 2N3904, how to start with 2N3904

  • The successfully running form of the simulation for LED control using 2N 3904 is shown in the figure below.

Introduction to 2N3904, how to use 2N3904, getting started with 2N3904, how to start using 2N3904, getting started with transistor 2N3904, how to start with 2N3904

  • I have made another simulation in Proteus ISIS for DC motor control using 2N3904.
  • The screenshot of the simulation is shown in the figure below.

2N3904 pinout, Introduction to 2N3904, how to use 2N3904, getting started with 2N3904, how to start using 2N3904, getting started with transistor 2N3904, how to start with 2N3904

  • The complete Arduino source code of the above simulation is given below.
  • You have to get the hex file in Arduino to observe the results properly.
int MotorInput = 2;
int MotorOutput = 7;

void setup() 
{
    pinMode(MotorInput, INPUT_PULLUP);
    pinMode(MotorOutput , OUTPUT);
}

void loop() 
{
    if(digitalRead(MotorInput) == HIGH)
    {
      digitalWrite(MotorOutput, HIGH);
    }
    if(digitalRead(MotorInput) == LOW)
    {
      digitalWrite(MotorOutput, LOW);
    }
  
}
  • The running form of the above simulation is shown in the figure below. The small jerks in DC Motor is because of GIF file otherwise it will run smoothly in Proteus.

2N3904 pinout, Introduction to 2N3904, how to use 2N3904, getting started with 2N3904, how to start using 2N3904, getting started with transistor 2N3904, how to start with 2N3904

  • From the above figure you can see that after uploading .hex file and running the simulation you need to change the level of logic state from 0 to 1, and the motor will start to rotate.
  • You can download the complete Proteus ISIS simulation as well as complete Arduino source code, here by clicking on the button below.
  • Just download .rar file, extract it and enjoy the complete package.

Proteus Simulation & Arduino Code

  • You should watch this below video to understand how to run this Proteus Simulation:


So that is all from the tutorial Introduction to 2N3904. I hope you really enjoyed this tutorial. If you face any sort of problem regarding any thing, you can ask me anytime in comments without even feeling any kind of hesitation. I will try my level to entertain you and to solve your issues in a better way, if possible. Our entire team is 24/7 here to entertain you and to solve your issues in a way or the other. I will explore different IC’s in my later tutorials and will surely share all them with all of as you as well. So, till then, Take Care 🙂

2 Comments

  1. hey, I want to know do I drive the Avalanche transistor using Arduino Uno. I am desiging a 1ns or 5ns pulse at 30V amplitude generator circuit using 2N3904.

    • Hi,

      I would recommend you to use opto-coupler between Arduino and 2N3904. If you want a Proteus Simulation then post a question in our Forums and our experts will help you out.

      Thanks.

Leave a Reply