In this project I have to give 2 analog inputs to Arduino or any other microcontroller and then calculate phase difference, then simulate it on proteus. Is it possible?