Level 3 · Sense · project 18 of 19 · 25 min · ●●●○○
The Current Amplifier
Two buttons, two 10 kΩ resistors, two red LEDs. One 10 kΩ feeds its LED directly; the other feeds a transistor. Same resistor, about 40 times the LED current.
new here? Start with First Light — one battery, one resistor, one LED. It teaches the loop, LED direction, and why the 220 Ω resistor matters.
What you need
- 1× 3×AA battery pack (4.5 V) L1
- 1× Solderless breadboard L1
- 8× Jumper wires L1
- 2× Push button (tactile) button A drives LED A directly; button B drives the transistor L1
- 2× 10 kΩ resistor brown-black-orange; one in each lane, so the two lanes start out identical L1
- 1× NPN transistor (2N2222) flat face toward you: legs are E-B-C
- 1× 220 Ω resistor red-red-brown; sets the current in the transistor’s lamp L1
- 2× Red LED (5 mm) same colour on purpose, so the brightness comparison is fair L1
you'll learn: Transistor switching · Ohm's law
Circuit map
The circuit you'll build, running on the Workbench right now — shown with the buttons held.
simulating…
If it doesn't work
The boring ways this circuit actually breaks — check these first before you unwire everything.
- Lane A looks completely dark. It is supposed to be faint: about 0.27 mA. Dim the room or cup your hand around the LED. If it is still dark, the LED is probably in backwards; the long leg goes toward the 10 kΩ.
- Lane B stays dark when you press B. Move the LED’s short leg from the collector to the − rail. If it lights, the lamp is fine: check the transistor’s E-B-C order (flat face toward you) and that the emitter really reaches the − rail.
- Lane B is lit all the time, button or not. The LED’s short leg is on the − rail instead of the collector, or the collector and emitter rows are bridged. The lamp must pass through the transistor.
- Lane B is only faintly lit, about as dim as lane A. The 10 kΩ and the 220 Ω are swapped. The 10 kΩ belongs in the base lane; the 220 Ω belongs with the LED. Read the bands: 10 kΩ is brown-black-orange, 220 Ω is red-red-brown.
- Pressing A also lights lane B a little. The two lanes share a row they shouldn’t. Lane A’s 10 kΩ must end at its own LED, with nothing else in that row.
What you're building
Two lanes side by side on one battery, each with its own push button and its own 10 kΩ resistor.
- Lane A: button → 10 kΩ → red LED → −. The 10 kΩ feeds the LED directly.
- Lane B: button → 10 kΩ → the base of a 2N2222 transistor. The LED sits in a separate path: + → 220 Ω → red LED → the transistor's collector, and the emitter goes to −.
Press A and the LED gives a faint glow you can only see in a dim room. Press B and the other LED lights up properly. The two buttons push current through identical 10 kΩ resistors from the same battery, and one LED ends up about 40 times brighter in current. This project is about where that extra current comes from.
Lane A: what 10 kΩ allows
An LED in series with a resistor takes whatever current Ohm's law leaves for it. At very small currents a red LED drops a little less than its usual 2.0 V; here it settles at about 1.82 V. That leaves the rest of the battery across the resistor:
I = (4.5 − 1.82) V ÷ 10 000 Ω ≈ 0.27 mA
That's about a fortieth of the 11 mA a red LED gets in First Light. You built this exact glow in Night Pin. Visible in the dark, easy to miss in daylight.
Lane B: the same 10 kΩ, a different job
In lane B the 10 kΩ goes to the transistor's base, the middle leg. The base-emitter junction behaves like a diode: once current flows, the base sits about 0.72 V above the emitter, which is on battery −. So the base current is:
I_base = (4.5 − 0.72) V ÷ 10 000 Ω ≈ 0.38 mA
That's a little more than lane A's 0.27 mA, because a transistor junction drops less voltage than an LED. Both are under half a milliamp.
Here is the trick. A 2N2222 lets a much bigger current flow from its collector to its emitter whenever a small current flows into its base. The ratio is called the current gain, written hFE (or β, "beta"). The datasheet gives a range of roughly 100 to 300 for this transistor; the Workbench and our SPICE model use 200. So 0.38 mA in the base allows up to:
200 × 0.38 mA ≈ 76 mA through the collector
Why the LED gets 11 mA and not 76 mA
The transistor allows 76 mA, but the lamp path won't carry that much. The 220 Ω and the LED set their own limit. When the transistor is asked for more than the lamp path can carry, it opens fully. Engineers call that saturated: the collector sits only about 0.09 V above the emitter, so the transistor acts like a closed switch. The lamp gets the rest:
I_LED = (4.5 − 0.09 − 2.01) V ÷ 220 Ω ≈ 10.9 mA
(The LED is back at about 2.0 V here because it's carrying a normal current.)
So the numbers side by side:
| Lane A (direct) | Lane B (through the transistor) | |
|---|---|---|
| Current through the 10 kΩ | 0.27 mA | 0.38 mA |
| Current through the LED | 0.27 mA | 10.9 mA |
| How it looks | faint glow | properly lit |
10.9 ÷ 0.27 ≈ 40 times more LED current, from the same resistor and the same battery.
Where the extra current comes from
The transistor doesn't make current. All 10.9 mA comes out of the battery, through the 220 Ω and the LED, into the collector and out of the emitter. The 0.38 mA in the base works more like a hand on a tap: it decides how much the bigger path is allowed to carry. The battery supplies both, about 11.3 mA in total while you hold B.
This is what "amplifier" means in electronics. A small current controls a big one. Every sensor project at this level uses it: an LDR or a thermistor can only manage a fraction of a milliamp, and the transistor turns that into a lamp or a buzzer.
Saturated, or in between?
In lane B the transistor is either off (button up, no base current) or saturated (button down). It's being used as a switch, and the switch has a big safety margin: it needs only 10.9 ÷ 200 ≈ 0.055 mA of base current and gets 0.38 mA, about 7 times more. That margin matters because real 2N2222s vary. One with a gain of 100 still saturates.
Between off and saturated there's a middle zone where the collector current really is gain × base current. You can reach it on the Workbench: tap lane B's 10 kΩ until it reads 100 kΩ. The base current drops to about 0.038 mA, and 200 × 0.038 mA ≈ 7.6 mA. That's less than the lamp path could carry, so the transistor is no longer fully open, and the LED dims a little. Now the base current alone sets the brightness.
Build it
- Rails. Battery + to the top rail, − to the bottom rail.
- Lane A. Button A from the + rail to a free row. From that row, a 10 kΩ (brown-black-orange) to the LED's long leg. LED short leg to the − rail.
- The transistor. Flat face toward you, legs E-B-C left to right. Plug it into three free rows. Run a jumper from E to the − rail.
- Lane B's base. Button B from the + rail to a free row. From that row, the second 10 kΩ to B.
- Lane B's lamp. 220 Ω (red-red-brown) from the + rail to the second LED's long leg. LED short leg to C.
- Power up. Both LEDs dark. Press A: faint glow. Press B: the other LED lights fully. Press both: each LED does exactly what it did alone, because the lanes don't share anything but the battery.
Try it in a dim room first so you can actually see lane A. Then turn the lights back on and press both together. That's the difference a transistor makes.
Debug like an engineer
If lane B stays dark, check the lamp on its own: move the LED's short leg from C straight to the − rail. If it lights, the lamp is fine and the fault is in the transistor half. Check E-B-C order next, then check that the 10 kΩ really lands on the middle leg.
🧠 Your challenge
No single right answer. That's the point.
- Shrink the base resistor. Swap lane B's 10 kΩ for 1 kΩ. Work out the new base current (the base still sits near 0.72 V). Does the LED get ten times brighter? Explain why it doesn't. (About 3.8 mA into the base, but the LED only rises from 10.9 to about 11.1 mA. The lamp path was already the limit.)
- Find the edge. How large can the base resistor get before the transistor stops saturating? Use a gain of 200 and the 10.9 mA lamp current. Then redo it for a weak transistor with a gain of 100. Which answer would you design with? (Roughly 69 kΩ for a gain of 200, about 35 kΩ for a gain of 100. A designer picks for the weak one.)
- Measure the gain on the Workbench. Set lane B's resistor to 100 kΩ, read the base and collector currents, and divide. Then try 47 kΩ. Why does the ratio come out near 200 for one and well below it for the other? (At 100 kΩ: about 0.038 mA in, 7.6 mA out, ratio about 200. At 47 kΩ: about 0.080 mA in, 10.6 mA out, ratio about 130, because the lamp path is close to its limit and the transistor is nearly saturated.)
- Make lane A brighter without a transistor. What resistor would lane A need to match lane B's 10.9 mA? What's the catch if the "button" were a sensor that can only handle half a milliamp?
For grown-ups: safety notes
- Battery power only. Three AA cells give 4.5 V, which can't shock you.
- Never connect the base straight to + without a resistor. With no resistor, the base-emitter junction acts like a bare diode across the battery and current is limited only by the battery itself. The 10 kΩ is what keeps the base current at 0.38 mA.
- Keep the 220 Ω in the lamp path. Without it, the saturated transistor puts the LED almost straight across the battery and it burns out.
- Nothing in this build should get warm. A warm transistor means a wiring mistake: pull the battery and check E-B-C.
- Small parts are a swallowing hazard for younger siblings and pets.
Checked against
Keep building
You might also like
shares ideas with this one