Difference between revisions of "Component: Sound Sensor (Grove 101020023) (101020023) (Audio)"
From Flowcode Help
Jump to navigationJump to searchLine 14: | Line 14: | ||
==Sound Sensor (Grove 101020023) component== | ==Sound Sensor (Grove 101020023) component== | ||
The Sound sensor module is a simple microphone. Based on the power amplifier LM386 and the electret microphone, it can be used to detect the sound strength of the environment. | The Sound sensor module is a simple microphone. Based on the power amplifier LM386 and the electret microphone, it can be used to detect the sound strength of the environment. | ||
+ | |||
+ | ==Component Pack== | ||
+ | |||
+ | SENSORS | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 26: | Line 32: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Revision as of 16:19, 7 January 2022
Author | Matrix Ltd |
Version | 1.0 |
Category | Audio |
Contents
Sound Sensor (Grove 101020023) component
The Sound sensor module is a simple microphone. Based on the power amplifier LM386 and the electret microphone, it can be used to detect the sound strength of the environment.
Component Pack
SENSORS
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
GetString |
Reads the ADC as a direct voltage and returns as as tring | |
![]() |
Return |
![]() |
GetAverageByte |
Function call to read the ADC as a byte average sample over time | |
![]() |
NumSamples |
![]() |
DelayUs |
Number of micro seconds in between taking each sample | |
![]() |
Return |
![]() |
GetAverageInt |
Function call to read the ADC as a full width average sample over time | |
![]() |
NumSamples |
![]() |
DelayUs |
Number of micro seconds in between taking each sample | |
![]() |
Return |
![]() |
GetVoltage |
Reads the ADC as a direct voltage | |
![]() |
Return |
![]() |
GetInt |
Blocking call to read the ADC at full bit depth | |
![]() |
Return |
![]() |
GetByte |
Blocking call to read the ADC as a byte | |
![]() |
Return |