LMAO! i guess it would depend of the hardware![]()
LMAO! i guess it would depend of the hardware![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Thanks for the reply sayzer and mister_e. I've tried both of your methods but but just the capacitor is louder then the npn transistor unless I am connecting it incorrectly. Any other suggestions? Thanks again for your ideas and help.
Provide your piezo part # so we could try to find the g-spot of it !
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Most piezo's oscillate at their resonant frequency when a DC voltage is applied.
The SOUND command outputs a complex form of PWM that is intended to produce a sudo Sine Wave when used with a Low Pass Filter. This won't allow the piezo to oscillate very well at all.
To get the Loudest sound, use sayzer's circuit (with 12V) then set the pin HIGH. (Don't have your ear too close or you'll lose it).
Of course, I wouldn't want to wake up with that sound. It's more like a Smoke Detector high pitch blast.
If you want a better sound using the SOUND command, run it through a low pass filter, then amplify it, then use a normal speaker instead of a piezo.
<br>
DT
Bookmarks