Is there a circuit or a sensor that can detect a range of high frequency sounds and send a high signal to a microprocessor when the desired sound is detected?
An electret microphone, followed by amplification, followed by a high-pass filter, followed by a rectifier circuit, followed by a low-pass filter, followed by a threshold detector with hysteresis comes to mind...
I would need it to detect a sound similar to the whistle a teapot makes when the water boils. Can you suggest a resource that a hobbyist might study to learn how to assemble the above circuit?
I would need it to detect a sound similar to the whistle a teapot makes when the water boils. Can you suggest a resource that a hobbyist might study to learn how to assemble the above circuit?
I would start by hooking a microphone to PC oscilloscope freeware which includes an audio spectrum analyzer. Feed in your whistle. Diddle the gain until you get audio clipping. Back off a bit. That will tell you how much gain you need after the mic.
Look at the spectrum of the sounds you want to detect. Find what frequencies are most prominent. That will tell you what kind of high-pass (or possibly bandpass) filtering will select your sound without including other environmental noise.
If there is any "cadence", rise, duration or other temporal information in the sound, that will effect the low-pass filtering after the detector.