Lenny has a good idea. But, the problem is that the switch will respond to ALL local noise. Someone farting next to the microphone will turn on the output - I don't think that's what you really want.
It was said that sound is 20Hz to 20kHz...
Actually, that is simply, and generally, OUR (human) range of hearing.
"Sound" is a relative term... Tree in the forest thing... remember?
Sound-Energy is still Sound-Energy, whether we can hear it or not.
There are plenty of critters that can hear things that we can not.
Lower: Elephants, Whales,...
Higher: Dogs, Bats,...
Of course, at some point, it becomes ridiculous to speak of that energy as "sound".
Anyway, you are looking for a particular frequency (15kHz +/- ?%) at a particular power level (70-db). It is most likely that 15 kHz sound will exist in almost any industrial environment. The critical factor is the power level of that sound. If the power level (db) is low, then you're not likely to hear it unless you stand next to it. If it is high enough, you might not be able to hide from it - hence, ear-plugs, head-sets, etc.
As I recall, 70 db is pretty damned high!
Here's my suggestion...
- Design a Band-Pass Filter to pass 14-to-16 kHz. (15kHz +/- 1kHz)
(search the net, there are many on-line filter designers)
- Add an attenuator on the input to the Band-Pass Filter.
- Pass the output of the Band-Pass Filter to the switch suggested by lenny.
-- You could connect that signal directly to the input circuit on the lenny-switch detector (bypassing its microphone) ...
--OR--
-- You could use the signal to drive one of those small crystal-speakers mounted next to the microphone on the lenny-switch. You will need to enclose the speaker and microphone in a sound-proof box.
--OR--
-- Convert output to DC and drive an amplifier which closes a relay.
--OR-- ??? There are all kinds of games you can play!
- Set the lower threshold (activation level) on the lenny-switch.
[/list=1]
The relay, driven by the lenny-switch then provides your digital input.
Input ON = Signal (15kHz), of sufficient power (70db), is present.
The microphone (audio pick-up) should be place near the source.
You might need to install some sort of muffler on the microphone to keep it from Physically over-driving.
The attenuator will keep it from Electrically over-driving.
Because of the power level of the source, you should do some checking to find the best type of pick-up. A regular microphone, like we use for recording speech, might not be the best choice.