KY-006 Passive Buzzer High Level Module
A KY-006 passive buzzer module is a digital transducer with a built-in DC power supply. It is commonly used in various devices like computers, printers, copiers, alarms, electronic toys, car electronics, phones, timers, and other projects that need alert sounds. This module mounts easily on a PCB and produces different sound tones based on the input frequency. It can generate tones from 1.5 to 2.5 kHz by switching on and off at various frequencies, which can be controlled using delays or pulse width modulation (PWM). Perfect for adding sound effects to your projects, this module is compatible with a 2.54mm pin pitch and works well with microcontrollers such as Arduino. To activate the buzzer, simply apply a square wave to the I/O pin, which most microcontrollers can generate. This flexibility enables you to create buzzer sounds across a range of frequencies for diverse applications. 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 Example Code: 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); } Package Includes: 1 x KY-006 Passive Buzzer High Level Module Related





