Ok Richard thanks. I'll try SOUND and stick with it and yes, those transducers are something I've never dealt with -- they're a pain. Going to try something else.
Ok Richard thanks. I'll try SOUND and stick with it and yes, those transducers are something I've never dealt with -- they're a pain. Going to try something else.
Do you think these will work on a PIC output with the SOUND command at 2300 hz ? At least they're 5V.
https://www.ebay.com/itm/Gfortune-15...UAAOSwErFZ0-ze
Having problems getting piezo diaphragms and driver circuits to be very loud. barely hear them in fact. --Thank you
Those are self resonating. They will buzz at 2300hz when 5 volts is applied. Look for "transducer".
Something like this
https://www.ebay.com/itm/AT-12-Piezo...gAAOSwZd1Vewuj
I realized that after posting -- thanks. Will try that part you suggested. Can't believe something so simple has been such a headache.
Thanks.
Just to try a piezo to see if it works, just use the HPWM 1,127,2000 command and connect your piezo to the PWM output. I found some processors the SOUND command doesn't work so well for. I would be chasing my tail trying what you are with what I was working on.
Once you know the piezo is good for a PWM output, then work on the SOUND software. My opinion, and I reserve the right to be wrong.
You could eliminate any doubt with the pic by oscillating port b yourself,
and connecting an LED to any of the other port b pins, and changing the delay value.
Code:buffer var byte = 0 TRISB = 0 cycle: if buffer == $00 then buffer = $FF else buffer = $00 endif pauseus 1 PORTB = buffer goto cycle
Bookmarks