Passive Buzzer Module for Arduino
An inexpensive passive buzzer module for generating audible alerts in alarms, timers, toys and other electronics projects.
1.39 EUR
Lowest price in the last 30 days:
Shown according to the lowest price in the 30 days before the discount.
Product details
How to connect the passive buzzer module to Arduino:
- Connect the positive module terminal (usually marked red) to the Arduino 5 V output.
- Connect the negative module terminal (usually marked black) to Arduino GND.
- Connect the signal wire (usually marked yellow) to an Arduino digital output.
Arduino code:
// Definujte pin, ku ktorému je pripojený Buzzer Modul
const int buzzerPin = 9;
void setup() {
// Nastavený pin ako výstup
pinMode(buzzerPin, OUTPUT);
}
void loop() {
// Zapnutie Buzzer Modulu na 1 sekundu
digitalWrite(buzzerPin, HIGH);
delay(1000);
// Vypnutie Buzzer Modulu na 1 sekundu
digitalWrite(buzzerPin, LOW);
delay(1000);
}
This code turns the buzzer module on and off at one-second intervals. Modify it as needed.
Passive buzzer modules can be used in projects including:
- Alarms
- Timers
- Toys
- Medical equipment
- Industrial applications
- Automotive applications
Reviews
No reviews yet.



























































