EB - Buzzer

$1.55

  • Model: EB0300210M
  • Shipping Weight: 3gram
  • 9996 Units in Stock

Add to Cart:



Item specifics

Brand Name:Maker Studio

Product Description

Electronic Brick - Buzzer is an audio signaling module. It can be controlled by IO of Makerduino. The volume is controllable by PWM signal.

 

Features

  • Working Voltage: 5V
  • With Power Light
  • Rated Current:≤30mA
  • Sound Output:≥85dB
  • Resonant Freq:2300±500Hz
  • Operating Temp:-20~+60 centigrade
  • With Makerduino Demo Code
  • Compact size
  • Weight: 3g

 

Applications

  • Doorbell
  • Timers
  • Confirmation of user input

 

Details

 

                  aeProduct.getSubject()

Use with Makerduino

The following steps show how to use EB - Buzzer with Makerduino.

Materials

  • Makerduino
  • Electronic Brick Shield
  • EB - Buzzer
  • A/B type USB cable
  • Female DuPont wires

Steps

1. Connect Electronic Brick Shield onto Makerduino to bring out all the Makerduino Pins.

 

aeProduct.getSubject()

2. Connect EB - Buzzer to Makerduino as following.

aeProduct.getSubject()

 

3. Connect the Makerduino to Computer by the USB cable.

 

4. Download the Makerduino demo code EB - Buzzer.zip. Unzip the code directly into the libraries folder.

 

5. Open Makerduino IDE, choose the right Board and Serial Port. Open the sketch EB_Buzzer.ino and upload it to the Makerduino.

The following is the demo code for EB - Buzzer. (Note: It could be a little different from the code file downloaded. Please follow the downloaded file.)

 

/*

  EB - Buzzer demo code

 

  Make some noise by buzzer

 

 

*/

const int buzzerPin = 3;

int volume = 0; // volume of the buzzering

 

void setup()

{

  pinMode(buzzerPin,OUTPUT); // set as OUTPUT

}

 

void loop()

{

  //make some Di Di Di Di sound

  for(int i = 0; i < 10; i++){

    digitalWrite(buzzerPin,HIGH);

    delay(200);

    digitalWrite(buzzerPin,LOW);

    delay(200);

  }

 

  // make noise from low to high

  for(volume = 0; volume < 255; volume++){

    analogWrite(buzzerPin,volume);

    delay(20);

  }

 

  // make noise from high to low

  for(volume = 255; volume > 0; volume--){

    analogWrite(buzzerPin,volume);

    delay(20);

  }

}

 

 

6. Check the Results. After the sketch is successfully uploaded, let's open the Serial Monitor. You can hear 10 times tick at first. Then the sound change from low to high. At last the sound change from high to low.

 

Download information

https://drive.google.com/?usp=folder&authuser=0&usp=folder#folders/0BzxrU4QvH7jEd3ZJTVdnNUpXNVE

Find EB - Buzzer Material.zip to download schematic and other material.

 

 

 

 

about us 02

This product was added to our catalog on Tuesday 11 February, 2014.

Your IP Address is: 54.161.91.76
Copyright © 2017 Maker Studio