Ks0424 keyestudio micro:bit Passive Buzzer Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
Line 50: Line 50:


==Resources ==
==Resources ==
Download all relevant info. below: <br>
 
https://drive.google.com/open?id=1vIHiyUsU2Fp3aSipDG83ecSAuiFL6YHR
*'''Download relevant datasheet and code:''' https://drive.google.com/open?id=1vIHiyUsU2Fp3aSipDG83ecSAuiFL6YHR
 
* [http://microbit.org/  BBC micro:bit website ] <br>
* [https://makecode.microbit.org/  Micro:bit MakeCode Block Editor ]<br>
* [http://microbit.org/guide/  Meet micro:bit starter programming] <br>
* [http://microbit.org/guide/features/    BBC micro:bit Features Guide ] <br>
* [http://microbit.org/guide/features/    BBC micro:bit Safety Warnings ] <br>
* [http://microbit.org/guide/quick/  BBC micro:bit Quick Start Guide ]  <br>
* [http://microbit.org/guide/hardware/pins/  BBC micro:bit Pins ]
 


<br>
<br>
<br>
 
==Get One Now==
==Get One Now==
*[https://www.aliexpress.com/store/product/Keyestudio-Passive-Buzzer-Sound-Module-For-BBC-micro-bit/1452162_32999037060.html?spm=2114.12010611.8148356.17.3f896c0eHzY5BG  Shop on aliexpress ]
*[https://www.aliexpress.com/store/product/Keyestudio-Passive-Buzzer-Sound-Module-For-BBC-micro-bit/1452162_32999037060.html?spm=2114.12010611.8148356.17.3f896c0eHzY5BG  Shop on aliexpress ]

Revision as of 17:58, 25 July 2019


keyestudio Passive Buzzer Module For BBC micro:bit


Description

This keyestudio passive buzzer is fully compatible with micro:bit control board.
It is mainly composed of a passive buzzer without oscillation circuit. It cannot be actuated by itself, but by external pulse frequencies.
Different frequencies produce different sounds. Even can code the melody of a song.
There are total 6 rings on the module. Note that two G rings, two V rings and two S rings are connected. G for ground; V for 3V; S for signal pin(0 1 2).
When using, connect the module to micro:bit control board using Crocodile clip line.

Technical Parameters

  • Working voltage: DC 3.0-3.3V
  • Output signal: Digital signal (square wave)
  • Dimensions: 31mm*27mm*4.5mm
  • Weight: 2.3g
  • Environmental attributes: ROHS


thumb


Connection Diagram

thumb


Source Code


Code 1:

thumb

Code 2:

thumb


Note:
If you drag the source code we provided to the Microsoft MakeCode Block editor https://makecode.microbit.org/#editor Click the icon thumb , you can check the frequency of each tone as follows:
thumb


Example Result

Connect well the module, then send the source code to the micro:bit main board.
If send the code 1, the buzzer will alternately make two sounds.
If send the code 2, the buzzer will play a song of Ode To Joy.
thumb


Resources



Get One Now