Ks0423 keyestudio micro:bit Microphone Module: Difference between revisions

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


==Resources ==
==Resources ==
Download all relevant info. below: <br>
 
https://drive.google.com/open?id=1XBCmqFJBVT5ZWetDS2SzFN1OInLLL3Xq
*'''Download relevant datasheet and code:''' https://drive.google.com/open?id=1XBCmqFJBVT5ZWetDS2SzFN1OInLLL3Xq
 
* [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>
==Get One Now==
==Get One Now==
*[https://www.aliexpress.com/store/product/Keyestudio-Microphone-Sound-Module-For-BBC-micro-bit/1452162_32999290626.html?spm=2114.12010611.8148356.15.3f896c0eHzY5BG  Shop on aliexpress ]
*[https://www.aliexpress.com/store/product/Keyestudio-Microphone-Sound-Module-For-BBC-micro-bit/1452162_32999290626.html?spm=2114.12010611.8148356.15.3f896c0eHzY5BG  Shop on aliexpress ]

Revision as of 17:57, 25 July 2019


keyestudio Microphone Module For BBC micro:bit


Description

This keyestudio microphone module is fully compatible with micro:bit control board. It is a sound detection device, an analog signal output device.
It is mainly composed of a MIC head, a LM358D chip and a potentiometer.
When the microphone detects sound, and converts it into a voltage signal; then amplifies it through the LM358D chip.
The potentiometer is used to adjust the signal amplification.

There are total 6 rings on the module. Note that two G rings, two V rings and two S rings are separately connected. G for ground; V for 3V; S for signal pin(0 1 2).
We can work out the sound volume by reading the analog value of signal end.
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: Analog signal
  • Dimensions: 31mm*27mm*4mm
  • Weight: 2g
  • Environmental attributes: ROHS


thumb


Connection Diagram

thumb


Source Code

thumb


Example Result

Connect well the module, then send the source code to the micro:bit main board.
You should see the LED matrix show the rolling dot. Or you can open the serial monitor of Arduino IDE to see the analog value of current sound volume.
The louder the sound, the greater the analog value is.

Pay close attention to: you can turn the potentiometer on the module to adjust the sound magnification, which also will enlarge the analog value.

thumb

thumb

Resources


Get One Now