buzzer

Post Reply
User avatar
jsclownfish
Posts: 378
Joined: Mon Oct 24, 2011 7:52 pm
Location: Saint Louis

buzzer

Post 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
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: buzzer

Post 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
Roberto.
User avatar
jsclownfish
Posts: 378
Joined: Mon Oct 24, 2011 7:52 pm
Location: Saint Louis

Re: buzzer

Post by jsclownfish »

cool! :D
Thanks,
Jon
Post Reply