I want to use a 1K logarithmic pot to control a 0.25W 8Ω PC internal speaker [*]. The pot has a switch that I want to use to completely turn on and off the speaker and also to turn on and off an LED to indicate the speaker is on.
I assembled the following circuit.

I initially used a 2N2222 transistor for Q1, but it burned after a while. I'm going to try with a D880 and a heat sink now. With either transistor, the volume is always too low. The reason I'm using a transistor and not just a pot is that the volume is too low with just a pot, even when the variable pin is brought all the way up (no resistance).
Digging on the Internet, I figured out another circuit shown in the picture below. With this circuit, the volume is always too high.

How can I get this to work??
[*] Just to clarify. This is the internal PC speaker of a vintage computer (beep beep). The input signal is either 0 or 5V. It's not an audio signal proper.
I assembled the following circuit.

I initially used a 2N2222 transistor for Q1, but it burned after a while. I'm going to try with a D880 and a heat sink now. With either transistor, the volume is always too low. The reason I'm using a transistor and not just a pot is that the volume is too low with just a pot, even when the variable pin is brought all the way up (no resistance).
Digging on the Internet, I figured out another circuit shown in the picture below. With this circuit, the volume is always too high.

How can I get this to work??
[*] Just to clarify. This is the internal PC speaker of a vintage computer (beep beep). The input signal is either 0 or 5V. It's not an audio signal proper.
Last edited by a moderator:
