User Manual V3.1
Element14 | element14.com/minode
16
c)
Sound Sensor
The Sound Sensor Module can be used to detect the sound strength of the surrounding
environment.
Image 3.4c – Sound Sensor Module
Module
Connect Type
Available Connectors
Sound Sensor
Analog
A0, A1, A2
Electrical Characteristics
Parameter
Min. Typical Max. Unit
Frequency range 100 -
10000 Hz
Sensitivity
-
-50
-
dB
Block API:
Obtain the Sound Level
The sound level is divided into five levels, 1 – 5, where one represents the quietest
(lowest) level and five represents the loudest (highest) level.
Function
MICGetLevel(connName: AnalogConnName): number;
Parameters
‘ConnName’ is the analog connector's name.
This module can only be plugged into an analog connector A0, A1 and A2.
Sound Sensor Event
Check the sound level periodically and execute the associated code block whenever the
sound level changes.