Ks0018 keyestudio Digital Buzzer Module: Difference between revisions
Jump to navigation
Jump to search
Keyestudio (talk | contribs) No edit summary |
Keyestudio (talk | contribs) |
||
(18 intermediate revisions by the same user not shown) | |||
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. | ||
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: | <br>[[File:KS0349 5-1.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-.png|600px|frameless|thumb]]<br> | |||
<br> | <br> | ||
==Sample Code == | ==Sample Code == | ||
<pre> | <pre> | ||
int buzzPin = 3; //Connect Buzzer on Digital Pin3 | int buzzPin = 3; //Connect Buzzer on Digital Pin3 | ||
Line 28: | Line 30: | ||
digitalWrite(buzzPin, LOW); | digitalWrite(buzzPin, LOW); | ||
delay(1); | delay(1); | ||
}</pre> | } | ||
</pre> | |||
<br> | |||
After uploading the code, you can hear the buzzer beep continually. | |||
<br>[[File:Ks0018-1.png|600px|frameless|thumb]]<br> | |||
<br> | |||
==Resources == | |||
* '''Video'''<br> | |||
http://video.keyestudio.com/ks0018/ | |||
* '''PDF and Code'''<br> | |||
https://fs.keyestudio.com/KS0018 | |||
<br> | |||
==Get One Now== | |||
*[https://www.keyestudio.com/free-shipping-keyestudio-active-buzzer-alarm-module-for-arduino-p0150.html '''Official Website'''] | |||
*[https://ru.aliexpress.com/store/product/Free-shipping-Keyestudio-Active-Buzzer-Alarm-Module-for-Arduino-CE-FCC/4247007_32888635818.html?spm=a2g0v.12010615.8148356.5.6d4a6c9b9Ib3uF '''Shop on aliexpress''' ] | |||
[[Category: | [[Category: Module]] |
Latest revision as of 11:24, 8 January 2021
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.
Specification
- Working Voltage: 3.3-5v
- Interface Type: digital
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://video.keyestudio.com/ks0018/
- PDF and Code
https://fs.keyestudio.com/KS0018