JOVANA
Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

Meet the Diode: One-Way Streets for Current

A resistor treats current the same in both directions — push or pull, it just obeys Ohm's law. The [[diode|diode]] is the first component that *cares which way you push*. It waves current through one way and slams the door shut the other. That tiny asymmetry is the seed of nearly all electronics: power supplies, radios, logic, LEDs. Let's meet it.

A valve for electricity

Imagine a turnstile at a subway entrance. People can push through into the station, but the same turnstile refuses to let anyone walk back out — it only spins one way. A diode is exactly that, but for electric current. Connect it one way and it conducts almost freely; flip it around and it blocks the flow nearly completely. Everything else in this guide is just *how well* it does this, and *what it costs* you to push current through the open direction.

A real diode is a small two-terminal part, often a black cylinder with a painted stripe at one end. The two terminals have names: the anode (the + side, where conventional current enters) and the cathode (the − side, marked by that stripe). Current flows happily from anode to cathode — the direction the schematic triangle 'points'. Push the other way and you get a near-perfect wall.

  anode (+)            cathode (-)
      o──────►|──────o
              ▲
           the bar = the stripe
           on the real part

  current flows  →→→  this way (forward)
  current blocked ✗   the other way (reverse)
The schematic symbol: the triangle points the way current is allowed to flow; the bar is the cathode stripe.

Why one way? The PN junction

The magic lives inside, at a boundary called the PN junction. A diode is a single crystal of semiconductor — usually silicon — that has been deliberately 'doped' so one half is rich in mobile electrons (the N side) and the other half is rich in 'holes', i.e. missing electrons that behave like positive carriers (the P side). Where the two halves meet, something self-organizing happens.

Right at the junction, electrons from the N side drift over to fill holes on the P side. As they do, they leave behind charged atoms — positive on the N edge, negative on the P edge — building a thin depletion region with a built-in electric field. That field is like a small hill the carriers must climb. Left alone, it reaches a standoff: the hill is just tall enough to stop further crossing.

The famous 0.7 volts

Flattening that hill isn't free. For a silicon diode you have to push with roughly 0.6 to 0.7 volts before meaningful current starts to flow. Below that, the diode is essentially still off; above it, current rises steeply and the voltage across the diode barely climbs further. Engineers shorthand this as 'a silicon diode drops about 0.7 V when it's conducting.'

That number is a property of the material, not the manufacturer. Different chemistries give different forward drops: a Schottky diode is about 0.3 V, an ordinary red LED is around 1.8–2.0 V, a blue or white LED more like 3 V. But the silicon-junction 0.7 V is so common you'll memorize it within a week of doing real circuits.

Worked example: lighting an LED safely

Here's the circuit every beginner builds first: a battery, a resistor, and an LED in series. Why the resistor? Because the LED's curve is so steep that without something to limit the flow, even a tiny excess voltage would dump enough current to destroy it. The resistor is the bouncer that sets the current. Let's compute it.

      Vbat = 5 V
        +───┐
            │
          [ R ]   resistor  (value = ?)
            │
          ──┴── node A
           ▼|    LED  (forward drop V_LED ≈ 2.0 V)
          ──┬──
            │
        ────┴──── ground (0 V)

Goal: choose R so the LED current is I = 10 mA
A 5 V supply driving a red LED through a current-limiting resistor.

The trick is to model the LED as a fixed 2.0 V drop while it's conducting, then let the resistor 'eat' whatever voltage is left over. The two parts share the 5 V in series, so the voltage across the resistor must be the supply minus the LED drop.

  1. Find the resistor's voltage. V_R = V_supply − V_LED = 5 V − 2.0 V = 3.0 V.
  2. Pick your target current. A comfortable, bright-but-safe value for a small LED is I = 10 mA = 0.010 A.
  3. Apply [[ohms-law|Ohm's law]] to the resistor. R = V_R / I = 3.0 V / 0.010 A = 300 Ω. The nearest standard part, 330 Ω, gives about 9 mA — perfect.
  4. Sanity-check the power. P_R = V_R × I = 3.0 V × 0.010 A = 0.03 W — a tiny 1/8 W resistor handles it with room to spare.

The I–V curve and how to model it

Plot the current through a diode against the voltage across it and you get the single most important picture in this guide. In the forward direction the curve hugs the floor until ~0.7 V, then rockets upward almost vertically. In the reverse direction it sits at essentially zero — a tiny leakage — until, far to the left, it suddenly breaks down.

        I (current)
          ▲
          │              ╱   forward: steep climb
          │             ╱    after ~0.7 V
          │            ╱
          │          _╱
  ────────┼────────┘────────────►  V (voltage)
   ╲      │   0.7 V
    ╲_____│  ← reverse: ~0 current (leakage)
  breakdown   (until breakdown, far left)
   region
The diode I–V curve: a knee near 0.7 V forward, a near-flat reverse region, and breakdown far to the left.

Engineers tame this curve with models — deliberate simplifications you choose depending on how much accuracy you need:

  1. Ideal diode. Forward = a perfect wire (0 V drop), reverse = a perfect open. Great for first-pass logic: 'does current flow at all, yes or no?'
  2. Constant-drop model. Forward = a fixed 0.7 V battery (silicon) once it's on, reverse = open. This is what we used for the LED — accurate enough for the vast majority of designs.
  3. Exponential (Shockley) model. The full curve, I = I_S·(e^(V/nV_T) − 1), where V_T ≈ 26 mV at room temperature. You reach for this only when you genuinely need to predict the soft knee or temperature behavior.

What this unlocks: a peek at rectification

Here's the payoff that makes the diode worth a whole rung. The wall socket in your home delivers electricity that *reverses direction* 50 or 60 times a second — alternating current. But almost every gadget inside, from your phone to your laptop, needs steady one-directional current to run. Something has to convert one into the other. That something starts with a diode.

Because a diode only passes current one way, it can *chop off* the half of an alternating wave that goes the wrong direction. Feed it a wave that swings up and down, and out the other side comes a signal that only ever pushes one way. That's rectification, and it's the first job most diodes ever do.

  input (AC, both directions)      after one diode (half-wave)

    ╱╲    ╱╲    ╱╲                ╱╲          ╱╲          ╱╲
   ╱  ╲  ╱  ╲  ╱  ╲             ╱  ╲        ╱  ╲        ╱  ╲
  ─────╲╱────╲╱────  ►diode►  ──────────────────────────────
        ╲╱    ╲╱                (the downward halves removed)
A single diode keeps the positive humps and discards the negative ones — half-wave rectification.

That's exactly where the next rung picks up: how a clever arrangement of diodes turns messy alternating current into the clean, steady supply that powers everything you own. You now have all three things you need to follow it — the one-way idea, the 0.7 V drop, and the I–V curve. Everything else is engineering.