-Les,
The mic preamp module he's using has a DC bias added to it (VCC/2) so that the output is always positive V.
As long as the module and ADC have the same VCC this should give an ADC value approx half-scale (512) when there's no sound.
I was joking about adding the rectifier to the positive-voltage only output since the posts never seem to be read.
-Jon,
Didn't mean to confuse things. All I meant was that the offset isn't going to be exactly 512 so it would be better to measure the
output with no sound and use that value as the offset, but at this point that's likely overly complicating things.
The mic preamp module he's using has a DC bias added to it (VCC/2) so that the output is always positive V.
As long as the module and ADC have the same VCC this should give an ADC value approx half-scale (512) when there's no sound.
I was joking about adding the rectifier to the positive-voltage only output since the posts never seem to be read.
-Jon,
Didn't mean to confuse things. All I meant was that the offset isn't going to be exactly 512 so it would be better to measure the
output with no sound and use that value as the offset, but at this point that's likely overly complicating things.