
This circuit consists of a trimmer potentiometer, a piezo buzzer, and a power source. The trimmer potentiometer is used to adjust the voltage supplied to the piezo buzzer, allowing for control over the buzzer's sound output.
A piezo buzzer is a compact and versatile electronic sound-producing device that operates on the principle of the piezoelectric effect. When an electric signal is applied to a piezoelectric material, it deforms and generates an audible sound. Piezo buzzers are widely used in various applications such as alarm clocks, kitchen timers, computer devices, toys, and as alert signals in medical and industrial equipment due to their reliability and simplicity.

This circuit consists of a trimmer potentiometer, a piezo buzzer, and a power source. The trimmer potentiometer is used to adjust the voltage supplied to the piezo buzzer, allowing for control over the buzzer's sound output.

This circuit uses an Arduino UNO to control a Piezo Buzzer based on input from a PIR sensor. When the PIR sensor detects motion, it sends a signal to the Arduino, which then activates the Piezo Buzzer.

This circuit features an Arduino Nano microcontroller that controls a piezo buzzer and a green LED, powered by a 18650 Li-Ion battery through a rocker switch. A pushbutton connected to the Arduino allows user interaction, likely to trigger the buzzer and LED.

This circuit is designed to detect vibrations using an SW-420 Vibration Sensor and alert through a Piezo Buzzer. The Arduino Leonardo controls the system, reading the digital output from the vibration sensor and activating the buzzer when vibration is detected. The buzzer is connected to a PWM pin on the Arduino for potential variable tone output, and the sensor is powered by the Arduino's 5V output.
| Pin Number | Description |
|---|---|
| 1 | Positive (V+) |
| 2 | Negative (Ground, GND) |
// Define the buzzer pin
int buzzerPin = 9;
void setup() {
// Set the buzzer pin as an output
pinMode(buzzerPin, OUTPUT);
}
void loop() {
// Produce a 2kHz tone for 1 second
tone(buzzerPin, 2000); // Send a 2kHz sound signal...
delay(1000); // ...for 1 second
noTone(buzzerPin); // Stop the tone
delay(1000); // Wait for 1 second
}
Q: Can I use a piezo buzzer with a battery? A: Yes, as long as the battery voltage matches the buzzer's rated voltage.
Q: How can I change the sound frequency of the buzzer?
A: Adjust the frequency of the input signal. In the Arduino example, change the value in the tone() function.
Q: Is it possible to play melodies with a piezo buzzer? A: Yes, by varying the frequency and duration of the input signal, you can create simple melodies.
Q: Can I control the volume of the piezo buzzer? A: The volume can be somewhat controlled by varying the voltage or using PWM, but piezo buzzers have limited volume control compared to other audio devices.