Searching \ for 'Driving a speaker directly with a PIC' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/microchip/ios.htm?key=speaker
Search entire site for: 'Driving a speaker directly with a PIC'.

Truncated match.
PICList Thread
'Driving a speaker directly with a PIC'
1997\04\07@041614 by wterreb

flavicon
face
I've got a simple question, but would really welcome some comments by
other people who had similiar experience.

I'm using a PIC in a battery operated device, and amongst other the
PIC must output some sound on a speaker.  My question is... how do I
increase the sound volume without draining too much extra power.   My
current method is to use two I/O pins that would always reverse polarity
and thus give you evectively 10Vpp swing across the leads of the
speaker. And yes, I do have a capacitor in series to protect the I/O
pins!  :)

However I find that the sound is still not loud enough.  Would it
help to rather use a transistor to drive the speaker?  Would internal
impedance mismatch with speaker have a great influence on the volume?
Is there any type of small amplifier that runs of the 5V supply that
someone can recommend?

I will appreciate  some advice.

Rgds
Werner
--
Werner Terreblanche     http://www.aztec.co.za/users/werner
spam_OUTwterrebTakeThisOuTspamplessey.co.za (work)  OR  .....wernerKILLspamspam@spam@aztec.co.za  (home)
Plessey SA, PO Box 30451,Tokai 7966, Cape Town, South Africa
or at home : Suite 251, PostNet X5061, Stellenbosch, 7599
Tel +27 21 7102251  Fax +27 21 7102886  Home +27 21 8872196
------------------------------------------------------------

1997\04\07@205854 by Steve Hardy

flavicon
face
> From: Werner Terreblanche <wterrebspamKILLspamplessey.co.za>
> I'm using a PIC in a battery operated device, and amongst other the
> PIC must output some sound on a speaker.  My question is... how do I
> increase the sound volume without draining too much extra power.   My
> current method is to use two I/O pins that would always reverse polarity
> and thus give you evectively 10Vpp swing across the leads of the
> speaker. And yes, I do have a capacitor in series to protect the I/O
> pins!  :)
>
> However I find that the sound is still not loud enough.  Would it
> help to rather use a transistor to drive the speaker?  Would internal
> impedance mismatch with speaker have a great influence on the volume?
> Is there any type of small amplifier that runs of the 5V supply that
> someone can recommend?

I had a similar problem for outputting DTMF tones from a small 8 ohm
speaker.  My solution was to use a small transistor radio transformer
(1K : 8 ohm).  I used one PIC (PWM out) pin coupled via a 1uF cap,
however using two pins in opposition would provide a better impedance
match, and twice the power.  Most of the loudness is obtained by
correct baffling of the speaker.  I cut a hole in the PCB the same
diameter as the speaker (about 40mm) and epoxied the speaker in place.

If this still isn't loud enough then NSC makes some 8-pin DIP amplifiers
that should do 200mW easily.  Check out their web page (which is one of
the better semiconductor sites).  Then again, if you are only interested
in square wave drive then a PNP/NPN combo with common base and common
emitter should give about 100mW into 8 ohms.

Regards,
SJH
Canberra, Australia

1997\04\08@011313 by tjaart

flavicon
face
Steve Hardy wrote:
{Quote hidden}

If battery life is very important, you have to use a bridge - type
driver. (Like you are using now)

--
Friendly Regards

Tjaart van der Walt
EraseMEtjaartspam_OUTspamTakeThisOuTwasp.co.za
_____________________________________________________________
| Another sun-deprived R&D Engineer slaving away in a dungeon |
|             WASP International  http://wasp.co.za           |
|             GSM and GPS value-added applications            |
|  Voice : +27-(0)11-622-8686   |   Fax : +27-(0)11-622-8686  |
|_____________________________________________________________|

1997\04\10@223439 by wterreb

flavicon
face
Thanks to Dmitry Kiryashov <zewsspamspam_OUTaha.ru>, Peter Cousens
<@spam@peterKILLspamspamCOUSENS.HER.FORTHN
Kalle Pihlajasaari <KILLspamkalleKILLspamspamdevice.data.co.za> and everyone else that
contributed with advice on getting more volume from a speaker.  I got some
good ideas to try out now.

Rgds
Werner
--
Werner Terreblanche     http://www.aztec.co.za/users/werner
RemoveMEwterrebTakeThisOuTspamplessey.co.za (work)  OR  spamBeGonewernerspamBeGonespamaztec.co.za  (home)
Plessey SA, PO Box 30451,Tokai 7966, Cape Town, South Africa
or at home : Suite 251, PostNet X5061, Stellenbosch, 7599
Tel +27 21 7102251  Fax +27 21 7102886  Home +27 21 8872196
------------------------------------------------------------

More... (looser matching)
- Last day of these posts
- In 1997 , 1998 only
- Today
- New search...