jilonice.blogg.se

Pn2222
Pn2222













pn2222

Transistors can be packaged in many different packages, some examples are shown below: Examples of Different Transistors in Different Packagesĭifferent packages have different names, e.g. The symbols used in circuit diagrams for NPN and PNP transistors are shown below: Circuit Diagram Symbols of NPN and PNP Transistors Transistor Packages There are two types of BJTs, namely NPN and PNP. Here the BJT (Bi-polar Junction Transistor) is discussed. this resistor should be placed between gate output and LED or between LED and ground - either way is fine.There are several kinds of transistors available, e.g. for most LED diodes a good value is 200 ohms (more is also ok, it's just less bright). when output state is ON in these two examples, the only outcome here can be either burned transistor or burned LED, unless you have a limited current power supply which is low enough to not burn these elements. There should be current limiting resistor for the LED diode. An even better way is to use NAND gate and add a NOT gate to its output which also creates an AND gate. If done like in example, then the emitter resistor should be smaller (1k) or the base resistor should be larger - anyway, the resistors should be somewhere 10x size difference (base vs emitter) or more to ensure the output voltage stays low enough that the possible next logic gate input doesn't go ON when it shouldn't. Now this example may work, but it's not a good practice to do it like this. 1.43V voltage drop on emitter resistor which is also the output voltage in this example and this is not close to desired 0V for output in OFF state. Typical base-emitter voltage drop of saturated transistor is around 0.7V, so the remaining voltage (4.3V = 5V - 0.7V) is distributed on base resistor (10k) and emitter resistor (5k), which means approx. In the example above we can calculate approximate voltage drop: There can be a problem when only B input is active - when this happens, the "base-emitter" of the "B" transistor acts like a diode, so there is current flowing through emitter resistor (5k) creating a voltage drop. Nice tutorial, but there are a few things that I think should be mentioned here.ġ.) AND gate, also XOR and XNOR where AND gate is used. (As i mentioned before these are easy circuits, so on a breadboard I wont show them step-by-step) There is a small text and a gif for every logic gate. I will also show this circuits on the breadboard. I am going to show the logic gate's symbols, truth tables and schematics. When the base-emitter diode is turned on enough to be driven into saturation, the collector voltage with respect to the emitter may be near zero and can be used to construct gates for the TTL logic family.

pn2222

The use of transistors for the construction of logic gates depends upon their utility as fast switches. I think if you know a little bit about NPN transistors, you will be fine.

pn2222

These circuits are extremely easy to understand. What you need -A breadboard -A bunch of 5k and 10k resistors, and transistors -A LED You can use any NPN type transistor (for example 2N3904, BC547, BC548, BC549 etc.) These are basic circuits, so they can be improved (with diodes for reverse voltage protection, for example), or can be simplified (XOR, XNOR gates), but for start we will stick with these basic circuits. Hi guys, in this tutorial I will show you some NPN transistor based logic gates.















Pn2222