Ks0424 keyestudio micro:bit Passive Buzzer Module

From Keyestudio Wiki
Revision as of 16:27, 4 April 2019 by Keyestudio (talk | contribs)
Jump to navigation Jump to search



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


Resources

Download all relevant info. below: