Active Buzzer Module

  • Active Buzzer Module

Below the corresponding code:

//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);
}

SCHEMATIC:
Module pin - = GND Module pin S = +5V
Connection to Arduino
  • Arduino GND --> Module pin -
  • Arduino digital pin 8 --> Module pin S

Write a review

Please login or register to review

Active Buzzer Module

  • Webwinkel Keurmerk en klantebeoordelingen

  • 14 dagen bedenktijd 
  • Verzendkosten voor eigen rekening
  • Product Code: KY-012
  • Availability: 14
  • 1.95€

  • Ex Tax: 1.61€

Similar Products

2 Color LED Module RG Small

2 Color LED Module RG Small

Below the corresponding code:// Arduino test code for KY011 int redpin = 11; // select the pin for ..

2.29€ Ex Tax: 1.89€

SMD 3 Color RGB Module

SMD 3 Color RGB Module

Below the corresponding code:int redpin = 11; // select the pin for the red LED int bluepin = 10; /..

2.36€ Ex Tax: 1.95€

Linear Hall Magnetic Sensor Module

Linear Hall Magnetic Sensor Module

Below the corresponding code:int Led = 13 ;/ / define LED Interface int buttonpin = 3; / / define t..

2.36€ Ex Tax: 1.95€

Analog Temp Sensor Module

Analog Temp Sensor Module

Below the corresponding code:#include <math.h>  int sensorPin = A5; // select the input ..

2.36€ Ex Tax: 1.95€