Hi.
I am trying to build a circuit that will, eventually, detect the Beep of a buzzer and give a simple logic "1" or "0" output to a controller.
There are numerous "similar" circuits on the internet, like a very common "Clap detector" and "Whistle detector" etc... But these are very basic and have false triggering. What I am trying to do is to implement a sure shot circuit.
I have done a few tests with simple electret mic capsules (scavenged from an old POTS phone, a generic cell phone mic module, normally available elctret capsules, etc.). Used opamp (LM2904, LM358) to make a pre-amp, and measure frequencies on a o'scope etc. I have had some level of success with an LM567 (PLL / Tone detector) to recognize the Beep sound of a buzzer (3.95 kHz), But I am facing few problems, and initially, looking for a guide.
So the main problem I am facing is the range of the detection. keep the buzzer close (within 1 foot of the mic) and it detects the beep sound and gives a clean "1" or "0". When I move it away further, it just does not do that. So I figured the gain of the mic amplifier is low. I increased the gain from 100 to 1000 and even 10000, but then the nearby sounds get amplified a lot and saturate the outputs.
So I have two basic schemes in mind, hoping if someone can first point me in the right direction.
1) Mic -> Pre-amp -> Bandpass filter (High + Low pass centered around 3.95 kHz) -> AGC (to keep output levels same regardless of inputs level) -> tone detection chip (LM567) -> Logic output.
2) Mic -> Pre-amp -> AGC (to keep output levels same regardless of inputs level) -> Bandpass filter (High + Low pass centered around 3.95 kHz) -> tone detection chip (LM567) -> Logic output.
I am wanting to use an AGC circuit hoping that whether the "Beep" sound comes from half-way across the room or from very very near to the mic, the output level will not saturate or clip or not come at all..... Is this the right block to use in my scheme ?
Thanks for all the help.
Regards,
Shan