Hi All,
I wasn't really sure in which section to post this thread, so I just decided to post it in the general electronics chat
I'm currently designing a very simple audio multiplexor where I have two inputs and one output - or viceversa.
The idea is that one of the audio inputs will have priority over the other one, so that when there is an audio signal on the priority input, this signal is passed to the output.
This is my little setup:
The other side of R1 is going to a digital output on my PIC, I tested this and it works fine.
Now, the second part is configuring an ADC of the PIC to be able to measure a signal on the audio input 1. The problem is that the audio source output level that will be used on this input is around 775mV, and being audio I assume it might also have some negative voltage.
So the big question is: What would be the best way to measure this? Pass it through an OP amp and amplify it to a range between 0-5V for the ADC to meeasure it?
Please note that this signal doesn't need to be processed or quantified in any way, all I need to detect is that there is an audio signal on the input to switch it to the output.
All answers are very much apreciated!
I wasn't really sure in which section to post this thread, so I just decided to post it in the general electronics chat
I'm currently designing a very simple audio multiplexor where I have two inputs and one output - or viceversa.
The idea is that one of the audio inputs will have priority over the other one, so that when there is an audio signal on the priority input, this signal is passed to the output.
This is my little setup:
The other side of R1 is going to a digital output on my PIC, I tested this and it works fine.
Now, the second part is configuring an ADC of the PIC to be able to measure a signal on the audio input 1. The problem is that the audio source output level that will be used on this input is around 775mV, and being audio I assume it might also have some negative voltage.
So the big question is: What would be the best way to measure this? Pass it through an OP amp and amplify it to a range between 0-5V for the ADC to meeasure it?
Please note that this signal doesn't need to be processed or quantified in any way, all I need to detect is that there is an audio signal on the input to switch it to the output.
All answers are very much apreciated!