An Electric Musical Instrument 3D Printed Amplifier.

by Greg_The_Maker in Circuits > Audio

7365 Views, 70 Favorites, 0 Comments

An Electric Musical Instrument 3D Printed Amplifier.

IMG_8468.JPG
amp.gif
speaker_box_0007_Layer 26.jpg
p1.jpg
2017-07-31 09.09.34.jpg
2017-07-29 12.11.14.jpg

Project Definition.

I hope to make a printable amplifier for use with an Electric Violin or any other Electric Instrument.

Specification.

Design as many parts as possible to be 3D printable, make it stereo, use an active amplifier and keep it small.

Electronics.

Adafruit's Stereo 20W Class D Audio Amplifier is the perfect amplifier for the job. I searched for suitable speakers and found some small 4" 60W speakers. Add in a PSU and a 10k Potentiometer for volume control and I was set to get to work designing the speaker box..........


Love 3D printing? Love T-Shirts?

Then you need to check out steps-per-mm.xyz!

It is loaded with a huge range of wearable Parts & Components.

Please help support my work, your donations really do make a difference.
http://ko-fi.com/gregthemaker

The Parts.

speakers.jpg
psu.jpg
jack.jpg
amp.jpg
10k.jpg
clear.jpg
purple.png

Components & Hardware.

  • 4 x 6mm M2.5 Socket Caps Screws.
  • 32 x 12mm M4 Socket Cap Screws.
  • 3 x Cable Ties.

The eBay linked components are affiliate links.

Printables.

The Design files, including the STLs, are available from Thingiverse.

Choose a good filament to print the four STLs. I have chosen SpoolWorks Edge.


Please help support my work here on Instructables and on Thingiverse

by using the following affiliate links when making purchases. Thanks :)

eBay.com | eBay.co.uk | eBay.fr | Amazon.co.uk

Modelling in Fusion 360.

speaker_box_0032_Layer 1.jpg
speaker_box_0031_Layer 2.jpg
speaker_box_0030_Layer 3.jpg
speaker_box_0029_Layer 4.jpg
speaker_box_0011_Layer 22.jpg
speaker_box_0010_Layer 23.jpg
speaker_box_0009_Layer 24.jpg

Fusion 360.

To begin I am modelling the components in Fusion 360. That will help during the design phase with locating all the parts in the amplifier. If you are new to Fusion 360 There are numerous tutorials explaining how to use it.

The Speaker Box.

speaker_box_0028_Layer 5.jpg
speaker_box_0027_Layer 6.jpg
speaker_box_0026_Layer 7.jpg
speaker_box_0025_Layer 8.jpg
speaker_box_0024_Layer 9.jpg
speaker_box_0023_Layer 11.jpg
speaker_box_0022_Layer 10.jpg

Basics.

The amplifier is to hold within itself: two speakers, a PSU, amplifier electronics, cables, an input jack and a volume knob.

I started by copying the sketch used to model the speaker, making two copies and then separating them making sure to leave enough space between them for the 10k Pot.

I added circles for screws, and added outer circles to represent the screw caps.

Superior Sound Quality.

I wanted to have free movement of air around the two speakers so I drew air channels with front vents. Hopefully this will improve the sound quality. I'm not a sound engineer so this is basically guesswork!

After the sketch has been drawn I can extrude the model.

I create a space for the speakers, add openings for the air ducts, add the back, extrude holes for the screws and indent the front by 1mm so the speakers will sit flush to the front.

The Front.

speaker_box_0021_Layer 12.jpg
speaker_box_0020_Layer 13.jpg
speaker_box_0019_Layer 14.jpg
speaker_box_0018_Layer 15.jpg

The Fascia.

The front fascia is extruded from the same sketch used to model the speaker box.

I added holes on the underside where the screw caps that hold in the speakers will be.

The Back.

speaker_box_0017_Layer 19.jpg
speaker_box_0016_Layer 16.jpg
speaker_box_0015_Layer 17.jpg
speaker_box_0014_Layer 18.jpg
speaker_box_0013_Layer 20.jpg
speaker_box_0012_Layer 21.jpg

The Back.

I added a new sketch panel to the rear of the Speaker Box. It would have been possible to use the same sketch from before.

The Back is extruded 14mm and indented 5mm. Pillars are added for the amplifier board. Guides are added to keep the PSU in the correct position and channels added for cables ties so it is held secure.

A small channel is added on the side where the mains power lead will pass through.

Volume Control Knob.

