Ks0018 keyestudio Digital Buzzer Module

From Keyestudio Wiki
Jump to navigation Jump to search

Introduction

Here is the simplest sound making module-digital buzzer module. You can use high/low level to drive it. Changing the frequency it buzzes can produce different sound. This module is widely used on your daily appliance, like PC, refrigerator, phones etc. And you can also create many interesting interactive project with this small but useful module.
Just try it! You will find the electronic sound it creates so fascinating.
thumb

Specification

  • Working Voltage: 3.3-5v
  • Interface Type: digital
  • Size: 30*20mm
  • Weight: 4g

Connection Diagram


thumb

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

After uploading the code, you can hear the buzzer beep continually.
thumb

Resources

Video

http://www.keyestudio.com/wp/ks0018/

PDF

https://drive.google.com/open?id=1p5K2-pS_dctBXxnTfW2_0jRvBHJNusbe

Get One Now

Official Website

http://www.keyestudio.com/keyestudio-digital-buzzer-module.html

Amazon Store

https://www.amazon.com/Keyestudio-Active-Buzzer-Arduino-raspberry/dp/B016ZQYH8S/ref=sr_1_2?srs=13497667011&ie=UTF8&qid=1479459121&sr=8-2&keywords=keyestudio+Digital+Buzzer+Module