Level 1 covered what a relay is and how to read one. This level is about using relays: driving the coil, protecting the driver, relay bypass in pedals, switching speakers safely, and relays in amps.
Driving the Coil
A relay coil draws real current: a 9 V coil commonly takes 30 to 60 mA, and a large power relay more. That is more than a logic chip, a microcontroller pin or a simple footswitch circuit should supply directly. The standard arrangement:
- A transistor or MOSFET switches the coil to ground, with the coil's other end on the positive supply. A 2N3904 handles small coils; a 2N7000 or a logic-level MOSFET suits larger ones. The Transistors and FETs and MOSFETs series cover the details.
- A base or gate resistor from the control signal: about 1k to 4.7k for a transistor driving a small coil.
- A flyback diode across the coil, band toward the positive supply.
Why the Flyback Diode Matters
A coil resists any change in its current. When the driver switches it off, the collapsing magnetic field produces a sharp voltage spike, often tens or hundreds of volts, that can destroy the transistor at the first switch-off. The diode gives that energy a path to circulate harmlessly through the coil. It does nothing in normal operation and costs a few cents. Every DC relay coil needs one. A 1N4148 suits small relays; a 1N4001 suits larger ones.
Latching Relays
A latching relay stays in whichever position it was last moved to, with no coil current, until it gets another pulse. Single-coil latching relays flip one way or the other depending on the pulse's polarity; dual-coil types have one coil for each direction. They save power and remember their state, but need a slightly more involved driver.
Relay Bypass in Pedals
In a relay-bypass pedal, a soft-touch momentary footswitch tells a small toggle circuit (a flip-flop, or a microcontroller) to flip a DPDT signal relay, which does the actual true-bypass switching:
- Quiet: the footswitch clicks softly, and the audio contacts are sealed inside the relay, safe from dust.
- Long-lasting: the footswitch carries almost no current and isn't in the audio path, so it lasts far longer than a 3PDT.
- Flexible: the same circuit can add presets, momentary operation (on only while held), or remote control from a MIDI system.
- Fail-safe: wired so the bypass path runs through the NC contacts, the pedal passes your signal straight through when it has no power.
The trade-offs: it needs power, and a relay switching an audio signal can make a small click. Better designs mute the output for a few milliseconds while the relay moves, or use a relay with low bounce.
Switching Speakers
A relay is a natural fit for remote speaker switching: a footswitch or MIDI system sends a few milliamps to the coil, and the relay's contacts carry the speaker current. Three things decide whether it is safe:
- The contacts must be rated for the speaker current. A 100 W amp into 4 Ω puts about 5 A through them, with higher peaks. A power relay rated 10 A to 16 A is the usual choice; a small signal relay is not.
- A tube amp must never see an open circuit. Most relays are break-before-make: for a few milliseconds while the armature moves, the common is connected to neither output. A resistor across each output, commonly 330 Ω rated 3 to 5 W in metal oxide, means the amp is never completely unloaded during that gap, or if a cabinet is unplugged. Switching with the amp quiet, or muted, adds a second layer of protection.
- Every position must give the amp a safe load. Match the amp's output tap or step up, never down. The Output Transformers series explains why, and the Cab Builder works out the load of each cabinet or combination.
A relay's coil can run from a standard 9 V pedal supply, and an LED driven alongside the coil shows which cabinet is selected.
DANGER: LETHAL VOLTAGE. Relays inside a tube amp, and relays that switch the mains, sit next to lethal voltages. Speaker switching is low voltage by comparison, but an amp's speaker output can still deliver a nasty shock at high power. Unplug the amp before working on anything connected to it, and leave work inside the chassis to someone trained for it. The Cap Drain & Bleeder Calculator explains how filter caps are made safe.
Relays in Amps
- Channel switching: the footswitch jack on many amps carries only a small DC control current; inside, relays switch the preamp paths. That is why some amps need a specific footswitch (latching or momentary, with or without LEDs) and why the wrong one may not work.
- Effects loop switching: a relay puts the loop in or out of the signal path.
- Output muting: some amps use a relay to short or mute the output for a moment at switch-on, to avoid a thump.
- Remote standby: a few amps use a relay so the standby function can be switched from a footswitch.
Amps often run their relays from a small separate supply of 12 V or 24 V.
When a Relay Beats a Switch, and When It Doesn't
| Use a relay when | Use a switch when |
|---|---|
| the control is remote: a footswitch cable, MIDI, a circuit | you are standing at the box and turning a knob is fine |
| one action must switch several circuits at once | one circuit is all you need |
| the current is too heavy for the footswitch and its cable | the current is small |
| quiet, long life and fail-safe bypass matter | simplicity and no power supply matter |
Common Mistakes
- No flyback diode. The driver transistor dies at the first switch-off.
- A relay driven straight from a logic output or microcontroller pin. The pin can't supply the coil current; use a transistor.
- A 12 V relay on a 9 V supply. It may pull in sometimes and not others.
- A signal relay switching speakers. Its contacts weld or burn.
- A break-before-make relay switching a tube amp's only load with no resistor across the outputs. An open circuit, briefly, every time.
Try It
In Build a Circuit, load Relay-Switched LED and switch the relay between energized and de-energized in the Inspector. Then add a Relay with two poles and wire an LED to each of its NC and NO contacts, so one LED lights in each state, the same idea as a cabinet indicator.
Level 3 covers the numbers: coil current and power, pull-in and drop-out voltages, contact ratings and materials, timing and bounce, life ratings, testing, and choosing a relay.