Loading...
 Pages: [1]   Go Down
 Author Topic: Maximize buzzer loudness  (Read 547 times) 0 Members and 1 Guest are viewing this topic.
Offline
Newbie
Karma: 0
Posts: 8
 « on: December 05, 2012, 06:11:17 pm » Bigger Smaller Reset

Hello,

I'm trying to maximize the volume of a CA buzzer. Characteristics:

V = 30 V máx.
f = 3.500 Hz ± 500 Hz;
Z =300 ohm.
Accoustic level = 80 dB with V=12V
C= 24.000 ± 30 % pf.

At the beginning I just connected the buzzer to PIN8 and to GND. The volume is not bad but I need more accoustic level.

My first surprise is when I measured the current. Tester in AC mode says the current is about 0.1 mA!

So I thought, ok, lets improve the current adding a transistor. I used a 20year-old BD139. Base connected to PIN8, Emissor to GND, Collector connected to the buzzer, and buzzer connected to 5V. Still worst! I almost cannot hear any sound.

So my questions are:
1) How can I increase the volume using the same buzzer?
2) Why PIN8 is giving me so low current? Is there any way to increase it? Theoretically output PINs can load up to 40mA.

PS: the program I'm using is just the "tonemelody" example provided by the framework.

Thanks in advance.
 Logged

Offline
God Member
Karma: 9
Posts: 764
 « Reply #1 on: December 05, 2012, 08:36:32 pm » Bigger Smaller Reset

I don't know what a CA buzzer is....

Quote
My first surprise is when I measured the current. Tester in AC mode says the current is about 0.1 mA!
I wonder if that's true...   What kind of "Tester" do you  have?  Are you sure it's not 0.1 Amp?

Quote
2) Why PIN8 is giving me so low current? Is there any way to increase it? Theoretically output PINs can load up to 40mA.
Ohm's Law

You don't "push current".   You put-out a known voltage, and the amount of current depends on the voltage and the resistance/impedance.  (i.e. resistance is "resistance to current flow".)

Quote
So I thought, ok, lets improve the current adding a transistor. I used a 20year-old BD139. Base connected to PIN8, Emissor to GND, Collector connected to the buzzer, and buzzer connected to 5V. Still worst! I almost cannot hear any sound.
The transistor needs to be connected to a higher voltage.   The 5V from the Arduino (through a current limiting resistor) into the base of the transistor turns-on current flow through the collector & emitter of the transistor, and through you buzzer.

It's the higher voltage that increases the current, and the transistor basically protects the Arduino from the higher voltage, whichoud damage it if you connect it directly.
 Logged

the land of sun+snow
Offline
Edison Member
Karma: 78
Posts: 2090
 « Reply #2 on: December 05, 2012, 09:00:12 pm » Bigger Smaller Reset

Quote
1) How can I increase the volume using the same buzzer?

See where it says Vmax = 30V. That's how you get loudness out of it, not by running
at 5V.
 Logged

Murphy's Corollary: the "real" problem is usually what they don't tell you about, which leads to endless second-guessing. m

Offline
Newbie
Karma: 0
Posts: 8
 « Reply #3 on: December 06, 2012, 04:11:39 am » Bigger Smaller Reset

Hello, thanks for your replies.

I don't know what a CA buzzer is....

Sorry, by AC I mean that the buzzer doesn't have an internal oscilator so it doesn't work with DC (Direct Current). Fortunately the Arduino "tone" sentence creates a squared signal.

Quote
Ohm's Law.
You don't "push current".   You put-out a known voltage, and the amount of current depends on the voltage and the resistance/impedance.  (i.e. resistance is "resistance to current flow".)

By Ohn's law I had expected a current of 16mA, as the voltage is 5V and the buzzer internal impedance is 300 ohms.

Quote
The transistor needs to be connected to a higher voltage.   The 5V from the Arduino (through a current limiting resistor) into the base of the transistor turns-on current flow through the collector & emitter of the transistor, and through you buzzer.

I cannot connect the buzzer to a higher voltage, it is a constraint of the design. That's why I wanted to increase current and so power, I thought it would be possible to increase volume (power) by using the same voltage and increasing current with a transistor. I can change the buzzer, but all the design must be as lighter as possible: it will fly in a structure of 150gr, and currently the electronics are adding 50 extra gr, including battery.

 Logged

Global Moderator
Dallas
Offline
Shannon Member
Karma: 116
Posts: 10134
 « Reply #4 on: December 06, 2012, 04:18:31 am » Bigger Smaller Reset

I've been very pleased with these at 5V (and less) driven with the tone function (near 4K Hz)...
http://www.cui.com/Product/Components/Buzzers/Transducers_%28without__driving_circuit%29/Piezo/CPE-164
 Logged

Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25416
Solder is electric glue
 « Reply #5 on: December 06, 2012, 04:22:30 am » Bigger Smaller Reset

