Quote Originally Posted by skimask View Post
It's not so much the PIC's latency as it is the speed of the A/D converter. Some of the newer PICs are capable of decent sample rates, but the older ones aren't good for much more than LOW quality audio.
I've heard this argument many times.
But, I suppose it depends on what "Low Quality" means to the user.

With a minimum TAD of 1.6us, it takes 11 TAD for 1 conversion, plus 2 TAD in-between conversions. That's 20.8uS.
With a single channel of audio, you don't have to add in the acquisition time, because the A/D multiplexer never changes channels.

So @ 20.8uS per sample, that's ...

1/.0000208 = 48,076 samples/sec.
Audio can't be too Bad, with a sample rate like that.

But then, the hard part is sending the data fast enough.
You'd need over 480kbaud. SPI might work. Infrared probably won't ????

An easier way might be to use the comparators to create a PCM encoded data stream at 44kbits/sec.
Good enough for an intercom system or something.
And it's easier to play back too.
<br>