I love making beeps and bloops with the Arduino pitches library, but sometimes archaic 8-bit tunes just don't cut it. Whether you want your robot to terrify your enemies with a demonic synthetic voice, you just need a pocket boom box on the go, or you want to a miniature guitar amp, a simple LM386 amplifier can crank up those signals loud enough to play through any speaker.
- LM386 chip
- 9 volt battery
- 10 ohm resistor
- 10K potentiometer
- .047uF ceramic capacitor
- Old headphones
As always, breadboard your circuit before soldering any components together. If it works on the breadboard and not in the soldered circuit, you will know that the problem is with your soldering and not a broken chip.
The LM386 datasheet has some useful example circuits for creating amplifiers. We will be making the simplest one, the 20 gain amplifier. The chip diagrams can be a little confusing. The triangle represents the 8 pin LM386 chip at the center of out circuit. The pins are numbered around the chip 1 to 8, as shown.
Use the corresponding pin numbers in the circuit at chip diagrams as a guide when wiring your circuit.
We will have to alter the capacitor values to the nearest standard values. Use a .047 uF ceramic capacitor and a 220 uF electrolytic capacitor instead of the values shown above.
In the breadboard layout shown here, the battery pack represents one 9 volt battery.
I used a tiny speaker for a compact board layout. You can use any size speaker rated at 8 ohms.
Place your components on the perfboard and bend the component leads to map out the circuit.Take care to leave enough room on your board for a 9 volt battery and speaker.
If you use a larger speaker, you can just tape the tiny amp circuit onto the back.
You can use this circuit in any project where you need to amplify sound. You can use it as a headphone preamp, a portable guitar amp, an miniature MP3 player speaker, or even a synthetic robot voice box using the Speakjet.
If you are going to house your amplifier in a tin, be sure to use electrical tape or heavy card stock to insulate the circuit from the metal bottom.
The enclosure makes all the difference! This speaker is for listening to audio books on long trips.
You can even fit your favorite MP3 player right inside with the amplifier!
The book tin amplifiers make great gifts if you know your friends' literary tastes. I like to use these amps on my bike so I can listen to music without blocking out the noise of approaching cars.
I took the liberty of preparing a printed circuit board design for this amplifier. Below you can see what the traces look like once they are etched onto a copper board. Note that this is not the image to use for laser printing etch masks.
I added pin and trace labels in the copper etch to help in assembly. Note that the audio input wire from your headphones will solder directly to the input pin on the potentiometer.
You can use this simple circuit as a portable guitar amplifier for rocking out on the street or porch. All you need to do is connect a 1/4 inch female audio jack to the audio input. Once the jack is soldered up, any standard guitar and cable can be plugged right in!
Be sure to use a large speaker and a sturdy enclosure to get your guitar amp to project well. Opening an closing the box while playing even changes the bass and treble levels!
For more Mad Science fun, make sure to check out my how-tos for...
Want to master Microsoft Excel and take your work-from-home job prospects to the next level? Jump-start your career with our Premium A-to-Z Microsoft Excel Training Bundle from the new Gadget Hacks Shop and get lifetime access to more than 40 hours of Basic to Advanced instruction on functions, formula, tools, and more.
Other worthwhile deals to check out:
- 97% off The Ultimate 2021 White Hat Hacker Certification Bundle
- 98% off The 2021 Accounting Mastery Bootcamp Bundle
- 99% off The 2021 All-in-One Data Scientist Mega Bundle
- 59% off XSplit VCam: Lifetime Subscription (Windows)
- 98% off The 2021 Premium Learn To Code Certification Bundle
- 62% off MindMaster Mind Mapping Software: Perpetual License
- 41% off NetSpot Home Wi-Fi Analyzer: Lifetime Upgrades