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

Dual Axis XY Joystick ps2 Module

Dual Axis XY Joystick ps2 Module

Below you can see the corresponding code:An example of a project for the KY-023 Joystickint FlashLed..

2.49€ Ex Tax: 2.06€

Rotary Encoder Module

Rotary Encoder Module

Below you can see the corresponding code: An example project for the Rotary encoder.  /* Autho..

2.29€ Ex Tax: 1.89€

Hit/Shock Sensor Module

Hit/Shock Sensor Module

Below you can see the corresponding code: An example project for the Shock Sensor//Author: Danny va..

2.36€ Ex Tax: 1.95€

Reed Switch Module

Reed Switch Module

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

2.36€ Ex Tax: 1.95€