You can if the buzzer signal is only used to trigger a secondary circuit that does what op is looking for.
Fermion@mander.xyz 2 days ago
labdarna.com/…/understanding-piezo-buzzers-how-th…
They use piezo buzzers which work differently to most speakers. I would guess that the units used in smoke alarms and microwaves generally have integrated drivers that only operate at a single frequency. However, it is possible to drive piezo discs at different frequencies. Their ouput will always approximate a sound wave though, so don’t expect to be able to use them like a normal electrodynamic/ voice coil speaker to play arbitrary sounds.
db2@lemmy.world 2 days ago
dddontshoot@lemmy.world 2 days ago
That’s what I would do. Hook jumpers from the buzzer to the play button of an mp3 player. That way if the music system fails, the buzzer still wakes you up.
ageedizzle@piefed.ca 2 days ago
Interesting thank you. The integrated drivers thing would make it difficult to hack but I guess its always possible to crack the smoke alarm and replace the drivers, if someone really wanted to get their hands dirty
ChaoticNeutralCzech@feddit.org 2 days ago
Piezo buzzers have a resonant frequency they’re strongest at. Two-pin piezo disks need driving at the desired frequency. Three-pin provide a phase-shifted feedback to the driving transistor to keep oscillating at the resonant frequency. Some include that whole circuit inside their housing so they have just 2 pins but those are for DC power, only the volume can be somewhat adjusted by changing the input voltage.
Creat@discuss.tchncs.de 2 days ago
The only ones I’ve ever used myself area is the DC variety. Apply power: beeeeep; stop applying power: <sound stops>
I don’t know why idea are more commonly used in consumer electronics.
Ephera@lemmy.ml 2 days ago
Yeah, you could more easily create a rhythm than a full melody. If you get a few devices, which beep at different frequencies each, you could do a lot more by having them beep in succession and in intervals.
Of course, this requires that they’re roughly in tune, which may not be the case at all. 🥴