Very very faint sound
Just built the piezoelectric speaker cicuit in "Whats a Microcontroller"·p.22 figure 8-2 and ran the program. The program runs ok but i have to put the
homework board to my ear to hear the sounds. Is this normal?··How do i get more volume?······················································
homework board to my ear to hear the sounds. Is this normal?··How do i get more volume?······················································

Comments
Are you sure you have the piezo the right way around? Btw, the page number featuring figure 8-2 is not 22, but 220 [noparse]:)[/noparse] I assume you tested it with TestPiezoWithFreqout.bs2?
' What's a Microcontroller - TestPiezoWithFreqout.bs2 ' Send a tone to the piezo speaker using the FREQOUT command. '{$STAMP BS2} '{$PBASIC 2.5} DEBUG "Tone sending...", CR FREQOUT 9, 1500, 2000 DEBUG "Tone done."Gr,
Mightor
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
| To know recursion, you must first know recursion.
I triple checked everything but no go.
I went and bought another piezo and it works fine!
Again thanks!!
Just another quick Q. You did take the little sticker off the top of the piezo? I know that I had one on mine when I got it with the Boe-Bot that said "remove after washing". That would really muffle the sound [noparse]:)[/noparse] It's a black little sticker with a small tab, not terribly easy to see.
Gr,
Mightor
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
| To know recursion, you must first know recursion.