Diodes Explained: Rectifier, Schottky, Zener, and TVS Compared

A diode passes current in one direction and blocks it in the other, but the four common power-electronics types solve four different problems. A rectifier diode converts AC to DC, a Schottky diode switches fast with low loss, a Zener diode clamps a reference voltage, and a TVS diode absorbs destructive spikes. Pick the wrong one and you get overheated converters, drifting references, or fried microcontrollers. This guide gives you the specs, pinouts, circuits, and Arduino/ESP32 code to choose and verify the right part.

Quick Takeaways

  • Rectifier diodes (1N4007) handle high reverse voltage (1000V) and current but have a slow recovery and a ~0.7-1.1V forward drop.
  • Schottky diodes (1N5819, SS34) drop only 0.15-0.45V and switch in nanoseconds, but leak more and have lower reverse ratings (20-100V typical).
  • Zener diodes (1N4733A) conduct in reverse at a defined breakdown voltage, making them simple shunt regulators and clamps.
  • TVS diodes (SMBJ5.0A, P6KE) clamp transients in picoseconds to protect I/O lines, power rails, and communication buses.
Diode Type Typical Part Forward Drop (Vf) Reverse Behavior Speed Main Use
Rectifier 1N4007 ~1.0V Blocks up to 1000V Slow (µs) AC-DC rectification
Schottky 1N5819 ~0.35V Blocks 40V, higher leakage Very fast (ns) SMPS, reverse protection
Zener 1N4733A ~0.7V Conducts at Vz (5.1V) Moderate Voltage reference/clamp
TVS SMBJ5.0A ~0.8V Clamps at ~9.2V (surge) Ultra fast (ps) ESD/surge protection

How a Diode Works: The Short Theory

A standard PN junction conducts when the anode is more positive than the cathode by the forward voltage (Vf). Below that threshold, almost no current flows. In reverse bias, only a tiny leakage current (Ir) flows until the breakdown voltage is reached.

Four parameters define every diode datasheet:

  • Vf (forward voltage): voltage lost across the diode at rated current. Power loss is P = Vf × If.
  • VRRM (peak repetitive reverse voltage): the maximum reverse voltage the part blocks safely.
  • If (average forward current): continuous current the package can dissipate.
  • trr (reverse recovery time): how long the diode keeps conducting after switching from forward to reverse.

The cathode is marked by a band on through-hole and SMD packages. Current flows from the unbanded end (anode) to the banded end (cathode).

Rectifier Diodes

Overview

Rectifier diodes like the 1N4001-1N4007 series and 1N5400 series are built for low-frequency, high-voltage, high-current work: mains rectification at 50/60Hz. They use a large silicon junction with a slow trr (several microseconds), which is irrelevant at line frequency but harmful in switching converters.

Key Specs (1N4007)

Parameter Value
VRRM 1000V
Average forward current (If) 1A
Forward voltage (Vf) ~1.1V at 1A
Surge current (IFSM) 30A (8.3ms)
Package DO-41

Where to Use It

  • Bridge rectifiers in linear power supplies
  • Freewheeling on relay coils at low switching rates
  • Reverse polarity blocking where a 1V drop is acceptable

Bridge Rectifier Circuit

A full-wave bridge uses four diodes. Two conduct on each half-cycle, so the output sees two diode drops (~2V for silicon).

AC ~ ──┬──►|──┬── +DC ──[C 1000µF]──[Load]
       │      │
       └──|◄──┴── (bridge: D1-D4 = 1N4007)

Size the filter capacitor from ripple: C = I / (2 × f × Vripple). For 500mA load, 50Hz mains, and 1V ripple: C = 0.5 / (2 × 50 × 1) = 5000µF.

Schottky Diodes

Overview

A Schottky diode uses a metal-semiconductor junction instead of a PN junction. There is no minority-carrier storage, so it switches almost instantly and drops far less voltage. The trade-off: higher reverse leakage, lower VRRM, and leakage that rises sharply with temperature.

Key Specs (1N5819 and SS34)

Parameter 1N5819 SS34 (SMD)
VRRM 40V 40V
If (avg) 1A 3A
Vf ~0.45V at 1A ~0.5V at 3A
Reverse leakage ~1mA at 25°C ~0.5mA at 25°C
Package DO-41 SMA/DO-214AC

