Arduino metal detector?

True, but it doesn't provide any phase information.

That's why the Arduino. But it appears that is what you are doing. I was thinking zero crossing for phase information, and you are doing it 10x better by processing it in software.