clap on, clap off

Heey. im trying to make a clap on clap off to my arduino.
the idea is to make a simple read on a mic and the arduino will then turn on an LED
i found this circuit: http://blog.makezine.com/archive/2008/03/explody-easter-peeps-high.html (only look at the left pard of the diagram)
it looks like this one runs on high sounds so i thought it could work with a clap but for some reason i cant get a read, tho i made an exact copy og the scematiks BUT... i cant find the code for this device

if anyone could help with either: a code that can make a read from the mic or a new cercuit the will work that is simple enough and a short code to get me started

o i thought it could ude with a clap but for some readon i cant get a read tho i made an exact copy og the scematiks

Can you run that one through Google translate, please

Have you seen this project on the playground : - http://www.arduino.cc/en/Tutorial/KnockSensor -
Think it almost does what you want.

You need to amplify mic signal at least 100x. Look for electret mic shield with on-board OPA,
like this one: SparkFun Electret Microphone Breakout - BOB-12758 - SparkFun Electronics

robtillaart:
Have you seen this project on the playground : - http://www.arduino.cc/en/Tutorial/KnockSensor -
Think it almost does what you want.

well it wont even accept that code..
At void setup it wont accept:
beginSerial(9600);

And in void loop it wont accept:
printString("Knock!");
printByte(10);
printByte(13);

Magician:
You need to amplify mic signal at least 100x. Look for electret mic shield with on-board OPA,
like this one: http://www.sparkfun.com/products/9964

I cant get those shields because its a school project. But what conflikts me is that if this person could get this to work why to i then have to amp the sound 100 times? what do i get out if it?

and thank you all for helping :slight_smile:

What you are using as audio source? In a link you posted above it says "headphone level audio signal", and it's not the case for separate mic..

well it wont even accept that code..
At void setup it wont accept:
beginSerial(9600);

And in void loop it wont accept:
printString("Knock!");
printByte(10);
printByte(13);

"thou should anda learn to speak the tongue of the elderly"

Seriously, it is an older article which is not updated to the lastest version of all the libraries.

beginSerial() -> Serial.begin()
printString() , printByte() -> Serial.print() Serial.println()

You should get it running ...