Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:24 21 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : PicoMite buzzer / beeper

Author Message
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8300
Posted: 11:29am 25 May 2022
Copy link to clipboard 
Print this post

There are two sorts of these, passive and active. Often they look very similar.

Passive type - Small black cylinder
These are similar to a small loudspeaker in operation. They have a low coil resistance and, like a loudspeaker, they have to be driven by a AC or pulse waveform to make any sound. Unlike a loudspeaker, they are designed to have a peak output at one particular frequency so you have to drive them at that to get maximum output. Note that these are inductive (requiring a reverse diode) and will always require a transistor or mosfet to drive them.

Passive type - Flat disc
These are a piezo element and are capacitive. Some need a relatively high drive voltage, but there are some which operate at around 5V. Like the above, they have to be drive by an oscillating waveform. Additionally they are quite quiet unless you bond them to a flat surface to act as a sounding board. They also have a "peaky" output. They don't require much current, but do need voltage.

Active type - Small black cylinder
These contain a small oscillator and a piezo element. They are self contained - apply a voltage and they beep at a fixed frequency. They may require a driver transistor in some cases. These are usually rated at a minimum of 5V, but some will work at 3.3V.


GUI BEEP uses an active type. It produces an output pulse on a pin, as does PULSE.

You can also use PLAY TONE for a passive type if you use the correct frequency (not critical) and a suitable driver transistor. Note that this isn't triggered by the GUI, you have to handle it separately.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
astroboy
Regular Member

Joined: 28/12/2014
Location: Australia
Posts: 41
Posted: 04:24am 26 May 2022
Copy link to clipboard 
Print this post

Thanks Mick.  I found this really helpful.
 
k2backhoe
Regular Member

Joined: 04/12/2021
Location: United States
Posts: 47
Posted: 02:22pm 26 May 2022
Copy link to clipboard 
Print this post

Thank you also.  I find these kinds of concise and complete explanations extremely helpful!
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025