Sound Question
Humanoido
Posts: 5,770
What is the best and most simple way to:
1) get a better sine wave from a piezo speaker?
2) can a Sound Pal help?
1) get a better sine wave from a piezo speaker?
2) can a Sound Pal help?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
2) The SoundPAL drives its speaker with square waves.
Do you want to be able to control the pitch? If so, with a micro, with a potentiometer, or ...? If with a micro, which one?
-Phil
I was trying to get pure sine waves, but I like the idea of using two square waves instead to accomplish this if the two piezos put out similar waves. This would all be under software control to set the pitch/vary frequency. The piezos are on a basic stamp, each on a pin.
Is there a database of pbasic sound programs that create various waveforms? If not, what is the cleanest and most stable method for programming sine and square waves using piezo speakers?
Is it better to use two soundpals to accomplish this?
humanoido
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
cheers,
Mark
-Phil
humanoido
-Phil
humanoido
-Phil
Thanks Phil, ok, that's one idea to get two within range,
but those things are really loud even after removing the cone.
Is there a way to turn down the volume using software?
I read where a voltage increase will flex the piezo with more
force resulting in greater amplitude and louder volume.
How about reducing the voltage to decrease volume?
humanoido
Post Edited (humanoido) : 5/15/2009 8:16:24 AM GMT
-Phil
This indicates a software program can control the volume
which is exactly what this project needs. A piece of tape
will work fine. Also, it's very useful to move the volume up
or down, depending on requirements. How did you know
the speaker was electromagnetic and not piezo?
humanoido
It's what I specified when I did the design. A piezo that small would not be loud enough.
-Phil
since its already interfaced to the Tiny processor and
the stamp is just sending serial commands. I have
noted the system has not avoided the effects of some
frequencies being louder than others, which is the
basis of the Virtual Volume Control code for Penguin
Robot.
humanoido