Ks0018 keyestudio Digital Buzzer Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
<br>
==Introduction==
==Introduction==
Here is the simplest sound making 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.
Here is the simplest sound making 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.
Line 4: Line 6:
<br>[[File:Ks0018-2.png|500px|frameless|thumb]]<br>
<br>[[File:Ks0018-2.png|500px|frameless|thumb]]<br>


<br>
==Specification==
==Specification==
*Working Voltage: 3.3-5v  
*Working Voltage: 3.3-5v  
*Interface Type: digital
*Interface Type: digital


<br>
==Connection Diagram ==
==Connection Diagram ==
<br>[[File:Ks0018-2.png|500px|frameless|thumb]]<br>


<br>[[File:182.png|500px|frameless|thumb]]<br>
<br>
 
==Sample Code ==
==Sample Code ==
<pre>
<pre>
Line 28: Line 32:
</pre>
</pre>


<br>
After uploading the code, you can hear the buzzer beep continually.
After uploading the code, you can hear the buzzer beep continually.
<br>[[File:Ks0018-1.png|500px|frameless|thumb]]<br>  
<br>[[File:Ks0018-1.png|500px|frameless|thumb]]<br>  


<br>
==Resources ==
==Resources ==


'''Video'''
* '''Video'''<br>
 
http://video.keyestudio.com/ks0018/
http://www.keyestudio.com/wp/ks0018/
 
'''PDF'''


* '''PDF'''<br>
https://drive.google.com/open?id=1p5K2-pS_dctBXxnTfW2_0jRvBHJNusbe
https://drive.google.com/open?id=1p5K2-pS_dctBXxnTfW2_0jRvBHJNusbe


<br>
==Get One Now==
==Get One Now==
'''Official Website'''
http://www.keyestudio.com/keyestudio-digital-buzzer-module.html


'''ebay'''
[https://www.keyestudio.com/free-shipping-keyestudio-active-buzzer-alarm-module-for-arduino-p0150.html  '''Official Website''']


https://www.ebay.com/itm/Keyestudio-Active-Buzzer-Sensor-Module-compatible-for-Arduino-UNO-R3-Mega2560-/132516056054


[[Category: Sensor]]
[[Category: Sensor]]

Revision as of 14:32, 12 April 2019


Introduction

Here is the simplest sound making 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


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://video.keyestudio.com/ks0018/

  • PDF

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


Get One Now

Official Website