ADC object, sound switch and cool program start
Graham Stabler
Posts: 2,510
Here is a simple object based on Chip's delta-sigma DAC-ADC demo that basically just does ADC.
I have also included a demo program that uses the demoboard's micro phone (which is configured for delta-sigma use), the program loops and everytime there is a noise over a threshold it tells you so (on TV term) along with the noise level in an arbitrary unit.
It could make quite a nice way to start your best demo applications, let the program wait for a noise, then just click your fingers or shout wake up for it to start.
Graham
I have also included a demo program that uses the demoboard's micro phone (which is configured for delta-sigma use), the program loops and everytime there is a noise over a threshold it tells you so (on TV term) along with the noise level in an arbitrary unit.
It could make quite a nice way to start your best demo applications, let the program wait for a noise, then just click your fingers or shout wake up for it to start.
Graham
Comments
·I modified slightly Graham program to add some other ideas.
First is to display the loudness status.
Second to trigger a LED when the loudness exceeds the thrshold.