0
\$\begingroup\$

I'm stumped on wiring a 10K Ohm audio control potentiometer with spst switch into a LM386 amplifier circuit.

The pot I'm using is very similar to the one in this link:

https://www.radioshack.com/products/10k-ohm-audio-control-potentiometer-with-spst-switch

The LM386 amplifier circuit I'm using is the one in this link:

http://www.circuitbasics.com/build-a-great-sounding-audio-amplifier-with-bass-boost-from-the-lm386/

What I'm doing with this circuit is using it as a simple overdrive pedal for my guitar. Eventually, I'm going to wire this circuit directly into the guitar's pickup wiring.

My circuit works great and I was able to use the above potentiometer as a volume knob with great success.

The only problem now is the pot's switch must be turned on in order for signal from my guitar to go to the amp. When I turn the pot switch to off, the signal cuts off completely.

What I'd like to do is wire the circuit so when I turn the pot switch to OFF, the signal from my guitar gets routed directly to the amp. When I turn the pot switch to ON, the signal from my guitar gets routed through the LM386 circuit.

Is this possible?

I know I could do this with a push/pull type of pot but I like the feel of the rotary switch pot. Plus, I already have a few of them lying around.

Thanks for reading.

\$\endgroup\$
3
  • \$\begingroup\$ Hi Justin, welcome to EE.SE. Your question is well written, however, it would be better to post the circuit diagrams here and give the links as references. Links may die in future, so by including diagrams here we guarantee that your question is long-life question :) \$\endgroup\$
    – Hazem
    May 6, 2018 at 3:46
  • \$\begingroup\$ seems like a tricky one. perhaps you can modify the switch. \$\endgroup\$ May 6, 2018 at 5:43
  • \$\begingroup\$ Good point @Hazem. I'll add the circuit diagram. \$\endgroup\$
    – Justin
    May 7, 2018 at 4:36

2 Answers 2

3
\$\begingroup\$

schematic

simulate this circuit – Schematic created using CircuitLab

Figure 1. A reed relay with changeover contacts provides a fail-safe method of switching using the built-in pot switch.

At the expense of some battery drain a reed relay would provide a good solution with the added benefit that in the event of a battery failure the guitar is still usable and would avoid a cringe inducing silence on stage.

enter image description here

Figure 2. Typical reed relay packages.

enter image description here

Figure 3. Reed relay datasheet from TE Electronics.

A quick web search finds that these are available in 5/6 V DC versions (so a series resistor would be required) with a 200 Ω coil. At 5 V this will cost you \$ \frac {5}{200} = 25 \ \mathrm {mA} \$. Since the current is that high you can add an LED in series with the coil and reduce the resistor value to suit or leave it out for a white LED which typically have a VF of > 3 V. (The relay coil would provide the current limiting for the LED.)


DC thump

From the comments:

is the DC thump you are talking about the "knock" I hear when I turn off some solid state amps?

It's more usual when the amp is switched on.

enter image description here

Figure 4. The bass boost amplifier. Source: Circuit Basics.

The DC thump occurs because the amplifier is powered from a single rail. Since audio is alternating current it means we need to bias the output to mid-supply or 4.5 V in this design. This should be measurable on pin 5 of the LM386. We don't want to feed DC to the loudspeaker as it will cause unnecessary heating and distortion due to biasing the speaker in or out depending on polarity. The biasing of the speaker means that it has less travel in one direction before it maxes out and distorts.

I had a bass amp which did this. My guess though is if I can use the switch/pot as the main switch in your circuit, the DC thump would be small since the switch/pot also controls the volume for the pre-amp. Since when you turn on the switch/pot, the pot is at its lowest level meaning volume is at the lowest level.

Looking at the schematic of Figure 4 we can see that this is unlikely to help. The pot is on the input whereas the thump is coming from the amp and C1 on the output.

Since you are only using this as a preamp rather than a power amplifier you could move the pot to the output, after C1, and this might solve the problem for you. It also has the benefit that any noise generated by the amplifier will be attenuated by the pot at lower settings thus giving you a decent signal to noise ratio independent of volume setting. In the original design the amplifier noise will be the same no matter what the volume setting is.

\$\endgroup\$
6
  • \$\begingroup\$ This schematics suffers from the same problem as in my answer for SPST short-circuit bypass - power supply permanently connected to pre-amp. BUT, if you move power switch closer to the battery it will control reed relay and pre-amp power at the same time. That would be a simple and complete solution using potentiometer that OP already owns. \$\endgroup\$
    – Maple
    May 6, 2018 at 19:08
  • \$\begingroup\$ I had considered that but decided against it on the grounds of DC thump on power-up of the amplifier. I had also considered mentioning power switching for the amplifier using the normal sleeve to ring connection on the battery negative as used in many guitar effect pedals. \$\endgroup\$
    – Transistor
    May 6, 2018 at 20:31
  • \$\begingroup\$ How about adding RC delay to reed coil? Could be sufficient for pre-amp to stabilize. \$\endgroup\$
    – Maple
    May 6, 2018 at 21:51
  • \$\begingroup\$ Sure. I think between us we've given the OP enough food for thought. \$\endgroup\$
    – Transistor
    May 6, 2018 at 21:53
  • \$\begingroup\$ @Transistor is the DC thump you are talking about the "knock" I hear when I turn off some solid state amps? I had a bass amp which did this. My guess though is if I can use the switch/pot as the main switch in your circuit, the DC thump would be small since the switch/pot also controls the volume for the pre-amp. Since when you turn on the switch/pot, the pot is at its lowest level meaning volume is at the lowest level. \$\endgroup\$
    – Justin
    May 7, 2018 at 4:56
1
\$\begingroup\$

From your explanation, you are not using the circuit as actual audio amplifier, i.e. you are not feeding it into speaker, but rather using it as pre-amp for external audio system. Is this correct?

If this is the case, then there might be a way to do what you want with SPST switch. Basically, if there is NO noise coming out of amplifier with volume pot all the way down to ground it MIGHT be safe to simply short-circuit input from guitar pickup to the output of circuit. Ideally with capacitor in series to at least avoid DC loop.

Having said that, the potentiometer in photo looks like SPDT switch (it has 3 tabs on the back, and according to this post it comes in the packaging marked as SPDT). You can easily verify this with multimeter or even with battery + lamp. And if it is indeed SPDT then you can use it to switch either input or output of your circuit between pre-amp and bypass without worrying about frying the circuit.

Of course, in either case you'd lose the ability to switch power off, so you would need additional switch for that, which kinda defeats the purpose.

Your best solution would be to find DPDT switch like this one or this and use one group of contacts to route the audio signal and the other one to supply power to your circuit when audio routed through it.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.