As an Amazon Associate we earn from qualifying purchases.
The BC547 is a general-purpose NPN bipolar junction transistor (BJT). The word transistor comes from “transfer resistor”. The part is mostly used to amplify small signals and to switch small loads on and off. It is cheap, comes in a small plastic TO-92 package and turns up in a huge number of hobby and learning circuits.
This page covers the pinout, the main ratings, close equivalents, a relay driver example and a worked base resistor calculation.
What the BC547 does
Like any BJT, the BC547 has three terminals: collector, base and emitter. A small current flowing into the base lets a much larger current flow from the collector to the emitter. The ratio between the two is the current gain, written as β or hFE.
The BC547 is sold in gain groups. The maximum gain is about 800, which applies to the C group. The B group, shown in the figure below, has a gain of roughly 200 to 450.
For the transistor to work in the region you want on its characteristic curves, its terminals need a fixed DC bias. In amplifiers the BC547 is normally used in the common emitter configuration, and a voltage divider is the most common way to set the bias. Together with resistors, coils and capacitors, it forms the active part of many switches and amplifiers.
BC547 pinout
Hold the TO-92 package with the flat face towards you and the legs pointing down. From left to right the pins are:
- Collector
- Base
- Emitter
Always check the datasheet of your specific manufacturer before powering a circuit, because pin order differs between transistor families.
Key specifications
These are typical datasheet values. Exact numbers vary slightly between manufacturers.
- Type: NPN, silicon
- Collector-emitter voltage (VCE) maximum: 45V for the BC547
- Maximum collector current (IC): 100mA
- Current gain: 200 to 450 for the B group
- Base-emitter voltage (VBE) when on: about 0.7V
- Power dissipation: around 500mW
- Package: TO-92
In the example circuit below the control signal at the base is 5V. That is a property of the example, not a limit of the part. The base-emitter junction only tolerates a small reverse voltage, so never reverse-bias it by more than a few volts.
Speed is limited as well. The transition frequency is far higher than the switching speed you will see in practice. For fast digital switching, check the turn-on and turn-off times in the datasheet.
BC547 equivalents and alternatives
The BC548 and BC549 belong to the same family and are close equivalents. They differ mainly in maximum voltage rating, and the BC549 is also a lower-noise version. For most low-voltage projects they are interchangeable with the BC547.
The older BC107 is a similar small-signal NPN transistor in a metal can package, which is why people often compare the BC107 and BC547. If you need a PNP part to pair with it, for example in a push-pull stage, look at the BC558 PNP transistor, which is the complementary device in the same series.
Sample application: relay driver
A common use of the BC547 is to let a microcontroller or logic output switch a relay. The output pin cannot supply enough current for the relay coil, so the transistor does the switching.
The transistor is biased so that it is fully on when a signal is present at its base. With no base signal it turns completely off. The relay coil sits in the collector path, and the emitter goes to ground.
A few practical points:
- Make sure the relay coil current is well below the 100mA collector limit.
- Place a diode across the coil (a flyback diode) to protect the transistor from the voltage spike when the coil switches off.
- Always use a resistor in series with the base. Never connect the control signal straight to the base.
Base resistor design
The base resistor sets how much current flows into the base. Here is a worked example using the maximum collector current.
- From the datasheet, maximum collector current IC = 100mA and gain β = 200 to 450. Take the lower value, β = 200, so the design still works with weaker transistors.
- Since β = IC / IB, the base current is IB = IC / β = 100mA / 200 = 0.5mA.
- The base-emitter junction drops about 0.7V (VBE = 0.7V).
- The voltage across the base resistor RB is the control signal minus VBE: 5V − 0.7V = 4.3V.
- RB = 4.3V / 0.5mA = 8.6kΩ.
- Choose a value lower than this so the transistor is driven firmly on. The original design uses about 7.2kΩ. In practice the nearest standard value, 6.8kΩ, works well.
Choosing a lower resistor gives extra base current, which drives the transistor into saturation so the voltage drop across it stays small. Many designers go further and use a base current of about one tenth of the collector current. Just check that your control source can supply that current.
Common mistakes
- Wiring the pins backwards. A swapped collector and emitter often gives poor gain rather than an obvious failure.
- Leaving out the base resistor, which can overload the transistor or the driving pin.
- Switching loads that draw more than 100mA. For motors or larger relays, use a power transistor or a MOSFET.
- Forgetting the flyback diode on inductive loads.
FAQ
Is the BC547 NPN or PNP?
It is an NPN transistor. The load current flows from collector to emitter when the base is driven about 0.7V above the emitter.
What is the maximum current of the BC547?
The maximum collector current is 100mA. For a safe design, stay comfortably below that.
What can replace a BC547?
The BC548 and BC549 are the usual equivalents, and the BC107 is a similar metal-can part. Check the voltage rating and gain group against your circuit before swapping.
How do I calculate the base resistor for a BC547?
Divide the collector current by the gain to get the base current. Then divide the control voltage minus 0.7V by that current. Pick a standard resistor value a little lower than the result.