Ks0018 keyestudio Digital Buzzer Module: Difference between revisions
Jump to navigation
Jump to search
PDF
Keyestudio (talk | contribs) |
Keyestudio (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
==Introduction== | ==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. | 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. <br> | ||
Just try it!! You will find the electronic sound it creates so fascinating. | Just try it!! You will find the electronic sound it creates so fascinating. | ||
<br>[[File:KS0018 (4).jpg|500px|frameless|thumb]]<br> | <br>[[File:KS0018 (4).jpg|500px|frameless|thumb]]<br> | ||
Line 9: | Line 9: | ||
*Size: 30*20mm | *Size: 30*20mm | ||
*Weight: 4g | *Weight: 4g | ||
==Connection Diagram == | ==Connection Diagram == | ||
Line 14: | Line 15: | ||
==Sample Code == | ==Sample Code == | ||
<pre> | <pre> | ||
int buzzPin = 3; //Connect Buzzer on Digital Pin3 | int buzzPin = 3; //Connect Buzzer on Digital Pin3 | ||
Line 27: | Line 27: | ||
digitalWrite(buzzPin, LOW); | digitalWrite(buzzPin, LOW); | ||
delay(1); | delay(1); | ||
}</pre> | } | ||
</pre> | |||
After uploading the code, you can hear the buzzer beep continually. | |||
<br>[[File:Ks0018-1.png|500px|frameless|thumb]]<br> | |||
==Resources == | ==Resources == |
Revision as of 16:16, 19 March 2018
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.
Specification
- Working Voltage: 3.3-5v
- Interface Type: digital
- Size: 30*20mm
- Weight: 4g
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); }
After uploading the code, you can hear the buzzer beep continually.
Resources
Video
http://www.keyestudio.com/wp/2016/05/ks0018-keyestudio-active-buzzer-module/
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