# How does an speaker amplifier have to be build for a given DAC output signal?

I am working on a project "cat projector" which shall "shout" at the cat when she jumps on the table in the living room.

For the logic I use an Arduino board which plays/streams the sound at 22.1kHz from a SD-Card and using the MCP4821 DAC to generate the signal. This works perfectly fine (as you can see on the measurement). The output on the DAC is between 0-4V.

The measured output signal of the DAC is shown here:

I plan to use a regular 8Ω speaker with 0.2W or 1W. I also have a 5V source and a 9V source which I can use for the amplifier (both sharing the same ground). The DAC is powered from the 5V source.

Here a circuit which already contains the exact output signal from the measurement.

simulate this circuit – Schematic created using CircuitLab

What is a good amplifier circuit, to convert the DAC output (0V - 4V) into a suitable signal for the 0.2W or 1W speaker?

simulate this circuit

# Final Solution

Just for documentation, this is the working circuit I ended up with. It is using the LM386N-1 with a 8Ω, 0.2W speaker. The sound quality is usable, with small distortions on high frequency tones.

Using C1/C5, there is no hearable noise if the DAC is turned off (0V level). The actual measurement looks like this:

The yellow signal is measured in front of the speaker. The blue signal is measured at pin 3 (input+) of the amp. Note the different scales: Yellow 1V, blue 50mV.

• With no attempt at a design this question should be closed. Commented Oct 25, 2014 at 13:07
• I tried several designs without success. Using LM386N-1 as op-amp in different configurations, also pure transistor based solutions. All without success, with extreme distortion. I already asked the question with an complete design, but merely got hints. So I reformulated my question, in the hope there is a way to transform the signal into something "amplificable". Commented Oct 25, 2014 at 13:25
• @LeonHeller I added one of the failed designs for you. Actually I can not simulate it, because I couldn't find a LM386N-1 for the simulation. Commented Oct 25, 2014 at 13:36
• Not much of an audio person but I think for that circuit the voltage gain will be 20. Try changing R4 to something like 4K7 or maybe a little less and see how it goes. Commented Oct 25, 2014 at 13:53
• The LM386 is NOT an op amp! Commented Oct 25, 2014 at 14:22