Page 1 of 1

buzzer

Posted: Fri Feb 07, 2014 1:28 pm
by jsclownfish
Hi all,

I was playing with some code on the buzzer last night, wondering if I could change the beep/buzz pattern for different kinds of alarms for different issues. I've seen some code around that even plays tunes on the peizo, but wasn't having much luck trying to change the volume or frequency of the alarm. Shouldn't this be possible with the buzzer connected to the daylight or actinic ports on the outlet box?

-Jon

Re: buzzer

Posted: Fri Feb 07, 2014 2:32 pm
by rimai
They are self driven buzzers and you can't change pitch or intensity.
What you can do is turn then on/off to generate a different sequence. Like, 2 beeps for something or 1 beep pause 2 beeps for something else and so on.
I've created a few different sequences for some other prototypes:
You are more than welcome to use them.
https://github.com/reefangel/Libraries/ ... instance.h

Re: buzzer

Posted: Sat Feb 08, 2014 11:22 am
by jsclownfish
cool! :D
Thanks,
Jon