hi all,
I need help how to interface an ac motion sensor to PIC, the ac motion sensor I have is consist of three wires two for power and the last for switching to phase power when motion detected .

how I can detect this signal to PIC ?