Build it step by step
0 of 6 doneWire the working switch
The LED lights while the button is down.
Note the working readings
Base about 0.7 V, emitter 0 V, collector low.
Look away while the helper plants a fault
The LED stays dark.
Measure base, emitter and collector
Compare with the working values.
Find which reading is wrong
That reading points to the fault.
Fix it and repeat for the other two
Write what each reading proved.
How do you build a transistor switch fault hunt?
A BC547 should switch an LED when you press a button. Build it working, have a helper plant three safe faults, and find each one with voltage readings at the three legs of the transistor. You need BC547 NPN transistor, Resistor 1 kΩ, Resistor 470 Ω, LED 5 mm red, Tactile push button 6 mm, Digital multimeter, 9 V battery, 9 V battery snap with DC jack, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm). It takes 6 steps and about 60 minutes.
- Level
- Beginner
- Time
- About 60 min
- Parts
- 10
Parts list
- SemiconductorsBuy
- PassivesBuyResistor 1 kΩ × 1
- PassivesBuyResistor 470 Ω × 1
- SemiconductorsBuyLED 5 mm red × 1
- SwitchesBuy
- Tools & InstrumentsBuy
- BatteriesBuy9 V battery × 1
- PowerBuy
- PrototypingBuy
- PrototypingBuy
Tick what you already own. It saves to My Garage, so “Build with what I have” knows.
Wiring
| From | To | Why |
|---|---|---|
| Battery plus | Button, then 1 kilohm resistor, then transistor base | Base drive path |
| Battery plus | 470 ohm resistor, then LED long leg | LED load |
| LED short leg | Transistor collector | Switched side of the LED |
| Transistor emitter | Battery minus | Ground |
| Battery minus | Breadboard ground rail | Common ground |
No code needed
No code. With the button down, a small current flows through the 1 kilohm resistor into the base of the BC547, and the transistor lets a larger current flow from collector to emitter and light the LED. Check the flat face and legs of your BC547 before you wire it, because the usual TO-92 order is collector, base, emitter from the left when the flat face points at you, but confirm it on the datasheet for your part. Build it working, then ask a helper to plant one fault at a time while you look away. Safe faults are moving the base wire one hole so the button is no longer in the path, lifting the emitter off the ground rail, and reversing the LED. Never connect the base straight to 9 volts without the resistor. Measure base, emitter and collector against battery minus with the button held down. A working circuit shows about 0.7 volts at the base, 0 volts at the emitter and a low voltage at the collector. Each fault changes those numbers in a way that points to the cause. Write what each reading proved, and fix the faults in the order you found them.
Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| Working switch | LED bright with the button down |
| Base wire off the button path | Base reads 0 V and the LED stays dark |
| Emitter lifted off ground | Base near 0.7 V, collector high, LED dark |
| LED reversed | Collector low but the LED stays dark |
| Button released | LED goes out |
If it does not work
LED dark even when built as drawn
Check the transistor leg order against the datasheet.
LED always on
Check the button, and the base is not touching the collector.
Transistor feels warm
Disconnect and check the 470 ohm resistor is in the LED path.
Meter reads nothing
Switch to DC volts and check the probes.
Base reads 9 V
The base resistor is missing, disconnect at once.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the transistor switch fault hunt?
BC547 NPN transistor, Resistor 1 kΩ, Resistor 470 Ω, LED 5 mm red, Tactile push button 6 mm, Digital multimeter, 9 V battery, 9 V battery snap with DC jack, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
How long does the transistor switch fault hunt take to build?
About 60 minutes for a beginner maker, in 6 steps.
How do I know the transistor switch fault hunt works?
Working switch: LED bright with the button down. Base wire off the button path: Base reads 0 V and the LED stays dark. Emitter lifted off ground: Base near 0.7 V, collector high, LED dark.
LED dark even when built as drawn: what should I check?
Check the transistor leg order against the datasheet.
LED always on: what should I check?
Check the button, and the base is not touching the collector.
Transistor feels warm: what should I check?
Disconnect and check the 470 ohm resistor is in the LED path.
Meter reads nothing: what should I check?
Switch to DC volts and check the probes.
