The goal of this design is to take the audio output signal usually provided by a phone or computer's 3.5mm audio jack and amplify it to a level that can be fed into a speaker. Specifically because this design is only a proof of concept, the speaker that will be driven is a 0.1 W 8 Ω generic speaker.
The design will consist of some input circuitry, an OpAmp, some filtering, and finally the speaker itself. To help in ease of use, a power button and on LED are added. As a note, the entire circuit will also be battery operated, requiring only a 9V battery. The result after choosing proper components is the circuit found below.
The design follows most generic LM386 design principles but importantly it is optimized for the relatively low quality speaker that was used. Not only do we have to limit the power to 0.1 W, the frequency response of the speaker is only ~600-20,000 Hz. Do not expect to be playing your favorite heavy bass music.
The circuit is first tested on a breadboard to make sure the theory is correct and everything is working properly. Below is a video of the breadboard implementation and resulting audio output. Note that the speaker is not very high quality so it does sound a little distorted, but as a proof of concept it works as expected.
After confirming the circuit's validity, a PCB can be made of the design using the SPICE software Multisim and board layout software Ultiboard. Here is the final layout:
Once the PCB arrived all there was left to do was to assemble and test the cirucit. Naturally, the circuit behaved just as it did on the breadboard. Here is the final result: