{"product_id":"ky-006-3pin-miniature-passive-buzzer-alarm-sensor-module-in-pakistan","title":"Hw-508 Small Passive Buzzer Module Applicable For Ky-006","description":"\u003cp\u003ePassive 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.\u003c\/p\u003e\r\n\r\n\u003cp\u003e 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.\u003c\/p\u003e\r\n\r\n\u003cp\u003eThis 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.\u003c\/p\u003e\r\n\r\n\u003cp\u003eTo operate the I\/O pin must receive a square wave to trigger the buzzer. This can be produced within all popular microcontrollers.\u003c\/p\u003e\r\n\r\n\u003chr\u003e\r\n\u003cp\u003eThe following Arduino Sample sketch will generate two different tones by turning on and off the buzzer at different frequencies using a delay.\u003c\/p\u003e\r\n\r\n\u003cpre\u003e\r\nint buzzer = 8; \/\/ set the buzzer control digital IO pin \r\nvoid setup() { \r\npinMode(buzzer, OUTPUT); \/\/ set pin 8 as output\r\n }\r\nvoid loop() { \r\nfor (int i = 0; i \u0026lt; 80; i++) { \r\n     digitalWrite(buzzer, HIGH); \/\/ make a sound\r\n     delay(1); \/\/ send high signal to buzzer\r\n     digitalWrite(buzzer, LOW); \/\/ delay 1ms\r\n     delay(1); \/\/ send low signal to buzzer \r\n                             }\r\n delay(50);\r\n for (int j = 0; j \u0026lt; 100; j++) { \r\n     digitalWrite(buzzer, HIGH);  \/\/make another sound \r\n     delay(2);\r\n     digitalWrite(buzzer, LOW); \/\/ delay 2ms \r\n     delay(2);\r\n                               }\r\n delay(100); \r\n}\u003c\/pre\u003e\r\n\r\n\u003cp\u003e \u003c\/p\u003e\r\n\r\n\u003cp\u003e \u003c\/p\u003e\r\n","brand":"Digilog Electronics","offers":[{"title":"Default Title","offer_id":43962407747649,"sku":"B162,IMP200,Th100, KRT53,SA","price":60.0,"currency_code":"PKR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0727\/2805\/1777\/files\/KY-006_3pin_Miniature_Passive_Buzzer_Alarm_Sensor_Module_in_pakistan.jpg?v=1779579258","url":"https:\/\/stem.pk\/products\/ky-006-3pin-miniature-passive-buzzer-alarm-sensor-module-in-pakistan","provider":"stem.pk","version":"1.0","type":"link"}