Digital_Buzzer_Module__SKU__DFR0032_-DFRobot

Introduction

Here is the simplest sound making module that you find! You can simply use High/Low pulses to drive it. It can be widely used on your daily aplliance, like PC, fridgerator,phones and so on. And you also can create many interesting interactive project with this small but useful module.

Just try it!! You will find that creating electronic sound is so fun.

Specification

Tutorial

Diagram

Digital module connection diagram

Sample Code

int buzzPin =  3;    //Connect Buzzer on Digital Pin3

void setup()

{
  pinMode(buzzPin, OUTPUT);
}

void loop()
{
  digitalWrite(buzzPin, HIGH);
  delay(1);
  digitalWrite(buzzPin, LOW);
  delay(1);
}

Trouble shooting

More question and cool idea, visit DFRobot Forum

More Documents