Description
Buzzer active sensor module KY-012. This module works on 5 volts and can make buzz sounds by controlling an Arduino or other microcontroller. By means of the headers it is easy to connect to a breadboard.
€1,95
This module operates on 5 volts and can produce buzz sounds by controlling an Arduino or other microcontroller.
26 in stock
Buzzer active sensor module KY-012. This module works on 5 volts and can make buzz sounds by controlling an Arduino or other microcontroller. By means of the headers it is easy to connect to a breadboard.
| Weight | 5 gr |
|---|---|
| Dimensions | 77 × 42 × 13 mm |
int buzzer=11;
void setup()
{
pinMode(buzzer,OUTPUT);
}
void loop()
{
unsigned char i,j;
while(1)
{
for(i=0;i<80;i++)//Output sound of one frequency
{
digitalWrite(buzzer,HIGH);//make a sound
delay(1);//delay 1ms
digitalWrite(buzzer,LOW);//silient
delay(1);//delay 1ms
}
for(i=0;i<500;i++)//output sound of another frequency
{
digitalWrite(buzzer,HIGH);//make a sound
delay(2);//delay 2ms
digitalWrite(buzzer,LOW);//silient
delay(2);//delay 2ms
}
}
} Only logged in customers who have purchased this product may leave a review.
Electronics4Fun (verified owner) -
Works fine on 3-5 volts dc and arduino code not necessary, because it is an active buzzer. Makes a lot of noise! 3 connections on the module, but the middle connection is not connected to anything.
It is simply an active buzzer with two terminals and there is no resistor and transistor on the PCB, which some modules do have.
bornwird (verified owner) -
You could call it a beep, it produces good sound.
Works quite simply and is easy to connect.