The Direct Answer: What a Diode Actually Does

At the bench, a diode is a one-way check valve for electrical current. It allows current to flow freely in the forward direction—dropping a small, predictable voltage (typically 0.7V for standard silicon)—and blocks current in the reverse direction up to its peak inverse voltage (PIV) rating. If you reverse-bias it beyond that PIV limit, it breaks down and conducts violently, usually destroying itself and whatever is downstream.

You use diodes to protect circuits from reverse polarity, convert AC to DC (rectification), clamp inductive voltage spikes, and establish fixed reference voltages. While the physics of the P-N junction involves depletion regions and hole-electron recombination, as a builder, you only need to care about three things: forward voltage drop (Vf), maximum forward current (If), and reverse breakdown voltage (Vr).

Symbol, Pinout, and Operation Regions

On a schematic, the diode symbol is a triangle pointing toward a vertical line. The flat side of the triangle is the Anode (A), where conventional current enters. The vertical line is the Cathode (K), where current exits.

On a physical through-hole component (like the common DO-41 epoxy package), the cathode is marked by a painted band—usually silver, black, or white—around one end of the cylinder. Always remember: current flows from the unbanded end to the banded end.

Operation Regions Table

Region Bias Condition Typical Voltage (Silicon) Current Behavior Practical Effect
Forward Bias Anode > Cathode by > 0.7V 0.6V - 1.1V (Vf) mA to Amps (limited by circuit) Acts as a closed switch with a small voltage toll.
Reverse Bias Cathode > Anode 0V to -Vr (PIV) nA to µA (leakage current) Acts as an open switch; blocks current flow.
Breakdown Cathode > Anode by > Vr Beyond PIV rating Rapid, uncontrolled increase Destructive avalanche (unless it's a Zener diode).

Safe Default Part Numbers and Ratings

When you're prototyping or need a quick replacement, keep these four part numbers in your kit. They cover 95% of general-purpose hobby and light-industrial applications. Never substitute a signal diode for a power rectifier; the thermal mass and silicon die size are vastly different.

Part Number Type Reverse Voltage (Vr) Forward Current (If) Forward Voltage (Vf) Best Used For
1N4148 Small Signal 100V 200mA (300mA peak) ~0.7V @ 10mA Logic gating, signal clipping, low-current steering.
1N4007 Standard Rectifier 1000V 1A continuous ~1.1V @ 1A AC/DC power supplies, relay flyback, reverse polarity protection.
1N5819 Schottky 40V 1A continuous ~0.6V @ 1A Solar blocking, low-voltage DC efficiency, switching regulators.
1N4733A Zener (5.1V) 5.1V (Breakdown) 49mA (Iz test) 5.1V (Reverse) Voltage clamping, crude regulation, overvoltage protection.

For deeper specifications on the ubiquitous 1N400x series, you can reference the Vishay 1N400x datasheet, which outlines the exact surge current capabilities and thermal derating curves.

How to Select and Bias a Diode: The Flyback Application

Selecting a diode means matching its Vr to your maximum reverse voltage, and its If to your maximum forward current, plus a 20-50% safety margin. Let's look at the most common application where getting this wrong destroys your circuit: the inductive flyback diode.

When you de-energize a relay coil or a DC motor, the collapsing magnetic field generates a massive reverse voltage spike (inductive kickback) that can easily exceed 100V, punching right through your switching transistor. A flyback diode is wired in reverse bias across the inductive load. During normal operation, it blocks current. When the spike occurs, it becomes forward-biased and safely recirculates the current back through the coil until the energy dissipates as heat.

Complete Application Circuit: 12V Relay Driver

Components:

  • 12V DC Relay (Coil resistance ~400Ω, draws ~30mA)
  • 2N2222 NPN Bipolar Junction Transistor (BJT)
  • 1kΩ Base Resistor (1/4W)
  • 1N4007 Flyback Diode
  • 5V Microcontroller GPIO (e.g., Arduino/ESP32)

Wiring Steps:

  1. Connect the 12V supply positive to Relay Coil Pin 1.
  2. Connect Relay Coil Pin 2 to the Collector of the 2N2222.
  3. Connect the Emitter of the 2N2222 to System Ground.
  4. Connect the 1kΩ resistor between the GPIO pin and the Base of the 2N2222.
  5. Critical Step: Connect the Cathode (silver band) of the 1N4007 to Relay Coil Pin 1 (+12V).
  6. Connect the Anode of the 1N4007 to Relay Coil Pin 2 (Collector).

When the GPIO goes HIGH, the transistor saturates, grounding the coil and pulling the relay in. The diode is reverse-biased (12V at cathode, ~0.2V at anode) and does nothing. When the GPIO goes LOW, the transistor cuts off. The coil's collapsing field pulls the collector voltage negative relative to the supply, forward-biasing the 1N4007. The spike is clamped to roughly 0.7V above the 12V rail, saving your 2N2222.

Failure Modes and How to Test with a Multimeter

Diodes generally fail in two ways: shorted (conducts in both directions) or open (blocks in both directions). A short usually happens from thermal runaway or exceeding the maximum forward current, melting the silicon die. An open usually results from a massive overvoltage transient that physically cracks the junction.

To test a diode, you need a digital multimeter (DMM) with a dedicated diode test mode (usually indicated by a diode symbol on the dial). For a comprehensive guide on DMM functions, check out this SparkFun multimeter tutorial.

Numbered Testing Steps

  1. Isolate the component: If the diode is in-circuit, remove power and discharge any capacitors. For accurate readings, desolder at least one leg to prevent parallel circuit paths from skewing the DMM reading.
  2. Set the DMM: Turn the dial to the diode test mode.
  3. Forward Bias Test: Place the Red probe on the Anode (unbanded side) and the Black probe on the Cathode (banded side).
    • Pass: The meter reads between 0.500V and 0.800V for standard silicon, or 0.200V to 0.400V for Schottky.
    • Fail (Short): The meter reads 0.000V or beeps continuously.
  4. Reverse Bias Test: Swap the probes. Place the Black probe on the Anode and the Red probe on the Cathode.
    • Pass: The meter displays 'OL', '1', or 'Over Limit', indicating infinite resistance.
    • Fail (Short): The meter reads a voltage value or 0.000V.
    • Fail (Open): If this step reads 'OL' but Step 3 also read 'OL', the diode is internally open and dead.

Bench Tip: If you are testing a Zener diode, the reverse bias test on a standard DMM will still read 'OL' because the DMM's test voltage is usually under 3V. To verify a Zener's breakdown voltage, you must build a test circuit with a current-limiting resistor and a variable power supply, measuring the voltage across the diode as it enters reverse breakdown.

Frequently Asked Questions

What diode do I use for a 12V DC motor?

For a standard 12V DC hobby motor drawing under 1 Amp, use a 1N4007 as a flyback diode. Wire it in reverse bias across the motor terminals (cathode to positive, anode to negative). If your motor is driven by PWM at high frequencies (above 5kHz), the slow reverse-recovery time of the 1N4007 will cause excess heat and EMI. In that case, swap to a fast-recovery diode like the UF4007 or a Schottky diode like the 1N5819.

What diode do I need to drop 5V down to 3.3V?

Technically, you can put two or three standard silicon diodes (like the 1N4148) in series to drop roughly 0.7V per stage (5V - 1.4V = 3.6V). However, do not do this for precision logic. The forward voltage drop (Vf) changes with current draw and temperature. If your microcontroller goes into sleep mode and draws 2mA instead of 50mA, the voltage drop will shrink, and your 3.3V rail will spike, potentially brownout or damaging the chip. Use a dedicated Low Dropout Regulator (LDO) like the AMS1117-3.3 or a buck converter instead.

What diode do I use for solar panel reverse current protection?

You need a blocking diode to prevent your battery from discharging back through the solar panel at night. Because solar panels operate at low voltages, a standard silicon diode's 0.7V drop wastes valuable power. Use a Schottky diode like the 1N5822 (3A, 40V, ~0.5Vf) for panels under 3 Amps. For larger arrays, the voltage drop across even a Schottky diode generates too much heat; upgrade to an 'ideal diode' circuit using a P-channel MOSFET, which drops only millivolts.

What diode do I need for a breadboard power supply?

If you are building a linear power supply on a breadboard using a step-down transformer, you need a bridge rectifier to convert the AC to DC. While you can wire four individual 1N4007 diodes in a bridge configuration, it's much cleaner and more reliable to use a single integrated bridge rectifier package like the W10M or KBPC5010 (if you need higher current). If you are just protecting the breadboard from accidental reverse-polarity connection from a bench supply, a single 1N4007 in series with the positive rail works, but a P-MOSFET reverse polarity protector is vastly superior as it drops almost zero voltage.