KY-006 Passive Buzzer Board Module For Arduino AVR PIC

  • $1.79


The KY-006 is a small passive buzzer mounted on a PCB with header pins for convenient access.

Unlike an active buzzer, which generates a fixed tone when the power is connected, this passive buzzer uses an input signal to generate a tone, as a loudspeaker does, to make it operate. This provides the advantage of being able to generate a tone pattern, or play a song, using an Arduino or other MCU to control it.

Pinout:

  • GND: Ground
  • VCC: 1.5V to 15V (not need, can be driven by the signal voltage)
  • SIG: Input Signal

Working Current: <25mA

Frequency: <20Hz to >2.5kHZ

Dimensions: 26mm x 15mm x 10mm (LxWxH including pins), 19mm x 15mm x 10mm (PCB only)

Sample Arduino Sketch:

This sketch plays the Happy Birthday song. The SIG input should be connected to an Arduino Uno pin 12, GND should be connected to a Ground pin:

*************************
int TPin = 12;
int switchPosition=0;
int c = 261;
int d = 293;
int e = 329;
int f = 349;
int g = 391;
int a = 440;
int Bb = 466;
int b = 493;
int highc = 523;
int eighth = 500/2;
int quarter = 1000/2;
int half = 2000/2;
void setup(){
pinMode(TPin,OUTPUT);
}
void loop(){

tone(12,c,150*2);
delay(200*2);
tone(12,c,50*2);
delay(50*2);
tone(12,d,quarter);
delay(quarter);
tone(12,c,quarter);
delay(quarter);
tone(12,f,quarter);
delay(quarter);
tone(12,e,half);
delay(half);
tone(12,c,150*2);
delay(200*2);
tone(12,c,50*2);
delay(50*2);
tone(12,d,quarter);
delay(quarter);
tone(12,c,quarter);
delay(quarter);
tone(12,g,quarter);
delay(quarter);
tone(12,f,half);
delay(half);
tone(12,c,150*2);
delay(200*2);
tone(12,c,50*2);
delay(50*2);
tone(12,highc,quarter);
delay(quarter);
tone(12,a,quarter);
delay(quarter);
tone(12,f,quarter);
delay(quarter);
tone(12,e,quarter);
delay(quarter);
tone(12,d,half);
delay(half);
tone(12,Bb,150*2);
delay(200*2);
tone(12,Bb,50*2);
delay(50*2);
tone(12,a,quarter);
delay(quarter);
tone(12,f,quarter);
delay(quarter);
tone(12,g,quarter);
delay(quarter);
tone(12,f,half);
delay(half);
}
*************************

Package Includes:

1X KY-006 Passive Buzzer Board Module

Get it faster! Ships in 1 business day from our US facility in Colorado for quick delivery.