Transistors: How They Amplify Signals and Switch Circuits
In this article
Transistors let a small electrical input control a larger current, so circuits can amplify changing signals or switch loads on and off. To see how that works in practice, you’ll need a low-voltage power source, a transistor, a few resistors, and a multimeter; this guide focuses on a common NPN bipolar junction transistor (BJT).
What You'll Need
- An NPN BJT, such as a general-purpose small-signal transistor, with its datasheet available. Pin order varies by part.
- A regulated 5 V DC supply, or another voltage suitable for your transistor and load.
- A breadboard and jumper wires.
- Resistors: 1 kΩ for the base and 330 Ω for an LED at 5 V; a 10 kΩ resistor for an optional signal-bias demonstration.
- An LED and a multimeter. A small signal source is optional for the amplifier explanation; do not connect speakers or other substantial loads.
Step-by-Step
- Understand the three terminals. A BJT has a base (B), collector (C), and emitter (E). In an NPN transistor, a small base current allows a larger conventional current to flow from collector to emitter. The transistor does not create energy: the power supply provides the energy in the output. The base input controls how much of that supply current flows.
- Check the part and its limits. Read the datasheet for the pinout, maximum collector current, maximum voltage, and power dissipation. Identify the terminals before wiring. Never assume two transistors with similar packages share the same pin order.
- Build a simple low-side switch with power off. Connect the emitter to the supply’s negative terminal (ground). Connect the collector to the LED’s cathode, usually its shorter lead. Connect the LED’s anode through a 330 Ω resistor to +5 V. The resistor and LED are in series. This arrangement puts the transistor between the load and ground.
- Add a base input. Connect a 1 kΩ resistor between the base and a control wire. The other end of that wire can be connected to +5 V to turn the transistor on, or to ground to turn it off. The resistor limits base current. If using a separate control source, connect its ground to the circuit ground; without a shared reference, the base voltage may not be meaningful.
- Test the switch. Apply power, then connect the control wire to ground: the LED should be off. Move it to +5 V: the LED should light. Disconnect power before changing the breadboard wiring. Measure the base-to-emitter voltage if the result is unclear; a silicon BJT conducting as a switch often has roughly 0.7–0.9 V across that junction, though the exact value varies.
- Relate input current to load current. In the on state, the transistor is driven into saturation, so collector-to-emitter voltage is low and the load receives current. A rough base-current estimate for switching is load current divided by a conservative forced gain, often around 10 for a simple design—not the transistor’s headline small-signal gain. For example, a 10 mA load may call for about 1 mA of base current. Check that the source and base resistor can provide it and that all ratings are respected.
- See how amplification differs. A BJT can also operate in its active region, where a small change in base current produces a larger change in collector current. For a basic common-emitter amplifier, the collector connects to +5 V through a collector resistor, the emitter connects to ground (sometimes through an emitter resistor), and the input signal is coupled to the base with biasing that keeps the transistor partly on. The output is taken at the collector and is inverted: as collector current rises, the collector voltage falls. A signal amplifier needs suitable biasing and coupling; the LED switch circuit is not a linear amplifier.
- Keep the signal within the useful range. In an amplifier, set the no-signal collector voltage away from both ground and the supply rail so the signal can swing in either direction. If the transistor is fully off or saturated, the waveform clips rather than amplifies cleanly. Begin with a small signal and use a meter or oscilloscope to check the DC bias and output waveform.
Common Mistakes
- Reversing collector and emitter or misreading the pinout. Verify the exact datasheet drawing and package orientation.
- Leaving out the base resistor or LED current-limiting resistor. Either can cause excessive current and damage components.
- Expecting a transistor to supply load power by itself. The power supply must provide enough voltage and current.
- Using a switch circuit as a linear amplifier. Saturation and cutoff are useful for switching, but distort an amplified waveform.
- Forgetting a shared ground when a separate control signal drives the base.
- Exceeding voltage, current, or power ratings. A part can overheat even when the supply voltage seems low.
Tips
- Start with a low-voltage, current-limited supply and a modest load.
- Use conventional current direction when tracing a circuit: through the load into the collector, then out the emitter to ground.
- For inductive loads such as relay coils or motors, add a suitably rated flyback diode across the load, oriented to block normal supply current. This protects the transistor from the coil’s voltage spike.
- For larger loads, check heat dissipation, use an appropriately rated transistor, and consider whether a logic-level MOSFET is a better switch.
- Disconnect power before moving wires, and avoid shorting the supply rails with probe tips.
Troubleshooting
- LED stays off: Check supply polarity, LED orientation, transistor pinout, and the ground connection. Measure the supply voltage, then check whether the base is about 0.7 V above the emitter when commanded on.
- LED stays on: Confirm the control wire really reaches ground in the off state. Check for a base-to-supply short, misplaced breadboard wires, or a damaged transistor.
- LED is dim: Measure the voltage across the LED and series resistor. The supply may be sagging, the resistor may be too large, or the transistor may not receive enough base current to saturate.
- Transistor gets hot: Turn off power immediately. Check for excessive load current, reversed wiring, a short, or operation outside the device’s safe limits. Do not rely on a brief test to make an unsafe design acceptable.
- Amplifier output is distorted: Check the DC bias first. If the collector rests near either supply rail, adjust the bias or circuit values so the output has room to swing. Reduce the input amplitude if clipping persists.
Frequently Asked Questions
Does a transistor amplify voltage or current?
A circuit’s design determines its voltage gain. A BJT’s base current controls collector current; a common-emitter arrangement can turn that current change into an inverted voltage change across a resistor.
What is the difference between a transistor switch and an amplifier?
A switch is driven mainly into cutoff or saturation for off and on states. An amplifier is biased in the active region so small input changes produce corresponding output changes.
Why is a base resistor needed?
The base-emitter junction behaves somewhat like a diode. A resistor limits the current and helps protect both the transistor and the signal source.
Can I connect a motor directly to this circuit?
Not without checking its startup and stall current, transistor ratings, and protection needs. Use a flyback diode for a brushed DC motor and ensure the supply and transistor can handle the load.
Why does the amplifier output move in the opposite direction?
In a common-emitter circuit, increased base drive raises collector current. That creates a larger voltage drop across the collector resistor, lowering the collector output voltage.
Is transistor current gain a fixed number?
No. The datasheet’s current gain varies with device, current, temperature, and operating conditions. For reliable switching, design with adequate base drive rather than assuming a typical gain value.