Ks0423 keyestudio micro:bit Microphone Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
 
Line 49: Line 49:
==Resources ==
==Resources ==


*'''Download relevant datasheet and code:''' https://drive.google.com/open?id=1XBCmqFJBVT5ZWetDS2SzFN1OInLLL3Xq
*'''Download relevant datasheet and code:
 
''' https://fs.keyestudio.com/KS0423


* [http://microbit.org/  BBC micro:bit website ] <br>
* [http://microbit.org/  BBC micro:bit website ] <br>

Latest revision as of 11:02, 4 March 2021


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

  • Download relevant datasheet and code:

https://fs.keyestudio.com/KS0423


Get One Now