Go Down

Topic: interfacing with a speaker (Read 32268 times) previous topic - next topic


Is there an easy way to get more volume out of a speaker than from an arduino pin?

My son is 8 and is now playing drums... he needs a metronome.  What to do?  Well I could buy one... or I could grab some stuff out of my junkpile... and an arduino to make one myself.

I'm pleased to say I have breadboarded a very nice metronome, with an lcd display, adjustable contrast, and adjustable tempo, 40-240 BPM.  the arduino LCD and tone libraries, combined with analog in made it very easy.

The one problem I am having is, while the tone, and the timing sound great, it needs to be LOUD!!!!  I'm driving a small 8ohm speaker from the shacks electronics section off of an arduino pin... but I think 40 ma at 5v is not enough.

Can you guys suggest a way to make this baby louder before I try to mount it in a box... It just won't be useful, if he cant hear it over his playing.


Jan 24, 2011, 03:33 am Last Edit: Jan 24, 2011, 03:38 am by retrolefty Reason: 1
You really should not wire a output pin directly to a 8 ohm speaker, it does put the output pin under a lot of stress and could damage it. What you need is a simple small audio amplifier. There are several ways you can go.

The simplest would be to find some used computer speakers. These accept a line level input and have a built in speaker. To wire to them take a .5ufd cap and wire from the output pin to the line in signal connection and also wire from arduino ground pin to the line in ground connection.

There is also the basis for a DIY amp on reply #3 in the following thread: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295797744

If you were to use that circuit just remove the mic and R1 and wire the left side of capacitor C1 to the arduino output pin and run a wire from the arduino ground pin to the amp's common ground.

Of course you could always wire your output pin to your home stereo, again using a series cap and running a common ground wire. Does anyone but me still own home stereo equipment.  ;)



I still own home stereo! In fact, Dynaco tube amp, sourced from CD player, driving JBL tower speakers.

However, for arduino sound, I use this.
Speaker was $1.49 from www.mpja.com, 90dB,  very loud if needed.
Rest were parts I had. TO220 style N-channel MOSFET.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up