Wacky Knobs

← Lab / Components

· 8 min read

Diodes and LEDs: protection, distortion and light

← The pedal electronics map

A diode is a one-way valve for current. In a pedal it does three completely different jobs: it saves the pedal from the wrong adapter, it makes distortion and it lights up when the effect is on. Each job calls for a different diode.

What a diode does

A diode lets current flow one way only, from the anode to the cathode. On the symbol the triangle points that way and the bar is the cathode. On the diode itself a stripe marks the cathode.

But even in the “right” direction the current doesn’t start right away: first it has to get past the threshold, the voltage at which the diode starts to conduct. Below it the diode is nearly an insulator; above it, it conducts better and better while the voltage across it barely rises. That threshold and the shape of the “knee” are all that matters for the sound, and that is exactly where diodes differ:

The curves come from the Shockley equation with parameters close to the usual SPICE models. Real parts vary by ten percent or so.

Job 1: protection from the wrong adapter

The pedal standard is 9 V, center negative. Plug in an adapter with the opposite polarity and without protection the op-amp and the electrolytic caps can burn in a second. Two common protections:

A diode in series (like D3 on the map)
All of the pedal’s current goes through the diode, so the wrong polarity simply doesn’t get through. The price is the voltage drop across the diode. That is why a Schottky (1N5817) goes here: it loses about 0.2 V instead of 0.7 V for a plain silicon one. That matters for the sound: less voltage means less headroom before the op-amp starts clipping on its own.
A diode across the supply
Turned so it doesn’t conduct in normal use. With the wrong polarity it conducts and makes a short, so the adapter shuts its output down or a fuse blows. No voltage drop, but rough on the adapter. Usually a 1N4001, which handles a big current.

Job 2: clipping

This is the diode as an instrument. A pair of diodes facing opposite ways clips the signal peaks, and the threshold and knee from the graph above become the color of the distortion. Silicon clips sharply at 0.6 V, germanium earlier and softer, an LED only at 1.7 V and louder. The whole block, with a simulator and sound, is in the Clipping article.

Job 3: rectifying

  • Octave fuzz. When diodes “fold” the bottom half of the wave up (full-wave rectification), the wave repeats twice as often, and that is an octave up. That is how classic Octavia-style octave-up fuzzes work. It sounds best on clean single notes above the 12th fret.
  • More voltage from 9 V. Pedals that run on 18 V inside or also have −9 V use a charge pump: a chip that rapidly switches capacitors around while diodes steer the current so the voltages add up. More voltage means more headroom before clipping, for a cleaner, more dynamic sound.

The Zener diode

A Zener is built to conduct in the reverse direction at an exact voltage (say 5.1 V or 15 V). In pedals it protects against overvoltage and makes a simple stable voltage. Once in a while it shows up in clipping too, as a pair of Zeners facing opposite ways.

How to recognise a diode

Looks likeWhat it isWhere it goes in a pedal
Glass, orange, black stripe1N4148 / 1N914, siliconclipping
Glass, bigger, with colored rings or printing1N34A and other germaniumclipping, vintage fuzzes
Black plastic, silver stripe1N4001–1N4007 (rectifier) or 1N5817–1N5819 (Schottky)supply protection
SMD, rectangular with a stripe1N4148W, Schottkys in SOD-123 and the likeall of the above, just smaller
SMD with three legs (SOT-23)two diodes in one package, e.g. BAV99a ready-made clipping pair

On SMD diodes the stripe or bar is the cathode too. The marking is often a code of just two or three characters, so you need the maker’s table for the exact part.

Measuring: a multimeter in diode mode (the diode symbol) shows the threshold directly. Red lead on the anode, black on the cathode: silicon reads about 0.5–0.7 V, germanium and Schottky 0.15–0.35 V, and an LED may even glow faintly. Reversed it must read OL (doesn’t conduct). If it reads close to zero both ways, the diode is shorted.

The LED: a diode that lights up

An LED is a diode like any other, it just turns part of the energy into light. The threshold depends on the color: red and yellow about 1.8–2 V, blue, white and modern green about 3 V. The longer leg is the anode (+), and the flat side on the rim is the cathode.

An LED always goes with a resistor in series. The diode alone doesn’t limit the current: above the threshold the current rises almost without limit and the LED burns out. The resistor sets the current, and with it the brightness. Try it:

On the map the LED has the 4.7 kΩ resistor R7: on 9 V that is about 1.5 mA, plenty for a modern LED. Old recipes with 1 kΩ and 7 mA make a “searchlight” and eat batteries.

  • The pedal clicks when you switch it on? One of the causes is the LED: when it lights, it suddenly pulls current from the supply, and that voltage step can be heard as a “pop”. A bigger resistor (less current) and good supply filtering help.
  • An LED as part of the sound. Besides clipping, LEDs hide inside optical tremolo and compressor pedals: an LED and a light-dependent resistor in one package (a vactrol). The LED shines brighter or dimmer, the LDR changes its resistance and with it the signal level, smoothly and without crackling.

Snake oil corner. “Selected, matched NOS germanium diodes” sounds like a recipe for magic. The difference that matters is between types: silicon, germanium, LED. The difference between two 1N4148s from the same bag is so small nobody can hear it. Germanium does vary more, so trying a few there makes sense. But there is no such thing as an “audio grade” diode.

What it means for your pedal

  • Building a pedal? Put a Schottky in series for protection: it is cheap and you lose only a couple of tenths of a volt.
  • Want a different distortion? Swap the clipping diodes: Ge for softer, LEDs for louder and more open, or fit a socket and try them all.
  • The LED is blinding? Raise its resistor to 4.7–10 kΩ.
  • The pedal doesn’t work but the LED is on? The power is fine; look for the problem in the signal path.

← Back to the map · Diodes in action: clipping →

More in Components

← Lab