Diodes and Transistors Explained: The Two Semiconductor Families
Diodes and transistors grow from the same physics — a PN junction — but a diode is one junction that steers current. A transistor is two junctions that amplify or switch it. Understand that relationship and both families become predictable.
> At a glance: 9 minute guide · part of the electronics fundamentals complete guide track · worked example, quick-reference table and field notes included.
## The shared foundation: the PN junction
P-type silicon carries holes, N-type carries electrons. Joined, they exchange carriers and form a depletion region with a built-in potential — about 0. 7 V in silicon. Forward bias collapses it and current flows; reverse bias widens it and almost nothing passes. Every semiconductor device is built from these junctions.
## Diodes: one junction, fixed behaviour
A diode conducts one way from the moment you exceed its forward voltage. There is nothing to control — no third terminal. That makes it a valve: rectifiers, protection clamps, LED emitters, Zener references. Simple, deterministic, indispensable.
## Transistors: a controlling third terminal
Add a second junction and you create a path whose conduction a third terminal controls. In a BJT, a small base current commands a large collector current. In a MOSFET, a gate voltage commands the channel. Control is the whole revolution — amplification and switching both follow from it.
| Property | Diode | BJT | MOSFET |
| — | — | — | — |
| Terminals | 2 | 3 | 3 |
| Controlled by | Nothing | Base current | Gate voltage |
| Junctions | 1 | 2 | 2 (channel) |
| Typical use | Rectify, clamp | Amplify | Switch, high-current |
| Drop when on | 0.3–0.7 V | VCE ~0.2 V sat | RDS(on) × I |
## How to apply this in your build
Work through the sequence below. Each step assumes the previous one passed. The numbers that need arithmetic are covered by the linked tools at the end of this guide.
1. Identify the junction structure before analysing any semiconductor
2. For diodes, check forward drop and reverse leakage
3. For transistors, identify the control terminal first
4. Verify with the diode test mode — junctions tell the truth
### Worked example
Testing an unknown part: diode mode shows one 0. 6 V junction in one direction — a diode. Two junctions reading 0. 6 V and 0. 7 V from a common pin — an NPN transistor, base identified. Cross-check with the LED Resistor Calculator and the result should agree to within rounding.
> Practical note from the bench. Half of “dead component” bench diagnoses are one diode-test pass on the semiconductor pins — learn the expected junction map of common parts.
## Who this guide is for
First-time readers get a single focused topic instead of a textbook chapter, with every term defined where it first appears. Returning readers use it as a reference. The table, the worked example and the mistake list answer the questions that come up mid-build. If you teach, the structure (theory, application, example, failure modes) maps cleanly onto a lab session.
## Prerequisites and preparation
Before starting. Identify the junction structure before analysing any semiconductor and for diodes, check forward drop and reverse leakage. Keep the [LED Resistor Calculator](/tools/led-resistor) open, every number in the worked example is reproducible. Total time including the bench steps: about 7 to 9 minutes.
## Common mistakes to avoid
Each of these has cost real hardware on someone’s bench, usually ours:
– Treating a MOSFET like a BJT because both “are transistors”
– Forgetting the diode’s reverse recovery in switching circuits
– Assuming transistor pins follow a standard order — always verify
## Key takeaways
– The shared foundation: the PN junction — the foundation of this guide. Revisit it if any measurement here surprises you.
– Diodes: one junction, fixed behaviour — the foundation of this guide. Revisit it if any measurement here surprises you.
– Transistors: a controlling third terminal — the foundation of this guide. Revisit it if any measurement here surprises you.
### Quick reference card
| Aspect | Where to find it in this guide |
| — | — |
| Core theory | The shared foundation: the PN junction |
| Application steps | How to apply this in your build |
| Worked numbers | Worked example |
| Failure modes | Common mistakes to avoid |
## How this fits the electronics fundamentals complete guide track
This guide is one stop in a structured path. Start from the [electronics fundamentals complete guide](/tutorial/electronics-fundamentals-complete-guide) pillar page for the full map, or continue with [the PN junction deep dive](/tutorial/pn-junction-diode) and [voltage and current basics](/tutorial/voltage-vs-current-explained). For the arithmetic, open the [LED Resistor Calculator](/tools/led-resistor).
## Frequently asked questions
Is a transistor just two diodes?
You can find two junctions with a meter. They share a thin central region — the physics of that region, not two separate diodes, creates gain.
Which fails more often, diode or transistor?
Transistors — more junctions, more dissipation. They usually sit at the heart of the circuit doing the switching.
Is there a calculator for this?
Yes, the [LED Resistor Calculator](/tools/led-resistor) run the formulas from this guide instantly, client-side, no signup.
## Continue the learning path
– The complete electronics fundamentals guide: [Electronics Fundamentals complete guide](/tutorial/electronics-fundamentals-complete-guide)
– Read next: [passive components: resistors, capacitors and inductors compared](/tutorial/passive-components)
– Also in this track: [the pn junction diode: physics, curves and applications](/tutorial/pn-junction-diode)
– Continue with: [ohm’s law tutorial: the one formula that runs everything](/tutorial/ohms-law)
– Calculate as you go: [Ohm’s law calculator](/tools/ohms-law) · [resistor colour code decoder](/tools/resistor-color-code) · [RC time constant tool](/tools/rc-time-constant)
– Bookmark this page against the day a measurement surprises you. Most readers return to the table and the mistake list first, and that is the correct order.
## Measurement discipline
Keep a lab notebook entry for every build in this track. The measured values, the deviations from the guide and the reason for each. Six months from now, those notes are worth more than any tutorial. They describe your bench and your components rather than a general case.
When a result here disagrees with your expectation, write down both numbers before changing anything. The gap between predicted and measured is where the real engineering lives. It is usually a tolerance, a parasitic or an assumption that was never checked.
## Formulas and checks from this guide
Verification checklist for this track: measure before and after every change, confirm polarity before power-up. Log each value beside the guide’s stated number. If a reading differs by more than rounding, find out why before moving on, tolerance, wiring or an untested assumption is always the reason.
Bookmark this page against your next build in the track. The checklist above is the same one used across 29 guides in this series.
## Hard-won notes
Component tolerance and meter accuracy stack. A 5% resistor, a 2% reference and lead resistance easily explain small gaps. Compare direction and magnitude before suspecting the guide.
A resistor and capacitor kit, common diodes and transistors, a breadboard and jumpers. Add modules as tracks demand them.
Procirel