Circuit 4 of 48: The Attenuator

Circuit 4 of 48: The Attenuator in the 48 Circuits or Less series

[Last Updated: January 6, 2024]

As a member of the Reverb Partner Program and as an Amazon Associate, StompboxElectronics earns from, and is supported by, qualifying purchases.

Disclaimer: Stompbox Electronics and/or the author of this article is/are not responsible for any mishaps that occur as a result of applying this content.

The Attenuator

When you use a volume control knob on your guitar effect pedal you are most likely using a circuit called an attenuator. An attenuator is a circuit that decreases the amplitude of a signal. Attenuators are usually built with components called potentiometers.

Figure 4.1 A rotary potentiometer.
Figure 4.1 A rotary potentiometer.

The Potentiometer

A potentiometer (or pot, for short) is a three-lug device that allows you to dial in a variable resistance.

In Figure 4.2, Lug 1 and Lug 2 connect to opposite ends of a resistive material while the middle lug connects to a wiper. This wiper slides across the internal resistive material, allowing you to make contact at different points.

Figure 4.2 The potentiometer as a three-lug device and it’s electrical symbol (upper left corner).

The Attenuator Circuit

There are three main connections you need to make to build an attenuator circuit. Using Figure 4.2 above for reference:

  1. Connect Lug 1 to 0V (ground)
  2. Apply the input signal (Vin) to Lug 2
  3. Take the output signal (Vout) the Wiper

Figure 4.3 (below) shows an attenuator, except I’ve added a capacitor in series with the input signal.

Capacitors help to block DC voltages from entering different areas of a circuit. In this case, it prevents DC voltage that may be superimposed on the input signal from entering our attenuator. The technical term for a capacitor used in this way is blocking capacitor.

Figure 4.3 The attenuator with input and output signals.
Figure 4.3 The attenuator with input and output signals.

The attenuator works in the following way:

  • When the wiper is at the top, 100% of the signal reaches the output.
  • Turning the wiper downwards results in increasing attenuation.
  • When the wiper reaches the bottom the output becomes grounded and, therefore, fully attenuated (muted).

The Attenuator Equation

Mathematically, if we use k to represent the rotation of the wiper, we can relate the input and output of the circuit with Equation 4.1.

In this case, ‘k’ travels from 0.0 to 1.0, where 0.0 represents the position at Lug 1 and 1.0 represents the position at Lug 2 (following the terminology in Figure 4.2).

Equation 4.1 Equation of an Attenuator.
Equation 4.1 Equation of an Attenuator, where k travels from 0.0 to 1.0.

If the wiper is at the halfway point between the two lugs then k = 0.5 and the amplitude of the input signal is halved at the output.

Types of Potentiometer Tapers

Potentiometers have a property called taper. There are three main types of taper:

  • Type A: Logarithmic Taper (Log)
  • Type B: Linear Taper
  • Type C: Inverse Logarithmic Taper (Inverse Log)

Essentially, the taper of a potentiometer changes how the attentuator equation looks. Equation 4.1 is for linear tapers only and is represented by the B line in Figure 4.4 below. Lines A and C roughly depict how logarithmic and inverse logarithmic tapers behave.

Figure 4.4 Potentiometer Taper Curves for Types A, B, and C.
Figure 4.4 Potentiometer Taper Curves for Types A, B, and C.

Attenuator Circuit Parts List

You only need two components to build an attenuator (a.k.a. volume control): a potentiometer and a capacitor.

PartsQty
Potentiometer1
Capacitor1

There will be multiple occassions where you’ll need these types of components, so it’s best to purchase them in bulk in the form of an assorted kit. The Bojack kits found on Amazon are great. Disclaimer: as an Amazon affiliate, Stompbox Electronics earns from and is supported by qualifying purchases.

That said, I’ve purchased the Bojack kits myself and they have been extremely useful to have around when prototyping circuits for this article series.

Volume Control on the PROTIS 1

The PROTIS 1 Development Board comes with six onboard potentiometers. You can build the Attenuator circuit using these potentiometers and some jumper cables.

Simply jump the “A” terminal of the potentiometer to ground (GND) with the included jumper. Then, connect the wiper (W) to the output (OUT TIP). Finally, connect the B lug to the input (IN TIP).

For more information on how to use the potentiometer interface on the PROTIS 1, see this supporting article.

Demonstrating Volume Control on the PROTIS 1 Development Board.
Demonstrating Volume Control on the PROTIS 1 Development Board.

Resources

[1] Code Effects – Potentiometers and Guitar Effects, (C)2015-2022
[2] Potentiometer Calculator
[3] Potentiometer Taper
[4] R.G. Keen The Secret Life of Pots, (C)1999


Guitar Effects Design in 48 Circuits or Less

The 48 Circuits or Less article series serves to close the gap between DIY guitar effects design and guitarists interested in the craft by uniquely curating the most important aspects of DIY guitar effect circuit design. This post is part of the 48 Circuits or Less series. View more articles in this series here.

Meet the Author:

Share post: