Difference between revisions of "Component: Sound Sensor (Grove 101020023) (101020023) (Audio)"
From Flowcode Help
Jump to navigationJump to searchLine 73: | Line 73: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 185: | Line 187: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Revision as of 12:21, 3 February 2023
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 Source Code
Please click here to download the component source project: FC_Comp_Source_temp/Sound_Sensor.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/Sound_Sensor.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetAverageByte
![]() |
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
![]() |
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 |
GetByte
![]() |
GetByte |
Blocking call to read the ADC as a byte | |
![]() |
Return |
GetInt
![]() |
GetInt |
Blocking call to read the ADC at full bit depth | |
![]() |
Return |
GetString
![]() |
GetString |
Reads the ADC as a direct voltage and returns as as tring | |
![]() |
Return |
GetVoltage
![]() |
GetVoltage |
Reads the ADC as a direct voltage | |
![]() |
Return |