Introduction: How to Use a Piezo Buzzer

Description:

A piezoelectric speaker is a loudspeaker that uses the piezoelectric effect for generating sound. The initial mechanical motion is created by applying a voltage to a piezoelectric material, and this motion is typically converted into audible sound using diaphragms and resonators. Compared to other speaker designs piezoelectric speakers are relatively easy to drive; for example they can be connected directly to TTL outputs, although more complex drivers can give greater sound intensity. Typically they operate well in the range of 1 - 5kHz and up to 100kHz in ultrasound applications.

Specifications:

  • Buzzer type: 8 ohm, 0.5W
  • Rated voltage: 1.5VDC
  • Rated current: less than or equal to 60mA
  • Output: 85dB
  • Resonancefrequency: 2048Hz
  • OperatingTemperature: -20 to +45 degree Celcius

Step 1: Material Preparation

For this tutorial, the items needed to run this project are:

  1. Arduino UnoUSB
  2. Breadboard
  3. Male to male jumper
  4. Piezo buzzer

Step 2: Hardware Installation

The pin which have a + sign on the top is connected to one of the digital pin of the Arduino Uno

The other pin is connected to the GND pin of the Arduino UNO.

Step 3: Source Code

  1. Download the test code and open it by using Arduino software or IDE.
  2. Make sure that you have choose the right board and the corresponding port. (In this tutorial, Arduino Uno is used)
  3. Then, upload the test code into your Arduino Uno.

Step 4: Video Example