Close

It's too hot, so pot

A project log for Hacking the LayerOne 2017 badge for audio... #fail

Successfully adding external audio to the badge "on a breadboard" but then bricking it when adding it permanently.

toddTodd 06/08/2017 at 04:182 Comments

Galaga (which happens to be one of my faves from my youth) turned out to be the loudest.

So I just threw my super convenient Xminilab Portable scope (affiliate link) on it, and wired in a 100K potentiometer to manually find the the point where the signal into the amp wouldn't exceed the clipping voltage (see prior post). If you don't know, you don't just wire the pot as a resistor, you connect both the signal wire and signal ground, to create a voltage divider. Sometimes a voltage divider in an audio usage is referred to an L-pad (because of the shape of the schematic) but often that's only used for speaker-level control, it seems.

This worked: R1 = 65.5K, and R2 = 27.2K, for a R2 / (R1 + R2) ratio of 0.293. I suspect the amp's impedance was having a significant effect.

That worked out well but I found a weird effect, if I turned down the volume too low (R1 = 88K and R2 = 5K) I would get a weird "machine gun" effect over the audio. Listen here:

This is where I admit I'm not so good with AC circuits....

So my next thought was if R2 was too low so I tried putting a number of different resistors in series with R2, but while that seemed to work, it also prevented it from getting very quiet. So I increased R1, which again led to "machine gunning" at low levels, so I increased R2 again, and so forth. Some EE is probably laughing at me right now... but after a bunch of experiments I realized I couldn't both minimize the volume on one end *and* maximize the volume on the other end.

To complicate matters I didn't want to use the full-size potentiometer I was experimenting with so I popped over to All Electronics and found something suitable (see main completed image) but not exactly what I wanted. What I wanted was something like the volume control you'd see on an old transistor radio.... but I didn't know until later that's called a Thumbwheel Pot.

That pot turned out to be 150K (actual 144K).

For best loudness without distortion at low end:

For best softness although giving up max loudness:

So I went with the later... next to choose which speaker.

Discussions

Michael Cook wrote 08/09/2021 at 16:21 point

Thank you, very helpful!

  Are you sure? yes | no

T. B. Trzepacz wrote 05/01/2019 at 11:17 point

Hey, I'm having this same problem with the beating sound on the XPT 8871 amp board (XH-M125)! I too have tried various methods to calm this, and they all ended up making it too quiet! Also, I want an adjustable volume control...

I'm trying to follow what you mean by R1S and R2S in the case of using a thumbwheel pot to adjust volume; I know what a voltage divider is, but I'm not sure that I follow.

Is it like this? (sorry for poor line drawing)

Audio Out

  |

R1S

  |

Thumbwheel Pot ---> To amp

  |

R2S

  |

GND

Also, you say the thumbwheel pot is 150k, but I can only find 1k, 10k, 25k and 50k (and only 10k and 50k with a switch.) What did you buy? Were you going for an adjustable volume, or was this a trimmer pot to set once and forget?

This is really a problem for me right now in my project, so if you have solved this, I'd love to understand it better!

  Are you sure? yes | no