How to Use a Piezo Buzzer

by mybotic in Circuits > Electronics

11014 Views, 2 Favorites, 0 Comments

How to Use a Piezo Buzzer

afa98df45521833452a0a726a5b03c371435651575-sm.jpg

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

Material Preparation

Arduino UNO.jpg
Breadboard.jpg
MM_jumper.jpg
piezo.png

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

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

Hardware Installation

piezo buzzer.jpg
piezo.jpg

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.

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.

Video Example

Piezo Buzzer Twinkle Twinkle Little Star