Regarding Audio Signal Detection...
From: "jos" (soj at sympatico.ca) Greetings! Use a peak detector made of an OP-AMP and a diode followed by a comparator! JosFrom: Bob M. (montassoc at yahoo.com) 2001-11-27 14:47:03 PST You can use a comparator or op-amp to compare the audio voltage from the jack to a DC level adjustable with a pot. It would be adjustable over a range from zero volts to over 2 volts to trigger on a peak of the audio signal. Next you need to determine how long the relay is to stay on, once triggered. Without a time delay circuit or latch to hold the relay on, it will just chatter with the audio peaks, mostly in the bass. If you want a momentary on time, a few seconds to an hour or so, use a 555 or equivalent timer to develop this time. If you want the relay to stay on till reset, use a flip-flop, made with gates, op-amps, comparators, or the relay contacts directly to hold the relay on until a push button unlatches it. The comparator, op-amp, 555 or other circuit must handle enough current to drive the relay coil, so you have to start with the relay you intend to use. BobFrom: "Don L Taylor" (dont at pdx.edu) Sun, 2 Dec 2001 22:33:31 -0800 (PST) Suppose you use a cmos fet as your power switch. Suppose you choose one that will be "off" when there is no signal applied to the gate. (I think you can find those, the other choice is a switch that is "on" until the signal is applied). Now from your audio input you use a series resistor (to provide high enough impedandce), a diode to rectify the audio, a cap to charge up, and a bleed resistor to discharge the cap when the audio goes away. Now connect the high end of the cap to the gate of the cmos fet. When audio is present the cap charges, the cmos fet turns on, and the power flows to your circuit. When the audio goes away the cap discharges, the cmos fet turns off and your circuit turns off. Sound reasonable?From: Bill Bowden 13 July 1999 >On 21 Jun 1999 14:25:21 GMT, "Alex C" |
