Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1268

Python • Re: Using a Raspberry Pi 4 to make a bleep type noise

$
0
0
I like the speaker idea! Just record or download a load noise and play it!

About the buzzer: There are two types: "Internal Driven" and "External Driven".

The external ones assume you will write software or build a circuit to make whatever noise(s) you want. The Internal ones have a small circuit board inside that you just supply DC (or AC voltage in some cases) to it and that internal board makes the noise.

My favorite electronics supplier - Digikey - carries the Mallory line of "Sonalert Products". I have used them often in product designs when I want a really loud noise that cannot easily be ignored! heh. So careful what you wish for.

While they have some that will run at 3V DC (what I assume the digital output is supplying), they require 50mA or more of current - and I don't think the digital output can supply that. The model that only needs 12mA, needs 12V although its data sheet says 3V to 15V will work (part PK-12N40PEDYQ).

For best results it seems you would need to use a transistor or relay on the output to boost the voltage and current for them to work - this is how I have always used them (with a small FET that drives them from a separate 12V supply). Or in the old days, a 2N2222... That's how old I am.

During development, we wrap them in foam or stuff them into a padded envelope to muffle them. Testing something that makes a 85dB or louder noise is not fun after a while.

Regards,
Richard.

Statistics: Posted by rcooke1963 — Tue Sep 10, 2024 2:46 pm



Viewing all articles
Browse latest Browse all 1268

Trending Articles