PALMATOWN/ tools / library Open the app ▸

Components · Diodes and LEDs

Diodes and LEDs - Level 2: How Diodes Work in Your Circuits

Clipping with germanium, silicon and LEDs, hard and soft clipping, polarity protection, relay flyback diodes, and sizing an LED resistor.

Read it in the app ▸

Level 1 covered spotting a diode and which way round it goes. This level is about the jobs diodes do in guitar gear: clipping, protecting a pedal from the wrong power supply, guarding transistors from a relay's kick, sizing an LED's resistor, and choosing the right diode for each.

Clipping

Clipping is how most overdrive and distortion pedals get their sound. A diode doesn't conduct until the voltage across it reaches its forward voltage, then it conducts hard. Put two diodes from the signal to ground, facing opposite ways, and any part of the wave that goes above that voltage gets shaved off:

Clipping diodes to ground, and how a clean wave is clipped by germanium, silicon, LED and asymmetric diode pairs

The diode type decides where the clipping starts, and that changes both the volume and the feel:

Clipping diodes Clips at about Sound
Germanium (1N34A) 0.3 V soft, compressed, quieter, with a gentle edge
Schottky (BAT41, 1N5817) 0.3 V similar level to germanium, a little firmer
Silicon (1N4148) 0.6 V the classic: tight, focused, more output
Red LEDs 1.8 V much louder and more open, less compression
No diodes the circuit's own limit loudest, roughest

Asymmetric clipping uses a different number or type of diode on each side, for example two silicon diodes in series one way and one the other. The top and bottom of the wave clip at different levels, which adds even-order harmonics, the kind associated with a warmer, more amp-like sound.

Hard and Soft Clipping

Where the diodes sit matters as much as which ones you use:

Swapping clipping diodes is one of the easiest and most rewarding pedal mods. Socket them and try a few.

Protecting a Pedal from a Backwards Supply

Most pedals take a center-negative 9 V supply. Plug in a center-positive one, or connect a battery clip wrong, and the voltage goes in backwards, which can destroy chips and transistors in an instant. One diode prevents it:

Two ways a diode protects a pedal from a backwards power supply: a series Schottky diode, or a diode across the supply

Guarding Against a Relay's Kick

A relay coil, like any coil, fights a change in current. Switch it off and it produces a sharp voltage spike that can destroy the transistor driving it. A diode across the coil, pointing toward the + side so it normally does nothing, gives that spike a safe path. It is called a flyback or snubber diode, and every relay driven by a transistor needs one. A 1N4148 is enough for small pedal relays; a 1N4001 suits bigger coils. The Relays series covers this in more depth.

Sizing an LED's Resistor

An LED with its current-limiting resistor and the formula for it, with typical forward voltages for each LED color

An LED needs a resistor to set its current. The resistor takes whatever voltage the LED doesn't:

R = (supply voltage − LED forward voltage) ÷ current

Standard 5 mm LEDs are rated about 20 mA, but that is the maximum, and full brightness is glaring on a dark stage. Most pedals run their LED at 2 to 5 mA, and modern high-efficiency LEDs are bright at 1 mA.

LED Supply Current Resistor Use
Red, 2 V 9 V 5 mA 1.4k, so 1.5k a normal pedal indicator
Red, 2 V 9 V 2 mA 3.5k, so 3.6k or 3.9k dimmer, easier on the eyes
Blue, 3.2 V 9 V 2 mA 2.9k, so 3k blue looks much brighter for the same current
Red, 2 V 18 V 5 mA 3.2k, so 3.3k a pedal run at 18 V

Rounding up to the next standard value always makes the LED a little dimmer, never harmful.

Two more LED rules:

Rectifying: AC into DC

Every tube amp's power supply starts with AC from the power transformer. Diodes, or a rectifier tube, turn it into DC by letting through only the part of the wave that points one way. Four diodes in a bridge, or two with a center-tapped transformer, use both halves of the wave. Level 3 covers how it works and how to rate the diodes.

DANGER: LETHAL VOLTAGE. The rectifier diodes in a tube amp sit at the full high voltage, and the filter caps after them can stay charged long after the amp is unplugged. Drain the caps and check them with a meter before you touch anything. The Cap Drain & Bleeder Calculator shows how.

Choosing a Diode

Job Use Why
Clipping 1N4148, germanium, Schottky or LEDs each clips at its own level; try them by ear
Pedal polarity protection, series 1N5817 Schottky loses only about 0.3 V
Pedal polarity protection, parallel 1N4001 cheap and rugged
Relay flyback 1N4148 or 1N4001 fast enough, cheap
Tube amp rectifier 1N4007, or a fast-recovery UF4007 1,000 V rating; the UF type switches more cleanly
Voltage protection or a reference voltage a zener of the voltage you need breaks down at a set voltage

Common Mistakes

Try It

In Build a Circuit, wire a battery, a resistor and an LED, then open Circuit Math: it works out the LED current and the resistor needed for 5, 10 or 20 mA. Put a second LED in series and see how the numbers change. Dial the Diode Sub Box through its positions to compare part numbers.

Level 3 covers the numbers: forward voltage curves, current and power ratings, zeners, rectifier ratings, and how to test, buy and substitute a diode.

Next: Diodes and LEDs, Level 3: The Numbers, Testing and Buying ▸

Read it in the app ▸