Where to Use It

  • Buck/boost converter freewheel diodes (100kHz-2MHz switching)
  • OR-ing two power sources (USB + battery)
  • Reverse-polarity protection with minimal voltage loss
  • Clamping on 3.3V logic lines

Efficiency Gain Example

At 2A output:

  • 1N4007 loss: 1.0V × 2A = 2.0W
  • SS34 loss: 0.45V × 2A = 0.9W

That is 1.1W less heat, often the difference between needing a heatsink and not.

Schottky Limitations

  • Leakage doubles roughly every 10°C. At high temperature, a Schottky can leak enough to cause thermal runaway.
  • Silicon carbide (SiC) Schottkys extend the range to 650V-1200V for power-factor correction and EV chargers, at higher cost.

Zener Diodes

Overview

A Zener diode is designed to operate in reverse breakdown. Below Vz, it blocks. At Vz, it conducts and holds the voltage nearly constant. Parts with Vz under ~5V rely on the Zener effect; above ~5V, avalanche breakdown dominates. Around 5.1V, the two effects cancel and temperature stability is best.

Key Specs (1N47xx Series, 1W)

Part Vz (nominal) Test Current (Izt) Power
1N4728A 3.3V 76mA 1W
1N4733A 5.1V 49mA 1W
1N4742A 12V 21mA 1W
BZX55C3V3 3.3V 5mA 500mW

Shunt Regulator Circuit

Vin ──[Rs]──┬── Vout (= Vz)
            │
          [Zener, cathode up]
            │
           GND

Calculate the series resistor:

Rs = (Vin − Vz) / (Iz + Iload)

Example: Vin = 12V, Vz = 5.1V, Iload = 20mA, Iz(min) = 5mA:

Rs = (12 − 5.1) / (0.025) = 276Ω → use 270Ω.

Zener power: Pz = Vz × Iz_max. With load removed, Iz = 6.9V/270Ω = 25.6mA, so Pz = 5.1 × 0.0256 = 130mW. A 500mW part is safe.

Protecting an MCU Input with a Zener

A 3.3V Zener (BZX55C3V3) clamps a 5V sensor signal before it reaches an ESP32 GPIO. Place a 1kΩ series resistor between the signal and the pin to limit current:

5V signal ──[1kΩ]──┬── ESP32 GPIO
                   │
                [BZX55C3V3]
                   │
                  GND

When Not to Use a Zener

Zeners are poor regulators for loads that vary widely. Use an LDO (AMS1117, MCP1700) or a buck converter instead. Use the Zener as a reference or clamp.

TVS Diodes

Overview

A TVS (Transient Voltage Suppressor) diode is a specialized avalanche diode built to absorb high-energy, short-duration spikes: ESD, inductive kickback, and lightning-induced surges. Its junction area is large, so it handles hundreds of watts to kilowatts for microseconds, and it reacts in picoseconds.

Key Terms

  • VRWM (working standoff voltage): the highest normal operating voltage. Leakage stays minimal below it.
  • VBR (breakdown voltage): where it starts conducting.
  • VC (clamping voltage): the maximum voltage across the TVS at peak surge current.
  • IPP (peak pulse current): surge it survives (8/20µs or 10/1000µs waveform).

Unidirectional vs. Bidirectional

Type Use Case Example
Unidirectional DC rails, single-polarity signals SMBJ5.0A
Bidirectional AC lines, RS-485, CAN bus, audio SMBJ5.0CA
Low-capacitance array USB 2.0, HDMI, high-speed data USBLC6-2SC6

Key Specs (SMBJ5.0A)

Parameter Value
VRWM 5.0V
VBR 6.4V min
VC (at IPP) 9.2V
Peak pulse power 600W (10/1000µs)
Package SMB

Placement Rules

  1. Put the TVS as close as possible to the connector that receives the surge.
  2. Route the surge current through the TVS pad first, then to the protected IC.
  3. Use a short, wide ground return to minimize inductance. A 10nH trace adds about 10V at a 1A/ns di/dt event.
  4. Choose VRWM ≥ normal working voltage and VC < the protected IC’s absolute maximum rating.

Zener vs. TVS: Which Do You Need?

