Two-phase measurement using arduino

Such devices have been used since the 1970's. Why are you trying to invent new one?
Paul