DESCRIPTION
Octopus Analog Noise Sound Sensor Detection Module is a sensor module based on the MIC sound sensing elements. The sound Sensor is particularly sensitive to sound intensity, and it can be used to detect ambient sound levels. Louder noise brings bigger output Sine wave amplitude.
FEATURES
Standard OCTOPUS bricks connector
Output Voltage: 3-5V
Louder noise brings bigger output Sine wave amplitude.
HARDWARE CONNECTION
Connect the sound detection sensor module to P1 port on OCTOPUS:BIT.
PROGRAMMING
Click Advanced in the code drawer of MakeCode.
To program the sound detection sensor, we have to add a package. Find Add Package at the bottom of the code drawer and click it. This will pop up a dialogue box. Search “IOT” in the box and click to download this package.
CODE
You can see the whole program from the link
Or you can download it from the page below.
PACKAGE LIST
Components | Qty(pcs) |
---|---|
Octopus Analog Noise Sound Sensor Detection Module | 1 |
RESULTS
When any sound was detected by the sensor, micro:bit will display the decibel value on the screen.