Feature Zener TVS
Purpose Voltage reference/regulation Surge/ESD absorption
Pulse energy Low (mJ range) High (up to kW pulses)
Response time ~ns ~ps
Clamping accuracy Tight Vz tolerance (±5%) Wider, rated at VC
Continuous power Up to several W Not rated for continuous
Cost Very low Low to moderate

A Zener can clamp a spike, but it may fail short or open on a large surge. A TVS cannot regulate continuously. Use each for its design purpose.

Master Comparison: Choosing the Right Diode

Requirement Best Choice Why
Rectifying 120/230VAC mains Rectifier High VRRM, cheap, robust
12V-to-5V buck converter Schottky Low Vf, fast switching
Low-loss reverse polarity guard Schottky (or P-MOSFET) ~0.3V loss
Stable 5.1V reference Zener Defined breakdown
ESD on USB/UART/GPIO lines TVS Fast, high surge rating
Relay or motor flyback Rectifier or Schottky Depends on switching speed
Automotive load dump TVS (e.g., SMDJ) High energy absorption

Practical Project 1: Relay Driver with Flyback Protection (Arduino)

When a 5V relay coil turns off, the collapsing field produces a reverse voltage spike of 50-100V+ that can kill your transistor. A flyback diode across the coil gives that current a safe path.

Components

  • Arduino Uno (or any 5V board)
  • 2N2222 NPN transistor
  • 1kΩ base resistor
  • 1N4007 flyback diode (1N5819 also works)
  • 5V relay module/coil

Wiring

  • Arduino D7 → 1kΩ → 2N2222 Base
  • 2N2222 Emitter → GND
  • 2N2222 Collector → relay coil negative
  • Relay coil positive → 5V
  • 1N4007 across the coil: cathode (band) to 5V, anode to collector

Code

// Relay driver with flyback diode protection
const uint8_t RELAY_PIN = 7;   // D7 drives transistor base via 1k resistor

void setup() {
  pinMode(RELAY_PIN, OUTPUT);
  digitalWrite(RELAY_PIN, LOW);   // Relay off at boot
}

void loop() {
  digitalWrite(RELAY_PIN, HIGH);  // Energize coil
  delay(2000);
  digitalWrite(RELAY_PIN, LOW);   // De-energize: flyback diode absorbs spike
  delay(2000);
}

Reverse the diode and you short the supply through it the moment the relay energizes. Always check the band direction.

Practical Project 2: ESP32 Input Protection Stack

An ESP32 GPIO is rated for 3.3V with an absolute maximum of about 3.6V. Field wiring needs layered protection.

Protection Layers

  1. TVS (e.g., PESD5V0S1BL) at the connector for ESD.
  2. Series resistor (330Ω-1kΩ) to limit current.
  3. Schottky or Zener clamp (BAT54S dual Schottky to 3.3V and GND) at the pin.

Code: Reading a Protected Digital Input (MicroPython)

from machine import Pin
import time

sensor = Pin(34, Pin.IN)   # GPIO34: input-only, protected by TVS + 1k series R

while True:
    state = sensor.value()           # Read logic level (0 or 1)
    print("Sensor:", state)
    time.sleep(0.5)

Testing the Clamp

Apply a bench supply through a 1kΩ resistor into the protected node. Raise the voltage slowly while watching with a multimeter. A BAT54S clamp holds the node near 3.3V + 0.3V. Never exceed the diode’s If rating during the test.

Practical Project 3: Reverse Polarity Protection

A single series diode blocks reverse battery connection:

Method Voltage Loss at 1A Power Loss Notes
1N4007 in series ~1.0V 1.0W Cheap but wasteful
1N5819 Schottky ~0.4V 0.4W Better for 3.3V/5V systems
P-channel MOSFET ~0.02V 0.02W Best for battery devices

For a 3.7V Li-ion device, a 1V drop wastes over a quarter of the cell voltage. Use a Schottky at minimum, or a MOSFET.

Diode Diagnostics: Testing with a Multimeter

  1. Set the meter to diode test mode (diode symbol).
  2. Connect the red lead to the anode and the black lead to the cathode.
  3. Read the forward drop:
    • Silicon rectifier: 0.5-0.7V reading
    • Schottky: 0.15-0.35V
    • Open circuit (OL) in forward direction: failed open
    • Near 0V both directions: failed short
  4. Reverse the leads. A healthy diode shows OL.

To test a Zener, build the shunt circuit above and measure Vz under load. To test a TVS, a multimeter only checks for short/open; verifying clamp voltage needs a bench supply with current limit.

Common Mistakes

  • Wrong polarity: a reversed flyback diode shorts the supply.
  • Ignoring power rating: a 500mW Zener fed from an unchecked source overheats in seconds.
  • Using a rectifier in a switcher: its slow trr causes shoot-through losses and EMI above ~50kHz.
  • Schottky at high temperature: reverse leakage can run away. Derate VRRM by 20-30%.
  • TVS too far from the connector: trace inductance defeats the clamp.
  • VRWM below signal level: the TVS conducts during normal operation and distorts the signal.

FAQ

What is the main difference between a Schottky and a rectifier diode?

A Schottky diode has a metal-semiconductor junction, giving a lower forward drop (0.15-0.45V) and near-instant switching. A rectifier diode has a PN junction with a higher drop (~0.7-1.1V) and slower recovery, but it blocks much higher reverse voltages (up to 1000V+).

Can I use a Zener diode instead of a TVS diode?

Only for small, low-energy events. A Zener has a tight Vz and good DC regulation but handles far less surge energy than a TVS. For ESD, load dump, or inductive spikes, use a TVS diode.

Which diode is best for a flyback application?

Use a 1N4007 for slow relays and solenoids, or a Schottky (1N5819, SS34) for faster switching and lower clamp voltage. For motors driven by PWM above 20kHz, choose a fast or Schottky diode.

How do I choose the right Zener voltage?

Match Vz to the target regulated or clamped voltage, then select a power rating above Vz × Iz_max. Compute the series resistor with Rs = (Vin − Vz) / (Iz + Iload) and confirm worst-case dissipation with the load removed.

Hot this week

iOS Architecture Explained: Darwin, XNU, and Core Services

Learn how iOS architecture works, from the Darwin kernel and XNU to Core Services and Cocoa Touch. Read the full technical breakdown now.

Android Architecture Explained: From Linux Kernel to Apps

Learn how Android’s layered architecture works, from the Linux kernel and HAL to ART and apps. Follow the commands and inspect your own device today.

Windows NT Architecture Explained: Kernel, Executive, and Subsystems

Learn how the Windows NT kernel, Executive, HAL, and subsystems work together. Inspect each layer with real commands. Read the full guide.

The Linux Kernel Explained: Architecture, Modules, and How It Boots

Learn how the Linux kernel works: its architecture, loadable modules, and full boot sequence. Includes commands, tables, and fixes. Read the guide.

The Most Secure Operating Systems: What the Evidence Shows

Compare the most secure operating systems by kernel design, patch cadence, and exploit data. See which OS fits your threat model. Read the guide.

Topics

iOS Architecture Explained: Darwin, XNU, and Core Services

Learn how iOS architecture works, from the Darwin kernel and XNU to Core Services and Cocoa Touch. Read the full technical breakdown now.

Android Architecture Explained: From Linux Kernel to Apps

Learn how Android’s layered architecture works, from the Linux kernel and HAL to ART and apps. Follow the commands and inspect your own device today.

Windows NT Architecture Explained: Kernel, Executive, and Subsystems

Learn how the Windows NT kernel, Executive, HAL, and subsystems work together. Inspect each layer with real commands. Read the full guide.

The Linux Kernel Explained: Architecture, Modules, and How It Boots

Learn how the Linux kernel works: its architecture, loadable modules, and full boot sequence. Includes commands, tables, and fixes. Read the guide.

The Most Secure Operating Systems: What the Evidence Shows

Compare the most secure operating systems by kernel design, patch cadence, and exploit data. See which OS fits your threat model. Read the guide.

Monitor Linux Performance: top, htop, btop, vmstat, and iostat

Learn to monitor Linux performance with top, htop, btop, vmstat, and iostat. Read every metric, spot bottlenecks, and fix them. Start tuning now.

Linux Administration Roadmap: What to Learn After the Basics

Move past Linux basics. Follow this step-by-step sysadmin roadmap with commands, configs, and labs. Start building real server skills today.

PowerShell for Beginners: Commands Every Windows User Should Know

Learn the PowerShell commands every Windows user needs: navigation, files, processes, services, and networking. Copy, paste, and start now.

Related Articles

Popular Categories