Ks0103 keyestudio EASY plug Passive Buzzer Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
==EASY plug Passive Buzzer Module ==
[[image:Ks0103-1-.png|thumb|600px|right|EASY plug Passive Buzzer Module]]
<br>[[File:ks0103-1.png|500px|frameless|thumb]]<br>


<br>
==Introduction==
==Introduction==
We can use Arduino to make many interactive works of which the most commonly used is acoustic-optic display. The buzzer we introduced here is a passive buzzer. It cannot be actuated by itself, but by external pulse frequencies. Different frequencies produce different sounds. We can use Arduino to code the melody of a song, which is actually quite fun and simple.<br>
We can use Arduino to make many interactive works of which the most commonly used is acoustic-optic display. <br>
Note: this module needs to be used together with EASY plug control board.<br>
The buzzer we introduced here is a passive buzzer. It cannot be actuated by itself, but by external pulse frequencies. <br>
Different frequencies produce different sounds. You can use Arduino to code the melody of a song, which is quite fun and simple.


This module should be used together with EASY plug control board.<br>
<span style=color:red> '''Special Note:''' <br>
The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface. <br> If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module. </span><br>
<br>


==Specification==
==Specification==
* Interface: Easy plug
* Interface: Easy plug
* Working voltage: 3.3-5v
* Working voltage: 3.3-5V
* Sensor type: digital
* Sensor type: digital
* Size: 39*20mm
* Easy to use
* Weight: 6g
 
<br>
==Technical Details==
* Dimensions: 39mm*20mm*18mm
* Weight: 5.6g
<br>
 
== Connect It Up ==
Connect the EASY Plug passive buzzer module to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
<br>[[File:Ks0103-2-.png|700px|frameless|thumb]]<br>
<br>


==Sample Code==
Open or drag below code to [https://wiki.keyestudio.com/Getting_Started_with_Mixly  Mixly Blocks] and upload. <br>
<br>[[File:ks0398 5.1.png|600px|frameless|thumb]]<br>


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


<br>
==What You Should See==
<br>[[File:ks0398 5-1.png|600px|frameless|thumb]]<br>


==Sample Code==
Done uploading the code, you should be able to hear the buzzer module make a small “click”.
<pre>
<br>[[File:Ks0103-3.png|600px|frameless|thumb]]<br>
int buzzer=8;//set digital IO pin of the buzzer
void setup()
{
pinMode(buzzer,OUTPUT);// set digital IO pin pattern, OUTPUT to be output
}
void loop()
{ unsigned char i,j;//define variable
while(1)
{ for(i=0;i<80;i++)// output a frequency sound
{ digitalWrite(buzzer,HIGH);// sound
delay(1);//delay1ms
digitalWrite(buzzer,LOW);//not sound
delay(1);//ms delay
}
for(i=0;i<100;i++)// output a frequency sound
{
digitalWrite(buzzer,HIGH);// sound
digitalWrite(buzzer,LOW);//not sound
delay(2);//2ms delay
}
}
}
</pre>


<br>


==Resources ==
==Resources ==


'''PDF'''
https://fs.keyestudio.com/KS0103


https://drive.google.com/open?id=1pQj561dWpMkzIBY1siyFwDCJgOCjXUPi
 
<br>


==Buy from ==
==Buy from ==
'''Official Website'''  
*[https://www.keyestudio.com/keyestudio-easy-plug-passive-buzzer-module-for-arduino-steam-p0078-p0078.html  '''Official Website''' ]
 
*[https://www.aliexpress.com/store/product/2016NEW-Keyestudio-EASY-plug-Passive-Buzzer-Module-for-Arduino/1452162_32637357831.html?spm=2114.12010612.8148356.11.43b8484e8Kd7LP  Shop on aliexpress ]
 


http://www.keyestudio.com/keyestudio-easy-plug-passive-buzzer-module-for-arduino.html
[[category: EASY Plug]]
[[category:Module]]

Latest revision as of 15:51, 7 January 2021

EASY plug Passive Buzzer Module


Introduction

We can use Arduino to make many interactive works of which the most commonly used is acoustic-optic display.
The buzzer we introduced here is a passive buzzer. It cannot be actuated by itself, but by external pulse frequencies.
Different frequencies produce different sounds. You can use Arduino to code the melody of a song, which is quite fun and simple.

This module should be used together with EASY plug control board.

Special Note:
The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface.
If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module.



Specification

  • Interface: Easy plug
  • Working voltage: 3.3-5V
  • Sensor type: digital
  • Easy to use


Technical Details

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


Connect It Up

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

Sample Code

Open or drag below code to Mixly Blocks and upload.

thumb



What You Should See


thumb

Done uploading the code, you should be able to hear the buzzer module make a small “click”.
thumb


Resources

https://fs.keyestudio.com/KS0103



Buy from