KY-012 Active Buzzer Module FOR The ARDUINO

2.20$

Description

Description:
1. Working Voltage: 3.5-5.5V.
2. Working Current: <25mA.
3. Brand new and high quality.

Package Included:
1PC*KEYES KY-012 Active Buzzer Module FOR The ARDUINO

Example Code:

 

  • Module pin – = GND Module pin S = +5V
  • Connection to Arduino
  • Arduino digital pin 8 –> Module pin S
  • Arduino GND –> Module pin –
//Example code KY012 active buzzer
int speakerPin = 8;
void setup() {
  pinMode(speakerPin, OUTPUT);
}

void loop() {
  analogWrite(speakerPin, 255);
  delay(50);
  analogWrite(speakerPin, 0);
  delay(10);
} 

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.