I understand how to overcome the problem and why it acts like that, but i ask, b asic stamp book says use a 40ohm speaker..will that really make that much of a d iffernce in sound from a small wisper to a decent volume? On Tue, 7 Dec 1999 23:48:42 -0500 Wagner Lipnharski wrote: >Hello Mike, what happens is that you don't have enough power at the PIC >pin to drive the speaker to ground. All the power the speaker is >receiving is via the 22=B5F and the internal PIC pull up, that is a high >"resistor" value. =20 > >Increase the current flow using an external pull up resistor, 330 Ohms >or more from the PIC pin 3 to +5Vcc. Using resistors below 330 Ohms can >damage the PIC, well, just take it easy, ok?=20 > >Of course the best is just use a audio amplifier or a single chip >amplifier as for example the LM386 (8 pin DIP, +5V). > >Wagner=20 > > >Mike M wrote: >>=20 >> Hey i been trying to create sound with a Pic and a speaker. Just using= > simple statements like >>=20 >> BSF PORTB, 3 >> ;;;delay 1ms >> call delay >> BCF PORTB, 3 >>=20 >> well it works, but really really low sound. I expected that. The spea= >ker is 8ohm, one lead to ground, and the other lead to a 22uf cap wit the= > pos side to the PIC pin 3. Now i got the basic idea from Dontronics pic= > source book. Wich is almost taken right out of the BASIC STAMP 1 manual= > except for the actual code :). I would assume this setup on a stamp wo= >uld also produce very low sound without some sort of amplifier or am i wr= >ong? if so, why? >>=20 >> Mike >>=20 >> Send someone a cool Dynamitemail flashcard greeting!! And get rewarded. >> GO AHEAD! http://cards.dynamitemail.com/index.php3?rid=3Dfc-41 > Send someone a cool Dynamitemail flashcard greeting!! And get rewarded. GO AHEAD! http://cards.dynamitemail.com/index.php3?rid=fc-41