3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Altoids Tin Speaker

Step 15Controlling Gain -- Elegant Way

The gain of the LM386 amplifier chip is controlled by a resistor (and capacitor) between pins 1 and 8. I replaced the toggle switch with an ALPS RK097 10K ohm stereo audio taper potentiometer with power switch from Tangent's Parts Shop (and available nowhere else, it seems). I used one of the two potentiometers to control the resistance between pins 1 and 8 on the LM386 and the power switch to control the power.

The effect of this change is that with the gain turned all the way up (resistance as low as possible), the ATS is quite loud and with the gain turned all the way down (resistance as high as possible) the ATS is somewhat louder than with no modification at all. In any case, both the easy and elegant modifications place the burden of amplification on the LM386 and the sound is considerably better at higher volumes.
« Previous StepDownload PDFView All StepsNext Step »
1 comment
May 31, 2011. 6:00 PMFirebreathing says:
So, would this be a way of adjusting the volume? Or would I need some other sort of volume control attached somewhere?

Also, I was considering attaching a LED so that it flashes with the music. Would I be able to fit it (and the larger battery that I would need, I assume) in the tin?

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
36
Followers
7
Author:matth3w