Amplify Pizzo Buzzer

arduino

I have an Arduino pro mini connected to a Lipo 3.7 battery. I am using a pizzo buzzer connected to a Ultrasonic sensor, the buzzer only makes small clicking sounds, I assume this is due to lack of current, how cany I amplify this.

The Arduino program increase the 'beep' as something gets closer, this is done by setting the pin to HIGH/LOW at increased rates.
I have sampled setting the Pin to High for 1000 ms and I still only get a faint click.
On an Arduino Uno it is much louder.

The final project has to get pinned on to the ear part of glasses (its a school fun project!). So it needs to be small.

Here is a layout of the breadboard I am using.
enter image description here
thanks

Best Answer

Part 1:

There a couple types of sound-making elements out there. The first is piezo elements. They move when voltage is applied to them. If you have a piezo then I suspect the click you hear is the rising/falling edge of the DC voltage you are applying. To fix this, you will need to apply an AC signal at the frequency you wish to produce. This should be achieved with a PWM signal producing a square wave.

The second is an integrated buzzer. This device will simply make noise when adequate power is supplied. Perhaps your simplest solution is to move to one of these.

Part 2:

In either case above, you may need more current than the Arduino can produce directly. To achieve this you can use the following simple circuit:

schematic

simulate this circuit – Schematic created using CircuitLab