I'm working on a simple project to learn electrical circuits. I built a little sound box that will play tones when you press buttons.
The battery provides 3volts and the "power boost" is a buck converter that increases the voltage to the 9v needed to power the speaker.
I wanted to include a potentiometer to adjust the volume so I used one I had on hand. The problem was that most of the range of the potentiometer provided so little voltage that no sound came out of the speaker and then right as you get towards the end the volume shoots up.
I read a bit online and it seemed like using an analog potentiometer would resolve the issue since the resistance changed exponentially instead of linearly.
I swapped out the potentiometers, but it seems like I'm running into the same problem: most of the range of the potentiometer's resistance the voltage is so low that no sound comes out of the speaker.
I was talking with a friend and mentioned the issue and he suggested using a voltage divider to map the desired voltage range along the potentiometer. This sounds sensible, but I have no idea how it should be implemented.
Does using a voltage divider to map the voltage range to the speaker make sense? If so, how would I do it? I've been searching around for things like "potentiometer with a voltage divider" and "mapping voltage on a potentiometer" and have found plenty of results, but not for the task I'm trying to accomplish.
Any suggestions? Helpful links?