Quote
I cannot connect the buzzer to a higher voltage
Then you can not put more current through it.
You could generate a higher voltage with an inverter or transformer.

The fact that it sounded less loud through a transistor suggests you did not wire it up right. Emitter to ground, buzzer to collector an +5V?

Mount the sounder on a ridged surface to make it sound louder, the inside of the box would do.
 Logged

Offline
Newbie
Karma: 0
Posts: 8
 « Reply #6 on: December 06, 2012, 10:31:45 am » Bigger Smaller Reset

Quote
I cannot connect the buzzer to a higher voltage
Then you can not put more current through it.
You could generate a higher voltage with an inverter or transformer.

The fact that it sounded less loud through a transistor suggests you did not wire it up right. Emitter to ground, buzzer to collector an +5V?

Mount the sounder on a ridged surface to make it sound louder, the inside of the box would do.

Ok I'll try to fix it better. On the other side I understand that the only possibility is to increase voltage. I'll think about it.
Thanks for your comments!

 Logged

Maine
Offline
Sr. Member
Karma: 7
Posts: 320
Caution: Explosives in use.
 « Reply #7 on: December 06, 2012, 11:23:17 am » Bigger Smaller Reset

Quote
I cannot connect the buzzer to a higher voltage
Then you can not put more current through it.
You could generate a higher voltage with an inverter or transformer.

The fact that it sounded less loud through a transistor suggests you did not wire it up right. Emitter to ground, buzzer to collector an +5V?

Mount the sounder on a ridged surface to make it sound louder, the inside of the box would do.

Ok I'll try to fix it better. On the other side I understand that the only possibility is to increase voltage. I'll think about it.
Thanks for your comments!

Something like this: http://www.pololu.com/catalog/product/799

Would do the trick I think.
 Logged

"Anyone who isn't confused really doesn't understand the situation."

Arduino-based airsoft props -> www.nightscapetech.com

Offline
Newbie
Karma: 0
Posts: 8
 « Reply #8 on: December 06, 2012, 11:40:44 am » Bigger Smaller Reset

Yes, it would do the trick. Thanks!!!
 Logged

the land of sun+snow
Offline
Edison Member
Karma: 78
Posts: 2090
 « Reply #9 on: December 07, 2012, 03:44:25 pm » Bigger Smaller Reset

Quote
V = 30 V máx.
f = 3.500 Hz ± 500 Hz;
Z =300 ohm.
Accoustic level = 80 dB with V=12V
C= 24.000 ± 30 % pf.

I don't quite understand these specs, as 24.000 pf [same as 24,000 to US'ers] indicates a
piezo buzzer [I think], whereas I'm not sure how Z=300 ohm factors in, since

Xc = 1/(2*pi*3500*24nF) = 1900 ohms.

Another possibility is going to a magnetic "buzzer" rather than piezo. The ones I have measure
44 ohms "dc resistance", and I'm sure that with an NPN inverter driving them at 5V, they'd
probably chase me out of the room.
 Logged

Murphy's Corollary: the "real" problem is usually what they don't tell you about, which leads to endless second-guessing. m

Offline
Newbie
Karma: 0
Posts: 11
Every accomplishment starts with the decision to try
 « Reply #10 on: December 07, 2012, 06:34:18 pm » Bigger Smaller Reset

connect it to a different bigger more powerful power source
 Logged

0
Offline
God Member
Karma: 37
Posts: 974
Get Bitlash: http://bitlash.net
 « Reply #11 on: December 07, 2012, 06:42:02 pm » Bigger Smaller Reset

May I bark up a different tree for a moment?

A common complaint here on the forum is that "my LEDs are very dim", and the problem is usually resolved by calling pinMode(pin, OUTPUT); - supplying the forgotten initializer.  Inputs make very weak outputs.

I haven't seen any code yet, so I have to ask: can we verify that this is not the problem in this case?

-br
 Logged

Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15310
Measurement changes behavior
 « Reply #12 on: December 07, 2012, 09:34:39 pm » Bigger Smaller Reset

I believe it's a 'raw' pizo element with a resonate frequency of 3.5 khz. As such it acts more like a capacitor and you shouldn't think of treating it as a DC component, as it will not pass DC current. A step-up audio transformer of the correct impedance ratio would be a good way to drive this device with the digital output pin connect to a series capacitor to the primary of the transformer, thus creating a larger symmetrical AC voltage of the proper amplitude to drive this element to it's rated output, but only if you are sending it a frequency close to it's resonant frequency, too high or low a tone frequency and the sound amplitude will fall off quickly. These are just not good components for direct connection to digital output pins.

Lefty
 Logged

 Pages: [1]   Go Up
Jump to:

© 2011 Arduino Forum: