View Full Version : demo board 'clap' detector?
I want to use the electret mic on the demo board to make a loud noise detector. When the noise occurs I will trigger another event. If anyone has any tips on how to go about this they'd be much appreciated. I've not touched the prop for a good long while and it's taking some getting back into.
11-05-2010, 01:30 AM
Phew! Until I opened the thread and read the actual details, I thought I was about to hear that someone had found a nasty computer virus that affected the Propeller! :)
11-05-2010, 02:51 AM
I remembered a demo I used a few months ago.
searched "sound meter" and found a program sndmeter posted by Bean.
It's a demo he made for PropBasic.
Phil Pilgrim (PhiPi)
11-05-2010, 03:08 AM
Attached is the latest incarnation of the S2 object. In it, you will find an envelope detector for the S2 robot's built-in microphone. This was included for testing during manufacturing -- not for speech recognition or anything fancy like that. But it may be just what you need for detecting loud noises.
11-05-2010, 03:34 AM
Phew! Until I opened the thread and read the actual details...
And I was worried that he was working on the sensor end of a penicillin dispensing machine. Phew!
11-05-2010, 02:51 PM
Phil Pilgrim posted this demo code that runs on the Propeller Demo Board, it uses the mic and the LEDs:
Well if anyone's capable of giving the prop VD it'd be me...
Thanks for the help and jokes!
After dropping my EEE PC and smashing the lcd :-( I've ended up installing BST on my PPC Mac. Seems to work.
Just tried compiling the code that Tony referred to but it fails on the following statement...
Can anyone suggest why that might fail?
Read the Prop Manual for a couple of minutes...
RFTM as they say
11-07-2010, 07:19 AM
How did you end up fixing this?
I think the asterisk must have been a typo.
11-07-2010, 10:33 AM
So you now have Phil's mic to LED demo program running on your Propeller Demo Board?
What do you think of it and will it help you in what you are doing with the Propeller?
Sorry to hear about your laptop 'crashing'. Look at it this way, a few years back an accident like that would have been much more expensive!