Custom Portable Speaker

by jenfoxbot in Circuits > Speakers

7804 Views, 41 Favorites, 0 Comments

Custom Portable Speaker

IMG_0479.jpg
IMG_0474.jpg
IMG_0480.jpg

A mini portable speaker for outdoor adventures! This design uses an easy, accessible & powerful standard schematic. Here's a video of it in action.

Material costs are low (~ $20), although it can take a decent amount of time to build!

Materials

IMG_0306.JPG

-- LM386 audio amplifier

-- 3 Capacitors: two 220 microF, one 10 microF

-- 4 Resistors: two 10 Ohm, one 1 kOhm, and one variable 10 kOhm (w/ an SPST or SPDT switch)

-- 9 V battery + battery clip

-- Speaker (4 - 8 Ohm)*

*Have a broken sound system? Harvest the speaker!

-- 1/4" (or 1/8") mono panel-mount audio jack

-- PCB Board

-- 22 Gauge stranded wire ( ~ 1 ft)

-- Case**

**There are many options! My case is a mini-lunchbox type thing found at a thrift store for $1. Look around the house, or peruse a thrift store for vintage tins, cigar boxes or metal piggy banks. Look for containers made from metal, wood, or rigid plastics.

-- Recommended: Piece of wood for speaker mount

This improves audio output by providing a solid resonant surface. This step was somewhat involved (tool heavy), can be accomplished in many different ways, and is entirely optional, so I will just briefly cover this part of the process.

Tools

IMG_0288.JPG

-- Soldering iron, solder + solder sucker.

-- Epoxy or other bonding agent.

-- Wire strippers

-- Highly recommended: Multimeter.

-- For the case, you also need a drill.

-- To mount the speaker in wood: a dremel or other wood cutting tool (+ clamps + eye protection)

Build It! Pt. 1

IMG_0341.JPG
IMG_0329.JPG
IMG_0361.JPG
IMG_0387.JPG
IMG_0392.JPG

1. Solder wire leads to the audio input.

2. Solder wire leads to the speaker (recommended to use at least 6" leads).

3. Solder wire leads onto the variable resistor (potentiometer) pins.

Check the resistance between the difference potentiometer pins w/ a multimeter before soldering to determine the functionality of each pin.

Aside: Wire color, while entirely optional, helps distinguish the different pin functions. To wire the potentiometer so that the volume increases from the "off" position: Pin 1 goes to ground, pin 2 goes to LM386 pin 3, and pin 3 goes to the positive audio input.

4. Solder wire leads to the switch pins on the bottom of the potentiometer.

Check resistance across switch pins w/ multimeter. This potentiometer switch has a front pin that goes to ground and the left front pin to positive input.

Build It! Pt. 2

LM386_schematic.jpg
lm386-pinout.gif
IMG_0395.JPG

If schematic makes sense, skip next two steps (still suggested to build on breadboard first).

1. Build circuit on a breadboard. Recommended to draw out how it will transfer to the PCB board pads.

Connect a battery and check audio input w/ either a multimeter or an actual source (will need a 1/4" or 1/8" headphone cable).

2. Solder LM386 amplifier to PCB board.

3. Solder the battery clip leads and potentiometer switch leads to the PCB board.

The potentiometer leads are inserted between the positive battery lead and the 10 ohm resistor going to the LM386 voltage source pin.
Note: If your variable resistor does not have a switch, it is highly recommended to include a power switch for the battery.

Build It! Pt. 3.

IMG_0398.JPG
IMG_0408.jpg
IMG_0410.JPG
IMG_0396.JPG

1. Solder the remaining components to the PCB board using the PCB pads and/or wires (breadboard pictured for clarity).

Here's one of many ways to approach this:

A. Connect LM386 pins 2 and 4 to ground.

B. Connect 1kOhm resistor and 10 microF capacitor from LM386 pin 1 to pin 8 (shorter leg (negative pin) of the capacitor connects to LM386 pin 8).

C. Connect the long leg (positive pin) of the 220 microF capacitor to LM386 pin 5. Connect one side of the 10 ohm resistor to the short leg of the capacitor, and the other side of the resistor to ground. Connect the positive speaker lead to the short leg of the capacitor, and the negative lead to ground.

D. Connect one side of 10 ohm resistor to LM386 pin 6 and other side to positive battery (w/ switch). Connect long leg of 220 microF capacitor to LM386 pin 6 and short leg to ground.

E. Connect the potentiometer pin 1 to ground, pin 2 to LM386 pin 3, and pin 3 to positive audio input.

F. Connect negative audio input to ground.

Case It! Pt. 1

IMG_0312.JPG
IMG_0323.jpg
IMG_0287.jpg

1. Plan + mark location of each of the components.

The potentiometer, or volume knob, power switch, audio input, and speaker are installed on the exterior. The PCB board and battery are on the interior.

2. Drill two holes in case exterior for the potentiometer knob and for the audio input.

If case is not metal, recommended to include a sheet of metal to provide a better ground for the audio input.

3. Remove screw heads from potentiometer knob and audio input. Push potentiometer knob and audio input through the holes and reattach screw heads.

4. Check connections w/ a multimeter and/or an actual audio input (will need a 1/4" or 1/8" audio cable).

5. Dab epoxy onto bottom of case to adhere the PCB board.

To secure the 9V battery: use velcro strips, or make a quick fabric pouch and epoxy the pouch to the case.

Case It! Pt. 2

IMG_0429.jpg
IMG_0431.jpg
IMG_0445.jpg
IMG_0444.jpg

1. Mount the speaker in wood or in case exterior.

There are different options depending on your chosen case and available tools. It sounds great w/ wood, otherwise you can also mount it directly to the exterior of the case.


One option is to follow the design featured in this Instructable:

A. Cut a piece of wood to fit inside the case (bottom slab). Cut a hole in the middle large enough to pull the speaker through.

B. Take a thin piece of wood and cut a notch out. The notch should be sized so that the screw holes of the speaker frame sit on top of the wood.

C. Optional: Screw speaker into top wood ring. Screw top ring into bottom slab.

Check It + Go Adventuring!

IMG_0483.jpg

Test the electrical connections by plugging in an audio source (e.g. electric guitar or mp3 player). Check that the potentiometer effectively controls the volume and that the switch turns the system on/off. Once everything is working, coat electrical connections in epoxy.

Take your new portable amplifier to bring music to your next outdoor adventure!