Ioannis,

Interesting problem.
I looked at the emesys site, and the idea of using NCD/DCD for the log function is really interesting (and I think, workable).

I'll see what me and Excel can come up with. (might take a few days, so don't wait if you're in a hurry).

Are those voltages what the PIC is seeing? -40db = 20mv etc.
Or is that before an RMS-DC conversion?
And if not, what does the PIC see?
<br>