FreeCircuitSim
April 20268 min readBeginner

Diodes Explained — How Diodes Work and Types

A diode is a one-way valve for electrical current. It allows current to flow in one direction (forward) while blocking it in the other (reverse). This simple property makes diodes essential for rectification, protection, signal processing, and light emission.

Open Diode Simulator
Advertisement

Diode Rectifier Flow

graph LR AC["AC Input (~)"] -->|positive half| D1["Diode (forward bias, 0.7V drop)"] D1 --> DC["DC+ Output"] DC --> LOAD["Load"] LOAD --> GND["GND"] AC -->|negative half — blocked| X["✗ Blocked by diode"] style DC fill:#1a3a2a,stroke:#00ff88,color:#00ff88 style X fill:#3a1a1a,stroke:#ff4444,color:#ff4444

How a Diode Works

A standard silicon diode (like the 1N4007) has an anode (positive terminal, marked with a triangle on schematic symbols) and a cathode (negative terminal, marked with a bar or line). Current flows easily from anode to cathode (forward bias) but is blocked from cathode to anode (reverse bias).

Simulate Diode I-V Curve

Diode Types

TypeV_FKey FeatureCommon Use
Silicon (1N4007)0.6–0.7VGeneral purpose, 1A, 1000V PIVRectifiers, protection
Schottky (1N5819)0.2–0.4VLow forward voltage, fast switchingPower supplies, logic, RF
ZenerVariesStable reverse breakdown voltageVoltage reference, regulation
LED1.8–3.5VEmits light when conductingIndicators, displays, lighting
Schottky barrier0.15–0.3VVery fast, low dropHigh-frequency rectification

Rectifier Circuits

Rectifiers convert AC to pulsating DC by blocking the negative half-cycles. A half-wave rectifier uses one diode and passes only the positive half-cycles. A full-wave bridge rectifier uses four diodes and converts both half-cycles to positive DC — doubling the output frequency and reducing ripple.

Simulate Half-Wave Rectifier Simulate Full-Wave Rectifier

Zener Diode Voltage Reference

A Zener diode is designed to operate in reverse breakdown at a specific voltage (the Zener voltage, typically 2.4V to 200V). Connect it in reverse with a series resistor from the supply: the Zener maintains a stable voltage across itself regardless of current variations. Used for simple voltage regulation and reference.

R_series = (V_supply - V_zener) / I_z
I_z = desired Zener current (typically 5–20mA for small Zeners)
Simulate Zener Reference

LED Current Limiting

LEDs must have their current limited by a series resistor — without it, they draw too much current and burn out. The required resistor value depends on supply voltage, LED forward voltage, and desired current.

R = (V_supply - V_LED) / I_LED
Typical I_LED: 10–20mA for indicator LEDs. V_LED: red/yellow ≈ 2V, blue/white/green ≈ 3.2V

Example: Red LED, 5V supply, 20mA → R = (5 - 2) / 0.02 = 150Ω. Use 150Ω or 180Ω.

Common Beginner Mistakes

⚠️

Connecting LED Without Resistor

An LED without a current-limiting series resistor will draw maximum current and burn out within seconds. Always calculate R = (Vsupply - VLED) / ILED before connecting an LED to any power source.

⚠️

Reversed Diode Polarity

A diode connected backwards blocks current entirely — the circuit simply won't work. Check the cathode marking (stripe, bar, or K label) and ensure it connects toward the more negative side of the circuit.

⚠️

Ignoring Reverse Voltage Rating

Every diode has a Peak Inverse Voltage (PIV) rating. In a mains rectifier, the reverse voltage spikes can exceed 400V. Using a 1N4148 (100V PIV) instead of a 1N4007 (1000V PIV) in a mains circuit will destroy it.

⚠️

No Flyback Diode on Inductive Loads

Switching off a relay, motor, or solenoid coil generates a large reverse voltage spike. Without a freewheeling diode in reverse across the load, this spike destroys the switching transistor or MOSFET.

Frequently Asked Questions

What is the forward voltage of a diode?
The forward voltage drop is the voltage consumed by the diode when conducting. Silicon diodes drop approximately 0.6-0.7V. Schottky diodes drop 0.2-0.4V. LEDs drop 1.8-3.5V depending on colour.
What is a Zener diode used for?
A Zener diode is used as a voltage reference or simple regulator. Connected in reverse with a series resistor, it maintains a stable fixed voltage across itself (the Zener voltage) across a range of currents.
How do I calculate the LED current limiting resistor?
Use R = (V_supply - V_LED) / I_LED. For a red LED at 5V supply and 20mA: R = (5 - 2) / 0.02 = 150 ohms. Use the nearest standard value (150Ω or 180Ω).
Keep Going
Ready to simulate this yourself?
Open the free simulator — no account, no download needed.
⚡ Open Simulator →
📍 Step 7 — active components
Continue Learning →
Next up: Transistor Switch
Next: Transistor Switch →

Related Guides

← Back to All Guides