Ralph suggestion is quite good, the only problem i see, is when the audio signal will cross the Zero, the amp could turn off.
mmm... in conjunction with the ralph suggestion, connect the op-amp output to the PIC, check the signal, wait let's say 100 ms or more and redo the test. If both tests are positive, turn on the amp, if both negative, turn off the amp.
Now it's time to do some home work guy. We provided more than enough stuff to do the whole thing... even on more than one thread 
- You have a snip of code
- you have a heap of idea how to do it
- the circuit is virtually in the air... look !!! you see it??
Probably... the op-amp could be skip if you use the PIC comparator. If you keep the op-amp, you can do the whole project with a simple nifty 10F serie without analog stuff on
Last edited by mister_e; - 26th July 2005 at 17:36.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks