Ks0102 keyestudio EASY plug Active Buzzer Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:


<br>
<br>
==Specification==
==Specification==
*Sensor type: Digital
*Sensor type: Digital
Line 29: Line 28:


==Sample Code==
==Sample Code==
Copy and paste below code to [http://wiki.keyestudio.com/index.php/How_to_Download_Arduino_IDE Arduino IDE] and upload.  
Copy and paste below code to [https://wiki.keyestudio.com/Getting_Started_with_Mixly  Mixly Blocks] and upload.  
<pre>
<br>[[File:Active buzzer-2.png|600px|frameless|thumb]]<br>
int buzzPin =9; //Connect Buzzer on Digital Pin 9
void setup()  
{        
 pinMode(buzzPin, OUTPUT);    
}
void loop()                    
{
 digitalWrite(buzzPin, HIGH);
 delay(1);
 digitalWrite(buzzPin, LOW);
 delay(1);        
}
</pre>


<br>
<br>
==What You Should See==
==What You Should See==
<br>[[File:Ks0102.png|600px|frameless|thumb]]<br>
Done uploading the code, you should be able to hear an audible beep.  
Done uploading the code, you should be able to hear an audible beep.  
<br>[[File:Ks0102-3.png|600px|frameless|thumb]]<br>
<br>[[File:Ks0102-3.png|600px|frameless|thumb]]<br>
Line 53: Line 40:
==Resources ==
==Resources ==


'''Download the PDF:'''<br>
'''Download the Arduino Code and PDF:'''<br>
https://drive.google.com/open?id=1Ak9val5HWKKb7B8gSwwykKUhk9Ewfolu
https://drive.google.com/open?id=16iduOLKRkweKoBmwr6cLRw0RLtUyTlqH


'''Download the Code:'''<br>
'''Download the Mixly Code:'''<br>
https://drive.google.com/open?id=1r5MfhkzSRc38O7CAQBKzgVpGqqiwkdrD
https://drive.google.com/open?id=19uBf2ZhuVCDKx5OK0HxYLpyek7MFRVDK




<br>
<br>
==Buy from ==
==Buy from ==
*'''Official Website:''' http://www.keyestudio.com/ks0102.html
*'''Official Website:''' http://www.keyestudio.com/ks0102.html

Revision as of 11:08, 6 May 2019

EASY plug Active Buzzer Module


Introduction

Hey want to hear a really loud noise? Apply 3.3V to 5V to this buzzer module and you'll be rewarded with a loud beep.
Here is the simplest sound making module. You can use high/low level to drive it. Just change the frequency it buzzes, you can hear different sound.
It is really great for integrating into projects with this small but useful module. Have a try! You will find the electronic sound it creates so fascinating.
This module is widely used on your daily appliance, like PC, refrigerator, phones, etc.
Note: this module should be used together with EASY plug control board.


Specification

  • Sensor type: Digital
  • Working voltage: 3.3-5V
  • Icons to simply illustrate module function
  • High quality connector


Technical Details

  • Dimensions: 39mm*20mm*18mm
  • Weight: 6g


Connect It Up

Connect the EASY Plug active buzzer module to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
thumb

Sample Code

Copy and paste below code to Mixly Blocks and upload.
thumb


What You Should See


thumb
Done uploading the code, you should be able to hear an audible beep.
thumb


Resources

Download the Arduino Code and PDF:
https://drive.google.com/open?id=16iduOLKRkweKoBmwr6cLRw0RLtUyTlqH

Download the Mixly Code:
https://drive.google.com/open?id=19uBf2ZhuVCDKx5OK0HxYLpyek7MFRVDK



Buy from