HW-508 Small Passive Buzzer Module Applicable for KY-006 In Pakistan

Condition: New
Availability: In Stock
Share:     Faceook Twitter

SKU: 637720657994730807

Rs.90 Rs. 113

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.

This module is ideally suited to adding noise to your project and is compatible with a pin pitch of 2.54mm while functioning with microcontrollers such as the Arduino. This module lets you respond to programmatic changes with a lovely annoying buzzer that can be altered over a range of frequencies to ensure maximum irritation.

To operate the I/O pin must receive a square wave to trigger the buzzer. This can be produced within all popular microcontrollers.

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 
 for (int j = 0; j < 100; j++) { 
     digitalWrite(buzzer, HIGH);  //make another sound 
     digitalWrite(buzzer, LOW); // delay 2ms 

Based on 1 reviews



Add a review

Khalil - July 07, 2022