speaker_box_0008_Layer 25.jpg
speaker_box_0006_Layer 27.jpg
speaker_box_0005_Layer 28.jpg
speaker_box_0007_Layer 26.jpg
k1.jpg
k2.jpg

Loudness.

Using the original sketch, cut-outs are extruded into both the fascia and speaker box. There is a hole which opens out into the rear of the speaker box for the wires. The front fascia has an enlarged hole for a printed volume knob.

The Volume Knob itself is extruded from a separate sketch.

Input Jack.

speaker_box_0004_Layer 29.jpg
speaker_box_0003_Layer 30.jpg
speaker_box_0001_Layer 32.jpg

Input.

You have the option of fitting either a 3.5mm jack, or a 1/4" Jack. I chose the larger 1/4 as this is the standard for electric instruments.

After measuring the input jack I have added a sketch at the rear of the speaker box. I used this sketch to extrude holes and clearances for the jack.

Printing & Assembly.

p1.jpg
p2.jpg
p3.jpg
2017-07-29 11.49.07.jpg
2017-07-29 11.49.14.jpg
2017-07-29 11.58.27.jpg
2017-07-29 12.13.27.jpg
2017-07-29 12.12.41.jpg
2017-07-29 11.54.35.jpg
2017-07-29 12.00.49.jpg
2017-07-29 12.01.12.jpg
2017-07-29 12.11.14.jpg
2017-07-29 12.11.50.jpg
2017-07-29 12.14.59.jpg
2017-07-29 12.19.14.jpg

Printer Settings.

  • 0.4mm Nozzle.
  • 0.3mm Layer Height.
  • 3 x Perimeters.
  • 40mm/s Speed.
  • 12% Infill.
  • Sliced with Simplify3D.

Printing takes ~48 hours for all parts.

Assembly.

Assembly begins with installation of the 10k Pot into the Fascia. It is held in with a supplied nut and washer. Solder a wire to each of the terminals. Press the volume knob onto the 10k Pot from the front. It should turn freely.

Next solder speaker wire to the two speakers, the terminals should be marked + & -. It is important for sound quality that you get the connections correct on the speakers.

Feed the wire through the holes in the speaker box and secure each speaker using 4 x M4 12mm Socket Cap Screws.

Pass the volume control wire through the hole and secure the Fascia using 14 x M4 12mm Socket Cap Screws.

The Electronics.

2017-07-29 12.21.31.jpg
2017-07-29 13.30.56.jpg
2017-07-29 14.48.20.jpg
2017-07-29 14.50.45.jpg

Soldering.

Adafruit's 20w Stereo Amplifier requires some assembly. There is an excellent tutorial on learn.adafruit.com which goes into detail and explains exactly how the amplifier needs to be configure for use with the 10k Pot.

https://learn.adafruit.com/adafruit-20w-stereo-audio-amplifier-class-d-max9744

When soldering the input jack it is very important that you make a note of each connection. Incorrectly wiring the jack to the amplifier can break it!

Wiring & Power Up.

2017-07-31 08.42.15.jpg
2017-07-31 08.42.59.jpg
2017-07-31 08.45.10.jpg
2017-07-31 08.51.38.jpg
2017-07-31 09.09.34.jpg
2017-07-31 09.20.53.jpg
2017-08-09 16.05.18.jpg
2017-08-09 16.15.50.jpg
2017-08-09 16.15.36.jpg

Final Assembly.

Mount the amplfier to the back panel, secure the PSU in with two cable ties and then connect the wires. I put a single cable tie onto the A/C lead to stop the cable from being pulled out.

Connect the cables to the amplifier board ensuring you have the right polarities!

Secure the back onto the speaker box using 10 x M4 16mm Socket Cap Screws, taking care not to trap any of the wires.

Plug In.

The speaker box will work fine with any electric instrument. If you chose the optional 3.5mm - 1/4" adapter jack then you can even plug in your phone too!

Plug in the input, turn on the power and listen!

F-F-Fiddle.

IMG_8475.JPG
2017-07-15 16.02.22.jpg
2017-07-15 16.05.06.jpg
2017-07-15 12.22.10.jpg
2017-07-15 14.19.32.jpg
2017-07-15 17.47.37.jpg
2017-07-22 14.53.19.jpg
2017-07-22 14.53.30.jpg
2017-07-22 14.54.01.jpg

Electric Violin.

The impetus behind the want to design an amplifier is the F-F-Fiddle Electric Violin by OpenFab PDX.

http://openfabpdx.com/fffiddle/

I followed their build guide and printed the parts using the same materials to match with the speaker box.