Passive Buzzer Module is a built-in construction of digital transducers, DC energy provides, extensively utilized in computer systems, printers, copiers, alarms, digital toys, car digital apparatus, phones, timers and different digital electronics projects for Alert sound.
This PCB Mounted Passive Buzzer Module can produce a range of sound tones depending on the input frequency, i.e it can generate tones between 1.5 to 2.5 kHz by switching it on and off at different frequencies either using delays or PWM.
The following Arduino Sample sketch will generate two different tones by turning on and off the buzzer at different frequencies using a delay.
int buzzer = 8; // set the buzzer control digital IO pin void setup() { pinMode(buzzer, OUTPUT); // set pin 8 as output } void loop() { for (int i = 0; i < 80; i++) { digitalWrite(buzzer, HIGH); // make a sound delay(1); // send high signal to buzzer digitalWrite(buzzer, LOW); // delay 1ms delay(1); // send low signal to buzzer } delay(50); for (int j = 0; j < 100; j++) { digitalWrite(buzzer, HIGH); //make another sound delay(2); digitalWrite(buzzer, LOW); // delay 2ms delay(2); } delay(100); }
Connection Diagram:
Connections:
- Arduino: Buzzer
- GND: (minus sign)
- Center pin: No connection
- Any digital pin: S
Specifications and Features:
- Operating Voltage : 1.5 ~ 15V DC
- Working Current: Less than 25mA
- Material: Plastic
- Tone Generation Range : 1.5 ~ 2.5kHz
- Dimensions (LxWxH): 26 x 15 x 11 mm
- Colour: Black
- Weight: 3g
Package Includes:
1 x PCB Mounted Passive Buzzer Module
jojesh (verified owner) –
It looks it is working now. 🙂
jojesh –
shubhamchouksey1998 –
The product is good
shubhamchouksey1998 –